Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
When a cluster.conf is synced to all nodes it will not sync comments and CDATA. That information will be stripped/lefted out of the new cluster.conf.
Version-Release number of selected component (if applicable):
ricci-0.16.2-13.el6.x86_64
How reproducible:
Everytime
Steps to Reproduce:
1.Edit the cluster.conf and make the following changes:
Add the following tags inside the <rm> tag in the cluster.conf:
<events>
<event class="service" name="service-ers">
notice("Event service triggered!");
evalfile("/usr/share/cluster/follow-service.sl");
follow_service("service:BENASCS", "service:BENERS", "service:BENASCS");
</event>
<event class="node" name="node-ers">
notice("Event node triggered!");
evalfile("/usr/share/cluster/follow-service.sl");
follow_service("service:BENASCS", "service:BENERS", "service:BENASCS");
</event>
</events>
2. $ cman_tool version -r
Actual results:
The event section is stripped down to:
<events>
<event class="service" name="service-ers"/>
<event class="node" name="node-ers"/>
</events>
Expected results:
The xml should not be stripped. The comments and CDATA should be kept in tact.
Additional info:
It looks like this is based on Atix's SAP whitepaper which may need to be updated for RHEL 6.
There is no support for CDATA in the ccs CLI or within luci at this time.
On RHEL6 it will likely be necessary to use the file directive of the event tag:
<events>
<event class="service" name="service-ers" file="/usr/share/cluster/service-ers.sl"/>
<event class="node" name="node-ers" file="/usr/share/cluster/node-ers.sl">
</events>
# cat /usr/share/cluster/service-ers.sl
notice("Event service triggered!");
evalfile("/usr/share/cluster/follow-service.sl");
follow_service("service:BENASCS", "service:BENERS", "service:BENASCS");
# cat /usr/share/cluster/node-ers.sl
notice("Event node triggered!");
evalfile("/usr/share/cluster/follow-service.sl");
follow_service("service:BENASCS", "service:BENERS", "service:BENASCS");
Description of problem: When a cluster.conf is synced to all nodes it will not sync comments and CDATA. That information will be stripped/lefted out of the new cluster.conf. Version-Release number of selected component (if applicable): ricci-0.16.2-13.el6.x86_64 How reproducible: Everytime Steps to Reproduce: 1.Edit the cluster.conf and make the following changes: Add the following tags inside the <rm> tag in the cluster.conf: <events> <event class="service" name="service-ers"> notice("Event service triggered!"); evalfile("/usr/share/cluster/follow-service.sl"); follow_service("service:BENASCS", "service:BENERS", "service:BENASCS"); </event> <event class="node" name="node-ers"> notice("Event node triggered!"); evalfile("/usr/share/cluster/follow-service.sl"); follow_service("service:BENASCS", "service:BENERS", "service:BENASCS"); </event> </events> 2. $ cman_tool version -r Actual results: The event section is stripped down to: <events> <event class="service" name="service-ers"/> <event class="node" name="node-ers"/> </events> Expected results: The xml should not be stripped. The comments and CDATA should be kept in tact. Additional info: