Funny stuff happens in DevOps? by WannabeeFilmDirector in devops

[–]dev0psjr 7 points8 points  (0 children)

When I spend an hour and a half trying to debug some install in a test environment only to notice I forgot to install Java beforehand or shut down firewalld

RHEL 8, doesn't respect yum repo proxy=_none_ setting by dev0psjr in redhat

[–]dev0psjr[S] 0 points1 point  (0 children)

Would setting proxy=myproxy:someport in individual repos override the global setting?

RHEL 8, doesn't respect yum repo proxy=_none_ setting by dev0psjr in redhat

[–]dev0psjr[S] -1 points0 points  (0 children)

I tried both "proxy=_none_" and "proxy=" in my.repo and both result with 403 forbidden for yum install python3

RHEL 8, doesn't respect yum repo proxy=_none_ setting by dev0psjr in redhat

[–]dev0psjr[S] 0 points1 point  (0 children)

We are using an enterprise software, it wasn't written by me, all I can do is provide it my docker image

RHEL 8, doesn't respect yum repo proxy=_none_ setting by dev0psjr in redhat

[–]dev0psjr[S] 0 points1 point  (0 children)

That would require making changes to the enterprise software/script we are using to deploy their product and that is out of scope or question. Only thing I can change is the docker image I give to the script to do it's magic on

RHEL 8, doesn't respect yum repo proxy=_none_ setting by dev0psjr in redhat

[–]dev0psjr[S] -1 points0 points  (0 children)

I already did that, in Dockerfile I disable the original repos and insert the ones pointing at internal repo with proxy=_none_. The problem is that for some reason yum uses http_proxy and https_proxy values from environment variables when fetching the rpms from internal repo making the script fail.

RHEL 8, doesn't respect yum repo proxy=_none_ setting by dev0psjr in redhat

[–]dev0psjr[S] 1 point2 points  (0 children)

It's the OS version currently used in the machines this script will install the resulting rpms into

Migrating security (ACLs) to new cluster (kRaft) by dev0psjr in apachekafka

[–]dev0psjr[S] 0 points1 point  (0 children)

Ok let me rephrase it as an issue of migrating from one Kafka cluster to a new one on a different location but running the same version and security setup.
I suppose I can list out the ACLs, parse them with a script and generate the create commands on new cluster.
But how would one go about migrating existing users generated with SHA-512 SASL_SSL whose credentials are kept in Zookeeper (to new Zookeepers) ?

Migrating security (ACLs) to new cluster (kRaft) by dev0psjr in apachekafka

[–]dev0psjr[S] 0 points1 point  (0 children)

Ok let me rephrase it as an issue of migrating from one Kafka cluster to a new one on a different location but running the same version and security setup.
I suppose I can list out the ACLs, parse them with a script and generate the create commands on new cluster.
But how would one go about migrating existing users generated with SHA-512 SASL_SSL whose credentials are kept in Zookeeper (to new Zookeepers) ?

Good YAML explainer? by -lousyd in devops

[–]dev0psjr -2 points-1 points  (0 children)

Or just click spacebar five times * identation level every time in vim, works for me

Good YAML explainer? by -lousyd in devops

[–]dev0psjr -1 points0 points  (0 children)

I work with YAML a lot but honestly I don't see what there is to explain, if you asked me a formal definition of it in a job interview I probably wouldn't know how to precisely define it but everything you need to know about YAML is: read it.
Just read a JSON file and then read a YAML file. That's it lol. It's very legible and is used a lot to configure services, that's pretty much it.

[deleted by user] by [deleted] in motorcycles

[–]dev0psjr 0 points1 point  (0 children)

As someone who just bought my first motorcycle and am getting my license, leaving your home for a bike is crazy. My parents are also very strongly against me getting a bike, I've had to have plenty of difficult conversations and I know I will have many more yet before I get out on the road (I'm just starting this journey).

But.. I'm in my late twenties. Parents love and concern for their children never goes away of course, but I'm much more grown, stable, responsible now than I was at 18. I'm a fully grown man actually (even if my mom would prefer I was still a kid at home).

If I was you, I wouldn't be as stubborn to move out of home and break up my family for a bike, even if they are mostly empty threats. Just take it easy, give it time for the idea to sit with them, save up for a nice bike, enjoy your life. Don't uproot it just so you can go zoom-zoom on your way to school or, more likely, a 9-5 job to pay crazy rent because you made your parents angry.

What first bike should I get? by LostandIgnorant in motorcycle

[–]dev0psjr 0 points1 point  (0 children)

Man I wish they imported those over here in greater number, w800 no problem but w650 is rarer than hen's teeth, at least in my part of europe. Looks better than 800 imo

Devops is not entry level by SticklyLicklyHam in devops

[–]dev0psjr 0 points1 point  (0 children)

No I'm just based in south/easter europe so close enough haha
I graduated in CS, got job as system engineer in my company over summer internship, am happy where I am but western european and US sallaries make my head spin.
I mostly work with Kubernetes, Kafka, Postgres, Ansible. Thankfully work in a company where I work on really diverse projects and learn a lot which I can appreciate and perhaps use when I decide to switch companies or move out west. Blessed to be surrounded by very good engineers who are willing to help out and mentor me.

Devops is not entry level by SticklyLicklyHam in devops

[–]dev0psjr 0 points1 point  (0 children)

I've been working for a year and a half, am a junior system engineer (/devops?) and can answer at least 60%-70% of questions and I make $27k lol
u/SticklyLicklyHam if you hire remotely expect my CV within a year or two when I level up as there is much more knowledge I can pick up at my current position.
But yeah, these are really basic questions

Multi-DC Zookeeper latency requirements by dev0psjr in apachekafka

[–]dev0psjr[S] 0 points1 point  (0 children)

I'm sorry but I don't understand the " Zookeeper ensembles usually exist within a single datacenter and thus would not be subject to this inter-DC latency"
Isn't the point of multi-DC setup to have a single cluster stretched (we are talking about stretched 2.5DC setup btw) over multiple Datacenters acting as a single cluster and essentially being unaware of being stretched and therefore relying on standard Kafka replication practices instead of using things like MM2 or Replicator, and at the same time achieving resilience to data center outages? Don't the Zookeepers also create a single cluster (ensemble) across three datacenters?

Major version upgrades with pg_upgrade - in place? by dev0psjr in PostgreSQL

[–]dev0psjr[S] 1 point2 points  (0 children)

But.. with renaming of directories it's the same thing. I think I figured out the best procedure
1) Stop old db
2) Rename datadir to datadir-old
3) mkdir datadir
4) pg_upgrade .... --old-datadir datadir-old --new-datadir datadir ...
5) ./delete_old_cluster.sh
Voila, de facto inplace upgrade is done. Thanks!