yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #90506
[Bug 1644433] Re: The wrong default-prefixlen have not checked, when create a subnetpool
Bug closed due to lack of activity, please feel free to reopen if
needed.
** Changed in: neutron
Status: New => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1644433
Title:
The wrong default-prefixlen have not checked, when create a subnetpool
Status in neutron:
Won't Fix
Bug description:
In Newton environment.
I create an unreasonable subnetpool, bacause the default-prefixlen(16)
is less than the network number(24).But It can be created
successfully.
For example:
#neutron subnetpool-create test_subnetpool --pool-prefix 10.0.0.0/24 --default-prefixlen 16
Created a new subnetpool:
+-------------------+--------------------------------------+
| Field | Value |
+-------------------+--------------------------------------+
| address_scope_id | |
| created_at | 2016-11-24T05:26:07Z |
| default_prefixlen | 16 |
| default_quota | |
| description | |
| id | 55931020-fb32-4179-b08a-de2696f098f9 |
| ip_version | 4 |
| is_default | False |
| max_prefixlen | 32 |
| min_prefixlen | 8 |
| name | test_subnetpool |
| prefixes | 10.0.0.0/24 |
| project_id | 4cfa11e3c1064971abebdcfeff82a6ad |
| revision_number | 1 |
| shared | False |
| tenant_id | 4cfa11e3c1064971abebdcfeff82a6ad |
| updated_at | 2016-11-24T05:26:07Z |
+-------------------+--------------------------------------+
When I using the subnetpool, It will be error.
For example:
#neutron net-create demo-net
#neutron subnet-create demo-net --name demo-subnet --subnetpool test_subnetpool
Failed to allocate subnet: Insufficient prefix space to allocate subnet size /16.
Neutron server returns request_ids: ['req-99b5a7be-fbb1-4f00-8a89-5e3b7ce4041c']
I think this subnetpool should not be created successfully in this
situation.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1644433/+subscriptions
References