Comment 16 for bug 1650026

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

Reviewed: https://review.openstack.org/429653
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=e79eca55aae02206bd10e663b1540078424d9734
Submitter: Jenkins
Branch: stable/newton

commit e79eca55aae02206bd10e663b1540078424d9734
Author: Rui Chen <email address hidden>
Date: Tue Jan 10 15:13:47 2017 +0800

    Fix OSC networking commands help errors

    OSC networking commands need to authenticate to get
    service catalog, then decide to show nova-network or
    neutron command help message. Fake token and fake
    auth_type in prepare_to_run_command() casue os-cloud-config
    use AdminToken auth plugin, but pass all the auth information
    (include: username, password and so on) to it, that casue the
    class initialization error. Pop the fake token and url, then
    try to load auth plugin again to fix the issue.

    Change-Id: I8b140f0b0a60681fc2a35a013bb0c84ff8cb9589
    Closes-Bug: #1650026
    (cherry picked from commit 4d9da2c40ae02086258cfde852b297754d8085fa)