[Rdo-list] keystoneauth1 seems broken

Jamie Lennox jamielennox at redhat.com
Fri Sep 18 11:38:59 UTC 2015


So what happened here is that the os-client-config package recently
added a dependency on keystoneauth. This wasn't supposed to have
happened until the start of the Mitaka cycle but got ahead of itself.
Due to bad testing upstream there was a problem with how
openstackclient works with os-client-config that wasn't noticed until
the new os-client-config was released onto pypi.

https://bugs.launchpad.net/os-client-config/+bug/1496689 is the upstream bug.

I was trying to argue today that we should just roll back the
os-client-config dependency on keystoneauth until after liberty is
released, however I'm not sure which way that will go. For now it
would be best to skip the most recent version of os-client-config.

On 18 September 2015 at 19:27, Alan Pevec <apevec at gmail.com> wrote:
>> 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
>
> _______________________________________________
> Rdo-list mailing list
> Rdo-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rdo-list
>
> To unsubscribe: rdo-list-unsubscribe at redhat.com




More information about the dev mailing list