summaryrefslogtreecommitdiff
path: root/devstack/plugin.sh
diff options
context:
space:
mode:
authorvsaienko <vsaienko@mirantis.com>2016-03-15 18:07:43 +0200
committerVasyl Saienko <vsaienko@mirantis.com>2016-03-28 16:04:06 +0000
commitba15202d99b2c26ba3eaf319f1e3d20edb697483 (patch)
treeffdf38e22eeb6fc0c5862d7eff228dc14c2dcf9d /devstack/plugin.sh
parent630063cc314decddb3f599d52d16f3748a510b3d (diff)
downloadironic-ba15202d99b2c26ba3eaf319f1e3d20edb697483.tar.gz
Update tempest compute flavor_ref/flavor_ref_alt
After Ironic is moved to devstack plugin the tempest is always executed before ironic devstack plugin. Unfortunatly there is no quick way to change order. This change introduce new function ironic_configure_tempest that is called from Ironic's devstack plugin. It updated flavor_ref and flavor_ref_alt compute tempest options. Change-Id: I85a77dd2193bac0ea4bd4fc1985c82d9f598b06b
Diffstat (limited to 'devstack/plugin.sh')
-rw-r--r--devstack/plugin.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index de584e6d9..06f83c8a4 100644
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -26,6 +26,9 @@ if is_service_enabled ir-api ir-cond; then
echo_summary "Starting Ironic"
start_ironic
prepare_baremetal_basic_ops
+ if is_service_enabled tempest; then
+ ironic_configure_tempest
+ fi
fi
if [[ "$1" == "unstack" ]]; then