pacemaker/crm_report.in

24 lines
634 B
Plaintext
Raw Normal View History

Accepting request 1187166 from home:yan_gao:branches:network:ha-clustering:Factory - Update to version 2.1.7+20240711.239cba384: - various: Don't set cluster-layer node ID as XML ID - tools: crm_node -i must initialize nodeid before passing pointer (gh#ClusterLabs/pacemaker#3574) - Update to version 2.1.7+20240709.f04c3b02c: - tools: CIB clients retry signon upon an EAGAIN error (gh#ClusterLabs/pacemaker#3567, bsc#1224183) - libcib: new function cib__signon_attempts() (gh#ClusterLabs/pacemaker#3567, bsc#1224183) - Update to version 2.1.7+20240708.347e83d87: - crm_verify: Improve checking of fencing level IDs - Update to version 2.1.7+20240703.f73f033d5 (Pacemaker-2.1.8-rc3): - sysconfig: deprecate PCMK_dh_min_bits environment variable - Update to version 2.1.7+20240701.8af8b59e2: - libcrmcluster: use local hostname for node name if not configured in corosync (gh#ClusterLabs/pacemaker#3551) - Update to version 2.1.7+20240701.b4e61209c: - tools: Don't double-free XML in crm_verify after schema update - Update to version 2.1.7+20240701.a1003bbf1: - cts-cli: update expected output for crm_verify to distinguish configuration warnings and errors (gh#ClusterLabs/pacemaker#3543) - tools: crm_verify distinguishes configuration warnings and errors (gh#ClusterLabs/pacemaker#3543) - Update to version 2.1.7+20240624.5d44a760b: - libcrmcommon: don't try to add to full string in pcmk__time_format_hr() - libcrmcommon: handle formatting errors in pcmk__time_format_hr() - scheduler: consider group locations when member is explicit colocation dependent - tools: Don't skip formatting if running crm_simulate interactively. OBS-URL: https://build.opensuse.org/request/show/1187166 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=401
2024-07-12 14:14:17 +00:00
#!/bin/sh
#
# Copyright (C) 2007 Dejan Muhamedagic <dmuhamedagic@suse.com>
# Copyright (C) 2015 Kristoffer Gronlund <kgronlund@suse.com>
# Copyright (C) 2015 Gao,Yan <ygao@suse.com>
#
# Replaced with crm report
PARENT_COMMAND="$(ps -o comm= $PPID)"
PROG="$(basename "$0")"
die() {
echo "$PROG: $*"
exit 1
}
[ "$(basename "$PARENT_COMMAND")" = "crm" ] && die "called itself in a loop, aborting"
if which crm > /dev/null 2>&1; then
crm report "$@"
elif [ -x /usr/sbin/crm ]; then
/usr/sbin/crm report "$@"
else
#die "crm_report has been deprecated: Please install crmsh, which replaces it"
/usr/sbin/crm_report.pacemaker "$@"
fi