Revision history [back]

click to hide/show revision 1
initial version

help please installing mistral

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 https://github.com/openstack/mistral.git
# 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/types.py:54: 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 http://docs.openstack.org/developer/mistral/guides/configuration_guide.html, 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 setup.py 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/server.py:200: 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.
  access_policy)
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 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds. Client port: None

And client...

# pip install git+https://github.com/openstack/python-mistralclient.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',))

help please installing mistral

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 https://github.com/openstack/mistral.git
# 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/types.py:54: 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 http://docs.openstack.org/developer/mistral/guides/configuration_guide.html, 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 setup.py 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/server.py:200: 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.
  access_policy)
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 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds. Client port: None

And client...

# pip install git+https://github.com/openstack/python-mistralclient.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',))