Ask Your Question

Stein: WARNING: Failed to import plugin clustering.

asked 2019-09-11 11:29:52 -0500

Daryl gravatar image

I just installed Stein using the Training Labs script at on my Macbook Pro. It went smoothly, with no hint of any problem. Now, in response to every openstack command I get this:

WARNING: Failed to import plugin clustering.

I saw something a thread with a similar issue on Queens and a suggestion in that thread was to do

$ curl

which I did and got this

{"version": {"id": "v3.12", "status": "stable", "updated": "2019-01-22T00:00:00Z", "links": [{"rel": "self", "href": ""}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}]}}

The commands all seem to work as desired, but warnings like this always make me nervous. Is there something I can do to ferret out the problem?

edit retag flag offensive close merge delete


The message is generated by the openstack client. It might be a (probably benign) bug in the client, or it may be caused by some inconsistency in your setup. The curl command just confirms that Keystone API version 3.12 is available; I can't see how this has anything to do with your problem.

Bernd Bausch gravatar imageBernd Bausch ( 2019-09-11 21:30:40 -0500 )edit

A simple test I would try is running a command that doesn't access the cloud, for example openstack help. Does the message appear?

It would also not be beneath me to do a brute-force search of the warning message through all Python files on the system.

Bernd Bausch gravatar imageBernd Bausch ( 2019-09-11 21:32:33 -0500 )edit

Always one to assume I failed somewhere, I started over from the beginning, with bare machines. I worked my way all the way through the Stein installation process and all went smoothly until I installed Heat. (to be continued...)

Daryl gravatar imageDaryl ( 2019-10-03 15:10:07 -0500 )edit

(cont'd) The 'clustering' warning reappeared at the point of running 'openstack orchestration service list' and now affects all commands, including 'openstack help'. The message emanates from openstackclient/common/, get_plugin_modules(). Maybe this will trigger a helpful thought?

Daryl gravatar imageDaryl ( 2019-10-03 15:23:14 -0500 )edit

It's a little clearer. The openstack client has a set of core commands for Keystone, Nova, Neutron and a few other essential services. All other commands are implemented as plugins. "clustering" refers to the Senlin plugin. I don't understand why Senlin commands are suddenly required, but

Bernd Bausch gravatar imageBernd Bausch ( 2019-10-04 00:16:56 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2019-10-29 14:04:22 -0500

Daryl gravatar image

Bernd put me on the right track. I installed Senlin, and once I gave up trying to verify it manually, I proceeded with the Heat installation and everything seems to be working, thanks to Bernd and dtruong.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-09-11 11:29:52 -0500

Seen: 725 times

Last updated: Oct 29 '19