sample_data.sh uses underscores for keystoneclient commands

Bug #1061144 reported by Dolph Mathews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Invalid
Medium
Dolph Mathews

Bug Description

Attempting to run sample_data.sh on master against keystoneclient master results in the following output:

    http://paste.openstack.org/raw/21276/

This appears to be caused by the fact that all parameters use underscores instead of hyphens (e.g. --role_id instead of --role-id).

Dolph Mathews (dolph)
Changed in keystone:
assignee: nobody → Dolph Mathews (dolph)
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/13999

Changed in keystone:
status: Confirmed → In Progress
Revision history for this message
Alan Pevec (apevec) wrote :

Actually, I don't think you had keystone master:

> usage: keystone user-role-add --user <user-id> --role <role-id>
> [--tenant_id <tenant-id>]

That indicates circa Essex keystoneclient , --user was renamed to --user_id for Folsom (bug 994744)
and then changed to use dash in commit 1fa29109c2194102b4c79fa7fd7328843af6998e "Change CLI options to use dashes"

Revision history for this message
Alan Pevec (apevec) wrote :

> Actually, I don't think you had keystone master:

I mean, keystoneclient master

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

Alan, you're absolutely correct. Leaving the review open, however, as I believe the changes are still valid... just not relevant here.

Changed in keystone:
status: In Progress → 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.