ceph deploy adjustments
Change-Id: I60eac2cc6f175ceb8564612de442b444b211709a
diff --git a/src/com/mirantis/mk/Orchestrate.groovy b/src/com/mirantis/mk/Orchestrate.groovy
index a6edf04..882bda0 100644
--- a/src/com/mirantis/mk/Orchestrate.groovy
+++ b/src/com/mirantis/mk/Orchestrate.groovy
@@ -689,12 +689,14 @@
// generate keyrings
if (salt.testTarget(master, 'I@ceph:mon:keyring:mon or I@ceph:common:keyring:admin')) {
salt.enforceState(master, 'I@ceph:mon:keyring:mon or I@ceph:common:keyring:admin', 'ceph.mon', true)
+ salt.runSaltProcessStep(master, 'I@ceph:mon', 'saltutil.sync_all', [], null, true)
salt.runSaltProcessStep(master, 'I@ceph:mon:keyring:mon or I@ceph:common:keyring:admin', 'mine.update', [], null, true)
+ sleep(5)
}
// install Ceph Mons
salt.enforceState(master, target, 'ceph.mon', true)
if (salt.testTarget(master, 'I@ceph:mgr')) {
- salt.enforceState(master, 'I@ceph.mgr', 'ceph.mgr', true)
+ salt.enforceState(master, 'I@ceph:mgr', 'ceph.mgr', true)
}
}