-- Reboot --
Nov 12 04:21:23 localhost systemd[1]: Starting Network Service...
Nov 12 04:21:23 localhost systemd-networkd[216]: Enumeration completed
Nov 12 04:21:23 localhost systemd[1]: Started Network Service.
Nov 12 04:21:24 localhost systemd-networkd[216]: lo: Configured
Nov 12 04:21:24 localhost systemd-networkd[216]: eth0: IPv6 enabled for interface: Success
Nov 12 04:21:24 localhost systemd-networkd[216]: eth1: IPv6 enabled for interface: Success
Nov 12 04:21:24 localhost systemd-networkd[216]: eth1: Gained carrier
Nov 12 04:21:24 localhost systemd[1]: Stopping Network Service...
Nov 12 04:21:24 localhost systemd[1]: Stopped Network Service.
Nov 12 04:21:27 server-2 systemd[1]: Starting Network Service...
Nov 12 04:21:27 server-2 systemd-networkd[914]: Enumeration completed
Nov 12 04:21:27 server-2 systemd-networkd[914]: eth1: IPv6 enabled for interface: Success
Nov 12 04:21:27 server-2 systemd-networkd[914]: eth0: IPv6 enabled for interface: Success
Nov 12 04:21:27 server-2 systemd-networkd[914]: lo: Configured
Nov 12 04:21:27 server-2 systemd-networkd[914]: eth1: Gained carrier
Nov 12 04:21:27 server-2 systemd-networkd[914]: eth0: Gained carrier
Nov 12 04:21:27 server-2 systemd-networkd[914]: eth0: DHCPv4 address 158.69.69.159/32 via 158.69.64.1
Nov 12 04:21:27 server-2 systemd[1]: Started Network Service.
Nov 12 04:21:28 server-2 systemd-networkd[914]: eth1: Gained IPv6LL
Nov 12 04:21:28 server-2 systemd-networkd[914]: eth0: Gained IPv6LL
Nov 12 04:21:29 server-2 systemd-networkd[914]: docker0: IPv6 enabled for interface: Success
Nov 12 04:21:29 server-2 systemd-networkd[914]: docker0: Could not append VLANs: Operation not permitted
Nov 12 04:21:29 server-2 systemd-networkd[914]: docker0: Failed to assign VLANs to bridge port: Operation not permitted
Nov 12 04:21:29 server-2 systemd-networkd[914]: docker0: Could not set bridge vlan: Operation not permitted
Nov 12 04:21:29 server-2 systemd-networkd[914]: docker0: Gained carrier
Nov 12 04:21:29 server-2 systemd-networkd[914]: docker0: Lost carrier
Nov 12 04:21:29 server-2 systemd-networkd[914]: br-a28690be6c02: IPv6 enabled for interface: Success
Nov 12 04:21:29 server-2 systemd-networkd[914]: br-a28690be6c02: Could not append VLANs: Operation not permitted
Nov 12 04:21:29 server-2 systemd-networkd[914]: br-a28690be6c02: Failed to assign VLANs to bridge port: Operation not permitted
Nov 12 04:21:29 server-2 systemd-networkd[914]: br-a28690be6c02: Could not set bridge vlan: Operation not permitted
Nov 12 04:21:31 server-2 systemd-networkd[914]: docker0: Gained IPv6LL
Nov 12 04:21:41 server-2 systemd-networkd[914]: eth0: Configured
Nov 12 04:21:44 server-2 systemd-networkd[914]: docker0: Configured
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.2.1 0.0.0.0 UG 1024 0 0 eth1
0.0.0.0 192.168.2.1 0.0.0.0 UG 1024 0 0 eth1
0.0.0.0 158.69.64.1 0.0.0.0 UG 1024 0 0 eth0
158.69.64.1 0.0.0.0 255.255.255.255 UH 1024 0 0 eth0
169.254.169.254 192.168.2.3 255.255.255.255 UGH 1024 0 0 eth1
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
172.18.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br-a28690be6c02
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.2.1 0.0.0.0 255.255.255.255 UH 1024 0 0 eth1
-- Reboot --
Nov 12 14:26:50 localhost systemd[1]: Starting Network Service...
Nov 12 14:26:50 localhost systemd-networkd[216]: Enumeration completed
Nov 12 14:26:50 localhost systemd[1]: Started Network Service.
Nov 12 14:26:51 localhost systemd-networkd[216]: lo: Configured
Nov 12 14:26:51 localhost systemd-networkd[216]: eth0: IPv6 enabled for interface: Success
Nov 12 14:26:51 localhost systemd-networkd[216]: eth1: IPv6 enabled for interface: Success
Nov 12 14:26:51 localhost systemd-networkd[216]: eth1: Gained carrier
Nov 12 14:26:51 localhost systemd[1]: Stopping Network Service...
Nov 12 14:26:51 localhost systemd-networkd[216]: eth0: Removing non-existent address: fe80::f816:3eff:fef4:ff6/64 (valid forever)
Nov 12 14:26:51 localhost systemd-networkd[216]: eth1: Removing non-existent address: fe80::f816:3eff:fe41:57bb/64 (valid forever)
Nov 12 14:26:51 localhost systemd-networkd[216]: lo: Lost carrier
Nov 12 14:26:51 localhost systemd-networkd[216]: eth1: Lost carrier
Nov 12 14:26:51 localhost systemd[1]: Stopped Network Service.
Nov 12 14:26:54 server-3 systemd[1]: Starting Network Service...
Nov 12 14:26:54 server-3 systemd-networkd[678]: Enumeration completed
Nov 12 14:26:54 server-3 systemd-networkd[678]: eth1: IPv6 enabled for interface: Success
Nov 12 14:26:54 server-3 systemd-networkd[678]: eth0: IPv6 enabled for interface: Success
Nov 12 14:26:54 server-3 systemd-networkd[678]: lo: Configured
Nov 12 14:26:54 server-3 systemd-networkd[678]: eth1: Gained carrier
Nov 12 14:26:54 server-3 systemd-networkd[678]: eth0: Gained carrier
Nov 12 14:26:54 server-3 systemd[1]: Started Network Service.
Nov 12 14:26:56 server-3 systemd-networkd[678]: eth0: Gained IPv6LL
Nov 12 14:26:56 server-3 systemd-networkd[678]: br-a28690be6c02: IPv6 enabled for interface: Success
Nov 12 14:26:56 server-3 systemd-networkd[678]: br-a28690be6c02: Could not append VLANs: Operation not permitted
Nov 12 14:26:56 server-3 systemd-networkd[678]: br-a28690be6c02: Failed to assign VLANs to bridge port: Operation not permitted
Nov 12 14:26:56 server-3 systemd-networkd[678]: br-a28690be6c02: Could not set bridge vlan: Operation not permitted
Nov 12 14:26:56 server-3 systemd-networkd[678]: docker0: IPv6 enabled for interface: Success
Nov 12 14:26:56 server-3 systemd-networkd[678]: docker0: Could not append VLANs: Operation not permitted
Nov 12 14:26:56 server-3 systemd-networkd[678]: docker0: Failed to assign VLANs to bridge port: Operation not permitted
Nov 12 14:26:56 server-3 systemd-networkd[678]: docker0: Could not set bridge vlan: Operation not permitted
Nov 12 14:26:56 server-3 systemd-networkd[678]: eth1: Gained IPv6LL
Nov 12 14:27:25 server-3 systemd-networkd[678]: eth1: DHCPv4 address 192.168.2.4/24 via 192.168.2.1
Nov 12 14:27:25 server-3 systemd-networkd[678]: eth1: Configured
Nov 12 14:27:26 server-3 systemd-networkd[678]: eth0: DHCPv4 address 158.69.72.198/32 via 158.69.64.1
Nov 12 14:27:26 server-3 systemd-networkd[678]: eth0: Configured
It sounds like OVH is providing the wrong image. If these VMs are
running in OpenStack, they should be using the OpenStack image; not EC2.
If you have the ability to choose a different image and are able to use
the OpenStack image, you can provide an Ignition config that will
configure the network properly. Some examples can be found in our
documentation [1].
$ wget https://alpha.release.core-os.net/amd64-usr/current/coreos_production_openstack_image.img.bz2
$ bunzip2 coreos_production_openstack_image.img.bz2
$ glance image-create --name "CoreOS Alpha 1221.0.0" --container-format bare --disk-format qcow2 --file coreos_production_openstack_image.img
[Unit]
Description=Remove default routes for eth1
After=systemd-networkd.service
Requires=systemd-networkd.service
[Service]
Type=oneshot
ExecStart=/bin/route del -net 0.0.0.0 dev eth1
ExecStart=/bin/route del -net 0.0.0.0 dev eth1
[Install]
WantedBy=multi-user.target
auto ens4
iface ens4 inet dhcp
root@server-3:/etc/network# ifup ens4
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/ens4/fa:16:3e:78:f9:95
Sending on LPF/ens4/fa:16:3e:78:f9:95
Sending on Socket/fallback
DHCPDISCOVER on ens4 to 255.255.255.255 port 67 interval 3 (xid=0xf8492c71)
DHCPREQUEST of 192.168.2.6 on ens4 to 255.255.255.255 port 67 (xid=0x712c49f8)
DHCPOFFER of 192.168.2.6 from 192.168.2.3
DHCPACK of 192.168.2.6 from 192.168.2.3
bound to 192.168.2.6 -- renewal in 42326 seconds.
root@server-3:/etc/network# ip addr list
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether fa:16:3e:52:0a:cd brd ff:ff:ff:ff:ff:ff
inet 158.69.75.148/32 brd 158.69.75.148 scope global ens3
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe52:acd/64 scope link
valid_lft forever preferred_lft forever
3: ens4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether fa:16:3e:78:f9:95 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.6/24 brd 192.168.2.255 scope global ens4
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe78:f995/64 scope link
valid_lft forever preferred_lft forever
root@server-3:/etc/network# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 158.69.64.1 0.0.0.0 UG 0 0 0 ens3
158.69.64.1 0.0.0.0 255.255.255.255 UH 0 0 0 ens3
169.254.169.254 192.168.2.3 255.255.255.255 UGH 0 0 0 ens4
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 ens4
server-2 core # ip link set eth1 downserver-2 core # ip addr flush dev eth1server-2 core # ip addr1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00inet 127.0.0.1/8 scope host lovalid_lft forever preferred_lft foreverinet6 ::1/128 scope hostvalid_lft forever preferred_lft forever2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000link/ether fa:16:3e:b9:20:e4 brd ff:ff:ff:ff:ff:ffinet 158.69.74.243/32 brd 158.69.74.243 scope global dynamic eth0valid_lft 77896sec preferred_lft 77896secinet6 fe80::f816:3eff:feb9:20e4/64 scope linkvalid_lft forever preferred_lft forever3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000link/ether fa:16:3e:17:91:fb brd ff:ff:ff:ff:ff:ffserver-2 core # route -n
Kernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 158.69.64.1 0.0.0.0 UG 1024 0 0 eth0
158.69.64.1 0.0.0.0 255.255.255.255 UH 1024 0 0 eth0
server-2 core # ip link set eth1 upserver-2 core # route -n
Kernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 158.69.64.1 0.0.0.0 UG 1024 0 0 eth0
0.0.0.0 192.168.2.1 0.0.0.0 UG 1024 0 0 eth10.0.0.0 192.168.2.1 0.0.0.0 UG 1024 0 0 eth1158.69.64.1 0.0.0.0 255.255.255.255 UH 1024 0 0 eth0169.254.169.254 192.168.2.3 255.255.255.255 UGH 1024 0 0 eth1
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.2.1 0.0.0.0 255.255.255.255 UH 1024 0 0 eth1
server-2 core # ip addr1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00inet 127.0.0.1/8 scope host lovalid_lft forever preferred_lft foreverinet6 ::1/128 scope hostvalid_lft forever preferred_lft forever2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000link/ether fa:16:3e:b9:20:e4 brd ff:ff:ff:ff:ff:ffinet 158.69.74.243/32 brd 158.69.74.243 scope global dynamic eth0valid_lft 77748sec preferred_lft 77748secinet6 fe80::f816:3eff:feb9:20e4/64 scope linkvalid_lft forever preferred_lft forever3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000link/ether fa:16:3e:17:91:fb brd ff:ff:ff:ff:ff:ffinet 192.168.2.5/24 brd 192.168.2.255 scope global dynamic eth1valid_lft 86283sec preferred_lft 86283secinet6 fe80::f816:3eff:fe17:91fb/64 scope linkvalid_lft forever preferred_lft forever
Nov 13 00:39:57 server-2 systemd-networkd[1575]: eth1: DHCPv4 address 192.168.2.5/24 via 192.168.2.1
Nov 13 00:39:57 server-2 systemd-networkd[1575]: eth1: Setting transient hostname: 'host-192-168-2-5'
Nov 13 00:39:57 server-2 systemd-networkd[1575]: Sent message type=method_call sender=n/a destination=org.freedesktop.hostname1 object=/org/freedesktop/hostname1 interface=org.freedesktop.hostname1 member=SetHostname cookie=22 reply_cookie=0 error=n/a
Nov 13 00:39:57 server-2 systemd-networkd[1575]: Got message type=method_return sender=:1.124 destination=:1.125 object=n/a interface=n/a member=n/a cookie=7 reply_cookie=22 error=n/a
Nov 13 00:39:57 server-2 systemd-networkd[1575]: eth1: Updating address: 192.168.2.5/24 (valid for 1d)
0.0.0.0 192.168.2.1 0.0.0.0 UG 1024 0 0 eth1
0.0.0.0 192.168.2.1 0.0.0.0 UG 1024 0 0 eth1
192.168.2.1 0.0.0.0 255.255.255.255 UH 1024 0 0 eth1
CoreOS alpha (1221.0.0)core@server-2 ~ $ route -n
Kernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 158.69.64.1 0.0.0.0 UG 1024 0 0 eth0158.69.64.1 0.0.0.0 255.255.255.255 UH 1024 0 0 eth0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
core@server-2 ~ $ ip addr list
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00inet 127.0.0.1/8 scope host lovalid_lft forever preferred_lft foreverinet6 ::1/128 scope hostvalid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether fa:16:3e:b9:20:e4 brd ff:ff:ff:ff:ff:ffinet 158.69.74.243/32 brd 158.69.74.243 scope global dynamic eth0
valid_lft 86353sec preferred_lft 86353sec
inet6 fe80::f816:3eff:feb9:20e4/64 scope linkvalid_lft forever preferred_lft forever3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000link/ether fa:16:3e:17:91:fb brd ff:ff:ff:ff:ff:ffinet 192.168.2.5/24 brd 192.168.2.255 scope global dynamic eth1
valid_lft 86353sec preferred_lft 86353sec
inet6 fe80::f816:3eff:fe17:91fb/64 scope linkvalid_lft forever preferred_lft forever
core@server-2 ~ $ cat /etc/systemd/network/*[Match]Name=eth1[Network]DHCP=yes[DHCP]UseMTU=trueUseDomains=trueUseHostname=falseUseRoutes=false
I'd still report this to OVH since this isn't working the way I would
expect.