Hi,

The default quota for port is 50.


+----------------------------------+--------------------+---------+

localadmin@qa4:~/devstack$ neutron quota-show --tenant-id 
1b2e5efaeeeb46f2922849b483f09ec1

+---------------------+-------+

| Field               | Value |

+---------------------+-------+

| floatingip          | 50    |

| network             | 10    |

| port                | 50    |    <<<<< 50

| router              | 10    |

| security_group      | 10    |

| security_group_rule | 100   |

| subnet              | 10    |

+---------------------+-------+

Total number of ports used so far is 40.


localadmin@qa4:~/devstack$ nova list

+--------------------------------------+----------------------------------------------+--------+------------+-------------+---------------------------------------------------------------------------+

| ID                                   | Name                                   
      | Status | Task State | Power State | Networks                            
                                      |

+--------------------------------------+----------------------------------------------+--------+------------+-------------+---------------------------------------------------------------------------+

| 595940bd-3fb1-4ad3-8cc0-29329b464471 | VM-1                                   
      | ACTIVE | -          | Running     | private_net30=30.0.0.44             
                                      |

| 192ce36d-bc76-427a-a374-1f8e8933938f | VM-2                                   
      | ACTIVE | -          | Running     | private_net30=30.0.0.45             
                                      |

| 10ad850e-ed9d-42d9-8743-b8eda4107edc | 
cirros--10ad850e-ed9d-42d9-8743-b8eda4107edc | ACTIVE | -          | Running    
 | private_net20=20.0.0.38; private=10.0.0.52                                |

| 18209b40-09e7-4718-b04f-40a01a8e5993 | 
cirros--18209b40-09e7-4718-b04f-40a01a8e5993 | ACTIVE | -          | Running    
 | private_net20=20.0.0.40; private=10.0.0.54                                |

| 1ededa1e-c820-4915-adf2-4be8eedaf012 | 
cirros--1ededa1e-c820-4915-adf2-4be8eedaf012 | ACTIVE | -          | Running    
 | private_net20=20.0.0.41; private=10.0.0.55                                |

| 3688262e-d00f-4263-91a7-785c40f4ae0f | 
cirros--3688262e-d00f-4263-91a7-785c40f4ae0f | ACTIVE | -          | Running    
 | private_net20=20.0.0.34; private=10.0.0.49                                |

| 4620663f-e6e0-4af2-84c0-6108279cbbed | 
cirros--4620663f-e6e0-4af2-84c0-6108279cbbed | ACTIVE | -          | Running    
 | private_net20=20.0.0.37; private=10.0.0.51                                |

| 8f8252a3-fa23-47fc-8b32-7f7328ecfba2 | 
cirros--8f8252a3-fa23-47fc-8b32-7f7328ecfba2 | ACTIVE | -          | Running    
 | private_net20=20.0.0.39; private=10.0.0.53                                |

| a228f33b-0388-464e-af49-b55af9601f56 | 
cirros--a228f33b-0388-464e-af49-b55af9601f56 | ACTIVE | -          | Running    
 | private_net20=20.0.0.42; private=10.0.0.56                                |

| def5a255-0c9d-4df0-af02-3944bf5af2db | 
cirros--def5a255-0c9d-4df0-af02-3944bf5af2db | ACTIVE | -          | Running    
 | private_net20=20.0.0.36; private=10.0.0.50                                |

| e1470813-bf4c-4989-9a11-62da47a5c4b4 | 
cirros--e1470813-bf4c-4989-9a11-62da47a5c4b4 | ACTIVE | -          | Running    
 | private_net20=20.0.0.33; private=10.0.0.48                                |

| f63390fa-2169-45c0-bb02-e42633a08b8f | 
cirros--f63390fa-2169-45c0-bb02-e42633a08b8f | ACTIVE | -          | Running    
 | private_net20=20.0.0.35; private=10.0.0.47                                |

| 2c34956d-4bf9-45e5-a9de-84d3095ee719 | 
vm--2c34956d-4bf9-45e5-a9de-84d3095ee719     | ACTIVE | -          | Running    
 | private_net30=30.0.0.39; private_net50=50.0.0.29; private_net40=40.0.0.29 |

| 680c55f5-527b-49e3-847c-7794e1f8e7a8 | 
vm--680c55f5-527b-49e3-847c-7794e1f8e7a8     | ACTIVE | -          | Running    
 | private_net30=30.0.0.41; private_net50=50.0.0.30; private_net40=40.0.0.31 |

| ade4c14b-baf7-4e57-948e-095689f73ce3 | 
vm--ade4c14b-baf7-4e57-948e-095689f73ce3     | ACTIVE | -          | Running    
 | private_net30=30.0.0.43; private_net50=50.0.0.32; private_net40=40.0.0.33 |

| c91e426a-ed68-4659-89f6-df6d1154bb16 | 
vm--c91e426a-ed68-4659-89f6-df6d1154bb16     | ACTIVE | -          | Running    
 | private_net30=30.0.0.42; private_net50=50.0.0.33; private_net40=40.0.0.32 |

| cedd9984-79f0-46b3-897d-b301cfa74a1a | 
vm--cedd9984-79f0-46b3-897d-b301cfa74a1a     | ACTIVE | -          | Running    
 | private_net30=30.0.0.40; private_net50=50.0.0.31; private_net40=40.0.0.30 |

| ec83e53f-556f-4e66-ab85-15a9e1ba9d28 | 
vm--ec83e53f-556f-4e66-ab85-15a9e1ba9d28     | ACTIVE | -          | Running    
 | private_net30=30.0.0.38; private_net50=50.0.0.28; private_net40=40.0.0.28 |

+--------------------------------------+----------------------------------------------+--------+------------+-------------+—————————————————————————————————————+


When attempt to launch another VM, I hit the max number of ports exceeded error:


localadmin@qa4:~/devstack$ nova boot --image cirros-0.3.2-x86_64-uec --flavor 1 
--nic net-id=6bb3cef1-52ea-4dcb-9962-95c5c39b03cb VM-3

ERROR (Forbidden): Maximum number of ports exceeded (HTTP 403) (Request-ID: 
req-4b0d0d7b-25fa-468b-8d2b-5aa48bb58853)


I expected this to be successful since the number of ports used is only 40, 
below the limit of 50.


Any idea?


Thanks,

Danny
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to