Change of neutron_external_network and neutron_bridge_name in globals.yml does not cause change in Ansible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
High
|
Unassigned | ||
Rocky |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This may be expected, and rather I don't know how to properly make this change, but I thought I'd see if someone had any recommendations or mark this as a bug or feature request.
Kolla-Ansible version: 6.1.0
Built from: source
Distro: CentOS 7.5
I need to add a bridge to provide a physical connection for Octavia's management network, and the only way I could find to do this is to add another external bridge and interface.
So, for example, I added this to the globals.yml file:
neutron_
neutron_
where team0.1000 is the existing external bridge and team0.1001 is the new bridge where Octavia Amphorae will talk to the Octavia control plane services.
However, making this change, and running a kolla-ansible "reconfigure" did not change the neutron-
I was expecting the task "Copying over ml2_conf.ini" in the kolla-ansible/
I even "touched" the ml2_conf.ini.j2 file, in case Ansible didn't see a file change, but that also did not trigger Ansible to change the file.
Also - if there is a better way to add the management network bridge for Octavia, I would love to know. :)
Thanks!
Eric
So it appears that the ml2_conf.ini file "is" getting updated on the network nodes in this directory: /etc/kolla/ neutron- openvswitch- agent
And thus they appear in the docker volume attached to the neutron_ openvswitch- agent container, mounted here: /var/lib/ kolla/config_ files/ (since the paths are one in the same on the host)
However, the ml2_conf.ini file is not being copied to the /etc/neutron/ plugins/ ml2 directory inside the container, which I "think" is done when the container is restarted.
So, i restarted the container manually with: openvswitch_ agent
docker container restart neutron_
but this container restarts over and over within 10 seconds or less.
I removed the changes that were made, specifically: br-ex,physnet2: br-mgmt
[ml2_type_flat]
flat_networks = physnet1,physnet2
[ovs]
bridge_mappings = physnet1:
back to:
[ml2_type_flat]
flat_networks = physnet1
[ovs]
bridge_mappings = physnet1:br-ex
and the container started again. I also verified that these changes were copied to the /etc/neutron/ plugins/ ml2/ml2_ conf.ini file during the container start, so the copy process appears to be working correctly.
This indicates that the config.yml file is not restarting the container - which may or may not be a bug?
However, I guess I'm back to the original goal of creating a provider network for the Octavia amphorae management. Any suggestions how to do this in Kolla-Ansible?
Thanks!
Eric