neutron-ovs-cleanup runs on package upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
Critical
|
James Page | ||
Ussuri |
Fix Committed
|
Critical
|
James Page | ||
Victoria |
Fix Released
|
Critical
|
James Page | ||
neutron (Ubuntu) |
Fix Released
|
Critical
|
James Page | ||
Focal |
Fix Released
|
Critical
|
James Page | ||
Groovy |
Fix Released
|
Critical
|
James Page |
Bug Description
== Impact ==
Upgrades to OpenStack Ussuri will result in service disruption to the network datapath for instances and other virtual networking concepts.
== Test Case ==
Standalone
apt install neutron-
(add proposed pocket)
apt install neutron-
neutron-ovs-cleanup unit will be restarted
(UCA)
add-apt-repository cloud-archive:train
apt install neutron-
add-apt-repository cloud-archive:
apt dist-upgrade
(neutron-
Full cloud (UCA or distro)
Deploy OpenStack Train (using Juju charms)
Create networking, boot instances and confirm connectivity to instances
Upgrade to OpenStack Ussuri (using Juju charms)
Networking to instances will be lost
== Regression Potential ==
Medium - the fix is purely in package and ensures that the neutron-*-cleanup scripts are not started on install or restarted during an upgrade.
== Original Bug Report ==
Release: Focal/Bionic+
As part of the package upgrade for neutron-
This unit should only be run on reboot, and not during package upgrades.
It has the side effect of removing all ports from the local OVS bridge, impacting networking to services.
Changed in neutron (Ubuntu Focal): | |
status: | New → Triaged |
Changed in neutron (Ubuntu Groovy): | |
status: | New → Triaged |
Changed in neutron (Ubuntu Focal): | |
importance: | Undecided → Critical |
Changed in neutron (Ubuntu Groovy): | |
importance: | Undecided → Critical |
description: | updated |
description: | updated |
Changed in neutron (Ubuntu Focal): | |
status: | Triaged → In Progress |
Changed in neutron (Ubuntu Groovy): | |
status: | Triaged → In Progress |
Changed in neutron (Ubuntu Focal): | |
assignee: | nobody → James Page (james-page) |
Changed in neutron (Ubuntu Groovy): | |
assignee: | nobody → James Page (james-page) |
Changed in cloud-archive: | |
status: | In Progress → Fix Committed |
Some additional information regarding how the bug was found:
During the upgrade the ovs runs, deleting the ports. They don't come back, even after restarting the services, which suggests an issue within the neutron openvswitch agent in terms of re-creating ports that have been deleted.
from the ovsdb-tool -mm show-log tool on the neutron-gateway AFTER the upgrade.
``` [704ecf79- ff42-44bd- a72c-c586f59f43 3b, dcfd1c64- 2e07-4bf7- 8815-a969503847 05, f38673c2- 87c9-4ce1- b160-236637caf8 d2]
record 44: 2020-06-25 19:10:48.024
table Interface row "tap03282320-fb" (74bf6e22):
delete row
table Interface row "tap7e15b3c6-e3" (d331a9b6):
delete row
table Interface row "tap8e76995d-a6" (f8ca1e54):
delete row
table Port row "tap03282320-fb" (d891c2a5):
delete row
table Port row "tap7e15b3c6-e3" (8f105882):
delete row
table Port row "tap8e76995d-a6" (b5f389e0):
delete row
table Bridge row "br-int" (56555638):
ports=
table Open_vSwitch row 70200fb1 (70200fb1):
next_cfg=111
```
i.e. it was asked to be deleted.
from syslog (during upgrade):
``` fatal_signal| WARN|terminatin g with signal 15 (Terminated) mojo-.. .
Jun 25 19:10:44 juju-ed722c-mojo-14 systemd[1]: Stopping Openstack Neutron Open vSwitch Plugin Agent...
Jun 25 19:10:44 juju-ed722c-mojo-14 ovsdb-client: ovs|00001|
Jun 25 19:10:46 juju-ed722c-mojo-14 systemd[1]: Stopped Openstack Neutron Open vSwitch Plugin Agent.
Jun 25 19:10:46 juju-ed722c-mojo-14 systemd[1]: Stopped OpenStack Neutron OVS cleanup.
Jun 25 19:10:46 juju-ed722c-mojo-14 systemd[1]: Stopping OpenStack Neutron OVS cleanup...
Jun 25 19:10:46 juju-ed722c-mojo-14 systemd[1]: Starting OpenStack Neutron OVS cleanup...
Jun 25 19:10:48 juju-ed722c-mojo-14 kernel: [ 6499.589055] device tap03282320-fb left promiscuous mode
Jun 25 19:10:48 juju-ed722c-mojo-14 kernel: [ 6499.611240] device tap7e15b3c6-e3 left promiscuous mode
Jun 25 19:10:48 juju-ed722c-mojo-14 kernel: [ 6499.612612] device tap8e76995d-a6 left promiscuous mode
Jun 25 19:10:48 juju-ed722c-mojo-14 systemd[1]: Started OpenStack Neutron OVS cleanup.
Jun 25 19:10:48 juju-ed722c-mojo-14 systemd[1]: Starting Openstack Neutron Open vSwitch Plugin Agent...
Jun 25 19:10:48 juju-ed722c-mojo-14 systemd[1]: Started Openstack Neutron Open vSwitch Plugin Agent.
Jun 25 19:10:48 juju-ed722c-mojo-14 systemd[1]: Reloading.
Jun 25 19:10:48 juju-ed722c-mojo-14 systemd[1]: Stopping Openstack Neutron Open vSwitch Plugin Agent...
Jun 25 19:10:48 juju-ed722c-mojo-14 systemd[1]: Stopped Openstack Neutron Open vSwitch Plugin Agent.
Jun 25 19:10:48 juju-ed722c-mojo-14 systemd[1]: Stopped OpenStack Neutron OVS cleanup.
Jun 25 19:10:48 juju-ed722c-mojo-14 systemd[1]: Stopping OpenStack Neutron OVS cleanup...
Jun 25 19:10:48 juju-ed722c-mojo-14 systemd[1]: Starting OpenStack Neutron OVS cleanup...
Jun 25 19:10:50 juju-ed722c-mojo-14 systemd[1]: Started OpenStack Neutron OVS cleanup.
Jun 25 19:10:50 juju-ed722c-mojo-14 systemd[1]: Starting Openstack Neutron Open vSwitch Plugin Agent...
Jun 25 19:10:50 juju-ed722c-mojo-14 systemd[1]: Started Openstack Neutron Open vSwitch Plugin Agent.
Jun 25 19:10:51 juju-ed722c-mojo-14 systemd[1]: Reloading.
Jun 25 19:10:51 juju-ed722c-