From 071700a76b91e74b41db63248b20e08946d950c5 Mon Sep 17 00:00:00 2001 From: Zhenguo Niu Date: Thu, 2 Jul 2015 17:04:01 +0800 Subject: [PATCH] Add Mistral service and endpoint registration to README.rst This is a following patch of https://review.openstack.org/#/c/197851/ Change-Id: I158e68bcea97df44ce86303be6a01bb723b0f53e --- README.rst | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 84015ad09..52fcddb22 100644 --- a/README.rst +++ b/README.rst @@ -81,9 +81,16 @@ Mistral configuration is needed for getting it work correctly either with real O [pecan] auth_enable = False -5. Also, configure rabbit properties: *rabbit_userid*, *rabbit_password*, *rabbit_host* in section *default*. +5. **If you are not using OpenStack, skip this item.** Register Mistral service and Mistral endpoints on Keystone:: -6. Configure database. **SQLite can't be used in production.** Use *MySQL* or *PostreSQL* instead. Here are the steps how to connect *MySQL* DB to Mistral: + $ MISTRAL_URL="http://[host]:[port]/v2" + $ keystone service-create --name mistral --type workflowv2 + $ keystone endpoint-create --service_id mistral --publicurl $MISTRAL_URL \ + --adminurl $MISTRAL_URL --internalurl $MISTRAL_URL + +6. Also, configure rabbit properties: *rabbit_userid*, *rabbit_password*, *rabbit_host* in section *default*. + +7. Configure database. **SQLite can't be used in production.** Use *MySQL* or *PostreSQL* instead. Here are the steps how to connect *MySQL* DB to Mistral: * Make sure you have installed **mysql-server** package on your Mistral machine. * Install *MySQL driver* for python:: @@ -212,4 +219,4 @@ There is an ability to run part of functional tests in non-openstack mode locall To run tests for only one version need to specify it: bash run_functional_tests.sh v1 -More information about automated tests for Mistral can be found here: https://wiki.openstack.org/wiki/Mistral/Testing \ No newline at end of file +More information about automated tests for Mistral can be found here: https://wiki.openstack.org/wiki/Mistral/Testing