cinderclient does not prompt for password

Bug #1357559 reported by John Trowbridge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Fix Released
Wishlist
John Trowbridge

Bug Description

The novaclient and keystoneclient both will prompt for a password if there was none passed through the env or --os-password option.

The other CLI clients should have the same behavior.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-cinderclient (master)

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

Changed in python-cinderclient:
assignee: nobody → John Trowbridge (trown)
status: New → In Progress
Eric Harney (eharney)
Changed in python-cinderclient:
importance: Undecided → Wishlist
Revision history for this message
yatin (yatinkarel) wrote :

novaclient and keystoneclient also do not prompt for password, they print the error message. I have seen you have commited the fix in novaclient and keystone client but it is not merged in master.

Revision history for this message
John Trowbridge (trown) wrote :

yatin,

novaclient and keystoneclient have had this feature since at least havana. It will only prompt for a password if there is a TTY though. Also, you have to give it the other credentials in environment variables or command line options. It will only prompt for password if only the password is missing.

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

Reviewed: https://review.openstack.org/114670
Committed: https://git.openstack.org/cgit/openstack/python-cinderclient/commit/?id=122bf5bdcca617edd368f8a4e7c568fe623690ad
Submitter: Jenkins
Branch: master

commit 122bf5bdcca617edd368f8a4e7c568fe623690ad
Author: John Trowbridge <email address hidden>
Date: Fri Aug 15 17:37:58 2014 -0400

    Adds tty password entry for cinderclient

    Added functionality from keystoneclient to fallback to the tty for password
    entry if no password is given via the environment or the --os-password option.

    Change-Id: If5b27cb8c67712860faa24d543ed48eaa542f28b
    Closes-Bug: 1357559

Changed in python-cinderclient:
status: In Progress → Fix Committed
Changed in python-cinderclient:
milestone: none → 1.3.1
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.