← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1350268] Re: allocate_fixed_ip should cleanup with correct param

 

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

** Changed in: nova
    Milestone: None => juno-3

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

Title:
  allocate_fixed_ip should cleanup with correct param

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  in nova-network , when allocate_fixed_ip failed for some unknown
  reason

  it will add 
  cleanup.append(fip.disassociate)

  to cleanup the stuffs it did when handle exception
  but the function is following in objects/fixed_ips.py
  def disassociate(self, context): 

  so the cleanup function will not be executed correctly

  try:
                          f()
                      except Exception:
                          LOG.warn(_('Error cleaning up fixed ip allocation. '
                                     'Manual cleanup may be required.'),
                                   exc_info=True)

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


References