python-openstackclient/releasenotes/notes/bug-1650026-0ce6a77e69d24424.yaml
Rui Chen 4d9da2c40a 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
2017-01-22 06:30:31 +00:00

7 lines
236 B
YAML

---
fixes:
- |
Fixed a ``__init__() got an unexpected keyword argument 'project_name'``
error in various networking commands when ``help`` or ``--help`` was used.
[Bug `1650026 <https://bugs.launchpad.net/bugs/1650026>`_]