Bug 1020210
Summary: | crm_master ignores option to specify nodename | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Frank Danapfel <fdanapfe> |
Component: | pacemaker | Assignee: | Andrew Beekhof <abeekhof> |
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.5 | CC: | cluster-maint, dvossel, fdinitto, jharriga, jkortus, lmiccini |
Target Milestone: | rc | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | pacemaker-1.1.12-1.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-10-14 07:33:25 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: |
Description
Frank Danapfel
2013-10-17 09:47:26 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. A related patch has been committed upstream: https://github.com/beekhof/pacemaker/commit/dc2d0e6 with subject: Fix: crm_master: Avoid sending redundant "--node" options to crm_attribute Further details (if any): What is the context of this report? crm_master shouldn't really be used outside of a resource agent (which doesn't have a reason to use -N). (In reply to Andrew Beekhof from comment #4) > What is the context of this report? > crm_master shouldn't really be used outside of a resource agent (which > doesn't have a reason to use -N). When I was playing around with the "showscores.sh" script I thought I could use the query option (-G) of crm_master to get better information about where pacemaker decided to place a master and a slave resource, and noticed that even though "crm_master advertises the option to specify a node this option isn't actually used because the nodename is hardcoded later in the script. If necessary we can backport dc2d0e6, but since crm_master is just a wrapper for crm_attribute, it doesn't seem critical. (In reply to Andrew Beekhof from comment #6) > If necessary we can backport dc2d0e6, but since crm_master is just a wrapper > for crm_attribute, it doesn't seem critical. And all of those crm_foobar command should be masked behind pcs calls. We are not going to support direct calls to crm_* (except crm_report perhaps). Let's make sure that pcs will grow the ability to handle it. Sounds sane, closing. We'll pick up the fix in the next rebase in due course 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. http://rhn.redhat.com/errata/RHBA-2014-1544.html |