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."

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.