add ceph mgr to update targets
Related-Prod: PROD-34191
Change-Id: Ic567c25af423eed55722ad5f30c3579a9ab7fb27
diff --git a/update-ceph.groovy b/update-ceph.groovy
index 55407f5..60d0e78 100644
--- a/update-ceph.groovy
+++ b/update-ceph.groovy
@@ -46,6 +46,12 @@
salt.cmdRun(pepperEnv, tgt, "systemctl restart ceph-mon.target")
ceph.waitForHealthy(pepperEnv, tgt, flags)
}
+ selMinions = salt.getMinions(pepperEnv, "I@ceph:mgr")
+ for (tgt in selMinions) {
+ // runSaltProcessStep 'service.restart' don't work for this services
+ salt.cmdRun(pepperEnv, tgt, "systemctl restart ceph-mgr.target")
+ ceph.waitForHealthy(pepperEnv, tgt, flags)
+ }
selMinions = salt.getMinions(pepperEnv, "I@ceph:radosgw")
for (tgt in selMinions) {
salt.cmdRun(pepperEnv, tgt, "systemctl restart ceph-radosgw.target")