users should be able to get ec2 credentials

Bug #947011 reported by Jesse Andrews
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
High
Dean Troyer

Bug Description

while the ec2 credentials should be usable via admin:

    ec2-credentials-create
                        Create EC2-compatibile credentials for user per tenant
    ec2-credentials-delete
                        Delete EC2-compatibile credentials
    ec2-credentials-get
                        Display EC2-compatibile credentials
    ec2-credentials-list
                        List EC2-compatibile credentials for a user

they should also be usable via a user.

I expect to be able to do:

   keystone ec2-credentials-create
   # error telling me I need to include tenant if not in env

as a normal user.

---

steps:

1) source openrc
2) keystone ec2-credentials-list

expected: ec2 credentials for the current user

actual: error telling me to send a user_id

Joseph Heck (heckj)
Changed in keystone:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-keystoneclient (master)

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

Changed in keystone:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-keystoneclient (master)

Reviewed: https://review.openstack.org/4992
Committed: http://github.com/openstack/python-keystoneclient/commit/bdc0abbd81a7988188adaae2af22006274a23801
Submitter: Jenkins
Branch: master

commit bdc0abbd81a7988188adaae2af22006274a23801
Author: Dean Troyer <email address hidden>
Date: Tue Mar 6 12:08:42 2012 -0600

    Make ec2-credentials-* commands work properly for non-admin user

    * Add user id to token-get output
    * Save authenticated user and tenant IDs in client in Client._extract_service_catalog()
    * Handle default user and tenant IDs in ec2-credentials-* commands

    Fixed bug 947011

    Change-Id: I97750f666ba03f32f0bb1be0c2df5ad8a321b433

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → essex-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: essex-rc1 → 2012.1
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.