crmsh relies on old pacemaker daemon name
Bug #1958241 reported by
Athos Ribeiro
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
crmsh (Ubuntu) |
Fix Released
|
Undecided
|
Athos Ribeiro |
Bug Description
Since pacemaker 2, the daemon name has been changed from crmd to pacemaker-controld.
crmsh still relies on calls to crmd, which will fail on systems with pacemaker >= 2.
This can be reproduced by running:
$ crm -d -R report -v -f '2022-01-12 13:03' -D -Z ./health-report
which should halt with the following error:
ERROR: crmsh-j# cannot find pacemaker daemon directory!
This has been fixed upstream on https:/
Related branches
~athos-ribeiro/ubuntu/+source/crmsh:merge-lp1958978-jammy
- Sergio Durigan Junior (community): Approve
- Canonical Server: Pending requested
- Canonical Server packageset reviewers: Pending requested
- git-ubuntu import: Pending requested
-
Diff: 267 lines (+187/-2)6 files modifieddebian/changelog (+97/-0)
debian/control (+2/-1)
debian/patches/0020-Use-crmsh-hb_report.patch (+32/-0)
debian/patches/0021-Support-python-310.patch (+53/-0)
debian/patches/series (+2/-0)
debian/tests/pacemaker-node-status.sh (+1/-1)
~athos-ribeiro/ubuntu/+source/crmsh:lp1947022-python38-support
- Paride Legovini (community): Approve
- Canonical Server: Pending requested
- git-ubuntu import: Pending requested
-
Diff: 278 lines (+228/-0)7 files modifieddebian/changelog (+15/-0)
debian/patches/0017-Fix-health-scripts-python-38-support.patch (+81/-0)
debian/patches/0018-Replace-crmd.patch (+31/-0)
debian/patches/0019-Add-hb_report-dpkg-support.patch (+60/-0)
debian/patches/0020-Use-crmsh-hb_report.patch (+35/-0)
debian/patches/series (+4/-0)
debian/tests/testsuite.sh (+2/-0)
Changed in crmsh (Ubuntu): | |
assignee: | nobody → Athos Ribeiro (athos-ribeiro) |
description: | updated |
To post a comment you must log in.
This bug was fixed in the package crmsh - 4.2.1-3ubuntu2
---------------
crmsh (4.2.1-3ubuntu2) jammy; urgency=medium
* New changes: Fix-health- scripts- python- 38-support. patch: remove deprecated Replace- crmd.patch: replace crmd calls with pacemaker-controld Add-hb_ report- dpkg-support. patch: add dpkg support to hb_report Use-crmsh- hb_report. patch: use the crmsh shipped hb_report script
- d/p/0017-
function usage (LP: #1947022).
- d/p/0018-
(LP: #1958241).
- d/t/testsuite.sh: set timezone for time conversion tests (LP: #1958243).
- d/p/0019-
(LP: #1958246).
- d/p/0020-
when available (LP: #1958247).
-- Athos Ribeiro <email address hidden> Fri, 07 Jan 2022 10:14:32 -0300