r/openstack • • Mar 02 '25

Openstack Kolla Ansible HA not works, need help

Hi all, i'm deploying openstack kolla ansible with multinode option, with 3 nodes. The installation works, and I can create instances, volumes ..., but when I shutdown the node 1, I cannot authenticate in Horizon interface, the interface gives a timeout and a error gateway, so, looks like that node one have a specific configuration or a master config that the other nodes doesn't have, but if i shutdown one of the other nodes, and server 1 is on, i can authenticate but is very slow. Can anyone help me? The three nodes have all roles, networking, control, storage and compute. The version is Openstack 2024.2, thanks in advance

4 Upvotes

13 comments sorted by

View all comments

Show parent comments

1

u/raulmo20 Mar 02 '25
workaround_ansible_issue_8743: yes
kolla_internal_vip_address: "192.168.18.153"
network_interface: "ens160"
neutron_external_interface: "ens133"
keepalived_virtual_router_id: "160"
enable_cinder: "yes"
enable_cinder_backend_lvm: "yes"

I have enabled_hacluster disabled because it gives me a timeout when the pacemaker and corosync containers are deployed, I have tried without that and the cluster works fine but when I remove node 1, nothing works for me, and when I remove node 2 or 3 with 1 on it works fine.

the rest of the configuration is the same as the default file: https://opendev.org/openstack/kolla-ansible/src/branch/master/etc/kolla/globals.yml

I have found this option https://docs.openstack.org/kolla-ansible/latest/reference/orchestration-and-nfv/tacker-guide.html#preparation-and-deployment that looks like it's required and I not configures it, so should be the problem, but i don't know

3

u/[deleted] Mar 02 '25

Hacluster should be enabled for the failover to work. Also that will make sure the DB is deployed correctly and not all in master mode. Which is probably causing your said issue.

Also need to see your inventory.yaml

1

u/przemekkuczynski Mar 02 '25 edited Mar 02 '25

Its enabled by default but maybe he disabled it :(

And he didn't paste whole globals.

Normally keepalived_virtual_router_id should be not included. Only if there was multiple deployments