[Openstack] Unable to attach a new interface to vm
Vimal Kumar
vimal7370 at gmail.com
Fri Jun 20 15:08:59 UTC 2014
Hi all,
I am running IceHouse (RDO) and currently unable to attach a new interface
to a vm.
[root at localhost ~(keystone_admin)]# nova interface-attach myvm1
ERROR: PortLimitExceeded_Remote: Maximum number of ports exceeded
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py",
line 133, in _dispatch_and_reply
incoming.message))
File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py",
line 176, in _dispatch
return self._do_dispatch(endpoint, method, ctxt, args)
File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py",
line 122, in _do_dispatch
result = getattr(endpoint, method)(ctxt, **new_args)
File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line
399, in decorated_function
return function(self, context, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line
4345, in attach_interface
context, instance, port_id, network_id, requested_ip)
File "/usr/lib/python2.6/site-packages/nova/network/neutronv2/api.py",
line 440, in allocate_port_for_instance
requested_networks=[(network_id, requested_ip, port_id)])
File "/usr/lib/python2.6/site-packages/nova/network/neutronv2/api.py",
line 361, in allocate_for_instance
LOG.exception(msg, port_id)
File
"/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line
68, in __exit__
six.reraise(self.type_, self.value, self.tb)
File "/usr/lib/python2.6/site-packages/nova/network/neutronv2/api.py",
line 336, in allocate_for_instance
security_group_ids, available_macs, dhcp_opts)
File "/usr/lib/python2.6/site-packages/nova/network/neutronv2/api.py",
line 192, in _create_port
raise exception.PortLimitExceeded()
PortLimitExceeded: Maximum number of ports exceeded
(HTTP 413) (Request-ID: req-296d6c3a-fc7d-44c6-8a42-e139c969cf40)
The error does indicate I have run out of ports, but I have set ports limit
for the current tenant (which is "admin") to 100, and currently there are
only 12 ports in use. Can someone point outor help me in identifying which
limit I am hitting here.
[root at localhost ~(keystone_admin)]# neutron port-list
+--------------------------------------+------+-------------------+----------------------------------------------------------------------------------------+
| id | name | mac_address |
fixed_ips
|
+--------------------------------------+------+-------------------+----------------------------------------------------------------------------------------+
| 0056d43b-5f9d-4562-b34a-8db655be5ddd | | fa:16:3e:74:fb:33 |
{"subnet_id": "14d4b197-1121-4a4b-80b3-b8d80115f734", "ip_address":
"xxx.xxx.xxx.148"} |
| 057fabd8-1856-454d-a183-5fe64845fdd7 | | fa:16:3e:87:85:d7 |
{"subnet_id": "14d4b197-1121-4a4b-80b3-b8d80115f734", "ip_address":
"xxx.xxx.xxx.149"} |
| 1199a31c-2437-406c-a1fa-807403a2e2f1 | | fa:16:3e:49:ad:e0 |
{"subnet_id": "b7eeae38-682a-4397-8b3c-e3dee88527ab", "ip_address":
"10.0.0.46"} |
| 2bb0e6f2-d41b-474c-8386-bcaa254f253f | | fa:16:3e:81:5a:e8 |
{"subnet_id": "b7eeae38-682a-4397-8b3c-e3dee88527ab", "ip_address":
"10.0.0.45"} |
| 6289f221-fe11-4674-b0f9-4ad47a4603f8 | | fa:16:3e:57:72:13 |
{"subnet_id": "b7eeae38-682a-4397-8b3c-e3dee88527ab", "ip_address":
"10.0.0.44"} |
| 6425fa7a-6c34-44a3-a4ec-1425e7bd338e | | fa:16:3e:fe:8a:a5 |
{"subnet_id": "b7eeae38-682a-4397-8b3c-e3dee88527ab", "ip_address":
"10.0.0.1"} |
| 808afd72-3d82-41ae-bed2-acc3d3398af9 | | fa:16:3e:6f:92:12 |
{"subnet_id": "b7eeae38-682a-4397-8b3c-e3dee88527ab", "ip_address":
"10.0.0.3"} |
| af83d9c6-f8ef-485f-b2d5-6568d14c6146 | | fa:16:3e:6b:16:54 |
{"subnet_id": "b7eeae38-682a-4397-8b3c-e3dee88527ab", "ip_address":
"10.0.0.42"} |
| b1b2d34f-0b90-4a8e-b13d-5e1005f176f4 | | fa:16:3e:03:cc:c9 |
{"subnet_id": "b7eeae38-682a-4397-8b3c-e3dee88527ab", "ip_address":
"10.0.0.47"} |
| bd688b2e-a990-44e6-96e1-4c547936b403 | | fa:16:3e:c0:51:67 |
{"subnet_id": "14d4b197-1121-4a4b-80b3-b8d80115f734", "ip_address":
"xxx.xxx.xxx.147"} |
| c9dc3d20-8767-4197-b424-e8ebed58d890 | | fa:16:3e:25:74:b1 |
{"subnet_id": "14d4b197-1121-4a4b-80b3-b8d80115f734", "ip_address":
"xxx.xxx.xxx.150"} |
| db40d356-efce-4b1f-9ada-987496497220 | | fa:16:3e:3d:04:47 |
{"subnet_id": "b7eeae38-682a-4397-8b3c-e3dee88527ab", "ip_address":
"10.0.0.7"} |
+--------------------------------------+------+-------------------+----------------------------------------------------------------------------------------+
Regards,
Vimal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140620/5c7c17cf/attachment.html>
More information about the Openstack
mailing list