[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

Corey Bryant corey.bryant at canonical.com
Tue May 1 12:01:07 UTC 2018


Hello Seyeong, or anyone else affected,

Accepted neutron into pike-proposed. The package will build now and be
available in the Ubuntu Cloud Archive in a few hours, and then in the
-proposed repository.

Please help us by testing this new package. To enable the -proposed
repository:

  sudo add-apt-repository cloud-archive:pike-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-pike-needed to verification-pike-done. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-pike-failed. In either case, details of your testing
will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!

** Changed in: cloud-archive/queens
       Status: Fix Committed => Fix Released

** Changed in: cloud-archive/pike
       Status: Triaged => Fix Committed

** Tags removed: verification-pike-done
** Tags added: verification-pike-needed

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive newton series:
  Fix Committed
Status in Ubuntu Cloud Archive ocata series:
  Fix Committed
Status in Ubuntu Cloud Archive pike series:
  Fix Committed
Status in Ubuntu Cloud Archive queens series:
  Fix Released
Status in neutron package in Ubuntu:
  Fix Released
Status in neutron source package in Xenial:
  Fix Released
Status in neutron source package in Artful:
  Fix Released
Status in neutron source package in Bionic:
  Fix Released

Bug description:
  [Impact]

  In code, Basically all ubuntu version could be affected.
  I'm trying to do test them

  neutron-ovs-cleanup service runs earlier than ovsdb-server sometimes.

  then, neutron-ovs-cleanup service's status remains failed
  with below error msg

  "ProcessExecutionError: Exit code: 1; Stdin: ; Stdout: ; Stderr: ovs-
  vsctl: unix:/var/run/openvswitch/db.sock: database connection failed
  (No such file or directory)"

  that is fine for booting.

  but.

  If someday upgrade pkgs related to neutron, it runs neutron-ovs-
  cleanup again because it is not in active status.

  eventually, neutron-ovs-cleanup deletes all ports on running compute
  nodes.

  related logs here https://paste.ubuntu.com/p/QkkwP2vPDv/

  [Test Case]

  1. deploy openstack env
  2. run below scripts to add many ports
  #!/bin/bash

  juju ssh nova-compute/0 '
  sudo modprobe dummy
  for i in {1..1000}
  do
    echo $i
    sudo ip link add dummy$i type dummy;sudo ip link set name t-test$i dev dummy$i;sudo ovs-vsctl add-port br-int t-test$i
  done
  '
  3. systemctl list-units --failed
  - check if there is failed neutron-ovs-cleanup service

  [Regression]
  Changes dependency on debian/neutron-openvswitch-agent.neutron-ovs-cleanup.service.in
  need to reboot if this patch is affected. If this symptom is not affected your env. no need to reboot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list