Red Hat Bugzilla – Bug 1022277
LVM resource-agent fails to log error with unsupported usage
Last modified: 2014-10-14 00:59:23 EDT
Description of problem:
The pacemaker LVM agent under the heartbeat provide does not support exclusive activation with clvmd. There's a log message that is supposed to be displayed indicating this condition, but there is a syntax error in the log message that prevents it from being output.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2. attempt to activate a cluster volume group with exclusive activation
3. error message indicating why the agent can not proceed with the activation is not output.
line 597: ocf_log_err: command not found
"Exclusive activation via clvmd is not supported by this agent"
doing a search and replace of "s/ocf_log_err/ocf_log err/g" will fix this.
Created attachment 881983 [details]
lvm log message fixes v1
This patch fixes another LVM log message that was not in the upstream patch.
*** Bug 1038264 has been marked as a duplicate of this bug. ***
I have verified that there are no more occurences of 'ocf_log_err' in any of the resource-agents.
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.