Bugzilla – Bug 1224869
crm_resource command core dumped
Last modified: 2024-07-12 17:40:32 UTC
crm_resource command core dumped when calling: # crm_resource --show-metadata stonith:null Segmentation fault (core dumped) And the output was in a mess when calling: # crm_resource --show-metadata stonith:external/sbd <?xml version="1.0"?> <resource-agent name="external/sbd"> <version>1.1</version> <longdesc lang="en"> ���XU </longdesc> <shortdesc lang="en">g���XU</shortdesc> �~� <actions> <action name="start" timeout="20s" /> <action name="stop" timeout="15s" /> <action name="status" timeout="20s" /> <action name="monitor" timeout="20s" interval="3600s" /> <action name="meta-data" timeout="15s" /> </actions> <special tag="heartbeat"> <version>2.0</version> </special> </resource-agent> Related versions: # rpm -qa|grep pacemaker pacemaker-schemas-2.1.7+20240411.81041cf0b-1.1.noarch pacemaker-libs-2.1.7+20240411.81041cf0b-1.1.x86_64 pacemaker-cli-2.1.7+20240411.81041cf0b-1.1.x86_64 python3-pacemaker-2.1.7+20240411.81041cf0b-1.1.noarch pacemaker-2.1.7+20240411.81041cf0b-1.1.x86_64 # rpm -qa|grep cluster-glue cluster-glue-libs-1.0.12+v1.git.1663933145.1619d044-2.3.x86_64 cluster-glue-1.0.12+v1.git.1663933145.1619d044-2.3.x86_64 cluster-glue-devel-1.0.12+v1.git.1663933145.1619d044-2.3.x86_64 # cat /etc/os-release NAME="openSUSE Tumbleweed" # VERSION="20240423" ID="opensuse-tumbleweed" ID_LIKE="opensuse suse" VERSION_ID="20240423" PRETTY_NAME="openSUSE Tumbleweed" ANSI_COLOR="0;32" # CPE 2.3 format, boo#1217921 CPE_NAME="cpe:2.3:o:opensuse:tumbleweed:20240423:*:*:*:*:*:*:*" #CPE 2.2 format #CPE_NAME="cpe:/o:opensuse:tumbleweed:20240423" BUG_REPORT_URL="https://bugzilla.opensuse.org" SUPPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org" DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed" LOGO="distributor-logo-Tumbleweed"
All test cases require sbd will be blocked, there should be the same issue when changing libvirt as stonith: ``` # crm_resource --show-metadata stonith:external/libvirt <?xml version="1.0"?> <resource-agent name="external/libvirt"> <version>1.1</version> <longdesc lang="en"> `z�` </longdesc> <shortdesc lang="en">�cw V</shortdesc> ``` So I raised the priority to P2
Fixed the relevant issues for main branch: https://github.com/ClusterLabs/pacemaker/pull/3476 https://github.com/ClusterLabs/pacemaker/pull/3492 , and backported for 2.1 branch: https://github.com/ClusterLabs/pacemaker/pull/3480
(In reply to Yan Gao from comment #2) > Fixed the relevant issues for main branch: > https://github.com/ClusterLabs/pacemaker/pull/3476 > https://github.com/ClusterLabs/pacemaker/pull/3492 > > , and backported for 2.1 branch: > https://github.com/ClusterLabs/pacemaker/pull/3480 Thanks, Yan!
The fixes are already in: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker Let me know when you want them in openSUSE:Factory.
(In reply to Yan Gao from comment #4) > The fixes are already in: > https://build.opensuse.org/package/show/network:ha-clustering:Factory/ > pacemaker > > Let me know when you want them in openSUSE:Factory. yes, please. Thx!
This is an autogenerated message for OBS integration: This bug (1224869) was mentioned in https://build.opensuse.org/request/show/1179895 Factory / pacemaker