← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1350268] [NEW] allocate_fixed_ip should cleanup with correct param

 

Public bug reported:

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)

** Affects: nova
     Importance: Undecided
     Assignee: jichenjc (jichenjc)
         Status: In Progress

** Changed in: nova
     Assignee: (unassigned) => jichenjc (jichenjc)

-- 
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):
  In Progress

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


Follow ups

References