Public bug reported: 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/ ** Affects: neutron Importance: Undecided Status: New -- 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 neutron: 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/neutron/+bug/1667286/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

