Identity Admin API v2.0 (SUPPORTED): missing the "Get user information by name" info

Bug #1515402 reported by Danny Choi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Low
Diane Fleming

Bug Description

http://developer.openstack.org/api-ref-identity-admin-v2.html

Users -> missing the "Get user information by name" info

Tags: keystone
Revision history for this message
Danny Choi (dannchoi) wrote :
Revision history for this message
Atsushi SAKAI (sakaia) wrote :

The API itself does not support query by user name.
But The CLI support this.
  keystone user-get

As a work around you should query the user list at first,
for getting user-id user-name relation ship.
  http://developer.openstack.org/api-ref-identity-admin-v2.html#admin-listUsers

For a reference
  keystone cli command converts from name to id internally.
 you can see
    keystoneclient/v2_0/shell.py user-get(user_get)
    keystoneclient/v2_0/users.py query user info
    keystoneclient/base.py name to id conversion

tags: added: keystone
Changed in openstack-api-site:
assignee: nobody → Diane Fleming (diane-fleming)
milestone: none → mitaka
status: New → Confirmed
importance: Undecided → Low
Danny Choi (dannchoi)
Changed in openstack-api-site:
assignee: Diane Fleming (diane-fleming) → Danny Choi (dannchoi)
status: Confirmed → In Progress
Revision history for this message
Diane Fleming (diane-fleming) wrote :
Changed in openstack-api-site:
assignee: Danny Choi (dannchoi) → Diane Fleming (diane-fleming)
Revision history for this message
Diane Fleming (diane-fleming) wrote :

Hey Danny, I'd already started working on this - sorry for the confusion.

Revision history for this message
Danny Choi (dannchoi) wrote :

No problem.

I thought the normal work flow is to wait for the confirmation before I can start working on it.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/245196
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=598cb71012cee325d4256494d51311ae98b2a9bf
Submitter: Jenkins
Branch: master

commit 598cb71012cee325d4256494d51311ae98b2a9bf
Author: Diane Fleming <email address hidden>
Date: Fri Nov 13 09:08:24 2015 -0600

    Add workaround for show user details by name

    Change-Id: Id100de2b0689004ef7d8f79dc067e0bce403e868
    Closes-Bug: #1515402

Changed in openstack-api-site:
status: In Progress → Fix Released
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.