<div dir="ltr">Hi all,<div><br></div><div>I am running IceHouse (RDO) and currently unable to attach a new interface to a vm.</div><div><br></div><div><div>[root@localhost ~(keystone_admin)]# nova interface-attach myvm1</div>
<div>ERROR: PortLimitExceeded_Remote: Maximum number of ports exceeded</div><div>Traceback (most recent call last):</div><div><br></div><div>  File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply</div>
<div>    incoming.message))</div><div><br></div><div>  File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch</div><div>    return self._do_dispatch(endpoint, method, ctxt, args)</div>
<div><br></div><div>  File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch</div><div>    result = getattr(endpoint, method)(ctxt, **new_args)</div><div><br></div><div>
  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 399, in decorated_function</div><div>    return function(self, context, *args, **kwargs)</div><div><br></div><div>  File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 4345, in attach_interface</div>
<div>    context, instance, port_id, network_id, requested_ip)</div><div><br></div><div>  File "/usr/lib/python2.6/site-packages/nova/network/neutronv2/api.py", line 440, in allocate_port_for_instance</div><div>
    requested_networks=[(network_id, requested_ip, port_id)])</div><div><br></div><div>  File "/usr/lib/python2.6/site-packages/nova/network/neutronv2/api.py", line 361, in allocate_for_instance</div><div>    LOG.exception(msg, port_id)</div>
<div><br></div><div>  File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__</div><div>    six.reraise(self.type_, self.value, self.tb)</div><div><br></div><div>  File "/usr/lib/python2.6/site-packages/nova/network/neutronv2/api.py", line 336, in allocate_for_instance</div>
<div>    security_group_ids, available_macs, dhcp_opts)</div><div><br></div><div>  File "/usr/lib/python2.6/site-packages/nova/network/neutronv2/api.py", line 192, in _create_port</div><div>    raise exception.PortLimitExceeded()</div>
<div><br></div><div>PortLimitExceeded: Maximum number of ports exceeded</div><div> (HTTP 413) (Request-ID: req-296d6c3a-fc7d-44c6-8a42-e139c969cf40)</div></div><div><br></div><div><br></div><div>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.</div>
<div><br></div><div><div>[root@localhost ~(keystone_admin)]# neutron port-list</div><div>+--------------------------------------+------+-------------------+----------------------------------------------------------------------------------------+</div>
<div>| id                                   | name | mac_address       | fixed_ips                                                                              |</div><div>+--------------------------------------+------+-------------------+----------------------------------------------------------------------------------------+</div>
<div>| 0056d43b-5f9d-4562-b34a-8db655be5ddd |      | fa:16:3e:74:fb:33 | {"subnet_id": "14d4b197-1121-4a4b-80b3-b8d80115f734", "ip_address": "xxx.xxx.xxx.148"} |</div><div>| 057fabd8-1856-454d-a183-5fe64845fdd7 |      | fa:16:3e:87:85:d7 | {"subnet_id": "14d4b197-1121-4a4b-80b3-b8d80115f734", "ip_address": "xxx.xxx.xxx.149"} |</div>
<div>| 1199a31c-2437-406c-a1fa-807403a2e2f1 |      | fa:16:3e:49:ad:e0 | {"subnet_id": "b7eeae38-682a-4397-8b3c-e3dee88527ab", "ip_address": "10.0.0.46"}       |</div><div>| 2bb0e6f2-d41b-474c-8386-bcaa254f253f |      | fa:16:3e:81:5a:e8 | {"subnet_id": "b7eeae38-682a-4397-8b3c-e3dee88527ab", "ip_address": "10.0.0.45"}       |</div>
<div>| 6289f221-fe11-4674-b0f9-4ad47a4603f8 |      | fa:16:3e:57:72:13 | {"subnet_id": "b7eeae38-682a-4397-8b3c-e3dee88527ab", "ip_address": "10.0.0.44"}       |</div><div>| 6425fa7a-6c34-44a3-a4ec-1425e7bd338e |      | fa:16:3e:fe:8a:a5 | {"subnet_id": "b7eeae38-682a-4397-8b3c-e3dee88527ab", "ip_address": "10.0.0.1"}        |</div>
<div>| 808afd72-3d82-41ae-bed2-acc3d3398af9 |      | fa:16:3e:6f:92:12 | {"subnet_id": "b7eeae38-682a-4397-8b3c-e3dee88527ab", "ip_address": "10.0.0.3"}        |</div><div>| af83d9c6-f8ef-485f-b2d5-6568d14c6146 |      | fa:16:3e:6b:16:54 | {"subnet_id": "b7eeae38-682a-4397-8b3c-e3dee88527ab", "ip_address": "10.0.0.42"}       |</div>
<div>| b1b2d34f-0b90-4a8e-b13d-5e1005f176f4 |      | fa:16:3e:03:cc:c9 | {"subnet_id": "b7eeae38-682a-4397-8b3c-e3dee88527ab", "ip_address": "10.0.0.47"}       |</div><div>| bd688b2e-a990-44e6-96e1-4c547936b403 |      | fa:16:3e:c0:51:67 | {"subnet_id": "14d4b197-1121-4a4b-80b3-b8d80115f734", "ip_address": "xxx.xxx.xxx.147"} |</div>
<div>| c9dc3d20-8767-4197-b424-e8ebed58d890 |      | fa:16:3e:25:74:b1 | {"subnet_id": "14d4b197-1121-4a4b-80b3-b8d80115f734", "ip_address": "xxx.xxx.xxx.150"} |</div><div>| db40d356-efce-4b1f-9ada-987496497220 |      | fa:16:3e:3d:04:47 | {"subnet_id": "b7eeae38-682a-4397-8b3c-e3dee88527ab", "ip_address": "10.0.0.7"}        |</div>
<div>+--------------------------------------+------+-------------------+----------------------------------------------------------------------------------------+</div></div><div><br></div><div>Regards,</div><div>Vimal</div>
</div>