20.08 ussuri ovn-chassis using the wrong hostname
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-ovn-chassis |
New
|
Undecided
|
Unassigned |
Bug Description
A critical alert had been raised in nagios, because ovn-controller service had a wrong keepalive status in neutron agent list. This alert started to show up after a server restart required by sysconfig charm.
$ openstack network agent list | grep juju
| juju-0833f7-
| juju-0833f7-
| juju-0833f7-
The octavia/0 is using a short hostname instead of fqdn, and the ovn certificate had been issued using the shortname as well:
$ juju run --application octavia 'sudo cat /etc/ovn/cert_host | openssl x509 -text | grep Subject:'
- Stdout: |2
UnitId: octavia/0
- Stdout: |2
UnitId: octavia/1
- Stdout: |2
UnitId: octavia/2
Removing the ovn-central:ovsdb octavia-