2019-09-09 02:10:23 |
yangjianfeng |
description |
Rocky & maybe master:
I create a network and a subnet.
Then, I update the subnet to no-allocation-pool
openstack subnet set 0f4d5c95-879d-4b2a-90d0-350e09375f80 --no-allocation-pool
Next,I check the availability ips of the network:
openstack ip availability show 440453b6-d5be-47a8-abed-df7c491e6501
+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| id | 440453b6-d5be-47a8-abed-df7c491e6501 |
| name | None |
| network_id | 440453b6-d5be-47a8-abed-df7c491e6501 |
| network_name | yjfaaa |
| project_id | 7be52ee6c397430085c1dc3accf4e795 |
| subnet_ip_availability | cidr='6.6.6.0/24', ip_version='4', subnet_id='0f4d5c95-879d-4b2a-90d0-350e09375f80', subnet_name='yjfaaa-sub', total_ips='256', used_ips='3' |
| total_ips | 256 |
| used_ips | 3 |
+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
But I can't create port in the network:
openstack port create test --network 440453b6-d5be-47a8-abed-df7c491e6501
{"NeutronError": {"message": "No more IP addresses available on network 440453b6-d5be-47a8-abed-df7c491e6501.", "type": "IpAddressGenerationFailure", "detail": ""}} |
Rocky & maybe master:
I create a network and a subnet.
Then, I update the subnet to no-allocation-pool
openstack subnet set 0f4d5c95-879d-4b2a-90d0-350e09375f80 --no-allocation-pool
Next,I check the availability ips of the network:
openstack ip availability show 440453b6-d5be-47a8-abed-df7c491e6501
+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
| id | 440453b6-d5be-47a8-abed-df7c491e6501 |
| name | None |
| network_id | 440453b6-d5be-47a8-abed-df7c491e6501 |
| network_name | yjfaaa |
| project_id | 7be52ee6c397430085c1dc3accf4e795 |
| subnet_ip_availability | cidr='6.6.6.0/24', ip_version='4', subnet_id='0f4d5c95-879d-4b2a-90d0-350e09375f80', subnet_name='yjfaaa-sub', total_ips='256', used_ips='3' |
| total_ips | 256 |
| used_ips | 3 |
+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------+
But I can't create port in the network:
openstack port create test --network 440453b6-d5be-47a8-abed-df7c491e6501
{"NeutronError": {"message": "No more IP addresses available on network 440453b6-d5be-47a8-abed-df7c491e6501.", "type": "IpAddressGenerationFailure", "detail": ""}} |
|