[Debian-ha-maintainers] Bug#1000644: resource-agents: Missing dependency on the bc package, required by the mariadb resource agent

Ben Tullis btullis at wikimedia.org
Fri Nov 26 11:13:07 GMT 2021


Package: resource-agents
Version: 1:4.7.0-1
Severity: normal
Tags: newcomer
X-Debbugs-Cc: btullis at wikimedia.org

Dear Maintainer,

   * What led up to the situation?

Attempting to use the mariadb resource agent to manage a multi-state resource
under corosync/pacemaker.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Whilst investigating an apparent failure to promote a mariadb resource to
master, I viewed the pacemaker log file. I saw the following log entries:

pacemaker-execd     [605] (log_op_output)       notice:
mariadb_monitor_20000[516611] error output [
/usr/lib/ocf/resource.d/heartbeat/mariadb: line 275: bc: command not found ]
pacemaker-execd     [605] (log_op_output)       notice:
mariadb_monitor_20000[516611] error output [
/usr/lib/ocf/resource.d/heartbeat/mariadb: line 276: [: : integer expression
expected ]

Installing the bc package fixed the issue. I would therefore suggest that we
add a dependency on the bc package to the debian version of resource-agents.



More information about the Debian-ha-maintainers mailing list