← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1331353] Re: nova reports Neutron port OverQuota error when the real problem from Neutron is IpAddressGenerationFailure

 

** 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/1331353

Title:
  nova reports Neutron port OverQuota error when the real problem from
  Neutron is IpAddressGenerationFailure

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Nove raise "Neutron error: quota exceeded" when neutron state code is
  409 (conflict):

  https://github.com/openstack/nova/blob/2014.1.1/nova/network/neutronv2/api.py#L187

  The real cause of 409 in Neutron can be OverQuota or
  IpAddressGenerationFailure(no more IP available from allocation pool).
  So we need to raise the error from nova side more precisely to reflect
  the real error.

  This can be done to check the exception defined in neutron client:

  OverQuotaClient:
  https://github.com/openstack/python-neutronclient/blob/master/neutronclient/common/exceptions.py#L142

  IpAddressGenerationFailureClient:
  https://github.com/openstack/python-neutronclient/blob/master/neutronclient/common/exceptions.py#L152

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


References