RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1148863 - Pcsd backward/forward compatibility issues
Summary: Pcsd backward/forward compatibility issues
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pcs
Version: 7.1
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Tomas Jelinek
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On: 1189857
Blocks: 1205796
TreeView+ depends on / blocked
 
Reported: 2014-10-02 14:40 UTC by Radek Steiger
Modified: 2015-11-19 09:32 UTC (History)
2 users (show)

Fixed In Version: pcs-0.9.140-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 09:32:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2290 0 normal SHIPPED_LIVE Moderate: pcs security, bug fix, and enhancement update 2015-11-19 09:43:53 UTC

Description Radek Steiger 2014-10-02 14:40:43 UTC
Description of problem:

In the process of implementing stuff into the PCS GUI, the data structure used by the javascript framework is sometimes changed in a way that makes one version backward incompatible with others, causing the GUI to fall apart when 

This is not only problem when the cluster is only partially updated, but it causes problems where PCSD should be able to manage multiple clusters from a single instance.

Two things to consider:

1. API versioning;
2. provide a graceful message instead of falling apart, when an incompatibility problem occurs.

The issue is clearly visible between version pcs-0.9.130-1.el7 and version pcs-0.9.129-1.el7.

In this case I have 4 nodes with following pcs versions:
 virt-041: pcs-0.9.130-1.el7
 virt-042: pcs-0.9.130-1.el7
 virt-043: pcs-0.9.129-1.el7
 virt-044: pcs-0.9.129-1.el7

When the cluster is imported into those two versions, both GUIs will be broken, although each of those in a different way:

 build 129: the node list is completely empty
 build 130: node list is stuck at loading, only nodes with the same build can be seen in the background


(Screenshots below.)

Comment 6 Tomas Jelinek 2015-06-05 09:10:05 UTC
The pcs builds mentioned in the description were not released.

We took following actions to prevent this kind of issues:
- focus on forward and backward compatibility when designing new data structures and API calls
- check if an item is present in a data structure sent from other pcsd instances instead of simply reading it and rely on its presence
- check for cases when a pcsd instance does not support requested operation (e.g. returns HTTP 404 code) and handle them appropriately
- keep a backward compatibility layer when changing functionalities
- implement functions to discover capabilities of a pcsd instance
- check for cases when it is not possible to fulfill a request due to incompatibility, handle them gracefully and display an error message

Comment 13 errata-xmlrpc 2015-11-19 09:32:54 UTC
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/RHSA-2015-2290.html


Note You need to log in before you can comment on or make changes to this bug.