]> 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>
Wed, 23 May 2018 18:44:09 +0000 (11:44 -0700)
commitef5f52b1f36188c3cab40337640a816dec2542fa
tree4ef79dd15d224e9c89b19ec76a20a19efb4fc21e
parentda5b104098023194cfa607ebb0a861540d21346c
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>
roles/ceph-osd/tasks/main.yml