diff options
| author | Rui Chen <chenrui.momo@gmail.com> | 2017-01-10 15:13:47 +0800 |
|---|---|---|
| committer | Rui Chen <chenrui.momo@gmail.com> | 2017-01-22 06:30:31 +0000 |
| commit | 4d9da2c40ae02086258cfde852b297754d8085fa (patch) | |
| tree | 9f280039428e68bb867d36e8e93f9843cdc619d6 /openstackclient/object | |
| parent | 607f31d3db924517c18fd192239e5ef5963e17f3 (diff) | |
| download | python-openstackclient-4d9da2c40ae02086258cfde852b297754d8085fa.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
Diffstat (limited to 'openstackclient/object')
0 files changed, 0 insertions, 0 deletions
