An IPaddr2 resource fails to start due to incorrectly calculating the netmask value in a RHEL 6 High Availability cluster with pacemaker

Solution In Progress - Updated -

Issue

  • My IPaddr2 resource won't start if I don't specify a cidr_netmask in the configuration
  • If I pcs resource debug-start an IPaddr2 resource, it shows it calculating an invalid netmask:
 >  stderr: IPaddr[10954]: INFO: Using calculated netmask for 192.168.143.65: 255.255.255.127

Environment

  • Red Hat Enterprise Linux (RHEL) 6 with the High Availability Add On
  • pacemaker
  • resource-agents prior to release 3.9.2-21.el6_4.7
  • One or more IPaddr2 resources
    • Resource does not have the cidr_netmask attribute specified in the configuration
    • Resource does have a nic attribute specified in the configuration
    • NOTE: IPaddr is an alias for IPaddr2, so it too is affected by this issue

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.