From c0c3aa035cfd22d72cdd7ef8fe804d35c217f80b Mon Sep 17 00:00:00 2001 From: Hongbin Lu Date: Fri, 24 Mar 2017 21:20:12 -0500 Subject: [PATCH] Move create_manila_accounts to post-config In before, Manila devstack plugin create the service endpoint in "extra" stage. This caused issue of other services that depends on the manila endpoints that are not yet created. This commit move the endpoint creation to "post-config" stage, which is the practice of other OpenStack services Change-Id: I3adfbf78d0792471a29c7ff979aad1418e6137d4 --- devstack/plugin.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 6f6e1f1c9c..3b15e1ef6d 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -900,6 +900,8 @@ elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then init_manila echo_summary "Installing extra libraries" install_libraries + echo_summary "Creating Manila entities for auth service" + create_manila_accounts # Cinder config update if is_service_enabled cinder && [[ -n "$CINDER_OVERSUBSCRIPTION_RATIO" ]]; then @@ -911,9 +913,6 @@ elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then iniset $CINDER_CONF DEFAULT max_over_subscription_ratio $CINDER_OVERSUBSCRIPTION_RATIO fi elif [[ "$1" == "stack" && "$2" == "extra" ]]; then - echo_summary "Creating Manila entities for auth service" - create_manila_accounts - if is_service_enabled nova; then echo_summary "Creating Manila service flavor" create_manila_service_flavor