]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
Skip GPT header creation for lvm osd scenario
authorVishal Kanaujia <vishal.kanaujia@flipkart.com>
Wed, 16 May 2018 09:58:31 +0000 (15:28 +0530)
committerSébastien Han <seb@redhat.com>
Mon, 2 Jul 2018 07:45:04 +0000 (09:45 +0200)
commit72641405df6b478ac53e2522a20fcaf82240de8a
tree930aeb6b40b95d89e3a7f8ee758956fe2480f859
parent59e68feabed8241207184269f0d995fa3ccf2d61
Skip GPT header creation for lvm osd scenario

The LVM lvcreate fails if the disk already has a GPT header.
We create GPT header regardless of OSD scenario. The fix is to
skip header creation for lvm scenario.

fixes: https://github.com/ceph/ceph-ansible/issues/2592

Signed-off-by: Vishal Kanaujia <vishal.kanaujia@flipkart.com>
(cherry picked from commit ef5f52b1f36188c3cab40337640a816dec2542fa)
Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-osd/tasks/main.yml