Ask Your Question

help please installing mistral

asked 2016-12-01 04:15:50 -0500

jamess gravatar image

updated 2016-12-02 09:27:30 -0500

rbowen gravatar image

Hi, I would like to try out mistral on its own, ie. don’t want to install OpenStack just yet. I am trying to follow instructions at link text but I am having no success.

I am using Ubuntu 16.04.1 desktop guest in VirtualBox 5.1.10 in Windows 7 host.

It looks like there are issues during the install and consequently the server does not look healthy when its run and client fails to connect.

This is what I have done…

# apt-get install python-dev python-setuptools python-pip libffi-dev libxslt1-dev libxml2-dev libyaml-dev libssl-dev
# git clone
# cd mistral
# pip install --upgrade pip
# oslo-config-generator --config-file tools/config/config-generator.mistral.conf --output-file etc/mistral.conf
WARNING:stevedore.named:Could not load periodic.config
/usr/local/lib/python2.7/dist-packages/oslo_config/ UserWarning: converting 'False' to a string
  warnings.warn('converting \'%s\' to a string' % str_val)

I expect that mistral will run with default generated config, but just in case I edited etc/mistral.conf using instructions in, setting only the following…

auth_enable = false

I did not enable any DB, so assume SQLite is somehow included and enabled automatically ?

# pip install -r requirements.txt
# python install
# mistral-db-manage --config-file etc/mistral.conf populate
oslo_db.exception.DBNonExistentTable: (sqlite3.OperationalError) no such table: action_definitions_v2 [SQL: u'DELETE FROM action_definitions_v2 WHERE     (action_definitions_v2.project_id = ? OR action_definitions_v2.scope = ?) AND action_definitions_v2.is_system = 1'] [parameters: ('<default-project>', 'public')]
# mistral-server --server engine --config-file etc/mistral.conf
Mistral Workflow Service, version 4.0.0
Launching server components ['engine']...
Server started.
/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/ FutureWarning: The access_policy argument is changing its default value to <class 'oslo_messaging.rpc.dispatcher.DefaultRPCAccessPolicy'> in version '?', please update the code to explicitly set None as the value: access_policy defaults to LegacyRPCAccessPolicy which exposes private methods. Explicitly set access_policy to DefaultRPCAccessPolicy or ExplicitRPCAccessPolicy.
2016-12-01 09:29:41.105 27133 INFO oslo_messaging.server [-] blocking executor handles only one message at once. threading or eventlet executor is recommended.
2016-12-01 09:29:41.148 27133 ERROR oslo.messaging._drivers.impl_rabbit [-] [df2ccc5a-6d9c-415c-ab5d-cbbc4628918c] AMQP server on is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds. Client port: None

And client...

# pip install git+
# mistral workbook-list
ERROR (app) HTTPConnectionPool(host='localhost', port=8989): Max retries exceeded with url: /v2/workbooks (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f5397305fd0>: Failed to establish a new connection: [Errno 111] Connection refused',))
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2016-12-08 03:24:00 -0500

d0ugal gravatar image

From looking at your logs, I think you only started the Mistral engine. You also need to run the api and executor. You can do all of these in one process with the following command...

mistral-server --server all --config-file etc/mistral.conf
edit flag offensive delete link more



Thanks d0ugal, that worked for me :-)

jamess gravatar imagejamess ( 2016-12-09 10:59:07 -0500 )edit


I have a follow on issue where I can't see any of the standard actions when I do 'mistral action-list'. Table indicates <none>

Do I need to do configure anything to be able to see the standard actions ? I can't see anything useful in docs.


jamess gravatar imagejamess ( 2016-12-12 07:26:00 -0500 )edit

Please mark the answer as accepted. I am looking at the follow on question here now: (

d0ugal gravatar imaged0ugal ( 2016-12-13 05:22:04 -0500 )edit

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: 2016-12-01 04:15:50 -0500

Seen: 824 times

Last updated: Dec 08 '16