Description of problem: Currently when using 'osd_scenario: lvm', the 'lvm_volumes:' dict pairs of LV names *must* all be unique names. For example, this would work: lvm_volumes: lv0: /dev/nvme0n1p1 lv1: /dev/nvme0n1p2 But if a system is configured with multiple volume groups which have LV's with the same name, then no go. Like this lvm_volumes: lv0: /dev/nvme0n1p1 lv0: /dev/nvme0n1p2 Users should be allowed to specify LV's with the same name from different volume groups.
This upstream PR changes `lvm_volumes` in ceph-ansible in such a way that would resolve this issue: https://github.com/ceph/ceph-ansible/pull/1797 However, I don't think `ceph-volume` would support making an OSD from a lv named the same in many vgs yet.
cherry-picks targeting luminous just got merged
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:3387