Bug 920116
| Summary: | Quantum CLI doesn't validate optional parameters | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Ofer Blaut <oblaut> | ||||
| Component: | python-neutronclient | Assignee: | Jakub Ruzicka <jruzicka> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ofer Blaut <oblaut> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 2.0 (Folsom) | CC: | chrisw, jkt, oblaut | ||||
| Target Milestone: | --- | Keywords: | Reopened | ||||
| Target Release: | 4.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | python-quantumclient-2.2.1-2.el6ost.noarch | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-11-07 15:36:55 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
This is an upstream bug, please file upstream: https://bugs.launchpad.net/python-neutronclient/+filebug Once you fill the bug upstream, please close this as CLOSED/UPSTREAM. I have checked on grizzly version issue is not reproduced - python-quantumclient-2.2.1-2.el6ost.noarch [root@puma04 ~]# source keystonerc_admin [root@puma04 ~(keystone_admin)]# quantum net-create net-vlanaaa --provider:network_type vlan --provider:physical_network inter-vlan --provider:segmentation_id 195 --asdasdasd true Unrecognized attribute(s) 'asdasdasd' [root@puma04 ~(keystone_admin)]# quantum net-create net-vlanaaa --provider:network_type vlan --provider:physical_network inter-vlandddd --provider:segmentation_id 195 --asdasdasd true Unrecognized attribute(s) 'asdasdasd' [root@puma04 ~(keystone_admin)]# quantum net-create net-vlanaaa --provider:network_type vlan --provider:physical_network inter-vlandddd --provider:segmentation_id 195 Invalid input for operation: Unknown provider:physical_network inter-vlandddd. [root@puma04 ~(keystone_admin)]# quantum net-create net-vlanaaa --provider:network_type vlan --provider:physical_network inter-vlan --provider:segmentation_id 195 Created a new network: +---------------------------+--------------------------------------+ | Field | Value | +---------------------------+--------------------------------------+ | admin_state_up | True | | id | 043ddca9-bee3-446a-bd5f-3eb11f131f83 | | name | net-vlanaaa | | provider:network_type | vlan | | provider:physical_network | inter-vlan | | provider:segmentation_id | 195 | | router:external | False | | shared | False | | status | ACTIVE | | subnets | | | tenant_id | 20b6c7c6d0424d90b0b8bd0225964b8b | +---------------------------+--------------------------------------+ [root@puma04 ~(keystone_admin)]# Even better, thanks! Fixed in grizzly |
Created attachment 708324 [details] exmaples Description of problem: Quantum CLI doesn't validate optional parameters command is passed without any errors See examples attached 1. quantum net-create net-vlanaaa --provider:network_type vlan --provider:physical_network inter-vlan --provider:segmentation_id 195 --asdasdasd true 2. quantum net-create net-vlan201 --provider:network_type vlan --provider:physical_network inter-vlan --provider:segmentation_id 201 --external:router true option --external:router true while it should be router:external true Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. run the commands above 2. 3. Actual results: Expected results: Additional info: