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 1612828 - lvm resource agent mode script is missing a dash for vgchange command flags
Summary: lvm resource agent mode script is missing a dash for vgchange command flags
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: resource-agents
Version: 7.6
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Oyvind Albrigtsen
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-06 11:32 UTC by Roman Bednář
Modified: 2018-11-16 09:55 UTC (History)
6 users (show)

Fixed In Version: resource-agents-4.1.1-6.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 11:39:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3699101 0 None None None 2018-11-16 09:55:21 UTC
Red Hat Product Errata RHBA-2018:3278 0 None None None 2018-10-30 11:40:15 UTC

Description Roman Bednář 2018-08-06 11:32:21 UTC
resource-agents-4.1.1-4.el7

/usr/lib/ocf/lib/heartbeat/lvm-tag.sh line 150 is missing a dash in front of 'aly' flags. This is causing lvm resource to fail during start:

[root@p8-224-node13 ~]# pcs resource show halvm
 Resource: halvm (class=ocf provider=heartbeat type=LVM)
  Attributes: exclusive=true partial_activation=false volgrpname=shared
  Operations: methods interval=0s timeout=5s (halvm-methods-interval-0s)
              monitor interval=10s timeout=30s (halvm-monitor-interval-10s)
              start interval=0s timeout=30s (halvm-start-interval-0s)
              stop interval=0s timeout=30s (halvm-stop-interval-0s)

[root@p8-224-node13 ~]# pcs resource debug-start halvm
Operation start for halvm (ocf:heartbeat:LVM) returned: 'ok' (0)
 >  stdout: volume_list="rhel_p8-224-node13"
 >  stdout: volume_list="rhel_p8-224-node13"
 >  stderr: Aug 06 06:00:09 WARNING: Disable lvmetad in lvm.conf. lvmetad should never be enabled in a clustered environment. Set use_lvmetad=0 and kill the lvmetad process
 >  stderr: Aug 06 06:00:10 INFO: Activating volume group shared
 >  stderr: Aug 06 06:00:10 INFO:  Reading volume groups from cache. Found volume group "rhel_p8-224-node13" using metadata type lvm2 Found volume group "shared" using metadata type lvm2 
 >  stderr: Aug 06 06:00:10 ERROR:  No command with matching syntax recognised. Run 'vgchange --help' for more information. 


Bash debug revealing the failing command:

 >  stderr: ++ vgchange aly --config 'activation{volume_list=["@pacemaker"]}' shared
 >  stderr: + output='  No command with matching syntax recognised.  Run '\''vgchange --help'\'' for more information.'




Assuming this bug got there during the recent rebase from upstream:

https://github.com/ClusterLabs/resource-agents/commit/bfa84cdce0eafc35cc186672e6277c8612872e9b#diff-6c336594610881cd935991177b3528b5R150

Comment 4 Oyvind Albrigtsen 2018-08-13 12:33:03 UTC
https://github.com/ClusterLabs/resource-agents/pull/1190

Comment 8 errata-xmlrpc 2018-10-30 11:39:24 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-2018:3278


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