osc broken with newest occ and keystoneauth

Bug #1496689 reported by Steve Martinelli
80
This bug affects 16 people
Affects Status Importance Assigned to Milestone
os-client-config
Fix Released
Undecided
Unassigned
python-openstackclient
Invalid
Undecided
Unassigned

Bug Description

looks like occ released a new version (1.7.1) which relies on keystoneauth, and that's causing some issues with osc.

stevemar@ubuntu:/opt/stack/python-openstackclient$ openstack user list --cloud devstack --debug
The plugin osc_password could not be found
Traceback (most recent call last):
  File "/opt/stack/cliff/cliff/app.py", line 238, in run
    self.initialize_app(remainder)
  File "/opt/stack/python-openstackclient/openstackclient/shell.py", line 237, in initialize_app
    argparse=self.options,
  File "/usr/local/lib/python2.7/dist-packages/os_client_config/config.py", line 498, in get_one_cloud
    loader = self._get_auth_loader(config)
  File "/usr/local/lib/python2.7/dist-packages/os_client_config/config.py", line 418, in _get_auth_loader
    return loading.get_plugin_loader(config['auth_type'])
  File "/opt/stack/keystoneauth/keystoneauth1/loading/base.py", line 74, in get_plugin_loader
    raise exceptions.NoMatchingPlugin(name)
NoMatchingPlugin: The plugin osc_password could not be found
Traceback (most recent call last):
  File "/opt/stack/python-openstackclient/openstackclient/shell.py", line 108, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/opt/stack/cliff/cliff/app.py", line 238, in run
    self.initialize_app(remainder)
  File "/opt/stack/python-openstackclient/openstackclient/shell.py", line 237, in initialize_app
    argparse=self.options,
  File "/usr/local/lib/python2.7/dist-packages/os_client_config/config.py", line 498, in get_one_cloud
    loader = self._get_auth_loader(config)
  File "/usr/local/lib/python2.7/dist-packages/os_client_config/config.py", line 418, in _get_auth_loader
    return loading.get_plugin_loader(config['auth_type'])
  File "/opt/stack/keystoneauth/keystoneauth1/loading/base.py", line 74, in get_plugin_loader
    raise exceptions.NoMatchingPlugin(name)
NoMatchingPlugin: The plugin osc_password could not be found

Changed in python-openstackclient:
importance: Undecided → High
Revision history for this message
Steve Martinelli (stevemar) wrote :

this is an attempt to fix the issue, but it's not quite complete
https://review.openstack.org/#/c/224444/

summary: - osc unit tests fail with newest occ and keystoneauth
+ osc broken with newest occ and keystoneauth
Changed in python-openstackclient:
status: New → Confirmed
Revision history for this message
Alan Pevec (apevec) wrote :
Revision history for this message
Steve Martinelli (stevemar) wrote :

@apevec yes, it was fixed in this patch https://review.openstack.org/#/c/225328/

Changed in python-openstackclient:
status: Confirmed → Invalid
Changed in os-client-config:
status: New → Fix Committed
status: Fix Committed → Fix Released
Revision history for this message
Steve Martinelli (stevemar) wrote :

it was released with occ 1.7.3 (today)

Changed in python-openstackclient:
importance: High → Undecided
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-openstackclient (master)

Change abandoned by Monty Taylor (<email address hidden>) on branch: master
Review: https://review.openstack.org/224444

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.