Public bug reported:

neutron-ovs-cleanup is dangerous (i.e. breaks networking of random
instances) to run at random times but this is not at all obvious from
looking at the file.  This is a problem because operators tend to
assume restarting ${service}* is safe (at least from unintended side
effects), but that's not the case with 'neutron*'.

Please:

 a) add some obvious and visible documentation to the file that
    neutron-ovs-cleanup should only be restarted after
    openvswitch-switch has been and what might happen if it isn't.

and/or

 b) add some sort of sanity check that the openvswitch-switch process'
    start time is recent and becoming a noisy no-op if it's not.

and/or

 c) consider renaming the init script(s) to something that doesn't
    match 'neutron*'

** Affects: neutron (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  neutron-ovs-cleanup is dangerous (i.e. breaks networking of random
  instances) to run at random times but this is not at all obvious from
  looking at the file.  This is a problem because operators tend to
  assume restarting ${service}* is safe (at least from unintended side
  effects), but that's not the case with 'neutron*'.
  
  Please:
  
   a) add some obvious and visible documentation to the file that
      neutron-ovs-cleanup should only be restarted after
      openvswitch-switch has been and what might happen if it isn't.
  
-  b) consider renaming the init script(s) to something that doesn't
+ and/or
+ 
+  b) add some sort of sanity check that the openvswitch-switch process'
+     start time is recent and becoming a noisy no-op if it's not.
+ 
+ and/or
+ 
+  c) consider renaming the init script(s) to something that doesn't
      match 'neutron*'

** Summary changed:

- neutron-ovs-cleanup is dangerously undocumented
+ neutron-ovs-cleanup can have unintended side effects

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

Title:
  neutron-ovs-cleanup can have unintended side effects

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/1783184/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to