Bug 1484002 - lvm_volumes dict entries must be unique logical volume names
Summary: lvm_volumes dict entries must be unique logical volume names
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Volume
Version: 3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 3.0
Assignee: Alfredo Deza
QA Contact: shylesh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-22 12:52 UTC by John Harrigan
Modified: 2020-04-30 07:57 UTC (History)
13 users (show)

Fixed In Version: RHEL: ceph-12.2.0-1.el7cp ceph-ansible-3.0.0-0.1.rc4.el7cp Ubuntu: ceph_12.2.0-2redhat1xenial ceph-ansible_3.0.0~rc4-2redhat1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-05 23:39:47 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 1797 0 'None' closed adds purge support for the lvm_osds osd scenario 2020-04-27 14:49:37 UTC
Github ceph ceph pull 17207 0 'None' closed ceph-volume: use unique logical volumes 2020-04-27 14:49:37 UTC
Github ceph ceph pull 17208 0 'None' closed luminous ceph-volume: use unique logical volumes 2020-04-27 14:49:37 UTC
Red Hat Product Errata RHBA-2017:3387 0 normal SHIPPED_LIVE Red Hat Ceph Storage 3.0 bug fix and enhancement update 2017-12-06 03:03:45 UTC

Description John Harrigan 2017-08-22 12:52:18 UTC
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.

Comment 2 Andrew Schoen 2017-08-23 15:06:23 UTC
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.

Comment 3 Alfredo Deza 2017-08-24 13:08:42 UTC
cherry-picks targeting luminous just got merged

Comment 11 errata-xmlrpc 2017-12-05 23:39:47 UTC
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


Note You need to log in before you can comment on or make changes to this bug.