IPaddr2 resource agent cannot handle LOWERLAYERDOWN status of a vlan device then ip resource doesn't failover to another node.
Issue
IPaddr2 resource agent cannot handle LOWERLAYERDOWN status of a vlan device.
The figure is
[VIP address: aaa.aaa.aaa.1] ----+ +---- eth1
+--- vlan10 ---- bond1 ---+
[IP address: aaa.aaa.aaa.5] ----+ +---- eth2
In this case, the user did ifdown of underlying physical interfaces(eth1, eth2).
While all slave interfaces are down, ip addr show returns as follows:
6: eth1: <BROADCAST,MULTICAST,SLAVE> mtu 9000 qdisc mq master bond1 state DOWN group default qlen 1000
link/ether <snip> brd ff:ff:ff:ff:ff:ff
7: eth2: <BROADCAST,MULTICAST,SLAVE> mtu 9000 qdisc mq master bond1 state DOWN group default qlen 1000
link/ether <snip> brd ff:ff:ff:ff:ff:ff
28: bond1: <NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP> mtu 9000 qdisc noqueue state DOWN group default qlen 1000
link/ether <snip> brd ff:ff:ff:ff:ff:ff
inet6 <snip> scope link
valid_lft forever preferred_lft forever
36: vlan10@bond1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 9000 qdisc noqueue state LOWERLAYERDOWN group default qlen 1000
link/ether <snip> brd ff:ff:ff:ff:ff:ff
inet aaa.aaa.aaa.1/24 brd aaa.aaa.aaa.254 scope global vlan10
valid_lft forever preferred_lft forever
inet aaa.aaa.aaa.5/32 brd aaa.aaa.aaa.5 scope global vlan10
valid_lft forever preferred_lft forever
inet6 <snip> scope link
valid_lft forever preferred_lft forever
In this case, the VIP cannot communicate with other nodes. But, IPaddr2 resource agent cannot detect this state and pacemaker doesn't failover this IP resource to another node.
Environment
- Red Hat Enterprise Linux 8
- resource-agents
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.