[Rdo-list] keystoneauth1 seems broken

Alan Pevec apevec at gmail.com
Fri Sep 18 09:27:25 UTC 2015


> I raised the issue on IRC and Alan Pevec pointed me to this Bugzilla:
> https://bugzilla.redhat.com/show_bug.cgi?id=1241812
>
> In fact, what happened, is that this commit merged today:
> https://review.openstack.org/#/c/191003/3
> I'm really not sure what that commit is about, what they're trying to
> accomplish or what is the use case for it.

That change in keystoneauth was merged before, I just commented on it yesterday.
https://review.openstack.org/221125 in os-client-config is where
keystoneauth1 dependency was added.

Here's full backtrace for "The plugin osc_password could not be found" error:
# openstack --debug
The plugin osc_password could not be found

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/openstackclient/shell.py",
line 108, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 213, in run
    self.initialize_app(remainder)
  File "/usr/lib/python2.7/site-packages/openstackclient/shell.py",
line 237, in initialize_app
    argparse=self.options,
  File "/usr/lib/python2.7/site-packages/os_client_config/config.py",
line 498, in get_one_cloud
    loader = self._get_auth_loader(config)
  File "/usr/lib/python2.7/site-packages/os_client_config/config.py",
line 418, in _get_auth_loader
    return loading.get_plugin_loader(config['auth_type'])
  File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/base.py",
line 74, in get_plugin_loader
    raise exceptions.NoMatchingPlugin(name)
NoMatchingPlugin: The plugin osc_password could not be found

END return value: 1

Relevant package versions:
python-openstackclient-1.6.1-dev46.el7.centos.noarch
os-client-config-1.7.1-0.99.20150917.1205git.el7.centos.noarch
and local build from master:
https://apevec.fedorapeople.org/openstack/python-keystoneauth1-1.0.1-0.1.dev13.el7.noarch.rpm

osc_password is defined in
/usr/lib/python2.7/site-packages/python_openstackclient-1.6.1.dev46-py2.7.egg-info/entry_points.txt:
...
[keystoneclient.auth.plugin]
osc_password = openstackclient.api.auth_plugin:OSCGenericPassword
token_endpoint = openstackclient.api.auth_plugin:TokenEndpoint
...
so I guess something went wrong between osc and occ, downgrading to
python-keystoneauth1-1.0.0 doesn't help.
Anyone who understands osc auth plugins please help!

Cheers,
Alan




More information about the dev mailing list