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 1210105 - read_only_volume_list doesn't work with cluster volumes
Summary: read_only_volume_list doesn't work with cluster volumes
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: lvm2
Version: 6.7
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Peter Rajnoha
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-08 23:18 UTC by Corey Marthaler
Modified: 2016-11-23 14:49 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-23 14:49:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
lvchange -vvvv -ay (21.47 KB, text/plain)
2015-06-17 22:14 UTC, Corey Marthaler
no flags Details
lvm.conf from each of the nodes in the cluster (62.69 KB, text/plain)
2015-06-17 22:15 UTC, Corey Marthaler
no flags Details

Description Corey Marthaler 2015-04-08 23:18:47 UTC
Description of problem:
[root@host-084 ~]# cman_tool nodes
Node  Sts   Inc   Joined               Name
   1   M      8   2015-04-08 15:49:57  host-084
   2   M      8   2015-04-08 15:49:57  host-085
   3   M     12   2015-04-08 15:49:57  host-086

# read_only_volume_list set on all three nodes in the cluster
[root@host-084 ~]#  grep read_only_volume_list /etc/lvm/lvm.conf
    # If read_only_volume_list is defined, each LV that is to be activated 
    # read_only_volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ]
    read_only_volume_list = [ "@RO" ]

[root@host-084 ~]# vgs
  VG         #PV #LV #SN Attr   VSize   VFree  
  test         8   0   0 wz--nc 100.00g 100.00g

[root@host-084 ~]# lvcreate -n linear -L 300M --addtag RO test
  Logical volume "linear" created.

[root@host-084 ~]# lvs -a -o +devices,lv_tags
  LV      VG   Attr       LSize   Devices         LV Tags
  linear  test -wi-a----- 300.00m /dev/sda1(0)    RO     
[root@host-084 ~]# lvchange -an test/linear
[root@host-084 ~]# lvchange -ay test/linear
[root@host-084 ~]# lvs -a -o +devices,lv_tags
  LV      VG   Attr       LSize   Devices         LV Tags
  linear  test -wi-a----- 300.00m /dev/sda1(0)    RO     


Version-Release number of selected component (if applicable):
2.6.32-550.el6.x86_64

lvm2-2.02.118-1.el6    BUILT: Tue Mar 24 08:25:21 CDT 2015
lvm2-libs-2.02.118-1.el6    BUILT: Tue Mar 24 08:25:21 CDT 2015
lvm2-cluster-2.02.118-1.el6    BUILT: Tue Mar 24 08:25:21 CDT 2015
udev-147-2.61.el6    BUILT: Mon Mar  2 05:08:11 CST 2015
device-mapper-1.02.95-1.el6    BUILT: Tue Mar 24 08:25:21 CDT 2015
device-mapper-libs-1.02.95-1.el6    BUILT: Tue Mar 24 08:25:21 CDT 2015
device-mapper-event-1.02.95-1.el6    BUILT: Tue Mar 24 08:25:21 CDT 2015
device-mapper-event-libs-1.02.95-1.el6    BUILT: Tue Mar 24 08:25:21 CDT 2015
device-mapper-persistent-data-0.3.2-1.el6    BUILT: Fri Apr  4 08:43:06 CDT 2014
cmirror-2.02.118-1.el6    BUILT: Tue Mar 24 08:25:21 CDT 2015


How reproducible:
Everytime

Comment 2 Zdenek Kabelac 2015-06-17 08:32:15 UTC
Could you please attach lvm.conf and lvchange -vvvv trace?

Comment 3 Corey Marthaler 2015-06-17 22:14:41 UTC
Created attachment 1040124 [details]
lvchange -vvvv -ay

Comment 4 Corey Marthaler 2015-06-17 22:15:26 UTC
Created attachment 1040125 [details]
lvm.conf from each of the nodes in the cluster

Comment 5 Peter Rajnoha 2015-10-14 09:00:19 UTC
The read_only_volume_list is not checked with cluster at the moment, looking at the code paths taken.


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