HAGetFailoverConfig cluster test fails after upgrade to SLE15 SP6
This document (000021556) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise High Availability Extension 15 SP6
Situation
However, after upgrade to "SLE15 SP6", the test is returning "HAActive: FALSE".
For example.
sapcontrol -nr 10 -function HAGetFailoverConfig 12.08.2024 10:31:21 HAGetFailoverConfig OK HAActive: FALSE HAProductVersion: HASAPInterfaceVersion: HADocumentation: HAActiveNode:
The following "crmsh" package (and earlier versions for the SLES15 SP6 HAE release) are affected:
crmsh-4.6.0+20240718.c5fa894-150600.3.6.2
Resolution
Cause
If the "timeout" or "interval" value in the CIB does not contain the "s" time unit, "crm configure show" command will print XML syntax.
For example:
# crm configure show ... xml <primitive id="rsc_sap_ECD_ASCS10" class="ocf" provider="heartbeat" type="SAPInstance"> \ <operations id="rsc_sap_ECD_ASCS10-operations"> \ <op name="monitor" interval="120" timeout="60" on-fail="restart" id="rsc_sap_ECD_ASCS10-operations-monitor-120"/> \ </operations> \ ... </primitive>
The "sap_suse_cluster_connector" is expecting the simplified line-based syntax (instead of the XML syntax) and thus is not able to parse the CIB correctly, which results in the failure.
The "s" time unit is also not mandatory for the "timeout" and "interval" values.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000021556
- Creation Date: 11-Sep-2024
- Modified Date:02-Oct-2024
-
- SUSE Linux Enterprise High Availability Extension
- SUSE Linux Enterprise Server for SAP Applications
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com