An alternative approach to working around the issue:
juju run --application octavia 'ovs-vsctl set open_vswitch . external_ids:hostname=$(hostname -f)'
juju remove-relation octavia-ovn-chassis vault
[ wait for realtion to be removed ]
juju add-relation octavia-ovn-chassis vault
juju run --application octavia-ovn-chassis hooks/config-changed
juju run --application octavia-ovn-chassis 'systemctl restart ovn-controller'
juju run --application octavia hooks/config-changed
for port in $(openstack port list|awk '/octavia-health-manager-octavia-.-listen-port/{print$2}'); do openstack port set --disable $port;done
for port in $(openstack port list|awk '/octavia-health-manager-octavia-.-listen-port/{print$2}'); do openstack port set --enable $port;done
Confirm that chassis has registered itself and claimed the port in /var/log/ovn/ovn-controller.log on the octavia units.
An alternative approach to working around the issue:
juju run --application octavia 'ovs-vsctl set open_vswitch . external_ ids:hostname= $(hostname -f)' changed changed health- manager- octavia- .-listen- port/{print$ 2}'); do openstack port set --disable $port;done health- manager- octavia- .-listen- port/{print$ 2}'); do openstack port set --enable $port;done
juju remove-relation octavia-ovn-chassis vault
[ wait for realtion to be removed ]
juju add-relation octavia-ovn-chassis vault
juju run --application octavia-ovn-chassis hooks/config-
juju run --application octavia-ovn-chassis 'systemctl restart ovn-controller'
juju run --application octavia hooks/config-
for port in $(openstack port list|awk '/octavia-
for port in $(openstack port list|awk '/octavia-
Confirm that chassis has registered itself and claimed the port in /var/log/ ovn/ovn- controller. log on the octavia units.