Bug 1464781
Summary: | Unable to add remote/guest node forcibly to a cluster if error with pacemaker_remote daemon occurs on remote/guest node | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Miroslav Lisik <mlisik> | ||||||
Component: | pcs | Assignee: | Ivan Devat <idevat> | ||||||
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 7.4 | CC: | cfeist, cluster-maint, idevat, omular, rsteiger, tojeline | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | pcs-0.9.162-3.el7 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2018-04-10 15:39:15 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: | |||||||||
Attachments: |
|
Description
Miroslav Lisik
2017-06-25 17:07:13 UTC
Created attachment 1293252 [details]
proposed fix
After Fix: [vm-rhel72-1 ~] $ rpm -q pcs pcs-0.9.160-1.el7.x86_64 [vm-rhel72-1 ~] $ pcs cluster node add-remote vm-rhel72-2 --force Sending remote node configuration files to 'vm-rhel72-2' vm-rhel72-2: successful distribution of the file 'pacemaker_remote authkey' Requesting start of service pacemaker_remote on 'vm-rhel72-2' Warning: vm-rhel72-2: service command failed: pacemaker_remote enable: Operation failed. Warning: vm-rhel72-2: service command failed: pacemaker_remote start: Operation failed. [vm-rhel72-1 ~] $ echo $? 0 Created attachment 1376747 [details]
fix for exit code issue
After Fix [ant ~] $ rpm -q pcs pcs-0.9.162-3.el7.x86_64 [ant ~] $ pcs cluster node add-guest cat REMOTE-NODE Sending remote node configuration files to 'cat' cat: successful distribution of the file 'pacemaker_remote authkey' Requesting start of service pacemaker_remote on 'cat' Error: cat: service command failed: pacemaker_remote enable: Operation failed. Error: cat: service command failed: pacemaker_remote start: Operation failed. Error: Errors have occurred, therefore pcs is unable to continue [ant ~] $ echo $? 1 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:0866 |