]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
testnode: Retry zapping disk if sgdisk fails the first time 323/head
authorDavid Galloway <dgallowa@redhat.com>
Fri, 7 Jul 2017 15:22:09 +0000 (11:22 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Mon, 10 Jul 2017 19:16:36 +0000 (15:16 -0400)
commit102f98e028c0416b65e60765281d2c9c91b71d24
treebb8b66eb27571b9f67563ae77202809f0ae3a19f
parent954bea3657112c76f2da20668183ba3995b9267f
testnode: Retry zapping disk if sgdisk fails the first time

I've seen `sgdisk -Z` fail the first time on RMA replacement drives from HGST but succeed on re-running it.

@alfredodeza recommended we add a retry.  Can't hurt.

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/testnode/tasks/zap_disks.yml