fix partition removal for ceph nautilus
Related-Prod: PROD-35230
Change-Id: I954e4f3379486cf7c6d36481ec3cf7a57c77457f
diff --git a/src/com/mirantis/mk/Ceph.groovy b/src/com/mirantis/mk/Ceph.groovy
index c959810..8660233 100644
--- a/src/com/mirantis/mk/Ceph.groovy
+++ b/src/com/mirantis/mk/Ceph.groovy
@@ -93,7 +93,7 @@
}
}
if (lvm_enabled && type != 'lockbox') {
- salt.cmdRun(master, target, "ceph-volume lvm zap ${partition_uuid} --destroy")
+ salt.cmdRun(master, target, "ceph-volume lvm zap /dev/disk/by-partuuid/${partition_uuid} --destroy")
} else if (dev != '') {
salt.cmdRun(master, target, "parted ${dev} rm ${part_id}")
} else {