An ocf:heartbeat:Route resource fails to start with error "Failed to add network route ... any valid prefix is expected rather than ..."

Solution Verified - Updated -

Issue

  • A Route cluster resource fails to start with an error like the following:

    Jan 23 14:44:09 node1 Route(ext_routes)[115429]: ERROR: ext_routes Failed to add network route: to 192.168.22.21/32,192.168.22.22/32 via 192.168.22.1 src 192.168.22.11
    Jan 23 14:44:09 node1 lrmd[1613]:   notice: ext_routes_start_0:115429:stderr [ Error: any valid prefix is expected rather than "192.168.22.21/32,192.168.22.22/32". ]
    

Environment

  • Red Hat Enterprise Linux 7 or 8 (with the High Availability Add-on)
  • An ocf:heartbeat:Route resource

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