quantum client --version option, unexpected behaviour
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
yong sheng gong |
Bug Description
deepak@
Unknown API version: 3
Usage: quantum [OPTIONS] <command> [args]
Options:
-h, --help show this help message and exit
-H HOST, --host=HOST ip address of api host
-p PORT, --port=PORT api poort
-s, --ssl use ssl
-v, --verbose turn on verbose logging
-f LOGFILE, --logfile=LOGFILE
-t TOKEN, --token=TOKEN
--version=VERSION Accepts 1.1 and 1.0, defaults to env[QUANTUM_
Commands:
Traceback (most recent call last):
File "/usr/local/
load_
File "/opt/stack/
help(version)
File "/opt/stack/
cmds = commands[version]
KeyError: '3'
deepak@
Unknown API version: 3
Traceback (most recent call last):
File "/usr/local/
load_
File "/opt/stack/
if cmd not in commands[
KeyError: '3'
Changed in quantum: | |
assignee: | nobody → yong sheng gong (gongysh) |
status: | New → Confirmed |
Changed in quantum: | |
milestone: | none → folsom-2 |
status: | Fix Committed → Fix Released |
Changed in quantum: | |
milestone: | folsom-2 → 2012.2 |
We should exit the cli after this part of the code:
line 260:
version = options.version
LOG.error( "Unknown API version specified:%s", version)
if not version in commands:
print "Unknown API version: %s" % version
currently it simply goes ahead