[Bug 1471022] Re: [SRU] race between nova-compute and neutron-ovs-cleanup

Edward Hope-Morley edward.hope-morley at canonical.com
Fri Jul 3 11:52:10 UTC 2015


So, this is possibly a result of neutron-ovs-cleaunp failing to start at
the time nova-compute does the wait-for-state (and implicitly tries to
start neutron-ovs-cleanup) due to the fact that openvswitch is not ready
to start at that very moment. I am going to attempt to resolve this by
making the nova-compute wait-for-state logic more accommodating of the
fact that neutron-ovs-cleanup may not be ready to start at the time of
the check.


** Package changed: neutron (Ubuntu) => nova (Ubuntu)

-- 
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/1471022

Title:
  [SRU] race between nova-compute and neutron-ovs-cleanup

Status in nova package in Ubuntu:
  In Progress
Status in nova source package in Trusty:
  New
Status in nova source package in Utopic:
  New
Status in nova source package in Vivid:
  New

Bug description:
  This issue appears to be a consequence of
  https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1420572 where we
  added a 'wait-for-state running' to the nova-compute upstart so as to
  ensure that neutron-ovs-cleanup has finished before nova-compute
  starts.

  I have started to spot, however, that on some hosts (metal only) there
  is now a race between the two whereby nova-compute sometimes fails to
  start on system boot/reboot with the following in /var/log/upstart
  /nova-compute.log:

  ...
  libvirt-bin stop/waiting
  wait-for-state stop/waiting
  neutron-ovs-cleanup start/pre-start, process 3084
  start: Job failed to start

  If I manually restart nova-compute all is fine. So this looks like a
  race between nova-compute's wait-for-state and neutron-ovs-cleanup's
  pre-start -> start/running.

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



More information about the Ubuntu-openstack-bugs mailing list