Activity log for bug #1815101

Date Who What changed Old value New value Message
2019-02-07 17:48:27 Leroy Tennison bug added bug
2019-02-07 18:04:15 Felipe Reyes bug task added netplan
2019-02-07 18:04:39 Felipe Reyes bug added subscriber Felipe Reyes
2019-02-07 18:18:35 Mathieu Trudel-Lapierre bug task added systemd (Ubuntu)
2019-02-07 18:18:42 Mathieu Trudel-Lapierre bug task added keepalived (Ubuntu)
2019-02-07 18:18:50 Mathieu Trudel-Lapierre bug task deleted ubuntu
2019-02-07 18:18:58 Mathieu Trudel-Lapierre netplan: status New Invalid
2019-02-07 18:19:01 Mathieu Trudel-Lapierre keepalived (Ubuntu): status New Incomplete
2019-02-07 18:19:06 Mathieu Trudel-Lapierre systemd (Ubuntu): status New Triaged
2019-02-07 18:20:19 Simon Déziel bug added subscriber Simon Déziel
2019-02-08 08:20:40 Denis Gubanov bug added subscriber Denis Gubanov
2019-03-07 21:57:20 cdmiller bug added subscriber cdmiller
2019-03-15 14:04:23 Mathieu Trudel-Lapierre summary netplan removes keepalived configuration Restarting systemd-networkd breaks keepalived clusters
2019-03-15 14:04:53 Mathieu Trudel-Lapierre summary Restarting systemd-networkd breaks keepalived clusters [master] Restarting systemd-networkd breaks keepalived clusters
2019-05-09 11:01:29 Robie Basak keepalived (Ubuntu): status Incomplete Triaged
2019-05-15 16:55:29 Matt Wear bug added subscriber Matt Wear
2019-08-21 14:13:16 Dan Streetman bug added subscriber Dan Streetman
2019-08-22 02:52:15 Nobuto Murata bug added subscriber Nobuto Murata
2019-08-26 01:35:08 Yoshi Kadokawa bug added subscriber Yoshi Kadokawa
2019-08-27 00:47:36 Bryce Harrington tags address keepalived netplan virtual address keepalived netplan server-next virtual
2019-09-13 14:46:18 Rafael David Tinoco bug added subscriber Adam Harwell
2019-09-13 14:46:28 Rafael David Tinoco bug added subscriber Johan Hedberg
2019-09-13 14:46:42 Rafael David Tinoco bug added subscriber Thomas C.
2019-09-13 14:47:25 Rafael David Tinoco bug added subscriber Anton Johansson
2019-09-13 14:48:03 Rafael David Tinoco bug added subscriber Chris Stone
2019-09-13 14:48:13 Rafael David Tinoco bug added subscriber David Negreira
2019-09-13 14:48:24 Rafael David Tinoco bug added subscriber Hennie Marais
2019-09-13 14:48:36 Rafael David Tinoco bug added subscriber Junkern
2019-09-13 14:48:54 Rafael David Tinoco bug added subscriber Karl Stenerud
2019-09-13 14:49:05 Rafael David Tinoco bug added subscriber Maxxer
2019-09-13 14:49:20 Rafael David Tinoco bug added subscriber Michel Pituch
2019-09-13 14:49:24 Rafael David Tinoco bug added subscriber Robert Kirscht
2019-09-13 14:49:32 Rafael David Tinoco bug added subscriber Thomas Danielsson
2019-09-13 14:49:40 Rafael David Tinoco bug added subscriber Tom Scholten
2019-09-13 14:49:55 Rafael David Tinoco netplan: status Invalid Confirmed
2019-09-13 14:49:59 Rafael David Tinoco keepalived (Ubuntu): status Triaged Confirmed
2019-09-13 14:50:02 Rafael David Tinoco systemd (Ubuntu): status Triaged Confirmed
2019-09-13 14:51:54 Rafael David Tinoco nominated for series Ubuntu Eoan
2019-09-13 14:51:54 Rafael David Tinoco bug task added keepalived (Ubuntu Eoan)
2019-09-13 14:51:54 Rafael David Tinoco bug task added systemd (Ubuntu Eoan)
2019-09-13 14:51:54 Rafael David Tinoco nominated for series Ubuntu Bionic
2019-09-13 14:51:54 Rafael David Tinoco bug task added keepalived (Ubuntu Bionic)
2019-09-13 14:51:54 Rafael David Tinoco bug task added systemd (Ubuntu Bionic)
2019-09-13 14:51:54 Rafael David Tinoco nominated for series Ubuntu Disco
2019-09-13 14:51:54 Rafael David Tinoco bug task added keepalived (Ubuntu Disco)
2019-09-13 14:51:54 Rafael David Tinoco bug task added systemd (Ubuntu Disco)
2019-09-13 14:54:48 Rafael David Tinoco keepalived (Ubuntu Bionic): status New Confirmed
2019-09-13 14:54:51 Rafael David Tinoco keepalived (Ubuntu Disco): status New Confirmed
2019-09-13 14:54:56 Rafael David Tinoco systemd (Ubuntu Bionic): status New Confirmed
2019-09-13 14:54:59 Rafael David Tinoco systemd (Ubuntu Disco): status New Confirmed
2019-09-13 14:55:02 Rafael David Tinoco keepalived (Ubuntu Bionic): importance Undecided Medium
2019-09-13 14:55:03 Rafael David Tinoco keepalived (Ubuntu Disco): importance Undecided Medium
2019-09-13 14:55:04 Rafael David Tinoco keepalived (Ubuntu Eoan): importance Undecided Medium
2019-09-13 14:55:06 Rafael David Tinoco systemd (Ubuntu Bionic): importance Undecided Medium
2019-09-13 14:55:08 Rafael David Tinoco systemd (Ubuntu Disco): importance Undecided Medium
2019-09-13 14:55:09 Rafael David Tinoco systemd (Ubuntu Eoan): importance Undecided Medium
2019-09-13 14:55:12 Rafael David Tinoco keepalived (Ubuntu Bionic): assignee Rafael David Tinoco (rafaeldtinoco)
2019-09-13 14:55:14 Rafael David Tinoco keepalived (Ubuntu Disco): assignee Rafael David Tinoco (rafaeldtinoco)
2019-09-13 14:55:15 Rafael David Tinoco keepalived (Ubuntu Eoan): assignee Rafael David Tinoco (rafaeldtinoco)
2019-09-13 14:55:17 Rafael David Tinoco systemd (Ubuntu Bionic): assignee Rafael David Tinoco (rafaeldtinoco)
2019-09-13 14:55:18 Rafael David Tinoco systemd (Ubuntu Disco): assignee Rafael David Tinoco (rafaeldtinoco)
2019-09-13 14:55:20 Rafael David Tinoco systemd (Ubuntu Eoan): assignee Rafael David Tinoco (rafaeldtinoco)
2019-09-13 14:55:27 Rafael David Tinoco netplan: assignee Rafael David Tinoco (rafaeldtinoco)
2019-09-13 14:55:32 Rafael David Tinoco systemd (Ubuntu Eoan): status Confirmed In Progress
2019-09-13 14:55:36 Rafael David Tinoco keepalived (Ubuntu Eoan): status Confirmed In Progress
2019-09-18 18:25:10 dripley bug added subscriber daripley
2019-09-18 18:32:30 Michael Kracker bug added subscriber Michael Kracker
2019-09-20 10:11:36 Lucas Kanashiro bug task added heartbeat (Ubuntu)
2019-09-20 10:11:58 Lucas Kanashiro heartbeat (Ubuntu Bionic): importance Undecided Medium
2019-09-20 10:11:58 Lucas Kanashiro heartbeat (Ubuntu Bionic): status New Triaged
2019-09-20 10:13:17 Lucas Kanashiro heartbeat (Ubuntu Disco): importance Undecided Medium
2019-09-20 10:13:17 Lucas Kanashiro heartbeat (Ubuntu Disco): status New Triaged
2019-09-20 10:13:35 Lucas Kanashiro heartbeat (Ubuntu Eoan): importance Undecided Low
2019-09-20 10:13:35 Lucas Kanashiro heartbeat (Ubuntu Eoan): status New Triaged
2019-09-20 10:14:33 Lucas Kanashiro heartbeat (Ubuntu Bionic): assignee Rafael David Tinoco (rafaeldtinoco)
2019-09-20 10:14:54 Lucas Kanashiro heartbeat (Ubuntu Disco): assignee Rafael David Tinoco (rafaeldtinoco)
2019-09-20 10:15:22 Lucas Kanashiro heartbeat (Ubuntu Eoan): assignee Rafael David Tinoco (rafaeldtinoco)
2019-09-25 13:06:40 Rafael David Tinoco bug added subscriber Canonical Server Team
2019-09-26 08:57:28 Rafael David Tinoco summary [master] Restarting systemd-networkd breaks keepalived clusters [master] Restarting systemd-networkd breaks keepalived, heartbeat, corosync, pacemaker (interface aliases are restarted)
2019-09-28 14:30:43 Edward Hope-Morley bug task added charm-keepalived
2019-10-01 11:21:14 Malte Swart bug added subscriber Malte Swart
2019-10-11 11:07:18 Launchpad Janitor merge proposal linked https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/systemd/+git/systemd/+merge/374027
2019-10-30 13:35:34 Rafael David Tinoco bug added subscriber Ubuntu Server High Availability
2019-10-31 10:18:13 Edward Hope-Morley bug added subscriber Canonical Field High
2019-10-31 10:18:29 Edward Hope-Morley tags address keepalived netplan server-next virtual address keepalived netplan server-next sts virtual
2019-11-07 12:07:56 Dan Streetman description Configure netplan for interfaces, for example (a working config with IP addresses obfuscated) network: ethernets: eth0: addresses: [192.168.0.5/24] dhcp4: false nameservers: search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com] addresses: [10.22.11.1] eth2: addresses: - 12.13.14.18/29 - 12.13.14.19/29 gateway4: 12.13.14.17 dhcp4: false nameservers: search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com] addresses: [10.22.11.1] eth3: addresses: [10.22.11.6/24] dhcp4: false nameservers: search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com] addresses: [10.22.11.1] eth4: addresses: [10.22.14.6/24] dhcp4: false nameservers: search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com] addresses: [10.22.11.1] eth7: addresses: [9.5.17.34/29] dhcp4: false optional: true nameservers: search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com] addresses: [10.22.11.1] version: 2 Configure keepalived (again, a working config with IP addresses obfuscated) global_defs # Block id { notification_email { sysadmins@blah.com } notification_email_from keepalived@system3.hq.blah.com smtp_server 10.22.11.7 # IP smtp_connect_timeout 30 # integer, seconds router_id system3 # string identifying the machine, # (doesn't have to be hostname). vrrp_mcast_group4 224.0.0.18 # optional, default 224.0.0.18 vrrp_mcast_group6 ff02::12 # optional, default ff02::12 enable_traps # enable SNMP traps } vrrp_sync_group collection { group { wan lan phone } vrrp_instance wan { state MASTER interface eth2 virtual_router_id 77 priority 150 advert_int 1 smtp_alert authentication { auth_type PASS auth_pass BlahBlah } virtual_ipaddress { 12.13.14.20 } } vrrp_instance lan { state MASTER interface eth3 virtual_router_id 78 priority 150 advert_int 1 smtp_alert authentication { auth_type PASS auth_pass MoreBlah } virtual_ipaddress { 10.22.11.13/24 } } vrrp_instance phone { state MASTER interface eth4 virtual_router_id 79 priority 150 advert_int 1 smtp_alert authentication { auth_type PASS auth_pass MostBlah } virtual_ipaddress { 10.22.14.3/24 } } At boot the affected interfaces have: 5: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether ab:cd:ef:90:c0:e3 brd ff:ff:ff:ff:ff:ff inet 10.22.14.6/24 brd 10.22.14.255 scope global eth4 valid_lft forever preferred_lft forever inet 10.22.14.3/24 scope global secondary eth4 valid_lft forever preferred_lft forever inet6 fe80::ae1f:6bff:fe90:c0e3/64 scope link valid_lft forever preferred_lft forever 7: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether ab:cd:ef:b0:26:29 brd ff:ff:ff:ff:ff:ff inet 10.22.11.6/24 brd 10.22.11.255 scope global eth3 valid_lft forever preferred_lft forever inet 10.22.11.13/24 scope global secondary eth3 valid_lft forever preferred_lft forever inet6 fe80::ae1f:6bff:feb0:2629/64 scope link valid_lft forever preferred_lft forever 9: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether ab:cd:ef:b0:26:2b brd ff:ff:ff:ff:ff:ff inet 12.13.14.18/29 brd 12.13.14.23 scope global eth2 valid_lft forever preferred_lft forever inet 12.13.14.20/32 scope global eth2 valid_lft forever preferred_lft forever inet 12.33.89.19/29 brd 12.13.14.23 scope global secondary eth2 valid_lft forever preferred_lft forever inet6 fe80::ae1f:6bff:feb0:262b/64 scope link valid_lft forever preferred_lft forever Run 'netplan try' (didn't even make any changes to the configuration) and the keepalived addresses disappear never to return, the affected interfaces have: 5: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether ab:cd:ef:90:c0:e3 brd ff:ff:ff:ff:ff:ff inet 10.22.14.6/24 brd 10.22.14.255 scope global eth4 valid_lft forever preferred_lft forever inet6 fe80::ae1f:6bff:fe90:c0e3/64 scope link valid_lft forever preferred_lft forever 7: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether ab:cd:ef:b0:26:29 brd ff:ff:ff:ff:ff:ff inet 10.22.11.6/24 brd 10.22.11.255 scope global eth3 valid_lft forever preferred_lft forever inet6 fe80::ae1f:6bff:feb0:2629/64 scope link valid_lft forever preferred_lft forever 9: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether ab:cd:ef:b0:26:2b brd ff:ff:ff:ff:ff:ff inet 12.13.14.18/29 brd 12.13.14.23 scope global eth2 valid_lft forever preferred_lft forever inet 12.33.89.19/29 brd 12.13.14.23 scope global secondary eth2 valid_lft forever preferred_lft forever inet6 fe80::ae1f:6bff:feb0:262b/64 scope link valid_lft forever preferred_lft forever [impact] ip addresses managed by keepalived are lost across networkd restarts [test case] see original description below [regression potential] this backports KeepConfiguration parameter, which adds some significant complexity to networkd's configuration and behavior, which could lead to regressions in correctly configuring the network at networkd start, or incorrectly maintaining configuration at networkd restart, or losing network state at networkd stop. Any regressions are most likely to occur during networkd start, restart, or stop, and most likely to involve missing or incorrect ip address(es). [other info] original description: --- Configure netplan for interfaces, for example (a working config with IP addresses obfuscated) network:     ethernets:         eth0:             addresses: [192.168.0.5/24]             dhcp4: false             nameservers:               search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com]               addresses: [10.22.11.1]         eth2:             addresses:               - 12.13.14.18/29               - 12.13.14.19/29             gateway4: 12.13.14.17             dhcp4: false             nameservers:               search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com]               addresses: [10.22.11.1]         eth3:             addresses: [10.22.11.6/24]             dhcp4: false             nameservers:               search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com]               addresses: [10.22.11.1]         eth4:             addresses: [10.22.14.6/24]             dhcp4: false             nameservers:               search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com]               addresses: [10.22.11.1]         eth7:             addresses: [9.5.17.34/29]             dhcp4: false             optional: true             nameservers:               search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com]               addresses: [10.22.11.1]     version: 2 Configure keepalived (again, a working config with IP addresses obfuscated) global_defs # Block id { notification_email {         sysadmins@blah.com }         notification_email_from keepalived@system3.hq.blah.com         smtp_server 10.22.11.7 # IP         smtp_connect_timeout 30 # integer, seconds         router_id system3 # string identifying the machine,                                      # (doesn't have to be hostname).         vrrp_mcast_group4 224.0.0.18 # optional, default 224.0.0.18         vrrp_mcast_group6 ff02::12 # optional, default ff02::12         enable_traps # enable SNMP traps } vrrp_sync_group collection {         group {                 wan                 lan                 phone         } vrrp_instance wan {         state MASTER         interface eth2         virtual_router_id 77         priority 150         advert_int 1         smtp_alert         authentication {                 auth_type PASS                 auth_pass BlahBlah         }         virtual_ipaddress {         12.13.14.20         } } vrrp_instance lan {         state MASTER         interface eth3         virtual_router_id 78         priority 150         advert_int 1         smtp_alert         authentication {                 auth_type PASS                 auth_pass MoreBlah         }         virtual_ipaddress {                 10.22.11.13/24         } } vrrp_instance phone {         state MASTER         interface eth4         virtual_router_id 79         priority 150         advert_int 1         smtp_alert         authentication {                 auth_type PASS                 auth_pass MostBlah         }         virtual_ipaddress {                 10.22.14.3/24         } } At boot the affected interfaces have: 5: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether ab:cd:ef:90:c0:e3 brd ff:ff:ff:ff:ff:ff     inet 10.22.14.6/24 brd 10.22.14.255 scope global eth4        valid_lft forever preferred_lft forever     inet 10.22.14.3/24 scope global secondary eth4        valid_lft forever preferred_lft forever     inet6 fe80::ae1f:6bff:fe90:c0e3/64 scope link        valid_lft forever preferred_lft forever 7: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether ab:cd:ef:b0:26:29 brd ff:ff:ff:ff:ff:ff     inet 10.22.11.6/24 brd 10.22.11.255 scope global eth3        valid_lft forever preferred_lft forever     inet 10.22.11.13/24 scope global secondary eth3        valid_lft forever preferred_lft forever     inet6 fe80::ae1f:6bff:feb0:2629/64 scope link        valid_lft forever preferred_lft forever 9: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether ab:cd:ef:b0:26:2b brd ff:ff:ff:ff:ff:ff     inet 12.13.14.18/29 brd 12.13.14.23 scope global eth2        valid_lft forever preferred_lft forever     inet 12.13.14.20/32 scope global eth2        valid_lft forever preferred_lft forever     inet 12.33.89.19/29 brd 12.13.14.23 scope global secondary eth2        valid_lft forever preferred_lft forever     inet6 fe80::ae1f:6bff:feb0:262b/64 scope link        valid_lft forever preferred_lft forever Run 'netplan try' (didn't even make any changes to the configuration) and the keepalived addresses disappear never to return, the affected interfaces have: 5: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether ab:cd:ef:90:c0:e3 brd ff:ff:ff:ff:ff:ff     inet 10.22.14.6/24 brd 10.22.14.255 scope global eth4        valid_lft forever preferred_lft forever     inet6 fe80::ae1f:6bff:fe90:c0e3/64 scope link        valid_lft forever preferred_lft forever 7: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether ab:cd:ef:b0:26:29 brd ff:ff:ff:ff:ff:ff     inet 10.22.11.6/24 brd 10.22.11.255 scope global eth3        valid_lft forever preferred_lft forever     inet6 fe80::ae1f:6bff:feb0:2629/64 scope link        valid_lft forever preferred_lft forever 9: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether ab:cd:ef:b0:26:2b brd ff:ff:ff:ff:ff:ff     inet 12.13.14.18/29 brd 12.13.14.23 scope global eth2        valid_lft forever preferred_lft forever     inet 12.33.89.19/29 brd 12.13.14.23 scope global secondary eth2        valid_lft forever preferred_lft forever     inet6 fe80::ae1f:6bff:feb0:262b/64 scope link        valid_lft forever preferred_lft forever
2019-11-07 12:47:48 Rafael David Tinoco description [impact] ip addresses managed by keepalived are lost across networkd restarts [test case] see original description below [regression potential] this backports KeepConfiguration parameter, which adds some significant complexity to networkd's configuration and behavior, which could lead to regressions in correctly configuring the network at networkd start, or incorrectly maintaining configuration at networkd restart, or losing network state at networkd stop. Any regressions are most likely to occur during networkd start, restart, or stop, and most likely to involve missing or incorrect ip address(es). [other info] original description: --- Configure netplan for interfaces, for example (a working config with IP addresses obfuscated) network:     ethernets:         eth0:             addresses: [192.168.0.5/24]             dhcp4: false             nameservers:               search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com]               addresses: [10.22.11.1]         eth2:             addresses:               - 12.13.14.18/29               - 12.13.14.19/29             gateway4: 12.13.14.17             dhcp4: false             nameservers:               search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com]               addresses: [10.22.11.1]         eth3:             addresses: [10.22.11.6/24]             dhcp4: false             nameservers:               search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com]               addresses: [10.22.11.1]         eth4:             addresses: [10.22.14.6/24]             dhcp4: false             nameservers:               search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com]               addresses: [10.22.11.1]         eth7:             addresses: [9.5.17.34/29]             dhcp4: false             optional: true             nameservers:               search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com]               addresses: [10.22.11.1]     version: 2 Configure keepalived (again, a working config with IP addresses obfuscated) global_defs # Block id { notification_email {         sysadmins@blah.com }         notification_email_from keepalived@system3.hq.blah.com         smtp_server 10.22.11.7 # IP         smtp_connect_timeout 30 # integer, seconds         router_id system3 # string identifying the machine,                                      # (doesn't have to be hostname).         vrrp_mcast_group4 224.0.0.18 # optional, default 224.0.0.18         vrrp_mcast_group6 ff02::12 # optional, default ff02::12         enable_traps # enable SNMP traps } vrrp_sync_group collection {         group {                 wan                 lan                 phone         } vrrp_instance wan {         state MASTER         interface eth2         virtual_router_id 77         priority 150         advert_int 1         smtp_alert         authentication {                 auth_type PASS                 auth_pass BlahBlah         }         virtual_ipaddress {         12.13.14.20         } } vrrp_instance lan {         state MASTER         interface eth3         virtual_router_id 78         priority 150         advert_int 1         smtp_alert         authentication {                 auth_type PASS                 auth_pass MoreBlah         }         virtual_ipaddress {                 10.22.11.13/24         } } vrrp_instance phone {         state MASTER         interface eth4         virtual_router_id 79         priority 150         advert_int 1         smtp_alert         authentication {                 auth_type PASS                 auth_pass MostBlah         }         virtual_ipaddress {                 10.22.14.3/24         } } At boot the affected interfaces have: 5: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether ab:cd:ef:90:c0:e3 brd ff:ff:ff:ff:ff:ff     inet 10.22.14.6/24 brd 10.22.14.255 scope global eth4        valid_lft forever preferred_lft forever     inet 10.22.14.3/24 scope global secondary eth4        valid_lft forever preferred_lft forever     inet6 fe80::ae1f:6bff:fe90:c0e3/64 scope link        valid_lft forever preferred_lft forever 7: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether ab:cd:ef:b0:26:29 brd ff:ff:ff:ff:ff:ff     inet 10.22.11.6/24 brd 10.22.11.255 scope global eth3        valid_lft forever preferred_lft forever     inet 10.22.11.13/24 scope global secondary eth3        valid_lft forever preferred_lft forever     inet6 fe80::ae1f:6bff:feb0:2629/64 scope link        valid_lft forever preferred_lft forever 9: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether ab:cd:ef:b0:26:2b brd ff:ff:ff:ff:ff:ff     inet 12.13.14.18/29 brd 12.13.14.23 scope global eth2        valid_lft forever preferred_lft forever     inet 12.13.14.20/32 scope global eth2        valid_lft forever preferred_lft forever     inet 12.33.89.19/29 brd 12.13.14.23 scope global secondary eth2        valid_lft forever preferred_lft forever     inet6 fe80::ae1f:6bff:feb0:262b/64 scope link        valid_lft forever preferred_lft forever Run 'netplan try' (didn't even make any changes to the configuration) and the keepalived addresses disappear never to return, the affected interfaces have: 5: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether ab:cd:ef:90:c0:e3 brd ff:ff:ff:ff:ff:ff     inet 10.22.14.6/24 brd 10.22.14.255 scope global eth4        valid_lft forever preferred_lft forever     inet6 fe80::ae1f:6bff:fe90:c0e3/64 scope link        valid_lft forever preferred_lft forever 7: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether ab:cd:ef:b0:26:29 brd ff:ff:ff:ff:ff:ff     inet 10.22.11.6/24 brd 10.22.11.255 scope global eth3        valid_lft forever preferred_lft forever     inet6 fe80::ae1f:6bff:feb0:2629/64 scope link        valid_lft forever preferred_lft forever 9: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether ab:cd:ef:b0:26:2b brd ff:ff:ff:ff:ff:ff     inet 12.13.14.18/29 brd 12.13.14.23 scope global eth2        valid_lft forever preferred_lft forever     inet 12.33.89.19/29 brd 12.13.14.23 scope global secondary eth2        valid_lft forever preferred_lft forever     inet6 fe80::ae1f:6bff:feb0:262b/64 scope link        valid_lft forever preferred_lft forever [impact] - ALL related HA software has a small problem if interfaces are being managed by systemd-networkd: nic restarts/reconfigs are always going to wipe all interfaces aliases when HA software is not expecting it to (no coordination between them. - keepalived, smb ctdb, pacemaker, all suffer from this. Pacemaker is smarter in this case because it has a service monitor that will restart the virtual IP resource, in affected node & nic, before considering a real failure, but other HA service might consider a real failure when it is not. [test case] - comment #14 is a full test case: to have 3 node pacemaker, in that example, and cause a networkd service restart: it will trigger a failure for the virtual IP resource monitor. - other example is given in the original description for keepalived. both suffer from the same issue (and other HA softwares as well). [regression potential] - this backports KeepConfiguration parameter, which adds some significant complexity to networkd's configuration and behavior, which could lead to regressions in correctly configuring the network at networkd start, or incorrectly maintaining configuration at networkd restart, or losing network state at networkd stop. - Any regressions are most likely to occur during networkd start, restart, or stop, and most likely to involve missing or incorrect ip address(es). - the change is based in upstream patches adding the exact feature we needed to fix this issue & it will be integrated with a netplan change to add the needed stanza to systemd nic configuration file (KeepConfiguration=) [other info] original description: --- Configure netplan for interfaces, for example (a working config with IP addresses obfuscated) network:     ethernets:         eth0:             addresses: [192.168.0.5/24]             dhcp4: false             nameservers:               search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com]               addresses: [10.22.11.1]         eth2:             addresses:               - 12.13.14.18/29               - 12.13.14.19/29             gateway4: 12.13.14.17             dhcp4: false             nameservers:               search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com]               addresses: [10.22.11.1]         eth3:             addresses: [10.22.11.6/24]             dhcp4: false             nameservers:               search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com]               addresses: [10.22.11.1]         eth4:             addresses: [10.22.14.6/24]             dhcp4: false             nameservers:               search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com]               addresses: [10.22.11.1]         eth7:             addresses: [9.5.17.34/29]             dhcp4: false             optional: true             nameservers:               search: [blah.com, other.blah.com, hq.blah.com, cust.blah.com, phone.blah.com]               addresses: [10.22.11.1]     version: 2 Configure keepalived (again, a working config with IP addresses obfuscated) global_defs # Block id { notification_email {         sysadmins@blah.com }         notification_email_from keepalived@system3.hq.blah.com         smtp_server 10.22.11.7 # IP         smtp_connect_timeout 30 # integer, seconds         router_id system3 # string identifying the machine,                                      # (doesn't have to be hostname).         vrrp_mcast_group4 224.0.0.18 # optional, default 224.0.0.18         vrrp_mcast_group6 ff02::12 # optional, default ff02::12         enable_traps # enable SNMP traps } vrrp_sync_group collection {         group {                 wan                 lan                 phone         } vrrp_instance wan {         state MASTER         interface eth2         virtual_router_id 77         priority 150         advert_int 1         smtp_alert         authentication {                 auth_type PASS                 auth_pass BlahBlah         }         virtual_ipaddress {         12.13.14.20         } } vrrp_instance lan {         state MASTER         interface eth3         virtual_router_id 78         priority 150         advert_int 1         smtp_alert         authentication {                 auth_type PASS                 auth_pass MoreBlah         }         virtual_ipaddress {                 10.22.11.13/24         } } vrrp_instance phone {         state MASTER         interface eth4         virtual_router_id 79         priority 150         advert_int 1         smtp_alert         authentication {                 auth_type PASS                 auth_pass MostBlah         }         virtual_ipaddress {                 10.22.14.3/24         } } At boot the affected interfaces have: 5: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether ab:cd:ef:90:c0:e3 brd ff:ff:ff:ff:ff:ff     inet 10.22.14.6/24 brd 10.22.14.255 scope global eth4        valid_lft forever preferred_lft forever     inet 10.22.14.3/24 scope global secondary eth4        valid_lft forever preferred_lft forever     inet6 fe80::ae1f:6bff:fe90:c0e3/64 scope link        valid_lft forever preferred_lft forever 7: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether ab:cd:ef:b0:26:29 brd ff:ff:ff:ff:ff:ff     inet 10.22.11.6/24 brd 10.22.11.255 scope global eth3        valid_lft forever preferred_lft forever     inet 10.22.11.13/24 scope global secondary eth3        valid_lft forever preferred_lft forever     inet6 fe80::ae1f:6bff:feb0:2629/64 scope link        valid_lft forever preferred_lft forever 9: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether ab:cd:ef:b0:26:2b brd ff:ff:ff:ff:ff:ff     inet 12.13.14.18/29 brd 12.13.14.23 scope global eth2        valid_lft forever preferred_lft forever     inet 12.13.14.20/32 scope global eth2        valid_lft forever preferred_lft forever     inet 12.33.89.19/29 brd 12.13.14.23 scope global secondary eth2        valid_lft forever preferred_lft forever     inet6 fe80::ae1f:6bff:feb0:262b/64 scope link        valid_lft forever preferred_lft forever Run 'netplan try' (didn't even make any changes to the configuration) and the keepalived addresses disappear never to return, the affected interfaces have: 5: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether ab:cd:ef:90:c0:e3 brd ff:ff:ff:ff:ff:ff     inet 10.22.14.6/24 brd 10.22.14.255 scope global eth4        valid_lft forever preferred_lft forever     inet6 fe80::ae1f:6bff:fe90:c0e3/64 scope link        valid_lft forever preferred_lft forever 7: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether ab:cd:ef:b0:26:29 brd ff:ff:ff:ff:ff:ff     inet 10.22.11.6/24 brd 10.22.11.255 scope global eth3        valid_lft forever preferred_lft forever     inet6 fe80::ae1f:6bff:feb0:2629/64 scope link        valid_lft forever preferred_lft forever 9: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000     link/ether ab:cd:ef:b0:26:2b brd ff:ff:ff:ff:ff:ff     inet 12.13.14.18/29 brd 12.13.14.23 scope global eth2        valid_lft forever preferred_lft forever     inet 12.33.89.19/29 brd 12.13.14.23 scope global secondary eth2        valid_lft forever preferred_lft forever     inet6 fe80::ae1f:6bff:feb0:262b/64 scope link        valid_lft forever preferred_lft forever
2019-11-07 13:29:42 Łukasz Zemczak systemd (Ubuntu Eoan): status In Progress Fix Committed
2019-11-07 13:29:46 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2019-11-07 13:29:51 Łukasz Zemczak bug added subscriber SRU Verification
2019-11-07 13:30:07 Łukasz Zemczak tags address keepalived netplan server-next sts virtual address keepalived netplan server-next sts verification-needed verification-needed-eoan virtual
2019-11-11 20:54:57 Nathan Fish bug added subscriber Nathan Fish
2019-11-19 16:42:57 Rafael David Tinoco tags address keepalived netplan server-next sts verification-needed verification-needed-eoan virtual address keepalived netplan server-next sts verification-done verification-done-eoan virtual
2019-11-19 16:53:07 Rafael David Tinoco heartbeat (Ubuntu Eoan): assignee Rafael David Tinoco (rafaeldtinoco)
2019-11-19 16:53:18 Rafael David Tinoco heartbeat (Ubuntu Disco): assignee Rafael David Tinoco (rafaeldtinoco)
2019-11-19 16:53:31 Rafael David Tinoco heartbeat (Ubuntu Bionic): assignee Rafael David Tinoco (rafaeldtinoco)
2019-11-19 16:53:52 Rafael David Tinoco heartbeat (Ubuntu): assignee Rafael David Tinoco (rafaeldtinoco)
2019-11-19 16:54:04 Rafael David Tinoco bug task deleted heartbeat (Ubuntu Eoan)
2019-11-19 16:54:11 Rafael David Tinoco bug task deleted heartbeat (Ubuntu Disco)
2019-11-19 16:54:20 Rafael David Tinoco bug task deleted heartbeat (Ubuntu Bionic)
2019-11-19 16:56:03 Rafael David Tinoco heartbeat (Ubuntu): status Triaged Won't Fix
2019-11-25 10:55:25 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2019-11-25 10:55:23 Launchpad Janitor systemd (Ubuntu Eoan): status Fix Committed Fix Released
2020-01-14 19:53:27 Dan Streetman systemd (Ubuntu Disco): status Confirmed Won't Fix
2020-01-14 19:53:42 Dan Streetman keepalived (Ubuntu Disco): status Confirmed Won't Fix
2020-01-28 11:01:06 MDE bug added subscriber MDE
2020-02-07 18:11:44 Andrea Dell'Amico bug added subscriber Andrea Dell'Amico
2020-02-13 21:48:57 Rafael David Tinoco nominated for series Ubuntu Xenial
2020-02-13 21:48:57 Rafael David Tinoco bug task added heartbeat (Ubuntu Xenial)
2020-02-13 21:48:57 Rafael David Tinoco bug task added keepalived (Ubuntu Xenial)
2020-02-13 21:48:57 Rafael David Tinoco bug task added systemd (Ubuntu Xenial)
2020-02-13 21:49:29 Rafael David Tinoco keepalived (Ubuntu Xenial): importance Undecided Medium
2020-02-13 21:49:29 Rafael David Tinoco keepalived (Ubuntu Xenial): status New Confirmed
2020-02-13 21:49:29 Rafael David Tinoco keepalived (Ubuntu Xenial): assignee Rafael David Tinoco (rafaeldtinoco)
2020-02-13 21:49:56 Rafael David Tinoco bug task deleted heartbeat (Ubuntu Xenial)
2020-02-13 21:50:34 Rafael David Tinoco systemd (Ubuntu Xenial): importance Undecided Medium
2020-02-13 21:50:34 Rafael David Tinoco systemd (Ubuntu Xenial): status New Confirmed
2020-02-13 21:50:34 Rafael David Tinoco systemd (Ubuntu Xenial): assignee Rafael David Tinoco (rafaeldtinoco)
2020-04-12 23:10:10 Dominique Poulain bug added subscriber Dominique Poulain
2020-04-14 09:37:45 Dan Streetman tags address keepalived netplan server-next sts verification-done verification-done-eoan virtual address ddstreet keepalived netplan server-next sts verification-done verification-done-eoan virtual
2020-05-08 16:35:01 George Kraft bug task deleted charm-keepalived
2020-05-14 14:20:02 Rafael David Tinoco keepalived (Ubuntu): assignee Rafael David Tinoco (rafaeldtinoco)
2020-05-14 14:20:11 Rafael David Tinoco keepalived (Ubuntu Xenial): assignee Rafael David Tinoco (rafaeldtinoco)
2020-05-14 14:20:19 Rafael David Tinoco keepalived (Ubuntu Bionic): assignee Rafael David Tinoco (rafaeldtinoco)
2020-05-14 14:20:29 Rafael David Tinoco keepalived (Ubuntu Disco): assignee Rafael David Tinoco (rafaeldtinoco)
2020-05-14 14:20:36 Rafael David Tinoco keepalived (Ubuntu Eoan): assignee Rafael David Tinoco (rafaeldtinoco)
2020-05-14 14:20:44 Rafael David Tinoco systemd (Ubuntu): assignee Rafael David Tinoco (rafaeldtinoco)
2020-05-14 14:20:54 Rafael David Tinoco systemd (Ubuntu Xenial): assignee Rafael David Tinoco (rafaeldtinoco)
2020-05-14 14:21:03 Rafael David Tinoco systemd (Ubuntu Bionic): assignee Rafael David Tinoco (rafaeldtinoco)
2020-05-14 14:21:11 Rafael David Tinoco systemd (Ubuntu Disco): assignee Rafael David Tinoco (rafaeldtinoco)
2020-05-14 14:21:19 Rafael David Tinoco systemd (Ubuntu Eoan): assignee Rafael David Tinoco (rafaeldtinoco)
2020-05-14 14:21:30 Rafael David Tinoco netplan: assignee Rafael David Tinoco (rafaeldtinoco)
2020-05-14 14:22:49 Rafael David Tinoco bug task deleted keepalived (Ubuntu Eoan)
2020-05-14 14:22:58 Rafael David Tinoco bug task deleted keepalived (Ubuntu Disco)
2020-05-14 14:25:27 Rafael David Tinoco nominated for series Ubuntu Focal
2020-05-14 14:25:27 Rafael David Tinoco bug task added heartbeat (Ubuntu Focal)
2020-05-14 14:25:27 Rafael David Tinoco bug task added keepalived (Ubuntu Focal)
2020-05-14 14:25:27 Rafael David Tinoco bug task added systemd (Ubuntu Focal)
2020-05-14 14:25:43 Rafael David Tinoco systemd (Ubuntu Focal): status New Fix Released
2020-05-14 14:25:56 Rafael David Tinoco keepalived (Ubuntu Focal): status New Confirmed
2020-05-14 14:26:18 Rafael David Tinoco bug task deleted heartbeat (Ubuntu Focal)
2020-05-14 14:40:33 Dan Streetman systemd (Ubuntu Bionic): assignee Jorge Niedbalski (niedbalski)
2020-05-14 14:41:06 Dan Streetman systemd (Ubuntu Bionic): status Confirmed In Progress
2020-06-19 11:56:05 Lars Kollstedt bug added subscriber Lars Kollstedt
2020-09-23 19:29:10 Dan Streetman systemd (Ubuntu Bionic): assignee Jorge Niedbalski (niedbalski) Eric Desrochers (slashd)
2020-09-24 17:42:34 Rafael David Tinoco tags address ddstreet keepalived netplan server-next sts verification-done verification-done-eoan virtual address ddstreet keepalived netplan sts verification-done verification-done-eoan virtual
2020-11-10 17:05:35 Dan Streetman bug added subscriber Ubuntu HA Interest
2020-11-11 10:16:01 Jocelyn Thode bug added subscriber Jocelyn Thode
2020-11-26 15:19:15 Eric Desrochers systemd (Ubuntu Bionic): assignee Eric Desrochers (slashd)
2020-11-27 09:51:45 Milos bug added subscriber Milos
2021-02-23 11:55:34 Dan Streetman systemd (Ubuntu Xenial): status Confirmed Won't Fix
2021-02-23 11:56:14 Dan Streetman systemd (Ubuntu Bionic): status In Progress Incomplete
2021-02-24 12:36:22 Jasper Spaans bug added subscriber Jasper Spaans
2021-04-19 22:14:07 andrew bezella bug added subscriber andrew bezella
2021-04-27 08:51:43 Sebastian bug added subscriber Sebastian
2021-07-21 09:53:53 Alex Harrington bug added subscriber Alex Harrington
2021-08-04 15:01:05 Eric Desrochers bug added subscriber Eric Desrochers
2021-08-06 17:42:45 Eric Desrochers systemd (Ubuntu Bionic): status Incomplete In Progress
2021-08-06 17:42:45 Eric Desrochers systemd (Ubuntu Bionic): assignee Eric Desrochers (slashd)
2021-08-09 08:39:46 Łukasz Zemczak systemd (Ubuntu Bionic): status In Progress Fix Committed
2021-08-09 08:39:50 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2021-08-09 08:40:06 Łukasz Zemczak tags address ddstreet keepalived netplan sts verification-done verification-done-eoan virtual address ddstreet keepalived netplan sts verification-done-eoan verification-needed verification-needed-bionic virtual
2021-08-12 16:23:28 Eric Desrochers tags address ddstreet keepalived netplan sts verification-done-eoan verification-needed verification-needed-bionic virtual address ddstreet keepalived netplan sts verification-done-bionic verification-done-eoan verification-needed virtual
2021-08-16 12:54:01 Launchpad Janitor systemd (Ubuntu Bionic): status Fix Committed Fix Released
2021-08-24 13:54:58 Dan Streetman removed subscriber Dan Streetman
2022-03-15 13:54:48 Lukas Märdian netplan: status Confirmed Fix Released
2022-10-12 08:17:17 Lukas Märdian netplan: importance Undecided Medium
2022-10-12 08:17:17 Lukas Märdian netplan: status Fix Released Incomplete
2022-10-12 08:17:32 Lukas Märdian systemd (Ubuntu): status In Progress Fix Released
2022-10-17 10:51:18 Jocelyn Thode removed subscriber Jocelyn Thode
2022-10-19 12:08:25 Athos Ribeiro bug added subscriber Ubuntu Server
2022-10-19 20:28:52 Dave Jones netplan: status Incomplete Triaged
2022-10-20 13:48:21 Lukas Märdian netplan: importance Medium Low
2022-10-21 10:27:57 Garagoth bug watch added https://github.com/systemd/systemd/issues/25067
2022-11-01 11:06:01 Anton Johansson removed subscriber Anton Johansson
2023-06-12 12:29:03 Robie Basak tags address ddstreet keepalived netplan sts verification-done-bionic verification-done-eoan verification-needed virtual address ddstreet keepalived netplan server-triage-discuss sts verification-done-bionic verification-done-eoan verification-needed virtual
2023-06-14 15:06:01 Christian Ehrhardt  tags address ddstreet keepalived netplan server-triage-discuss sts verification-done-bionic verification-done-eoan verification-needed virtual address ddstreet keepalived netplan server-todo sts verification-done-bionic verification-done-eoan verification-needed virtual
2023-06-21 15:06:13 Christian Ehrhardt  keepalived (Ubuntu): assignee Athos Ribeiro (athos-ribeiro)
2023-07-05 15:03:35 Christian Ehrhardt  keepalived (Ubuntu Xenial): assignee Athos Ribeiro (athos-ribeiro)
2023-07-05 15:03:43 Christian Ehrhardt  keepalived (Ubuntu Bionic): assignee Athos Ribeiro (athos-ribeiro)
2023-07-05 15:03:52 Christian Ehrhardt  bug task deleted keepalived (Ubuntu Xenial)
2023-07-05 15:04:01 Christian Ehrhardt  keepalived (Ubuntu Focal): assignee Athos Ribeiro (athos-ribeiro)
2023-07-06 03:36:15 dripley removed subscriber dripley
2023-08-09 15:14:32 Christian Ehrhardt  tags address ddstreet keepalived netplan server-todo sts verification-done-bionic verification-done-eoan verification-needed virtual address ddstreet keepalived netplan server-todo sts virtual
2024-03-13 14:32:33 Athos Ribeiro keepalived (Ubuntu Bionic): status Confirmed Won't Fix
2024-03-13 14:39:35 Athos Ribeiro tags address ddstreet keepalived netplan server-todo sts virtual address ddstreet keepalived netplan sts virtual
2024-03-13 14:40:05 Athos Ribeiro keepalived (Ubuntu): status In Progress Fix Released
2024-03-13 14:40:21 Athos Ribeiro keepalived (Ubuntu): assignee Athos Ribeiro (athos-ribeiro)