Remove --id identification for objects

Bug #1564325 reported by Fabrizio Soppelsa
6
This bug affects 1 person
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-b763-4f1d-a084-e3399f8e1018 | ubuntu | cdh, 5.4.0 | Sahara-Ubuntu |
+---------------+--------------------------------------+----------+------------+---------------+

oot@node-22:~# sahara image-show 173a0e13-b763-4f1d-a084-e3399f8e1018
usage: sahara [--version] [--debug] [--os-cache]
 ...
error: unrecognized arguments: 173a0e13-b763-4f1d-a084-e3399f8e1018

root@node-22:~# sahara image-show 173a0e13-b763-4f1d-a084-e3399f8e1018
...
error: unrecognized arguments: 173a0e13-b763-4f1d-a084-e3399f8e1018

root@node-22:~# sahara image-show --id 173a0e13-b763-4f1d-a084-e3399f8e1018
+----------------------+--------------------------------------+
| Property | Value |
+----------------------+--------------------------------------+
| status | ACTIVE |
| username | ubuntu |
...

Revision history for this message
Vitalii Gridnev (vgridnev) wrote :

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!

Changed in python-saharaclient:
status: New → Incomplete
Changed in python-saharaclient:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.