Configure taskflow connection

In patch [1], a new config option `connection` is introduced
in a new section `taskflow`  to save the recovery workflow
details of the notification.

This patch configures this new config option during creation
of config files in devstack setup.

[1] : https://review.openstack.org/#/c/640798/

Change-Id: I2383aaefaeb522e1783e2769e78438410b8033f3
This commit is contained in:
tpatil 2019-03-09 16:16:36 +09:00
parent 7321ee32fd
commit 76a9242929
1 changed files with 3 additions and 0 deletions

View File

@ -123,6 +123,9 @@ function configure_masakari {
# Set common configuration values (but only if they're defined)
iniset $MASAKARI_CONF DEFAULT masakari_api_workers "$API_WORKERS"
iniset $MASAKARI_CONF database connection `database_connection_url masakari`
# Set taskflow connection to store the recovery workflow details in db
iniset $MASAKARI_CONF taskflow connection `database_connection_url masakari`
setup_masakari_logging $MASAKARI_CONF
configure_auth_token_middleware $MASAKARI_CONF masakari $MASAKARI_AUTH_CACHE_DIR