How to fix "Could not connect to one or more vCenter Server"

Recently I had to fix a vCenter Server that was stopped working. The webpage displayed the following error, and the automated backup jobs stopped working. Could not connect to one or more vCenter Server systems: https://$VCENTER_FQDN:443/sdk The version is rather old and end of life (6.7), so VMware support was out of the question. Which means I had to do it all by myself. Great… After checking the logs for obvious errors, I’ve noticed that most services were stopped....

September 28, 2023 · 6 min · 1088 words · costin

How to move artefacts in a Jfrog repository

This one will be a quick one. Recently I had to move several hundred artefacts from a Jfrog repo folder up one level. Easy peasy, right? But the problem was that manual work from GUI would take forever and my work time is limited so I had to find a different way. For this I’ve used an API call because I didn’t have access to jfrog cli tool. But the API call works for one file, not for a bulk move....

September 28, 2023 · 2 min · 237 words · costin

How to automate your blog posts

Since I’ve transformed this website in a Blogging as a Service (BaaS) thing with the help of Github Actions and Github Pages my life was much easier. Let me help you do the same. First thing you’ll need is a domain. For this domain you will need a NS, and for this you can use CloudFlare for free. They offer a great service, btw.  ~/ dig in NS costinstefan.ro +short nola....

February 17, 2023 · 3 min · 576 words · costin

How to restore a Kubernetes cluster after IP change

Recently I had to fix a kubernetes cluster which had its IP addresses changed. The team that changed the IP address on the machines also replaced the hostname in /etc/hosts. However, this is not enough. In order to restore the cluster, you also have to change the IP address in kubernetes cluster manifest files. [root@k8s-master ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 11.11.112.42 k8s-master 11....

January 18, 2023 · 2 min · 256 words · costin

New year, new changes

After a period on which I focused more on work, I’ve decided I need to change a bit the blog. 9 months ago I’ve migrated my blog from DigitalOcean to Github Pages. DigitalOcean was great for me when I started my first droplet, but I wanted to experiment with other technologies. So I’ve migrated my blog to Github Pages and my email to Apple Mail. But since I work a lot with CI/CD pipelines at work, I wanted to create an automated pipeline for my blog....

January 14, 2023 · 1 min · 162 words · costin