Questions tagged [devops]
87 questions
20
votes
3 answers
Managing cluster of linux computers behind firewalls
My company's product is essentially a Linux box (Ubuntu) sitting in somebody else's network running our software. Up to now we had less than 25 boxes in the wild and used TeamViewer to manage them.
We're now about to ship 1000 of these boxes and…
hakura
- 303
5
votes
1 answer
Received 0 SUCCESS signal(s) out of 1. Unable to satisfy 100% MinSuccessfulInstancesPercent requirement
I am running this template in cloud formation to create auto scaling in ubuntu-18.04 machine and it will rollback the all instances automatically that is created by this template and giving such error like.
Received 0 SUCCESS signal(s) out of 1.…
4
votes
1 answer
Is it Possible to Install Print Server Role Inside a Windows Server Core 2019 Container?
I'm currently working with a Windows Server 2019 VM and considering setting up a containerized environment for a label printing service. My goal is to create a container with the print server role using Windows Server 2019 Core…
Rodrigo Morais
- 43
- 3
4
votes
1 answer
Why does argocd keep re-syncing my Job?
I'm deploying an application using ArgoCD. The deployment manifests include a Job that performs some one-time initialization for the application. The Job resource looks like this:
apiVersion: batch/v1
kind: Job
metadata:
labels:
…
larsks
- 47,453
2
votes
1 answer
Azure Devops VMSS Agent Pool without Administrator
We want to use VMSS instances as our Azure Devops Agent pool. The agentpool deploys the TeamServicesAgent Virtual machine extension to the instances deployed. This extension calls the script:…
2
votes
1 answer
Ansible compare two value from two dictionnaries
I have a simple problem, i have two dictionaries, one being static with some data, and an other being the result of the stat command stored in a variable (with register).
The goal is simply to compare the checksum of some files on a host, with the…
math
- 121
2
votes
1 answer
What are the benefits and issues of naming Linux user groups as singular vs. plural?
Conventionally, a group is plural, so it would follow to name a Linux group with the plural of a noun (e.g. 13 accountants in the accountants group). This may have unintended consequences. For example, a SQL plural table name (e.g. users) leads to…
ndemarco
- 229
2
votes
2 answers
How to get the nearest subdirectory of a file as output in PowerShell?
I need to get only the nearest subdirectory and file name from the file path as follows.
Ex:-
(1)E:\Dump\DumpText-1.txt - Dump\DumpText-1.txt
(2)E:\Dump\SubDump1\DumpText-1.txt -…
1
vote
0 answers
Digital Ocean droplet 100% CPU usage - kauditd0
Does anyone know what kauditd0 service is ?
I’m encountering an issue with my Ubuntu server on a DigitalOcean Droplet, where the kauditd0 process is consuming 100% CPU (that never happened before). I’ve tried multiple methods to stop it, but it…
Exoor
- 11
1
vote
1 answer
MongoDB data in EC2 instance is erased automatically after after one day
I am facing an issue where data in MongoDB inside EC2 instance is erased after approximately one day.
I use the AWS free tier service. In that I launch a t3.large ubuntu instance and gp3 8 GB volume. I connect with putty and install dependencies…
1
vote
1 answer
I am getting an error in the ansible playbook file
I am trying to learn ansible and I have coded my first playbook but it gives me the error saying
ERROR! We were unable to read either as JSON nor YAML, these are the errors we got from each:
JSON: Expecting value: line 1 column 1 (char 0)
Syntax…
nagesh naga
- 11
1
vote
1 answer
When to use Thanos/Cortex over Vanilla Prometheus?
Generally when I look around or try to understand the HA setup for Prometheus the most common search results are Cortex & Thanos. I've also seen M3 and Victoriametrics on the list.
What I understand is that Cortex and Thanos support is mainly for…
Vipin Menon
- 141
1
vote
1 answer
Ansible lineinfile replace with system variable
I'm encountering an issue while using Ansible to dynamically modify a Zabbix agent configuration file. Specifically, I'm attempting to employ an ansible lineinfile module with a loop to update multiple lines within the file.
The script effectively…
Yousuf
- 45
1
vote
0 answers
How to get output of STDOUT to GCP cloud logging
Hey I have a job running on a gcp VM where some imported libraries are logging to stdout with the print or python logging library, and I also have written a lot of code where the output is logged to stdout with the python logging library (e.g.…
Matt Elgazar
- 111
1
vote
0 answers
Replicating foreign keys with AWS DMS Full load Ongoing replication - MySQL
I am using AWS DMS Full Load Ongoing Replication (CDC) to replicate data from a MySQL RDS to an on-prem MySQL server (both of them running MySQL 8). Before starting the replication process I'm dumping the structure of the master to the replica,…
Mircea
- 11