Remove --id identification for objects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python client library for Sahara |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Is the mandatory usage of --id and --name when identifying Sahara objects conform to OpenStack clients standard?
(At least help online should explain that --id is required)
root@node-22:~# sahara --version
0.8.0
root@node-22:~# sahara image-list
+------
| name | id | username | tags | description |
+------
| sahara-ubuntu | 173a0e13-
+------
oot@node-22:~# sahara image-show 173a0e13-
usage: sahara [--version] [--debug] [--os-cache]
...
error: unrecognized arguments: 173a0e13-
root@node-22:~# sahara image-show 173a0e13-
...
error: unrecognized arguments: 173a0e13-
root@node-22:~# sahara image-show --id 173a0e13-
+------
| Property | Value |
+------
| status | ACTIVE |
| username | ubuntu |
...
Changed in python-saharaclient: | |
status: | Incomplete → Invalid |
Fabrizio, hi. Thanks for the filling this bug. It looks like we should move that to the Invalid state, because in Mitaka release we implemented new CLI (as a part of integration with OpenStackClient ) where it's no longer required to pass --id additionally. Also, old CLI is now deprecated. Thanks!