PortLimit thrown when specifying used fixed ip
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Unassigned | ||
python-neutronclient |
Fix Released
|
Undecided
|
Matt Riedemann |
Bug Description
PortLimit thrown when specifying used fixed ip
The nova/network/
The code is currently taking a calculated risk by assuming that all 409 errors that come through this code path will be over quota's. However, another high traffic code path is specifying a fixed_ip. If a user specifies a fixed ip address, this code will now incorrectly throw a PortLimitExceeded error. This leads the users to believe that they have run out of their quota limit.
Example exception (then wrapped exception):
NV-6FC38FD Neutron error creating port on network 7d360984-
Traceback (most recent call last):
File "/usr/lib/
port_id = port_client.
File "/usr/lib/
ret = self.function(
File "/usr/lib/
return self.post(
File "/usr/lib/
headers=
File "/usr/lib/
self.
File "/usr/lib/
exception_
File "/usr/lib/
message=msg)
NeutronClientEx
Traceback (most recent call last):
File "/usr/lib/
dhcp_
File "/usr/lib/
res = f(self, context, *args, **kwargs)
File "/usr/lib/
LOG.
File "/usr/lib/
security_
File "/usr/lib/
raise exception.
PortLimitExceeded: Maximum number of ports exceeded
Changed in python-neutronclient: | |
status: | New → In Progress |
assignee: | nobody → Matt Riedemann (mriedem) |
Changed in nova: | |
status: | In Progress → New |
assignee: | Drew Thorstensen (thorst) → nobody |
Changed in python-neutronclient: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
tags: | added: icehouse-backport-potential |
Changed in nova: | |
milestone: | juno-1 → 2014.2 |
Changed in python-neutronclient: | |
milestone: | none → 2.3.0-2.3.4 |
Changed in python-neutronclient: | |
status: | Fix Committed → Fix Released |
Patch is here: https:/ /review. openstack. org/#/c/ 55165/