← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1274992] Re: Utils.is_neutron can create race conditions

 

** Changed in: nova
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1274992

Title:
  Utils.is_neutron can create race conditions

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  It appears that using the utils.is_neutron() function can create race
  conditions, if not used carefully. Review #56381 was attempting to
  check the presence of Neutron, in order to determine if hairpinning
  should be enabled on the bridge that Nova creates. Only after creating
  a new configuration flag in Nova.conf and checking the setting, were
  the unit tests passing and the race condition resolved.

  My hunch is that the global variable that utils.is_neutron( ) creates
  is the root cause of the issue.

  https://review.openstack.org/#/c/56381/

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


References