r/openstack • u/UniiMiinD • May 16 '26
[Help] How to achieve Instance HA (Masakari) on a 3-Node Hyperconverged cluster? (Kolla-Ansible Pacemaker conflict)
Hi everyone,
I’m looking for some architectural advice. I have 3 powerful bare-metal servers and I want to deploy a highly available OpenStack cloud on them. Because I only have 3 nodes, they need to be hyperconverged (running both Control and Compute services on all 3 nodes).
My primary requirement is Instance HA—if one of the physical nodes suddenly dies, I need the VMs to automatically evacuate and restart on the surviving nodes. Naturally, I looked into Masakari.
I am currently using Kolla-Ansible, but I've hit an architectural roadblock:
- Masakari's host-monitor relies on Pacemaker/Corosync to detect host failures.
- In Kolla, Controller nodes run the full pacemaker service, while Compute nodes run pacemaker_remote.
- Because my nodes are both Control and Compute, Kolla-Ansible conflicts trying to deploy both pacemaker roles on the same host, breaking the deployment/monitoring.
I am open to any changes necessary to get this working. My questions for the community are:
- Is there a clean workaround in Kolla-Ansible for this? Has anyone successfully deployed Masakari on hyperconverged nodes using Kolla?
- Alternative Masakari Drivers: I’ve read that Masakari can technically use Consul or direct libvirt polling instead of Pacemaker. Is it worth trying to hack Kolla to use Consul + external IPMI fencing scripts, or is that a maintenance nightmare?
- Different Deployment Tools: Do other deployment tools (like OpenStack-Ansible, Kolla-K8s, or Canonical/Sunbeam) handle Instance HA on hyperconverged nodes better than Kolla-Ansible?
- The Proxmox Route: Would it be better to just install Proxmox on the bare-metal for node-level HA, and run OpenStack Control and Compute as VMs on top? (I'm worried about the nested virtualization performance penalty here).
Any advice, documentation, or reality-checks would be hugely appreciated. Thanks in advance!
2
u/Eldiabolo18 May 16 '26
I've run into this as well for testing setups haven't really found a way around it.
My suggestion would be to move the conrollers to three VMs and have the three Baremetal servers only work as hypervisors.
2
u/Hfjqpowfjpq May 16 '26
Hi, One of my old colleagues managed to make it work with pacemaker in hyperconverged mode. However, we did not go on with pacemaker and we switched to consul. Consul is easy to install and easy to manage. I advise you to use that instead of pacemaker, just disable ha_cluster and procede with the installation of the necessary masakari components pointing to consul. I assure you it will work just fine :) (we use it and we did not find any issue with that).
P.S we use Kayobe not Kolla-Ansible but is practically the same thing.
1
u/Cracknel May 16 '26
Possible fixes:
1
u/tafkamax May 16 '26
Ive hit the same thing, but right now we don't have a huge need for masakari, so we haven't delved deeper into the setup to modify K-A to support this kind of logic.
But if you find a way, please share with the rest of us!
1
u/raztacraft May 16 '26
There is a demo in YouTube with Sunbeam , it is as simple as running a command enabling instance HA. If I could I would go with sunbeam.
On the other hand I have Masakari setup with three ‘semiconverged’ nodes(kolla-ansible) controllers + compute (no storage) , it worked well during my tests. I don’t use the driver for stonith though I just rely on the monitoring part because my nodes are virtual machines therefore I cannot kill the failed node. All that said, in my tests Masakari is notified of the node disconnection and the HA workflow kicks in.
1
u/Osa_ahlawy May 16 '26
You don't need pacemaker for the controller Why not just use keepalived, it is the default config of kolla .
-4
u/redfoobar May 16 '26
Why not run everything in proxmox and skip OpenStack all together.
You are adding a huge amount of complexity for what is effectively not even a full 3 node cluster. I would rather give up some functionality than trying to build something this complex for such a small footprint.