Change horizon installation order
Horizon installation pipeline requere options
which are sent from glance mine functions
Change-Id: Id2c740f9e8e227e2099db8e7874d654dba58e5b6
Related-Prod: PROD-21005
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index d647a91..1941a89 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -282,8 +282,6 @@
def common = new com.mirantis.mk.Common()
def first_target
- // Install horizon dashboard
- salt.enforceStateWithTest(master, "I@horizon:server ${extra_tgt}", 'horizon')
// Install sphinx server
salt.enforceStateWithTest(master, "I@sphinx:server ${extra_tgt}", 'sphinx')
salt.enforceStateWithTest(master, "I@nginx:server ${extra_tgt}", 'salt.minion')
@@ -335,7 +333,6 @@
}
}
-
// Create nova resources
salt.enforceStateWithTest(master, "I@nova:client ${extra_tgt}", 'nova.client')
@@ -439,6 +436,9 @@
salt.enforceState(master, "${first_target} ${extra_tgt}", 'aodh')
salt.enforceState(master, "I@aodh:server ${extra_tgt}", 'aodh')
}
+
+ // Install horizon dashboard
+ salt.enforceStateWithTest(master, "I@horizon:server ${extra_tgt}", 'horizon')
}