keystone user-role-add reports "ambiguous option" for synonymous options

Bug #1150434 reported by Paul Collins
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keystoneclient
Won't Fix
Low
Unassigned

Bug Description

python-keystoneclient 1:0.1.3-0ubuntu1.1~cloud0 on Ubuntu 12.04 LTS

For example, when using "--user":

keystone user-role-add: error: ambiguous option: --user could match --user-id, --user_id

and when using "--role":

keystone user-role-add: error: ambiguous option: --role could match --role_id, --role-id

each of which is the same option with differing names.

Changed in cloud-archive:
status: New → Confirmed
status: Confirmed → New
no longer affects: python-keystoneclient (Ubuntu)
no longer affects: cloud-archive
Changed in python-keystoneclient:
status: New → Confirmed
Revision history for this message
Christophe Sauthier (christophe.sauthier) wrote :

Thanks for your feedback.

Can you detail the command to reproduce this situation ?

Revision history for this message
Dolph Mathews (dolph) wrote :

--user-id and --role-id are the canonical arguments -- the others are deprecated.

Changed in python-keystoneclient:
importance: Undecided → Low
Changed in python-keystoneclient:
assignee: nobody → Jorge Edgar Valderrama Romero (jorge-valderrama)
Revision history for this message
Jorge Edgar Valderrama Romero (jorge-valderrama) wrote :

The bug has been developed and proposed for review (https://review.openstack.org/#/c/44687/) , but this change affects the devstack project, therefore has been update to keep coherence in the ecosystem (https://review.openstack.org/#/c/44725/)

Revision history for this message
Dolph Mathews (dolph) wrote :

Unassigning due to inactivity.

Changed in python-keystoneclient:
assignee: Jorge Edgar Valderrama Romero (jorge-valderrama) → nobody
Revision history for this message
Steve Martinelli (stevemar) wrote :

the CLI for keystoneclient is deprecated, openstackclient is the way forward and this works wonderfully when a user is supplied with an id or name.

Changed in python-keystoneclient:
status: Confirmed → Won't Fix
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.