Bug 1985981
Summary: | reflect changes in crm_mon --as-xml | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Tomas Jelinek <tojeline> | |
Component: | pcs | Assignee: | Tomas Jelinek <tojeline> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | cluster-qe <cluster-qe> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 9.0 | CC: | cfeist, cluster-maint, cluster-qe, idevat, lmiksik, mlisik, mmazoure, mpospisi, nhostako, omular, slevine, tojeline | |
Target Milestone: | beta | Keywords: | Triaged | |
Target Release: | 9.0 Beta | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | pcs-0.11.1-1.el9 | Doc Type: | Enhancement | |
Doc Text: |
'pcs status xml' command now provides output in the new format implemented by pacemaker
|
Story Points: | --- | |
Clone Of: | 1885302 | |||
: | 1999022 (view as bug list) | Environment: | ||
Last Closed: | 2021-12-07 21:20:54 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: | 1885302 | |||
Bug Blocks: | 1999022 |
Description
Tomas Jelinek
2021-07-26 12:26:57 UTC
This is a counterpart to bz1885302. On top of what has been implemented in bz1885302, we are also switching 'pcs status xml' to the new format. Upstream patch: https://github.com/ClusterLabs/pcs/commit/11e758ed5e9879c35ce9e0b6c97ed8e7cdac3a03 Test: run 'pcs status xml' and observe it returns the new format XML: <pacemaker-result... instead of <crm_mon... DevTestResults: [root@r90-node-01 ~]# rpm -q pcs pcs-0.11.0.alpha.1-1.el9.x86_64 [root@r90-node-01 ~]# pcs status xml <pacemaker-result api-version="2.12" request="/usr/sbin/crm_mon --one-shot --inactive --output-as xml"> <summary> <stack type="corosync"/> <current_dc present="true" version="2.1.0-11.el9-7c3f660707" name="r90-node-02" id="2" with_quorum="true"/> <last_update time="Tue Aug 24 10:59:00 2021"/> <last_change time="Tue Aug 24 10:58:52 2021" user="root" client="cibadmin" origin="r90-node-01"/> <nodes_configured number="2"/> <resources_configured number="2" disabled="0" blocked="0"/> <cluster_options stonith-enabled="true" symmetric-cluster="true" no-quorum-policy="stop" maintenance-mode="false" stop-all-resources="false"/> </summary> <nodes> <node name="r90-node-01" id="1" online="true" standby="false" standby_onfail="false" maintenance="false" pending="false" unclean="false" shutdown="false" expected_up="true" is_dc="false" resources_running="1" type="member"/> <node name="r90-node-02" id="2" online="true" standby="false" standby_onfail="false" maintenance="false" pending="false" unclean="false" shutdown="false" expected_up="true" is_dc="true" resources_running="1" type="member"/> </nodes> <resources> <resource id="fence-r90-node-01" resource_agent="stonith:fence_xvm" role="Started" active="true" orphaned="false" blocked="false" managed="true" failed="false" failure_ignored="false" nodes_running_on="1"> <node name="r90-node-01" id="1" cached="true"/> </resource> <resource id="fence-r90-node-02" resource_agent="stonith:fence_xvm" role="Started" active="true" orphaned="false" blocked="false" managed="true" failed="false" failure_ignored="false" nodes_running_on="1"> <node name="r90-node-02" id="2" cached="true"/> </resource> </resources> <node_history> <node name="r90-node-02"> <resource_history id="fence-r90-node-02" orphan="false" migration-threshold="1000000"> <operation_history call="10" task="start" rc="0" rc_text="ok" last-rc-change="Tue Aug 24 10:58:52 2021" exec-time="34ms" queue-time="0ms"/> <operation_history call="11" task="monitor" rc="0" rc_text="ok" interval="60000ms" last-rc-change="Tue Aug 24 10:58:52 2021" exec-time="38ms" queue-time="0ms"/> </resource_history> </node> <node name="r90-node-01"> <resource_history id="fence-r90-node-01" orphan="false" migration-threshold="1000000"> <operation_history call="6" task="start" rc="0" rc_text="ok" last-rc-change="Tue Aug 24 10:58:52 2021" exec-time="32ms" queue-time="0ms"/> <operation_history call="7" task="monitor" rc="0" rc_text="ok" interval="60000ms" last-rc-change="Tue Aug 24 10:58:52 2021" exec-time="28ms" queue-time="0ms"/> </resource_history> </node> </node_history> <status code="0" message="OK"/> </pacemaker-result> |