multinode template does not work with OVN when control and network are not the same nodes

Bug #1931880 reported by Mattia Belluco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Michal Nasiadka

Bug Description

The deployment of kolla-ansible fails when the multinode inventory file lists separate nodes as [control] and [network]: ovn-northd,ovn-sb-db, ovn-nb-db containers did not get deployed.

We could make it work by changing
[ovn-database:children]
control

to

[ovn-database:children]
network

**Environment**:
* OS (e.g. from /etc/os-release): Ubuntu Focal
* Kernel (e.g. `uname -a`): 5.4.0
* Docker version if applicable (e.g. `docker version`): 20.10.07
* Kolla-Ansible version 11.0.0
* Docker image Install type (source/binary): source
* Docker image distribution: Ubuntu
* Are you using official images from Docker Hub or self built? Docker Hub
* Share your inventory file, globals.yml and other configuration files if relevant

Revision history for this message
Mattia Belluco (blmt) wrote :
Revision history for this message
Mattia Belluco (blmt) wrote :

in attachment the only "fatal" occurrences. The nodes are then skipped and no OVN containers gets deployed on the [control] group.

Revision history for this message
Michal Nasiadka (mnasiadka) wrote :

Can you please run latest stable/Victoria code instead of latest release from pip?

It should be already fixed there by: https://review.opendev.org/c/openstack/kolla-ansible/+/776436

Changed in kolla-ansible:
assignee: nobody → Michal Nasiadka (mnasiadka)
status: New → Incomplete
Revision history for this message
Ivan Kolemanov (ivankolemanov) wrote (last edit ):

Mattia, the fix is ok, we run the described setup with Kolla-Ansible 11.0.0 and cherry picked https://review.opendev.org/q/ec04972b728b0b78717c9d18988eda06b61ebe77

Revision history for this message
Mattia Belluco (blmt) wrote :

Indeed the linked commit works like a charm and we could deploy the control plane as intended, without changing the parent-children relationship in the multinode template.

Thanks for the quick reply and pointers to the solution!

Changed in kolla-ansible:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.