Ask Your Question

Mistral install error

asked 2016-08-08 20:44:08 -0600

tictoc gravatar image

updated 2016-08-08 20:44:58 -0600

installing mistral on mitaka using I keep getting this error ImportError: No module named serializer on the oslo-config-generator \ --config-file tools/config/config-generator.mistral.conf \ --output-file etc/mistral.conf


# oslo-config-generator \

--config-file tools/config/config-generator.mistral.conf \ --output-file etc/mistral.conf Traceback (most recent call last): File "/usr/bin/oslo-config-generator", line 11, in <module> sys.exit(main()) File "/usr/lib/python2.7/site-packages/oslo_config/", line 472, in main generate(conf) File "/usr/lib/python2.7/site-packages/oslo_config/", line 454, in generate groups = _get_groups(_list_opts(conf.namespace)) File "/usr/lib/python2.7/site-packages/oslo_config/", line 370, in _list_opts loaders = _get_raw_opts_loaders(namespaces) File "/usr/lib/python2.7/site-packages/oslo_config/", line 342, in _get_raw_opts_loaders invoke_on_load=False) File "/usr/lib/python2.7/site-packages/stevedore/", line 64, in __init__ verify_requirements) File "/usr/lib/python2.7/site-packages/stevedore/", line 171, in _load_plugins self._on_load_failure_callback(self, ep, err) File "/usr/lib/python2.7/site-packages/stevedore/", line 163, in _load_plugins verify_requirements, File "/usr/lib/python2.7/site-packages/stevedore/", line 141, in _load_one_plugin verify_requirements, File "/usr/lib/python2.7/site-packages/stevedore/", line 191, in _load_one_plugin plugin = ep.resolve() File "/usr/lib/python2.7/site-packages/pkg_resources/", line 2235, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/lib/python2.7/site-packages/oslo_messaging/", line 28, in <module> from oslo_messaging._drivers import impl_zmq File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/", line 25, in <module> from oslo_messaging._drivers.zmq_driver.client import zmq_client File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/zmq_driver/client/", line 17, in <module> from \ File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/zmq_driver/client/publishers/dealer/", line 19, in <module> from \ File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/zmq_driver/client/publishers/dealer/", line 25, in <module> from oslo_messaging._drivers.zmq_driver.client import zmq_sockets_manager File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/zmq_driver/client/", line 19, in <module> from oslo_messaging._drivers.zmq_driver import zmq_socket File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/zmq_driver/", line 26, in <module> from oslo_serialization.serializer import json_serializer ImportError: No module named serializer

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-09-20 10:19:49 -0600

d0ugal gravatar image

Can you show us the commands you ran before this? I just tried to generate the config for the current Mistral master and it worked if I did this.

$ git clone
$ cd mistral
$ pip install .
$ oslo-config-generator --config-file tools/config/config-generator.mistral.conf --output-file etc/mistral.conf
$ head etc/mistral.conf

# From mistral.config

# Enables debugger. Note that using this option changes how the
# eventlet library is used to support async IO. This could result in
# failures that do not occur under normal operation. Use at your own
# risk. (boolean value)
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-08-08 20:44:08 -0600

Seen: 434 times

Last updated: Aug 08 '16