OVS upgrade suspected to be causing OVS startup failures on containers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Neutron Open vSwitch Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
On an O7k cloud, we have Octavia deployed in LXD containers, and an openvswitch app deployed as subordinates to those units.
I recently had to upgrade all packages per customer request and, in turn, restart the nodes. Upon restarting, I found that ovs-vswitchd.
I've been applying package updates to one zone of the cloud at a time. On the first upgraded zone, we saw this issue on Octavia and elected to destroy the unit and redeploy as a workaround. Now, we've had the same issue recur on the second zone as well; I'm filing this bug as this does not appear to be an isolated issue.
"journalctl -xe -u ovs-vswitchd.
-----
May 10 20:18:52 juju-8de75b-6-lxd-9 systemd[1]: Starting Open vSwitch Forwarding Unit...
-- Subject: Unit ovs-vswitchd.
-- Defined-By: systemd
-- Support: http://
--
-- Unit ovs-vswitchd.
May 10 20:18:52 juju-8de75b-6-lxd-9 ovs-ctl[54483]: nice: cannot set niceness: Permission denied
May 10 20:18:52 juju-8de75b-6-lxd-9 ovs-ctl[54483]: ovs-vswitchd: pthread_create failed (Resource temporarily unavailable)
May 10 20:18:52 juju-8de75b-6-lxd-9 ovs-vswitchd[
May 10 20:18:52 juju-8de75b-6-lxd-9 ovs-vswitchd[
May 10 20:18:52 juju-8de75b-6-lxd-9 ovs-ctl[54483]: ovs-vswitchd: could not detach from foreground session
May 10 20:18:52 juju-8de75b-6-lxd-9 ovs-ctl[54483]: * Starting ovs-vswitchd
May 10 20:18:52 juju-8de75b-6-lxd-9 systemd[1]: ovs-vswitchd.
May 10 20:18:52 juju-8de75b-6-lxd-9 systemd[1]: ovs-vswitchd.
May 10 20:18:52 juju-8de75b-6-lxd-9 systemd[1]: Failed to start Open vSwitch Forwarding Unit.
-- Subject: Unit ovs-vswitchd.
-- Defined-By: systemd
-- Support: http://
--
-- Unit ovs-vswitchd.
--
-- The result is RESULT.
-----
Because of the "pthread_create failed" message noted above, I am suspecting a connection with https:/
This cloud is a Bionic/Stein environment, and the Octavia unit is running version 2.11.5-
Thanks for any assistance you can provide.
Best Regards,
Paul Goins
This looks like https:/ /bugs.launchpad .net/charm- ovn-chassis/ +bug/1906280. I'll follow up on the packaging bits, as we were also exploring a package level change to avoid this having to be a charm managed solution at large. We were in discussion with the upstream with the right way to fix this in the packaging bits.
In the meantime, you should be able to add --no-mlockall to the ovs-vsctl opts in /etc/default/ openvswitch- switch file to avoid this issue. You can also upgrade to the latest charms to get the charm managed fix.