Gluster deploy failed via ansible by "dos signature detected on /dev/sdx at offset XXX. Wipe it? [y/n]: [n]\n Aborted wiping of dos.\n 1 existing signature left on the device."
Issue
- Whils deploy gluster by ansible playbook, deployment will fails by following errors.
- The device /dev/sdx is a fresh disk without formatted or partitioned yet.
TASK [Create Physical Volume] *****************************************************************************************************************************************************************
failed: [gluster-node1.example.com (item=/dev/sdx) => {"failed": true, "failed_when_result": true, "item": "/dev/sdx", "msg": "WARNING: dos signature detected on /dev/sdx at offset 510. Wipe it? [y/n]: [n]\n Aborted wiping of dos.\n 1 existing signature left on the device.\n", "rc": 5}
failed: [gluster-node2.example.com] (item=/dev/sdx) => {"failed": true, "failed_when_result": true, "item": "/dev/sdx", "msg": "WARNING: dos signature detected on /dev/sdx at offset 510. Wipe it? [y/n]: [n]\n Aborted wiping of dos.\n 1 existing signature left on the device.\n", "rc": 5}
failed: [gluster-node3.example.com] (item=/dev/sdx) => {"failed": true, "failed_when_result": true, "item": "/dev/sdx", "msg": "WARNING: dos signature detected on /dev/sdx at offset 510. Wipe it? [y/n]: [n]\n Aborted wiping of dos.\n 1 existing signature left on the device.\n", "rc": 5}
to retry, use: --limit @/tmp/tmpTrLZsI/pvcreate.retry
PLAY RECAP ************************************************************************************************************************************************************************************
gluster-node1.example.com : ok=0 changed=0 unreachable=0 failed=1
gluster-node2.example.com : ok=0 changed=0 unreachable=0 failed=1
gluster-node3.example.com : ok=0 changed=0 unreachable=0 failed=1
Environment
- Red Hat Gluster Storage 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.