You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We happen to have a duplicate IP address in the interface file, when ifreload encounters duplicate IP, it stop processing and silently exits with status code 0.
info: vip: primary ip changed (from 100.0.7.30/32 to 100.0.5.234/32) we need to purge all ip addresses and re-add them #finds ip primary ip changes and deleteing all ips from the interface
info: vip: netlink: ip addr del 100.0.5.234/32 dev vip
info: vip: netlink: ip addr del 100.0.1.120/32 dev vip
..
..
info: vip: netlink: ip addr del 100.0.6.28/32 dev vip
info: vip: netlink: ip addr add 100.0.7.30/32 dev vip scope link #starts adding
info: vip: netlink: ip addr add 100.0.2.0/32 dev vip scope link
info: vip: netlink: ip addr add 100.0.2.0/32 dev vip scope link # finds this ip second time
info: executing /etc/network/if-pre-up.d/wpasupplicant
info: executing /etc/network/if-up.d/wpasupplicant
info: executing /etc/network/if-up.d/postfix
info: executing /etc/network/if-up.d/nslcd
info: exit status 0 #quits silently with
Issue
We happen to have a duplicate IP address in the interface file, when ifreload encounters duplicate IP, it stop processing and silently exits with status code 0.
ifupdown2/ifupdown2/addons/address.py
Line 537 in 989508a
We added a print statement in this function to identify the error.
ifreload version
Expectation
ifreload should not exit with status code 0 during issue.
skipping duplicate addresses.
The text was updated successfully, but these errors were encountered: