crmsh relies on old pacemaker daemon name

Bug #1958241 reported by Athos Ribeiro
6
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://github.com/ClusterLabs/crmsh/commit/ac97ee74e6358b03e0a50bd28a92390add801cec

Related branches

Changed in crmsh (Ubuntu):
assignee: nobody → Athos Ribeiro (athos-ribeiro)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package crmsh - 4.2.1-3ubuntu2

---------------
crmsh (4.2.1-3ubuntu2) jammy; urgency=medium

  * New changes:
    - d/p/0017-Fix-health-scripts-python-38-support.patch: remove deprecated
      function usage (LP: #1947022).
    - d/p/0018-Replace-crmd.patch: replace crmd calls with pacemaker-controld
      (LP: #1958241).
    - d/t/testsuite.sh: set timezone for time conversion tests (LP: #1958243).
    - d/p/0019-Add-hb_report-dpkg-support.patch: add dpkg support to hb_report
      (LP: #1958246).
    - d/p/0020-Use-crmsh-hb_report.patch: use the crmsh shipped hb_report script
      when available (LP: #1958247).

 -- Athos Ribeiro <email address hidden> Fri, 07 Jan 2022 10:14:32 -0300

Changed in crmsh (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.