`configure-resources` action doesn't assure o-hm0 port is created
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Neutron API OVN Plugin Charm |
New
|
Undecided
|
Unassigned | ||
OpenStack Octavia Charm |
New
|
Undecided
|
Unassigned |
Bug Description
focal-yoga
Even though I confirmed that all units are active except for octavia itself, `configure-
+ juju run-action --wait octavia/leader configure-resources
unit-octavia-0:
UnitId: octavia/0
id: "6"
results:
Stderr: |
ovs-vsctl: no row "o-hm0" in table Interface
Synchronizing state of octavia-api.service with SysV service script with /lib/systemd/
Executing: /lib/systemd/
Unit /etc/systemd/
ovs-vsctl: no row "o-hm0" in table Interface <<<<<<<<<<<<<<<<<<<
Stdout: |
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Hit:1 http://
Hit:2 http://
Hit:3 http://
Hit:4 http://
Get:5 http://
Fetched 108 kB in 1s (81.7 kB/s)
Reading package lists...
Adding user systemd-network to group octavia
inactive
octavia-api (enabled by site administrator)
status: completed <<<<<<<
timing:
completed: 2022-08-10 12:26:39 +0000 UTC
enqueued: 2022-08-10 12:25:41 +0000 UTC
started: 2022-08-10 12:25:42 +0000 UTC
^^^ no obvious error but "completed"
Around that time, Neutron was giving InternalServerError temporarily.
> Neutron API not available yet, deferring port discovery. ("('neutron', 'ports', InternalServerE
There may be some places to fundamentally fix this, but at least `configure-
2022-08-10 12:26:22 DEBUG unit.octavia/
2022-08-10 12:26:22 DEBUG unit.octavia/
2022-08-10 12:26:22 DEBUG unit.octavia/
2022-08-10 12:26:23 DEBUG unit.octavia/
2022-08-10 12:26:23 DEBUG unit.octavia/
2022-08-10 12:26:23 DEBUG unit.octavia/
2022-08-10 12:26:23 DEBUG unit.octavia/
2022-08-10 12:26:24 DEBUG unit.octavia/
2022-08-10 12:26:24 DEBUG unit.octavia/
2022-08-10 12:26:24 DEBUG unit.octavia/
2022-08-10 12:26:26 DEBUG unit.octavia/
2022-08-10 12:26:31 INFO unit.octavia/
2022-08-10 12:26:31 DEBUG unit.octavia/
2022-08-10 12:26:31 INFO unit.octavia/
2022-08-10 12:26:31 DEBUG unit.octavia/
2022-08-10 12:26:31 DEBUG unit.octavia/
2022-08-10 12:26:31 WARNING unit.octavia/
2022-08-10 12:26:31 WARNING unit.octavia/
2022-08-10 12:26:31 WARNING unit.octavia/
2022-08-10 12:26:32 INFO unit.octavia/
2022-08-10 12:26:32 INFO unit.octavia/
2022-08-10 12:26:32 INFO unit.octavia/
2022-08-10 12:26:32 DEBUG unit.octavia/
2022-08-10 12:26:32 DEBUG unit.octavia/
2022-08-10 12:26:34 DEBUG unit.octavia/
2022-08-10 12:26:34 INFO unit.octavia/
2022-08-10 12:26:34 DEBUG unit.octavia/
2022-08-10 12:26:34 DEBUG unit.octavia/
2022-08-10 12:26:36 DEBUG unit.octavia/
2022-08-10 12:26:36 INFO unit.octavia/
2022-08-10 12:26:36 DEBUG unit.octavia/
2022-08-10 12:26:36 INFO unit.octavia/
2022-08-10 12:26:36 WARNING unit.octavia/
2022-08-10 12:26:36 DEBUG unit.octavia/
Around that time stamp, neutron-api server had a lot of trace backs.
2022-08-10 12:26:33.954 68233 ERROR neutron. plugins. ml2.managers [req-6443a79a- 27da-4d40- 997f-e0a67a7906 d4 69340e00bce3472 da72577a7f09173 a2 6c0ccb4a6ba04dd 284cec730028141 08 - 21f0738d38024c9 ca6d86d112d45fe db 21f0738d38024c9 ca6d86d112d45fe db] Mechanism driver 'ovn' failed in create_ port_postcommit : RuntimeError: Port group neutron_pg_drop does not exist
2022-08-10 12:26:33.958 68233 ERROR neutron. plugins. ml2.plugin [req-6443a79a- 27da-4d40- 997f-e0a67a7906 d4 69340e00bce3472 da72577a7f09173 a2 6c0ccb4a6ba04dd 284cec730028141 08 - 21f0738d38024c9 ca6d86d112d45fe db 21f0738d38024c9 ca6d86d112d45fe db] mechanism_ manager. create_ port_postcommit failed, deleting port 'f7c17164- 5c78-47db- 9c1c-80d323e1c6 f4': neutron. plugins. ml2.common. exceptions. MechanismDriver Error
2022-08-10 12:28:53.104 68234 ERROR neutron. plugins. ml2.drivers. ovn.mech_ driver. ovsdb.ovsdb_ monitor [req-31432dcd- 7a60-4a5d- 9a12-03460c6ec7 e6 - - - - -] HashRing is empty, error: Hash Ring returned empty whe 6182-42bf- 9842-93e5f9d157 20'". This should never happen in a normal situation, please check the status of your cluster: neutron. common. ovn.exceptions. HashRingIsEmpty : Hash Ring returned empty when hashing "b'93a4cfad- 6182-42bf- 9842-93e5f9d157 20'". This should never happen in a normal situation, please check the status of your cluster
n hashing "b'93a4cfad-