From: David Galloway Date: Fri, 23 Mar 2018 23:42:54 +0000 (-0400) Subject: testnodes: Notify OS of partition changes after zapping X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4c4c6ffcd992efdbd4b3d164aec3757d2305e642;p=ceph-cm-ansible.git testnodes: Notify OS of partition changes after zapping For some reason, on argo machines, after zapping disks /dev/sdb1 remains so the disk partitioning tasks fail later. Fixes: https://tracker.ceph.com/issues/23453 Signed-off-by: David Galloway --- diff --git a/roles/testnode/tasks/zap_disks.yml b/roles/testnode/tasks/zap_disks.yml index 759fa11a..5d10657d 100644 --- a/roles/testnode/tasks/zap_disks.yml +++ b/roles/testnode/tasks/zap_disks.yml @@ -107,3 +107,6 @@ - removed_lvm_data|failed - pvs_to_remove is defined - pvs_to_remove.stdout_lines|length > 0 + +- name: Notify OS of partition changes + command: partprobe