I have a 2 region and 2 rack controller deployment with a seperate PSQL DB with HA proxy for the 2 region controllers. They were working great until I did the following.
TLDR: (deleted one region controller, created a 2nd one from the 1st, and now in the MAAS UI, it’s switching between both region controllers and only showing one of them at a time in the UI)
Steps to reproduce:
I was doing apt update/install on the 2 region controllers, and one of them failed, so i deleted it and copied over the primary one, booted it up and went in to change it’s IP.
then realized that the machine-id was the same, deleted that, regenerated it, and from then on, it keeps switching between the 2 region controllers.
Is there a PSQL command to remove both Region Controllers (since it’s hidden from the UI) so that they can repopulate themselves after connecting to PSQL DB?
It would be much easier if you could start from scratch with a clean environment. It’s hard to say what you might have broken with these misconfigurations.