Cannot list volumes while --user specified for "openstack volume list"

Bug #1514145 reported by Lin Hua Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
xiexs

Bug Description

There is nothing returned if the option --user specified for the OSC "openstack volume list".

And furthermore, if a non-existent user specified, the command will complain of following error:
 $ openstack volume list --user unexist_user
No tenant with a name or ID of 'unexist_user' exists.

Changed in python-openstackclient:
assignee: nobody → xiexs (xiexs)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/242525
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=176735f4aa8d9b0e9ab3bdb75ac2df8d62a22c8b
Submitter: Jenkins
Branch: master

commit 176735f4aa8d9b0e9ab3bdb75ac2df8d62a22c8b
Author: xiexs <email address hidden>
Date: Fri Nov 6 09:57:48 2015 -0500

    Change method to get the user_id

    Instead of "find_project", using "find_user" to get the user_id
    while the option --user is specified for "openstack volume list"

    Change-Id: Iea8472b7b8e709a8792a56575e00003a9cbdaa39
    Closes-Bug: #1514145

Changed in python-openstackclient:
status: New → Fix Committed
Changed in python-openstackclient:
importance: Undecided → Medium
summary: - Cannot list servers while --user specified for "openstack volume list"
+ Cannot list volumes while --user specified for "openstack volume list"
Changed in python-openstackclient:
milestone: none → 1.9.0
status: Fix Committed → 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.