From ac522a9df4b0fcb152a5e7295b31ee9b58ad0d25 Mon Sep 17 00:00:00 2001 From: Chris Dent Date: Wed, 26 Aug 2015 10:19:54 +0000 Subject: [PATCH] Create conf directory during devstack install phase Otherwise other plugins which depend on aodh and want to set configuration items may have issues with the configuration directory not being there. Change-Id: I2e60ed0af6e1b18bbb65e17007e3b2e14ff44b04 --- devstack/plugin.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 1ffa3d754..7e379715e 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -166,8 +166,6 @@ function _aodh_configure_storage_backend { # Configure Aodh function configure_aodh { - sudo install -d -o $STACK_USER -m 755 $AODH_CONF_DIR $AODH_API_LOG_DIR - iniset_rpc_backend aodh $AODH_CONF iniset $AODH_CONF DEFAULT notification_topics "$AODH_NOTIFICATION_TOPICS" @@ -239,6 +237,7 @@ function install_aodh { _aodh_prepare_storage_backend install_aodhclient setup_develop $AODH_DIR + sudo install -d -o $STACK_USER -m 755 $AODH_CONF_DIR $AODH_API_LOG_DIR } # install_aodhclient() - Collect source and prepare