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 972724 - pvs does not respect cluster locking as vgs/pvs do
Summary: pvs does not respect cluster locking as vgs/pvs do
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: lvm2
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: LVM and device-mapper development team
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-10 13:19 UTC by Fabio Massimo Di Nitto
Modified: 2021-09-08 20:23 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-23 09:27:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Fabio Massimo Di Nitto 2013-06-10 13:19:24 UTC
Description of problem:

In a cluster, with locking_type set to 3, start clvmd on all nodes, shutdown clvmd on one node:

pvs will fail to scan devices because it cannot obtain cluster locking.

vgs/lvs will instead report the error (correctly) and then provide the information.

Behavior should be consistent across all tools.

Comment 2 RHEL Program Management 2014-03-22 06:46:41 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 3 Peter Rajnoha 2014-04-23 09:27:31 UTC
Seems this no longer an issue:

[root@rhel7-b ~]# pvs
  PV         VG   Fmt  Attr PSize   PFree  
  /dev/sda   vg   lvm2 a--  124.00m 120.00m
  /dev/vda2  rhel lvm2 a--    9.51g      0 


[root@rhel7-c ~]# pvs
  connect() failed on local socket: No such file or directory
  Internal cluster locking initialisation failed.
  WARNING: Falling back to local file-based locking.
  Volume Groups with the clustered attribute will be inaccessible.
  Skipping clustered volume group vg
  Skipping volume group vg
  PV         VG   Fmt  Attr PSize PFree
  /dev/vda2  rhel lvm2 a--  9.51g    0


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