swiftclient does not prompt for password

Bug #1357562 reported by John Trowbridge
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-swiftclient
Fix Released
Undecided
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.

John Trowbridge (trown)
Changed in python-swiftclient:
assignee: nobody → John Trowbridge (trown)
status: New → In Progress
Revision history for this message
John Trowbridge (trown) wrote :

There is a patch for this here:

https://review.openstack.org/#/c/114678/

Not sure why this did not auto-attach

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-swiftclient (master)

Change abandoned by John Dickinson (<email address hidden>) on branch: master
Review: https://review.openstack.org/114678
Reason: Abandoning due to lack of activity since the last negative review. You can restore the change if you want to keep working on it.

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

Reviewed: https://review.openstack.org/574261
Committed: https://git.openstack.org/cgit/openstack/python-swiftclient/commit/?id=33ad9fd4cc0ade9f0800a2815ee0ef514ae8f264
Submitter: Zuul
Branch: master

commit 33ad9fd4cc0ade9f0800a2815ee0ef514ae8f264
Author: Alistair Coles <email address hidden>
Date: Mon Jun 11 13:19:05 2018 +0100

    Add option for user to enter password

    Add the --prompt option for the CLI which will cause the user to be
    prompted to enter a password. Any password otherwise specified by
    --key, --os-password or an environment variable will be ignored.

    The swift client will exit with a warning if the password cannot be
    entered without its value being echoed.

    Closes-Bug: #1357562
    Change-Id: I513647eed460007617f129691069c6fb1bfe62d7

Changed in python-swiftclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-swiftclient 3.6.0

This issue was fixed in the openstack/python-swiftclient 3.6.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-swiftclient (master)

Change abandoned by Tim Burke (<email address hidden>) on branch: master
Review: https://review.openstack.org/189387
Reason: Done as https://review.openstack.org/#/c/574261/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.