Stein: WARNING: Failed to import plugin clustering.
I just installed Stein using the Training Labs script at https://docs.openstack.org/training_l... 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 http://10.0.0.11:5000/v3
which I did and got this
{"version": {"id": "v3.12", "status": "stable", "updated": "2019-01-22T00:00:00Z", "links": [{"rel": "self", "href": "http://10.0.0.11:5000/v3/"}], "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?
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.
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.
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...)
(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/clientmanager.py, get_plugin_modules(). Maybe this will trigger a helpful thought?
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