Ask Your Question

How does ports quota get used up?

asked 2017-01-27 03:40:58 -0500

sendu gravatar image

I have a user where neutron quota-show indicates a ports quota of 50.

They are able to bring up 42 servers that belong to a security group that has 3 tcp ports open.

On attempting to bring up the 43rd server they get an error:

Maximum number of ports exceeded

(They might also have additional servers up on a different network.)

I take it from this that the "ports" quota has nothing to do with tcp ports in the security group?

How can I calculate ahead of time how much of their ports quota a new server would use, to avoid requesting a server that will exceed the quota?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-01-27 05:21:02 -0500

A port is a connection to a network. Ports that belong to projects include instances, routers and DHCP servers (which are usually created for each network). Perhaps more. Ports carry MAC and static IP addresses of those instances, routers and DHCP servers. You also associate floating IPs with ports, and security groups operate on ports. In short, they are important.

You can list all your ports with the CLI command neutron port-list or openstack port list.

edit flag offensive delete link more


Thanks. Do I take it from this that regardless of anything else, a new instance will always use up exactly 1 port?

sendu gravatar imagesendu ( 2017-01-27 05:37:28 -0500 )edit

You can launch instances with several NICs. Each NIC consumes a port.

Bernd Bausch gravatar imageBernd Bausch ( 2017-01-27 06:30:20 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2017-01-27 03:40:58 -0500

Seen: 192 times

Last updated: Jan 27 '17