A start or stop operation for an IPsrcaddr pacemaker resource fails with error: `Error: either "to" is duplicate, or "192.168.122.42" is a garbage.`

Solution In Progress - Updated -

Issue

  • A start or stop operation for an IPsrcaddr resource on pacemaker can fail with error Error: either "to" is duplicate, or "192.168.122.42" is a garbage. Below is snippet of a start failure:
May 18 09:36:30 rhel7-2 crmd[28030]:  notice: Result of probe operation for ClusterSRC_IP1 on rhel7-2.examplerh.com: 7 (not running)
May 18 09:36:30 rhel7-2 crmd[28030]:  notice: rhel7-2.examplerh.com-ClusterSRC_IP1_monitor_0:106 [ No preferred source address defined\n ]
May 18 09:36:30 rhel7-2 IPsrcaddr(ClusterSRC_IP1)[15707]: ERROR: command 'ip route replace 192.168.122.0/24#012192.168.122.42 dev eth1 src 192.168.122.42' failed
May 18 09:36:30 rhel7-2 lrmd[28027]:  notice: ClusterSRC_IP1_start_0:15707:stderr [ Error: either "to" is duplicate, or "192.168.122.42" is a garbage. ]
May 18 09:36:30 rhel7-2 lrmd[28027]:  notice: ClusterSRC_IP1_start_0:15707:stderr [ ocf-exit-reason:command 'ip route replace 192.168.122.0/24 ]
May 18 09:36:30 rhel7-2 lrmd[28027]:  notice: ClusterSRC_IP1_start_0:15707:stderr [ 192.168.122.42 dev eth1 src 192.168.122.42' failed ]
May 18 09:36:30 rhel7-2 crmd[28030]:  notice: Result of start operation for ClusterSRC_IP1 on rhel7-2.examplerh.com: 1 (unknown error)
May 18 09:36:30 rhel7-2 crmd[28030]:  notice: rhel7-2.examplerh.com-ClusterSRC_IP1_start_0:107 [ Error: either "to" is duplicate, or "192.168.122.42" is a garbage.\nocf-exit-reason:command 'ip route repla
ce 192.168.122.0/24\n192.168.122.42 dev eth1 src 192.168.122.42' failed\n ]

Environment

  • Red Hat Enterprise Linux Server 6, 7 (with the High Availability Add On and Resilient Storage Add Ons)
  • pacemaker cluster

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