summaryrefslogtreecommitdiff
path: root/openstackclient/__init__.py
diff options
context:
space:
mode:
authorRui Chen <chenrui.momo@gmail.com>2017-01-10 15:13:47 +0800
committerRui Chen <chenrui.momo@gmail.com>2017-02-06 19:18:40 +0800
commite79eca55aae02206bd10e663b1540078424d9734 (patch)
tree4f577c007c3839f5f7b4bd6eedfe448da8d8c8c0 /openstackclient/__init__.py
parent40248ba5018163ea22e2bcba063f3a23f3068198 (diff)
downloadpython-openstackclient-e79eca55aae02206bd10e663b1540078424d9734.tar.gz
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)
Diffstat (limited to 'openstackclient/__init__.py')
0 files changed, 0 insertions, 0 deletions