Neutron: Improper error message coming during subnetpool creation with default_quota
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-neutronclient |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Below scenario showing incorrect error message:
# neutron subnetpool-create --shared --pool-prefix 203.0.113.0/24 --default_quota 100 --default-prefixlen 26 subnetpool
Invalid input for operation: 'subnetpool' is not an integer.
Neutron server returns request_ids: ['req-a754883e-
Now if I put '--default_quota 100' at the end of the command then no error is coming:
# neutron subnetpool-create --shared --pool-prefix 203.0.113.0/24 --default-prefixlen 26 suabnetpool --default_quota 100
Created a new subnetpool:
So command should throw proper error message if we put --default_quota in the middle of the command.
Detailed commands pasted here:
http://
Thanks.
Yes, this is an issue with the NeutronClient, but not in neutron.
Additional Finding : OpenstackClient lacks -default-quotas option from [1].
[1]: https:/ /github. com/openstack/ neutron/ blob/a0e0e8b668 6b847a4963a6aa6 a3224b5768544e6 /neutron/ api/v2/ attributes. py#L239