masakari/devstack
Dinesh Bhor 57bbe7dead Fix devstack installation of masakari
Recently a commit: 188173a807 got
merged into masakari which replaces a rpc method 'get_transport'
with 'get_rpc_transport'. The 'get_rpc_transport' expects the
oslo.messaging config option 'transport_url' [1] to be present in
the [DEFAULT] section of masakari.conf. The current masakari devstack
script doesn't add 'transport_url' in masakari.conf which results
into failure of devstack installation of masakari.

This patch fixes this issue by using an inbuilt devstack function
'iniset_rpc_backend' to add the 'transport_url' config option in
masakari.conf.

[1] * https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/transport.py#L44
    * https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/transport.py#L201

Closes-Bug: #1728544
Change-Id: I75da054c6669aa90dd96c3ede3ae98de74275de2
2017-11-14 04:31:47 +00:00
..
README.rst Add devstack plugin 2016-08-16 11:55:07 +05:30
plugin.sh Fix devstack installation of masakari 2017-11-14 04:31:47 +00:00
settings Add ssl support for masakari plugin 2017-09-29 12:22:21 +05:30

README.rst

Enabling Masakari in DevStack

To enable Masakari in DevStack, perform the following steps:

Download DevStack

export DEVSTACK_DIR=~/devstack
git clone git://git.openstack.org/openstack-dev/devstack.git $DEVSTACK_DIR

Enable the Masakari plugin

Enable the plugin by adding the following section to $DEVSTACK_DIR/local.conf

[[local|localrc]]
enable_plugin masakari git://git.openstack.org/openstack/masakari

Optionally, a git refspec (branch or tag or commit) may be provided as follows:

[[local|localrc]]
enable_plugin masakari git://git.openstack.org/openstack/masakari <refspec>

Run the DevStack utility

cd $DEVSTACK_DIR
./stack.sh