** Summary changed:

- [SRU] sometimes neutron-ovs-cleanup runs earlier than ovsdb-server
+ [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many 

** Tags added: sts sts-sru-needed

** Description changed:

  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.
  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
  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
+ for i in {0..1000}
+ do
+   juju ssh nova-compute/0 "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
  Changes dependency on 
  need to reboot if this patch is affected. If this symptom is not affected 
your env. no need to reboot.
- [Others]
- Because there is no reproducer, please consider this dependency changes if it 
is proper.

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to