Anastasia Kuznetsova 41c0ffd41b Use default devstack functional for Mistral user/service/endpoint creation
Because of https://review.openstack.org/#/c/186684/ and
https://review.openstack.org/#/c/220532/ there were problem in
Mistral devstack installation cause it used v2.0 keystone commands syntax,
to avoid such problem in future it will be better to use default
devstack functions like other Openstack projects.

Change-Id: I2631cb1db5ce2c44bdc415a24667fcd2d8668d94
2015-09-07 14:50:07 +03:00
..
2014-04-29 15:24:23 +04:00
2015-06-23 12:11:49 +03:00

  1. Follow Devstack documentation to setup a host for Devstack. Then clone Devstack source code:

    $ git clone https://github.com/openstack-dev/devstack
  2. Clone Mistral source code:

    $ git clone https://github.com/openstack/mistral
  3. Copy Mistral integration scripts to Devstack:

    $ cp mistral/contrib/devstack/lib/mistral ${DEVSTACK_DIR}/lib
    $ cp mistral/contrib/devstack/extras.d/70-mistral.sh ${DEVSTACK_DIR}/extras.d/
  4. Create/modify a localrc file as input to devstack:

    $ cd devstack
    $ touch localrc
  5. The Mistral service is not enabled by default, so it must be enabled in localrc before running stack.sh. This example of localrc file shows all of the settings required for Mistral:

    # Enable Mistral
    enable_service mistral
  6. Deploy your OpenStack Cloud with Mistral:

    $ ./stack.sh

Note:

  1. All needed keystone endpoints for Mistral will be automatically created during installation.
  2. Python-mistralclient will be also cloned and installed automatically.