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)
Reviewed: https:/ /review. openstack. org/429653 /git.openstack. org/cgit/ openstack/ python- openstackclient /commit/ ?id=e79eca55aae 02206bd10e663b1 540078424d9734
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit e79eca55aae0220 6bd10e663b15400 78424d9734
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 to_run_ command( ) casue os-cloud-config
service catalog, then decide to show nova-network or
neutron command help message. Fake token and fake
auth_type in prepare_
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: I8b140f0b0a6068 1fc2a35a013bb0c 84ff8cb9589 6258cfde852b297 754d8085fa)
Closes-Bug: #1650026
(cherry picked from commit 4d9da2c40ae0208