Bug 1397408
Summary: | CIB upgrade does not check what version is possible to upgrade to clusterwise | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Ivan Devat <idevat> | ||||
Component: | pcs | Assignee: | Tomas Jelinek <tojeline> | ||||
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.8 | CC: | cfeist, cluster-maint, cluster-qe, idevat, omular, royoung, rsteiger, tojeline | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | pcs-0.9.155-2.el6 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | 1389443 | Environment: | |||||
Last Closed: | 2017-03-21 11:04:57 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: | |||||||
Bug Depends On: | 1389443 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Ivan Devat
2016-11-22 13:26:17 UTC
Created attachment 1222736 [details]
proposed fix
Setup: > Have cluster with enough old pacemaker. [vm-rhel67-1 ~] $ rpm -q pacemaker pacemaker-1.1.12-8.el6.x86_64 [vm-rhel67-1 ~] $ pcs cluster cib | tr ' ' '\n' | grep validate-with validate-with="pacemaker-2.0" [vm-rhel67-2 ~] $ rpm -q pacemaker pacemaker-1.1.12-8.el6.x86_64 [vm-rhel67-2 ~] $ pcs cluster cib | tr ' ' '\n' | grep validate-with validate-with="pacemaker-2.0" > Upgrade pacemaker on one node. [vm-rhel67-1 ~] $ rpm -q pacemaker pacemaker-1.1.15-3.el6.x86_64 Before Fix: [vm-rhel67-1 ~] $ rpm -q pcs pcs-0.9.155-1.el6.x86_64 [vm-rhel67-1 ~] $ pcs alert create path=/some/path CIB has been upgraded to the latest schema version. [vm-rhel67-1 ~] $ pcs cluster cib | tr ' ' '\n' | grep validate-with validate-with="pacemaker-2.5" [vm-rhel67-2 ~] $ pcs cluster cib | tr ' ' '\n' | grep validate-with validate-with="pacemaker-2.0" After Fix: [vm-rhel67-1 ~] $ rpm -q pcs pcs-0.9.155-2.el6.x86_64 [vm-rhel67-1 ~] $ pcs alert create path=/some/path Error: Upgrading of CIB to the latest schema failed: Call cib_upgrade failed (-62): Timer expired [vm-rhel67-1 ~] $ pcs cluster cib | tr ' ' '\n' | grep validate-with validate-with="pacemaker-2.0" [vm-rhel67-2 ~] $ pcs cluster cib | tr ' ' '\n' | grep validate-with validate-with="pacemaker-2.0" 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://rhn.redhat.com/errata/RHBA-2017-0707.html |