A docker resource fails when pacemaker probes the resources at cluster startup

Solution Verified - Updated -

Issue

  • A docker resource is throwing "unknown error" during a startup probe.
  • ocf:heartbeat:docker resource reports successful stop after error communicating with daemon.
# pcs status | grep "Failed Actions" -A 10
Failed Actions:
* rabbitmq-bundle-docker-2_monitor_0 on controller-0 'unknown error' (1): call=15, status=complete, exitreason='',
    last-rc-change='Wed Sep 12 00:27:56 2018', queued=0ms, exec=970ms
* galera-bundle-docker-0_monitor_0 on controller-0 'unknown error' (1): call=19, status=complete, exitreason='',
    last-rc-change='Wed Sep 12 00:27:57 2018', queued=0ms, exec=738ms
* redis-bundle-docker-1_monitor_0 on controller-0 'unknown error' (1): call=38, status=complete, exitreason='',
    last-rc-change='Wed Sep 12 00:28:10 2018', queued=0ms, exec=792ms
* haproxy-bundle-docker-1_monitor_0 on controller-0 'unknown error' (1): call=75, status=complete, exitreason='',
    last-rc-change='Wed Sep 12 00:28:19 2018', queued=0ms, exec=366ms
* openstack-cinder-volume-docker-0_monitor_0 on controller-0 'unknown error' (1): call=83, status=complete, exitreason='',
    last-rc-change='Wed Sep 12 00:28:25 2018', queued=0ms, exec=349ms

Environment

  • Red Hat Enterprise Linux 7, 8 (with the High Availability Add-on)
  • An ocf:heartbeat:docker resource
  • RHEL 7
    • resource-agents package versions prior to 4.1.1-30.el7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content