commit | 00e0691c82c076da9a62e1f5e2914d376c16427a | [log] [tgz] |
---|---|---|
author | Tomáš Kukrál <tkukral@mirantis.com> | Wed Aug 16 13:33:12 2017 +0200 |
committer | Tomas Kukral <tkukral@mirantis.com> | Wed Aug 16 11:51:10 2017 +0000 |
tree | ab4508918c00c7ebd3861cca1b1452c29a60dcaf | |
parent | 175c668bf20462535e54b4f6bb19e19203eeb5b8 [diff] |
add options to delete all OSDs Change-Id: Ic8d7e6b480add72de47aa00c228ed64704464e69
diff --git a/ceph-remove-osd.groovy b/ceph-remove-osd.groovy index 1e62bb2..9f6934e 100644 --- a/ceph-remove-osd.groovy +++ b/ceph-remove-osd.groovy
@@ -46,7 +46,7 @@ for (i in pillar_disks.keySet()) { def osd_id = (hostname_id + i).toInteger() - if (osd_id in osds) { + if (osd_id in osds || OSD == '*') { osd_ids.add('osd.' + osd_id) } }