An azure-lb resource failed with "kill: Binary: arguments must be process or job IDs" in a Pacemaker cluster

Solution Verified - Updated -

Issue

  • An ocf:heartbeat:azure-lb cluster resource failed its monitor operation and then fails the start operation during recovery. It logs messages similar to the following:
Jun 23 11:03:48 node1 lrmd[35611]:  notice: nc_PF2_02_monitor_10000:589:stderr [ /usr/lib/ocf/resource.d/heartbeat/azure-lb: line 91: kill: Binary: arguments must be process or job IDs ]
Jun 23 11:03:48 node1 lrmd[35611]:  notice: nc_PF2_02_monitor_10000:589:stderr [ /usr/lib/ocf/resource.d/heartbeat/azure-lb: line 91: kill: file: arguments must be process or job IDs ]
Jun 23 11:03:48 node1 lrmd[35611]:  notice: nc_PF2_02_monitor_10000:589:stderr [ /usr/lib/ocf/resource.d/heartbeat/azure-lb: line 91: kill: /var/run/nc_PF2_02.pid: arguments must be process or job IDs ]
Jun 23 11:03:48 node1 lrmd[35611]:  notice: nc_PF2_02_monitor_10000:589:stderr [ /usr/lib/ocf/resource.d/heartbeat/azure-lb: line 91: kill: matches: arguments must be process or job IDs ]
...
Jun 23 11:03:48 node1 lrmd[35611]:  notice: nc_PF2_02_stop_0:757:stderr [ /usr/lib/ocf/resource.d/heartbeat/azure-lb: line 91: kill: Binary: arguments must be process or job IDs ]
Jun 23 11:03:48 node1 lrmd[35611]:  notice: nc_PF2_02_stop_0:757:stderr [ /usr/lib/ocf/resource.d/heartbeat/azure-lb: line 91: kill: file: arguments must be process or job IDs ]
Jun 23 11:03:48 node1 lrmd[35611]:  notice: nc_PF2_02_stop_0:757:stderr [ /usr/lib/ocf/resource.d/heartbeat/azure-lb: line 91: kill: /var/run/nc_PF2_02.pid: arguments must be process or job IDs ]
Jun 23 11:03:48 node1 lrmd[35611]:  notice: nc_PF2_02_stop_0:757:stderr [ /usr/lib/ocf/resource.d/heartbeat/azure-lb: line 91: kill: matches: arguments must be process or job IDs ]
Jun 23 11:03:48 node1 crmd[35614]:  notice: Result of stop operation for nc_PF2_02 on node1: 0 (ok)
Jun 23 11:03:48 node1 lrmd[35611]:  notice: nc_PF2_02_start_0:777:stderr [ Ncat: bind to :::62502: Address already in use. QUITTING. ]
Jun 23 11:03:48 node1 lrmd[35611]:  notice: nc_PF2_02_start_0:777:stderr [ /usr/lib/ocf/resource.d/heartbeat/azure-lb: line 91: kill: (818) - No such process ]
Jun 23 11:03:48 node1 crmd[35614]:  notice: Result of start operation for nc_PF2_02 on node1: 1 (unknown error)
Jun 23 11:03:48 node1 lrmd[35611]:  notice: nc_PF2_02_stop_0:889:stderr [ /usr/lib/ocf/resource.d/heartbeat/azure-lb: line 91: kill: (818) - No such process ]
Jun 23 11:03:48 node1 crmd[35614]:  notice: Result of stop operation for nc_PF2_02 on node1: 0 (ok)

Environment

  • Red Hat Enterprise Linux 7 or 8 (with the High Availability Add-on)
  • Azure virtual machines as cluster nodes

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