Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1618450

Summary: overriding --physicalextentsize size during shared sanlock VG creation can affect ability to create internal [lvmlock] device
Product: Red Hat Enterprise Linux 7 Reporter: Corey Marthaler <cmarthal>
Component: lvm2Assignee: David Teigland <teigland>
lvm2 sub component: LVM lock daemon / lvmlockd QA Contact: cluster-qe <cluster-qe>
Status: CLOSED WONTFIX Docs Contact:
Severity: low    
Priority: unspecified CC: agk, heinzm, jbrassow, prajnoha, teigland, zkabelac
Version: 7.6   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-15 07:41:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
verbose vgcreate --shared attempt none

Description Corey Marthaler 2018-08-16 16:54:35 UTC
Description of problem:

# shared create attempt fails
[root@harding-02 ~]# vgcreate --shared --physicalextentsize 264704k snapper_thinp /dev/mapper/mpathb1 /dev/mapper/mpathc1 /dev/mapper/mpathd1 /dev/mapper/mpathe1 /dev/mapper/mpathf1 /dev/mapper/mpathg1 /dev/mapper/mpathh1
  Internal error: Unable to create new logical volume with no extents.
  Failed to create sanlock lv lvmlock in vg snapper_thinp
  Failed to create internal lv.
  Failed to initialize lock args for lock type sanlock
  Volume group "snapper_thinp" successfully removed


# non shared create passes
[root@harding-02 ~]# vgcreate --physicalextentsize 264704k snapper_thinp /dev/mapper/mpathb1 /dev/mapper/mpathc1 /dev/mapper/mpathd1 /dev/mapper/mpathe1 /dev/mapper/mpathf1 /dev/mapper/mpathg1 /dev/mapper/mpathh1
  Volume group "snapper_thinp" successfully created



Version-Release number of selected component (if applicable):
3.10.0-931.el7.x86_64

lvm2-2.02.180-2.el7.bz1610455    BUILT: Thu Aug  2 03:47:52 CDT 2018
lvm2-libs-2.02.180-2.el7.bz1610455    BUILT: Thu Aug  2 03:47:52 CDT 2018
lvm2-cluster-2.02.180-2.el7.bz1610455    BUILT: Thu Aug  2 03:47:52 CDT 2018
lvm2-lockd-2.02.180-2.el7.bz1610455    BUILT: Thu Aug  2 03:47:52 CDT 2018
lvm2-python-boom-0.9-5.el7.bz1610455    BUILT: Thu Aug  2 03:47:52 CDT 2018
cmirror-2.02.180-2.el7.bz1610455    BUILT: Thu Aug  2 03:47:52 CDT 2018
device-mapper-1.02.149-2.el7.bz1610455    BUILT: Thu Aug  2 03:47:52 CDT 2018
device-mapper-libs-1.02.149-2.el7.bz1610455    BUILT: Thu Aug  2 03:47:52 CDT 2018
device-mapper-event-1.02.149-2.el7.bz1610455    BUILT: Thu Aug  2 03:47:52 CDT 2018
device-mapper-event-libs-1.02.149-2.el7.bz1610455    BUILT: Thu Aug  2 03:47:52 CDT 2018
device-mapper-persistent-data-0.7.3-3.el7    BUILT: Tue Nov 14 05:07:18 CST 2017
sanlock-3.6.0-1.el7    BUILT: Tue Dec  5 11:47:21 CST 2017
sanlock-lib-3.6.0-1.el7    BUILT: Tue Dec  5 11:47:21 CST 2017


How reproducible:
Everytime

Comment 2 Corey Marthaler 2018-08-16 16:56:16 UTC
Created attachment 1476473 [details]
verbose vgcreate --shared attempt

Comment 5 RHEL Program Management 2021-02-15 07:41:42 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.