]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
validate: fail if gpt header found on unprepared devices
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 17 Jul 2019 13:55:12 +0000 (15:55 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 18 Jul 2019 08:32:53 +0000 (10:32 +0200)
commit4aa4496fc1de85a064f9d31629824e4f2e0d1201
treec150795468cd3e63395456713168fdd056cb3477
parent2c64166eac98e6afa3d441b9af9ce029027c6aad
validate: fail if gpt header found on unprepared devices

ceph-volume will complain if gpt headers are found on devices.
This commit checks whether a gpt header is present on devices passed in
`devices` variable and fail early.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1730541
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 487d7016850524af64254aa3a9ec61222ec926a4)
roles/ceph-validate/tasks/check_devices.yml