Skip to content

Commit da352c7

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Ceph: wait for services to shutdown during cleanup"
2 parents fdae448 + a27b74c commit da352c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/ceph

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ function cleanup_ceph_remote {
142142
}
143143

144144
function cleanup_ceph_embedded {
145-
sudo pkill -f ceph-mon
146-
sudo pkill -f ceph-osd
145+
sudo killall -w -9 ceph-mon
146+
sudo killall -w -9 ceph-osd
147147
sudo rm -rf ${CEPH_DATA_DIR}/*/*
148148
if egrep -q ${CEPH_DATA_DIR} /proc/mounts; then
149149
sudo umount ${CEPH_DATA_DIR}

0 commit comments

Comments
 (0)