yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #16343
[Bug 1331353] [NEW] nova reports Neutron port OverQuota error when the real problem from Neutron is IpAddressGenerationFailure
Public bug reported:
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
** Affects: nova
Importance: Undecided
Assignee: Xu Han Peng (xuhanp)
Status: New
** Changed in: nova
Assignee: (unassigned) => Xu Han Peng (xuhanp)
--
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):
New
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
Follow ups
References