Comment 2 for bug 1617384

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

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

commit bec206fa0a0214d856259661c5e32086f33d2f62
Author: Dean Troyer <email address hidden>
Date: Mon Aug 29 11:07:49 2016 -0500

    Fix auth prompt brokenness

    We start by fixing this in the already-present OSC_Config class so OSC
    can move forward. This change needs to get ported down into
    os-client-config in the near future, maybe even soon enough to make the
    client library freeze this week.

    * Add the pw-func argument to the OSC_Config (or OpenStackConfig) __init__()
    * When looping through the auth options from the KSA plugin look for any
      that have a prompt defined and do not have a value already, so ask for one.

    Closes-bug: #1617384
    Change-Id: Ic86d56b8a6844516292fb74513712b486fec4442