-
-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keepalived V2.2.7 has bugs when eth cable switching between in and out status #2164
Comments
Do you experience the problem with v2.2.7 if you do NOT specify use_vmac_addr? Since the VIP is configured on the same interface as the vrrp instance, I don't think there is any need to specify use_vmac_addr, since the VIP will be configured on the VMAC anyway. If this needs to be investigated further can you please post the output of |
I must config 'use_vmac_addr' option becuase i may have many vips on various interfaces . But in my test case, i only config one vip :) The test result is the same when i remove the 'use_vmac_addr' option for keepalived 2.2.7 By the way , keepalived 2.0.20 does not support 'use_vmac_addr' option |
I have tried your configuration using keepalived v2.2.7 and unfortunately I cannot reproduce the problem. I see in 2.2.7_iplinkshow.txt that vrrp.181 remains in down state after the cable is plugged in again, hence keepalived does not log that Netlink reports vrrp.181 is up, and the VRRP instance remains in fault state. The only way I can see to progress this is to capture the netlink messages and see what is happening. Can you please do the following (as root):
And then, before keepalived starts: If you can send the pcap files, and also the matching keepalived logs, I will have a look to see if there is any difference. At the end, if you execute |
The operations are the same as before |
@smithAchang I need the logs to see the times at which things happened, so that I can work out which are the associated netlink messages. |
sorry, |
@smithAchang Apologies for the delay in looking at this. The reason that lbcp remains in fault state in the v2.2.7 logs is that netlink reports at 02:29:54 both eno1 and vrrp.181 going down. At 02:30:21 eno1 is reported coming up but there is no report of vrrp.181 coming up, and so lbcp remains in fault state since vrrp.181 interface is still down. With 2.0.20 there are reports that both eno1 and vrrp.181 go down, but at 02:27:06 both eno1 and vrrp.181 are reported coming up, and so lbcp can exit fault state. In the netlink pcap files, for v2.0.20 frame 94 reports eno1 down and from 96 reports vrrp.181 lower layer down. Frame 171 reports eno1 up and frame 173 reports vrrp.181 up. With v2.2.7 frame 94 reports eno1 down and frame 96 reports vrrp.181 lower layer down. Then 5 seconds later frame 214 reports vrrp.181 (?administratively) down. Frame 236 reports eno1 up, but there is no message reporting vrrp.181 up. So the question is, in the v2.2.7 case, why is vrrp.181 going into a down operstate (and the device flags in the netlink message also clear the UP bit)? With v2.2.7 if you unplug the cable and then plug it back in immediately, does lbcp go to backup and then master state (i.e. eno1 comes back up before the operstate Down message 5 seconds after vrrp.181 goes into lower layer down state)? Since I do not experience the problem with v2.2.7 it seems unlikely that keepalived is sending the link down message for vrrp.181, so the question must be where is it coming from? I presume that, after the cable is plugged back in and vrrp.181 is still down, if you execute The only thing I can think of doing is if keepalived receives a link down message for one of its VMAC interfaces, then it sends a link up message. I don't like this approach since it is working around a problem rather than fixing a problem. Please let me know what you think. |
yes
--------------------------------- v2.2.7 Aug 21 21:05:13 CalttaTrunk_TestKWGo NetworkManager[941]: (eno1): link disconnected (deferring action for 4 seconds) Aug 21 21:05:18 CalttaTrunk_TestKWGo NetworkManager[941]: (eno1): device state change: activated -> unavailable (reason 'carrier-changed') [100 20 40] ----------------------------- v2.0.21 Aug 21 21:09:10 CalttaTrunk_TestKWGo kernel: e1000e: eno1 NIC Link is Down Aug 21 21:09:10 CalttaTrunk_TestKWGo NetworkManager[941]: (eno1): link disconnected (deferring action for 4 seconds) Aug 21 21:09:14 CalttaTrunk_TestKWGo NetworkManager[941]: (eno1): device state change: activated -> unavailable (reason 'carrier-changed') [100 20 40] I think, the host is the same , the environment is the same and the test operations is the same , so the input is with no any difference, but the output has difference, if there exist any differences between the vmac interface creating process and with some different flags options ??? |
OK, that's very helpful. We now know that it is NetworkManager that is causing the problem; as you say we now need to identify why, and what is different between keepalived v2.0.20 and v2.2.7. Looking at the output of With v2.2.7, before you unplug the cable but after keepalived is running, can you execute What would be most helpful is if you could do a git bisect to build various versions of keepalived to identify which commit triggered the problem; it should take no more than 10 iterations to identify the commit. |
good I think it is because the difference leading to the error. The testing environment is the same, but the NetworkManager component keeps unchanged! I has tested the same case using keepalived v2.1.5 , keepalived v2.1.5 can recover from the fault state when network cable is plugged out. but keepalived v2.2.0 can not recover Also, I has tested keepalived v2.27 in my Ubuntu20.04 host,it also can recover from the fault state。 The bug maybe is produced by some fragile codes
in my host, i can not execute
|
By the way, If I add a macvlan device manually in the testing host
when i plugged out the cable, i got the macvlan1 link status is LOWLAYERDOWN and the NetManager log has no 'deferring action for 4 seconds' for macvlan1 link disconnected event Maybe it is really the macvlan creating process of keepalived v2.2.7 leading to the bug... , Please check in detail , thx :) |
@smithAchang I am quite happy to accept that it is something that keepalived is doing that is causing NetworkManager to down vrrp.181, but the problem is identifying what. On my Centos 7 VM, nmcli does support the As I understand it you have now narrowed it down to the problem does not exist in keepalived v2.1.5 but it does exist in keepalived v2.2.0. I have looked at the one line summaries of all the commits between the two versions and nothing stands out as changing the way macvlans are created. I think the only way we can track down what commit caused the problem, and hence find a solution, is if you do a git bisect of the keepalived code between versions 2.1.5 and 2.2.0, and then try each version of keepalived produced to see if it exhibits the problem. It should take no more than 8 iterations to find the relevant commit. Normally I would do this, but since I cannot reproduce the problem on this occasion I can't do the git bisect. Once you have found the commit that breaks keepalived then we can work on a solution. |
I upgraded the NetworkManager component to v1.18, redone the operations, the test failed If I executed the keepalived version is based on 3dcd13c commit |
@smithAchang You say above that if you exclude 3490~3543 line, it is ok. Can you please clarify what these lines are. It would be most helpful if you could submit a patch with the change you have made, and also state which commit it is based on. |
@smithAchang I see now that lines 3490~3543 are in vrrp.c (I hadn't quite read your comment correctly). With lines 3490~3543 still in the code (i.e. a non working version of keepalived), can you please try 2 configuration changes, one at a time, to see if they make any difference:
Both of the above are unnecessary in the configuration you have above. I have run commit #3dcd13c with your configuration and in vrrp.c at line 3506 added |
From my tests, without lines 3490 With keepalived v2.0.20 the VIP is configured on eno1, from commit #3dcd13c onwards the VIP is configured on vrrp.181. If I remove the The question is, which interface do you actually want the VIP to be configured on. If it is configured on eno1, then there is no point in specifying So the main thing is we have found the difference. Then next issue is why does NetworkManager down the macvlan interface if an IP address is configured on it, but doesn't down the interface if there is no IP address. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/configuring-networkmanager-to-ignore-certain-devices_configuring-and-managing-networking gives a way of making an interface unmanaged. Essentially you want a file
Whether this works if the interface doesn't exist when NetworkManager starts up I don't know. An alternative is
which will make all macvlans unmanaged. What I will look at doing is modifying the keepalived code so that it calls NetworkManager to set the macvlans it creates to be unmanaged by NetworkManager. I think this is the right thing to do regardless of any of the other points above. |
my testing config is simplified I have mulitiple NIC cards when in production environment and may have multiple VIPs with different vmac when config file is produced by init codes in release, I do not treat VIP that may be working on vrrp interface specially |
Could you try your configuration without the |
ok , i will test your config in next week! |
@smithAchang Attached is a patch which is prepared against the current HEAD of the master branch, but also applies to v2.2.7. You will need to install package NetworkManager-libnm-devel, since the patch uses the NetworkManager libnm library. If you use your original configuration, and without any updates to the NetworkManager configuration, then I believe with the patched code your problem should be resolved. What the patch does is it makes keepalived tell NetworkManager that the macvlan interfaces it creates are to e unmanaged by NetworkManager (the same as executing |
very sorry :( I can not reproduce the bug ... Maybe the host is upgraded the NetworkManager component and power off in the last week , today I power on the machine and some factor is changed! removing the 'dev eno1' option
adding the 'dev eno1' option again
additionsI use 'dev xxx' option to indicate keepalived floats vip on special physical NIC card, even if I use VMAC option. I can see mulitiple vrrp.[id]@[interface] macvlans in the host having mulitiple NIC cards. so my question is how can I config VIP floated on different physical card, thx :) my configuration mode is ok ??? |
@smithAchang You have previously said that you upgraded NetworkManager in order to get Do you know what version of NetworkManager you were running before you upgraded it last week? If you don't know, |
If you want the VIPs to be configured on the physical interfaces rather than macvlan interfaces, then remove the keyword At the moment, following commit 3dcd13c even if you specify |
I have now merged commit 6211ead which adds the code for setting maclans as unmanaged by NetworkManager, but it is disabled by default and only enabled by the configure option --enable-nm. The logic for not enabling it by default is that the problem only occurs with quite old versions of NetworkMananger. @smithAchang Are you happy for this issue to be closed now? |
it is ok to close the issue! Thank you very much :) before upgrading the NetworkManager ,his version is NetworkManager-1:1.0.6 Before I run keepalived, 'nmcli device status' show no any macvlan when the cable is unplugged, 'nmcli device status' shows the vrrp.181 macvlan is unmanaged The test is ok too |
Describe the bug
I have tested keepalived v2.0.20 and v2.2.7 at CentOS7 with kernel 3.10.957 using almost the same config except the "user_vmac_addr" option.
keepalived v2.2.7 can not restore from the previous fault status when the cable is plugged out
Comparison
v2.0.20 can work correctly when i plug out/in the network cable, even i tried the operations for some times
To Reproduce
Expected behavior
keepalved v2.2.* > v2.2.7 can work correctly when the eth cable is plugged between out and in status
Keepalived version
keepalived 2.2.7
Distro (please complete the following information):
Configuration file:
global_defs {
vrrp_version 3
}
vrrp_instance lbcp {
state BACKUP
advert_int 0.1
interface eno1
priority 160
virtual_router_id 181
nopreempt
use_vmac
use_vmac_addr
virtual_ipaddress {
176.16.167.17/24 dev eno1
}
}
Notify and track scripts
without any scripts
System Log entries
Tue Jul 19 02:50:31 2022: Starting Keepalived v2.2.7 (07/15,2022), git commit +
Tue Jul 19 02:50:31 2022: Running on Linux 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 (built for Linux 3.10.0)
Tue Jul 19 02:50:31 2022: Command line: 'keepalived/keepalived' '-f' '246.conf' '--log-console' '--log-detail' '--no-syslog'
Tue Jul 19 02:50:31 2022: '--dont-fork' '--dump-conf'
Tue Jul 19 02:50:31 2022: Opening file '246.conf'.
Tue Jul 19 02:50:31 2022: Configuration file 246.conf
Tue Jul 19 02:50:31 2022: NOTICE: setting config option max_auto_priority should result in better keepalived performance
Tue Jul 19 02:50:31 2022: Starting VRRP child process, pid=5368
Tue Jul 19 02:50:31 2022: Registering Kernel netlink reflector
Tue Jul 19 02:50:31 2022: Registering Kernel netlink command channel
Tue Jul 19 02:50:31 2022: netlink_if_address_filter haha begin,
Tue Jul 19 02:50:31 2022: netlink_if_address_filter haha addr_chg 0 !!!
Tue Jul 19 02:50:31 2022: haha2, VRRP_STATE_MAST:2
Tue Jul 19 02:50:31 2022: haha end !!!
Tue Jul 19 02:50:31 2022: netlink_if_address_filter haha begin,
Tue Jul 19 02:50:31 2022: netlink_if_address_filter haha addr_chg 0 !!!
Tue Jul 19 02:50:31 2022: haha2, VRRP_STATE_MAST:2
Tue Jul 19 02:50:31 2022: haha end !!!
Tue Jul 19 02:50:31 2022: netlink_if_address_filter haha begin,
Tue Jul 19 02:50:31 2022: netlink_if_address_filter haha addr_chg 0 !!!
Tue Jul 19 02:50:31 2022: haha2, VRRP_STATE_MAST:2
Tue Jul 19 02:50:31 2022: haha end !!!
Tue Jul 19 02:50:31 2022: netlink_if_address_filter haha begin,
Tue Jul 19 02:50:31 2022: netlink_if_address_filter haha addr_chg 0 !!!
Tue Jul 19 02:50:31 2022: haha2, VRRP_STATE_MAST:2
Tue Jul 19 02:50:31 2022: haha end !!!
Tue Jul 19 02:50:31 2022: netlink_if_address_filter haha begin,
Tue Jul 19 02:50:31 2022: netlink_if_address_filter haha addr_chg 0 !!!
Tue Jul 19 02:50:31 2022: haha2, VRRP_STATE_MAST:2
Tue Jul 19 02:50:31 2022: haha end !!!
Tue Jul 19 02:50:31 2022: netlink_if_address_filter haha begin,
Tue Jul 19 02:50:31 2022: haha2, VRRP_STATE_MAST:2
Tue Jul 19 02:50:31 2022: haha end !!!
Tue Jul 19 02:50:31 2022: netlink_if_address_filter haha begin,
Tue Jul 19 02:50:31 2022: netlink_if_address_filter haha addr_chg 0 !!!
Tue Jul 19 02:50:31 2022: haha2, VRRP_STATE_MAST:2
Tue Jul 19 02:50:31 2022: haha end !!!
Tue Jul 19 02:50:31 2022: Assigned address 10.194.28.246 for interface eno1
Tue Jul 19 02:50:31 2022: Assigned address fe80::4639:c4ff:fe94:4e37 for interface eno1
Tue Jul 19 02:50:31 2022: (lbcp): Success creating VMAC interface vrrp.181
Tue Jul 19 02:50:31 2022: netlink_link_filter nana ...
Tue Jul 19 02:50:31 2022: NOTICE: setting sysctl net.ipv4.conf.all.rp_filter from 1 to 0
Tue Jul 19 02:50:31 2022: netlink_link_filter nana ...
Tue Jul 19 02:50:31 2022: process_interface_flags_change Netlink reports ifp vrrp.181 status ...
Tue Jul 19 02:50:31 2022: Registering gratuitous ARP shared channel
Tue Jul 19 02:50:31 2022: ------< Global definitions >------
Tue Jul 19 02:50:31 2022: Network namespace = (default)
Tue Jul 19 02:50:31 2022: Network namespace ipvs = (main namespace)
Tue Jul 19 02:50:31 2022: Router ID = [unknown]
Tue Jul 19 02:50:31 2022: Default smtp_alert = unset
Tue Jul 19 02:50:31 2022: Default smtp_alert_vrrp = unset
Tue Jul 19 02:50:31 2022: No test config before reload
Tue Jul 19 02:50:31 2022: Startup complete
Tue Jul 19 02:50:31 2022: Dynamic interfaces = false
Tue Jul 19 02:50:31 2022: FIFO write vrrp states on reload = false
Tue Jul 19 02:50:31 2022: VRRP notify priority changes = false
Tue Jul 19 02:50:31 2022: VRRP IPv4 mcast group = 224.0.0.18
Tue Jul 19 02:50:31 2022: VRRP IPv6 mcast group = ff02::12
Tue Jul 19 02:50:31 2022: Gratuitous ARP delay = 5
Tue Jul 19 02:50:31 2022: Gratuitous ARP repeat = 5
Tue Jul 19 02:50:31 2022: Gratuitous ARP refresh timer = 0
Tue Jul 19 02:50:31 2022: Gratuitous ARP refresh repeat = 1
Tue Jul 19 02:50:31 2022: Gratuitous ARP lower priority delay = 5
Tue Jul 19 02:50:31 2022: Gratuitous ARP lower priority repeat = 5
Tue Jul 19 02:50:31 2022: Num adverts before down = 3
Tue Jul 19 02:50:31 2022: Gratuitous ARP for each secondary VMAC = 0s
Tue Jul 19 02:50:31 2022: Send advert after receive lower priority advert = true
Tue Jul 19 02:50:31 2022: Send advert after receive higher priority advert = false
Tue Jul 19 02:50:31 2022: Gratuitous ARP interval = 0.000000
Tue Jul 19 02:50:31 2022: Gratuitous NA interval = 0.000000
Tue Jul 19 02:50:31 2022: VRRP default protocol version = 3
Tue Jul 19 02:50:31 2022: VRRP check unicast_src = false
Tue Jul 19 02:50:31 2022: VRRP skip check advert addresses = false
Tue Jul 19 02:50:31 2022: VRRP strict mode = false
Tue Jul 19 02:50:31 2022: Max auto priority = 0
Tue Jul 19 02:50:31 2022: Min auto priority delay = 1000000 usecs
Tue Jul 19 02:50:31 2022: VRRP process priority = 0
Tue Jul 19 02:50:31 2022: VRRP don't swap = false
Tue Jul 19 02:50:31 2022: VRRP realtime priority = 0
Tue Jul 19 02:50:31 2022: VRRP realtime limit = 10000
Tue Jul 19 02:50:31 2022: Script security disabled
Tue Jul 19 02:50:31 2022: Script user 'keepalived_script' does not exist
Tue Jul 19 02:50:31 2022: Default script uid:gid 0:0
Tue Jul 19 02:50:31 2022: vrrp_netlink_cmd_rcv_bufs = 0
Tue Jul 19 02:50:31 2022: vrrp_netlink_cmd_rcv_bufs_force = 0
Tue Jul 19 02:50:31 2022: vrrp_netlink_monitor_rcv_bufs = 0
Tue Jul 19 02:50:31 2022: vrrp_netlink_monitor_rcv_bufs_force = 0
Tue Jul 19 02:50:31 2022: process_monitor_rcv_bufs = 0
Tue Jul 19 02:50:31 2022: process_monitor_rcv_bufs_force = 0
Tue Jul 19 02:50:31 2022: rx_bufs_multiples = 3
Tue Jul 19 02:50:31 2022: umask = 0177
Tue Jul 19 02:50:31 2022: ------< VRRP Topology >------
Tue Jul 19 02:50:31 2022: VRRP Instance = lbcp
Tue Jul 19 02:50:31 2022: VRRP Version = 3
Tue Jul 19 02:50:31 2022: Flags:
Tue Jul 19 02:50:31 2022: Wantstate = BACKUP
Tue Jul 19 02:50:31 2022: Number of config faults = 0
Tue Jul 19 02:50:31 2022: Use VMAC, i/f name vrrp.181, is_up = true, xmit_base = false
Tue Jul 19 02:50:31 2022: Use VMAC for VIPs on other interfaces
Tue Jul 19 02:50:31 2022: Interface = vrrp.181, vmac on eno1
Tue Jul 19 02:50:31 2022: Using src_ip = 10.194.28.246
Tue Jul 19 02:50:31 2022: Multicast address 224.0.0.18
Tue Jul 19 02:50:31 2022: Gratuitous ARP delay = 5
Tue Jul 19 02:50:31 2022: Gratuitous ARP repeat = 5
Tue Jul 19 02:50:31 2022: Gratuitous ARP refresh = 0
Tue Jul 19 02:50:31 2022: Gratuitous ARP refresh repeat = 1
Tue Jul 19 02:50:31 2022: Gratuitous ARP lower priority delay = 5
Tue Jul 19 02:50:31 2022: Gratuitous ARP lower priority repeat = 5
Tue Jul 19 02:50:31 2022: Down timer adverts = 3
Tue Jul 19 02:50:31 2022: Send advert after receive lower priority advert = true
Tue Jul 19 02:50:31 2022: Send advert after receive higher priority advert = false
Tue Jul 19 02:50:31 2022: Virtual Router ID = 181
Tue Jul 19 02:50:31 2022: Priority = 160
Tue Jul 19 02:50:31 2022: Advert interval = 100 milli-sec
Tue Jul 19 02:50:31 2022: Preempt = disabled
Tue Jul 19 02:50:31 2022: Promote_secondaries = disabled
Tue Jul 19 02:50:31 2022: last rx checksum = 0x0000, priority 0
Tue Jul 19 02:50:31 2022: last tx checksum = 0x0000, priority 0
Tue Jul 19 02:50:31 2022: Virtual IP (1):
Tue Jul 19 02:50:31 2022: 176.16.167.17/24 dev vrrp.181@eno1 scope global
Tue Jul 19 02:50:31 2022: No sockets allocated
Tue Jul 19 02:50:31 2022: Using smtp notification = no
Tue Jul 19 02:50:31 2022: Notify deleted = Fault
Tue Jul 19 02:50:31 2022: Notify priority changes = false
Tue Jul 19 02:50:31 2022: ------< Interfaces >------
Tue Jul 19 02:50:31 2022: Name = lo
Tue Jul 19 02:50:31 2022: index = 1
Tue Jul 19 02:50:31 2022: IPv4 address = 127.0.0.1
Tue Jul 19 02:50:31 2022: IPv6 address = (none)
Tue Jul 19 02:50:31 2022: State = UP, RUNNING, no broadcast, loopback, no multicast
Tue Jul 19 02:50:31 2022: Seen up = 1
Tue Jul 19 02:50:31 2022: Delayed state change running = false
Tue Jul 19 02:50:31 2022: Up debounce timer = 0us
Tue Jul 19 02:50:31 2022: Down debounce timer = 0us
Tue Jul 19 02:50:31 2022: MTU = 65536
Tue Jul 19 02:50:31 2022: HW Type = LOOPBACK
Tue Jul 19 02:50:31 2022: NIC netlink status update
Tue Jul 19 02:50:31 2022: Reset ARP config counter 0
Tue Jul 19 02:50:31 2022: Original arp_ignore 0
Tue Jul 19 02:50:31 2022: Original arp_filter 0
Tue Jul 19 02:50:31 2022: rp_filter 0
Tue Jul 19 02:50:31 2022: Original promote_secondaries 0
Tue Jul 19 02:50:31 2022: Reset promote_secondaries counter 0
Tue Jul 19 02:50:31 2022: Name = eno1
Tue Jul 19 02:50:31 2022: index = 2
Tue Jul 19 02:50:31 2022: IPv4 address = 10.194.28.246
Tue Jul 19 02:50:31 2022: IPv6 address = fe80::4639:c4ff:fe94:4e37
Tue Jul 19 02:50:31 2022: MAC = 44:39:c4:94:4e:37
Tue Jul 19 02:50:31 2022: MAC broadcast = ff:ff:ff:ff:ff:ff
Tue Jul 19 02:50:31 2022: State = UP, RUNNING
Tue Jul 19 02:50:31 2022: Seen up = 1
Tue Jul 19 02:50:31 2022: Delayed state change running = false
Tue Jul 19 02:50:31 2022: Up debounce timer = 0us
Tue Jul 19 02:50:31 2022: Down debounce timer = 0us
Tue Jul 19 02:50:31 2022: MTU = 1500
Tue Jul 19 02:50:31 2022: HW Type = ETHERNET
Tue Jul 19 02:50:31 2022: NIC netlink status update
Tue Jul 19 02:50:31 2022: Reset ARP config counter 1
Tue Jul 19 02:50:31 2022: Original arp_ignore 0
Tue Jul 19 02:50:31 2022: Original arp_filter 0
Tue Jul 19 02:50:31 2022: Original promote_secondaries 0
Tue Jul 19 02:50:31 2022: Reset promote_secondaries counter 0
Tue Jul 19 02:50:31 2022: Tracking VRRP instances :
Tue Jul 19 02:50:31 2022: lbcp, weight 0
Tue Jul 19 02:50:31 2022: Name = virbr0
Tue Jul 19 02:50:31 2022: index = 3
Tue Jul 19 02:50:31 2022: IPv4 address = 192.168.122.1
Tue Jul 19 02:50:31 2022: IPv6 address = (none)
Tue Jul 19 02:50:31 2022: MAC = 52:54:00:6d:a5:8d
Tue Jul 19 02:50:31 2022: MAC broadcast = ff:ff:ff:ff:ff:ff
Tue Jul 19 02:50:31 2022: State = UP, not RUNNING
Tue Jul 19 02:50:31 2022: Seen up = 0
Tue Jul 19 02:50:31 2022: Delayed state change running = false
Tue Jul 19 02:50:31 2022: Up debounce timer = 0us
Tue Jul 19 02:50:31 2022: Down debounce timer = 0us
Tue Jul 19 02:50:31 2022: MTU = 1500
Tue Jul 19 02:50:31 2022: HW Type = ETHERNET
Tue Jul 19 02:50:31 2022: NIC netlink status update
Tue Jul 19 02:50:31 2022: Reset ARP config counter 0
Tue Jul 19 02:50:31 2022: Original arp_ignore 0
Tue Jul 19 02:50:31 2022: Original arp_filter 0
Tue Jul 19 02:50:31 2022: Original promote_secondaries 0
Tue Jul 19 02:50:31 2022: Reset promote_secondaries counter 0
Tue Jul 19 02:50:31 2022: Name = virbr0-nic
Tue Jul 19 02:50:31 2022: index = 4
Tue Jul 19 02:50:31 2022: IPv4 address = (none)
Tue Jul 19 02:50:31 2022: IPv6 address = (none)
Tue Jul 19 02:50:31 2022: MAC = 52:54:00:6d:a5:8d
Tue Jul 19 02:50:31 2022: MAC broadcast = ff:ff:ff:ff:ff:ff
Tue Jul 19 02:50:31 2022: State = not UP, not RUNNING
Tue Jul 19 02:50:31 2022: Seen up = 0
Tue Jul 19 02:50:31 2022: Delayed state change running = false
Tue Jul 19 02:50:31 2022: Up debounce timer = 0us
Tue Jul 19 02:50:31 2022: Down debounce timer = 0us
Tue Jul 19 02:50:31 2022: MTU = 1500
Tue Jul 19 02:50:31 2022: HW Type = ETHERNET
Tue Jul 19 02:50:31 2022: NIC netlink status update
Tue Jul 19 02:50:31 2022: Reset ARP config counter 0
Tue Jul 19 02:50:31 2022: Original arp_ignore 0
Tue Jul 19 02:50:31 2022: Original arp_filter 0
Tue Jul 19 02:50:31 2022: Original promote_secondaries 0
Tue Jul 19 02:50:31 2022: Reset promote_secondaries counter 0
Tue Jul 19 02:50:31 2022: Name = br-ae3c4f6fe047
Tue Jul 19 02:50:31 2022: index = 5
Tue Jul 19 02:50:31 2022: IPv4 address = 172.18.0.1
Tue Jul 19 02:50:31 2022: IPv6 address = (none)
Tue Jul 19 02:50:31 2022: MAC = 02:42:22:ce:0c:2d
Tue Jul 19 02:50:31 2022: MAC broadcast = ff:ff:ff:ff:ff:ff
Tue Jul 19 02:50:31 2022: State = UP, not RUNNING
Tue Jul 19 02:50:31 2022: Seen up = 0
Tue Jul 19 02:50:31 2022: Delayed state change running = false
Tue Jul 19 02:50:31 2022: Up debounce timer = 0us
Tue Jul 19 02:50:31 2022: Down debounce timer = 0us
Tue Jul 19 02:50:31 2022: MTU = 1500
Tue Jul 19 02:50:31 2022: HW Type = ETHERNET
Tue Jul 19 02:50:31 2022: NIC netlink status update
Tue Jul 19 02:50:31 2022: Reset ARP config counter 0
Tue Jul 19 02:50:31 2022: Original arp_ignore 0
Tue Jul 19 02:50:31 2022: Original arp_filter 0
Tue Jul 19 02:50:31 2022: Original promote_secondaries 0
Tue Jul 19 02:50:31 2022: Reset promote_secondaries counter 0
Tue Jul 19 02:50:31 2022: Name = docker0
Tue Jul 19 02:50:31 2022: index = 6
Tue Jul 19 02:50:31 2022: IPv4 address = 172.17.0.1
Tue Jul 19 02:50:31 2022: IPv6 address = (none)
Tue Jul 19 02:50:31 2022: MAC = 02:42:bd:68:8e:ab
Tue Jul 19 02:50:31 2022: MAC broadcast = ff:ff:ff:ff:ff:ff
Tue Jul 19 02:50:31 2022: State = UP, not RUNNING
Tue Jul 19 02:50:31 2022: Seen up = 0
Tue Jul 19 02:50:31 2022: Delayed state change running = false
Tue Jul 19 02:50:31 2022: Up debounce timer = 0us
Tue Jul 19 02:50:31 2022: Down debounce timer = 0us
Tue Jul 19 02:50:31 2022: MTU = 1500
Tue Jul 19 02:50:31 2022: HW Type = ETHERNET
Tue Jul 19 02:50:31 2022: NIC netlink status update
Tue Jul 19 02:50:31 2022: Reset ARP config counter 0
Tue Jul 19 02:50:31 2022: Original arp_ignore 0
Tue Jul 19 02:50:31 2022: Original arp_filter 0
Tue Jul 19 02:50:31 2022: Original promote_secondaries 0
Tue Jul 19 02:50:31 2022: Reset promote_secondaries counter 0
Tue Jul 19 02:50:31 2022: Name = vrrp.181
Tue Jul 19 02:50:31 2022: index = 8
Tue Jul 19 02:50:31 2022: IPv4 address = (none)
Tue Jul 19 02:50:31 2022: IPv6 address = (none)
Tue Jul 19 02:50:31 2022: MAC = 00:00:5e:00:01:b5
Tue Jul 19 02:50:31 2022: MAC broadcast = ff:ff:ff:ff:ff:ff
Tue Jul 19 02:50:31 2022: State = UP, RUNNING
Tue Jul 19 02:50:31 2022: Seen up = 1
Tue Jul 19 02:50:31 2022: Delayed state change running = false
Tue Jul 19 02:50:31 2022: Up debounce timer = 0us
Tue Jul 19 02:50:31 2022: Down debounce timer = 0us
Tue Jul 19 02:50:31 2022: VMAC type private, underlying interface = eno1, state = UP, RUNNING
Tue Jul 19 02:50:31 2022: I/f created by keepalived
Tue Jul 19 02:50:31 2022: MTU = 1500
Tue Jul 19 02:50:31 2022: HW Type = ETHERNET
Tue Jul 19 02:50:31 2022: NIC netlink status update
Tue Jul 19 02:50:31 2022: Reset ARP config counter 0
Tue Jul 19 02:50:31 2022: Original arp_ignore 0
Tue Jul 19 02:50:31 2022: Original arp_filter 0
Tue Jul 19 02:50:31 2022: Original promote_secondaries 0
Tue Jul 19 02:50:31 2022: Reset promote_secondaries counter 0
Tue Jul 19 02:50:31 2022: Tracking VRRP instances :
Tue Jul 19 02:50:31 2022: lbcp, weight 0
Tue Jul 19 02:50:31 2022: (lbcp) Entering BACKUP STATE (init)
Tue Jul 19 02:50:31 2022: VRRP sockpool: [ifindex( 8), family(IPv4), proto(112), fd(11,12) multicast, address(224.0.0.18)]
Tue Jul 19 02:50:31 2022: (lbcp) Receive advertisement timeout
Tue Jul 19 02:50:31 2022: (lbcp) Entering MASTER STATE
Tue Jul 19 02:50:31 2022: (lbcp) setting VIPs.
Tue Jul 19 02:50:31 2022: (lbcp) Sending/queueing gratuitous ARPs on vrrp.181 for 176.16.167.17
Tue Jul 19 02:50:31 2022: Sending gratuitous ARP on vrrp.181 for 176.16.167.17
Tue Jul 19 02:50:31 2022: Sending gratuitous ARP on vrrp.181 for 176.16.167.17
Tue Jul 19 02:50:31 2022: Sending gratuitous ARP on vrrp.181 for 176.16.167.17
Tue Jul 19 02:50:31 2022: Sending gratuitous ARP on vrrp.181 for 176.16.167.17
Tue Jul 19 02:50:31 2022: Sending gratuitous ARP on vrrp.181 for 176.16.167.17
Tue Jul 19 02:50:36 2022: (lbcp) Sending/queueing gratuitous ARPs on vrrp.181 for 176.16.167.17
Tue Jul 19 02:50:36 2022: Sending gratuitous ARP on vrrp.181 for 176.16.167.17
Tue Jul 19 02:50:36 2022: Sending gratuitous ARP on vrrp.181 for 176.16.167.17
Tue Jul 19 02:50:36 2022: Sending gratuitous ARP on vrrp.181 for 176.16.167.17
Tue Jul 19 02:50:36 2022: Sending gratuitous ARP on vrrp.181 for 176.16.167.17
Tue Jul 19 02:50:36 2022: Sending gratuitous ARP on vrrp.181 for 176.16.167.17
Did keepalived coredump?
without coredump
Additional context
when i plug out the cable, I find the vmac interface is in '''lowerlayerdown''' status when tested in v2.0.20;
But in down status when tested in v2.2.7
The text was updated successfully, but these errors were encountered: