Run nova.controller in installOpenstackCompute
It is required to map compute node to cell, othervise schedulling
will not work for this compute. Since finalize is optional step
explicitly call nova.controller state after we applied nova.compute
Change-Id: Ib79bb994068784f0268598646939f1ad1e21877a
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index 409d15c..e83ce71 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -552,6 +552,11 @@
}
}
}
+
+ // Run nova:controller to map cmp with cells
+ if (salt.testTarget(master, 'I@nova:controller')) {
+ salt.enforceState(master, 'I@nova:controller and *01*', 'nova.controller')
+ }
}