← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1083784] Re: plug_vifs() not called for each instance when nova compute is started

 

** Changed in: nova/folsom
       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/1083784

Title:
  plug_vifs() not called for each instance when nova compute is started

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) folsom series:
  Fix Released

Bug description:
  In the nova compute manager, when starting up nova compute plug_vifs()
  is only called a single time (for the first instance found) in the
  enumerate loop within "init_host".  This results incorrectly populated
  iptables rules in the filter table when you utilize a networking model
  that is not the "flat" networking model.

  The case where this is problematic is when the following is true:
    * iptables filter table is missing the requisite rules for a given bridge
    * the instances are already running 
    * Nova Compute is being started

  If the instances are not running (but should be) the call to
  resume_state_on_host_boot calls hard_reboot, which in turn calls
  plug_vifs() (and properly sets up the iptables rules).

  Currently the code is assuming that the "flat" networking model is
  used

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