← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1667286] Re: Neutron: Improper error message coming during subnetpool creation with default_quota

 

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/a0e0e8b6686b847a4963a6aa6a3224b5768544e6/neutron/api/v2/attributes.py#L239

** Project changed: neutron => python-neutronclient

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1667286

Title:
  Neutron: Improper error message coming during subnetpool creation with
  default_quota

Status in python-neutronclient:
  New

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-fbd6-4f26-8ee1-fc02926842f8']

  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://paste.openstack.org/show/600210/

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-neutronclient/+bug/1667286/+subscriptions


References