Bug 1507399
Summary: | pcs : update of a vm resource with remote-node returns an abnormal error [rhel-7.4.z] | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Oneata Mircea Teodor <toneata> | ||||
Component: | pcs | Assignee: | Ivan Devat <idevat> | ||||
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 7.4 | CC: | cfeist, cluster-maint, idevat, jherrman, jruemker, mjuricek, omular, rmarigny, rsteiger, sbradley, tojeline | ||||
Target Milestone: | rc | Keywords: | ZStream | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | pcs-0.9.158-6.el7_4.1 | Doc Type: | Bug Fix | ||||
Doc Text: |
Previously, attempting to use the "pcs resource update" command to change the "remote-node" attribute failed even if the target resource already had "remote-node" configured with the same value as the new one. This caused failures in a variety of Puppet operations that automatically update node information. Now, the pcs utility is capable of changing "remote-node" in the described circumstances, which prevents the problem from occurring.
|
Story Points: | --- | ||||
Clone Of: | 1502715 | Environment: | |||||
Last Closed: | 2017-11-30 16:03:33 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 1502715 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Oneata Mircea Teodor
2017-10-30 06:57:36 UTC
Created attachment 1345391 [details]
proposed fix
After Fix [vm-rhel72-1 ~] $ rpm -q pcs pcs-0.9.158-6.el7.1.x86_64 [vm-rhel72-1 ~] $ pcs resource show A Resource: A (class=ocf provider=heartbeat type=Dummy) Meta Attrs: remote-node=vm-rhel72-2 Operations: migrate_from interval=0s timeout=20 (A-migrate_from-interval-0s) migrate_to interval=0s timeout=20 (A-migrate_to-interval-0s) monitor interval=10 timeout=20 (A-monitor-interval-10) reload interval=0s timeout=20 (A-reload-interval-0s) start interval=0s timeout=20 (A-start-interval-0s) stop interval=0s timeout=20 (A-stop-interval-0s) [vm-rhel72-1 ~] $ pcs resource update A meta remote-node=vm-rhel72-2 [vm-rhel72-1 ~] $ echo $? 0 [vm-rhel72-1 ~] $ pcs resource update A meta remote-node=vm-rhel72-3 Warning: this command is not sufficient for creating a guest node, use 'pcs cluster node add-guest' Error: 'vm-rhel72-3' already exists 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-2017:3321 |