Package: resource-agents
Version: 1:4.7.0-1
Severity: normal
Tags: newcomer
X-Debbugs-Cc: btul...@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.

Reply via email to