network interface is down after post-install reboot of a default disco installation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Critical
|
Canonical Foundations Team | ||
netplan.io (Ubuntu) |
Fix Released
|
Critical
|
Mathieu Trudel-Lapierre | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Minimal installs using netplan to configure the network.
[Test case]
1) Install Ubuntu minimal server / cloud image
2) Edit /etc/netplan/
3) Run 'sudo netplan apply'. Verify that the network comes up correctly.
4) Reboot.
5) Verify that the network comes up properly.
[Regression potential]
Minimal; this reverts changes in a package that was never released to -updates, only available as SRU in -proposed and on the devel release. This only changes the systemd config to ensure systemd-
---
After doing a default disco installation on s390x using the beta ISO image aka daily from March 26th and the post-install reboot the system restarts aka reipls (in z/VM in this case) but the interface is not brought up.
Hence no remote connections are possible.
The ip cmd shows:
ip a
1: lo: <LOOPBACK,
t qlen 1000
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: enc600: <BROADCAST,
en 1000
link/ether 02:28:0b:00:00:15 brd ff:ff:ff:ff:ff:ff
The netplan yaml file looks fine:
cat /etc/netplan/*.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
renderer: networkd
ethernets:
enc600:
addresses: ¬ 10.245.236.27/24 |
gateway4: 10.245.236.1
nameservers:
search: ¬ canonical.com |
- "10.245.236.1"
Using ip to bring the interface up doesn't help:
buntu§hwe0007:ß$ sudo ip link set enc600 up
sudo ip link set enc600 up
ubuntu§hwe0007:ß$ ip addr show enc600
ip addr show enc600
2: enc600: <BROADCAST,
oup default qlen 1000
link/ether 02:28:0b:00:00:15 brd ff:ff:ff:ff:ff:ff
inet6 fe80::28:
valid_lft forever preferred_lft forever
ubuntu§hwe0007:ß$
But finally executing netplan apply does help:
sudo netplan apply --dryrun
sudo netplan apply --dryrun
ubuntu§hwe0007:ß$ sudo netplan apply
sudo netplan apply
ubuntu§hwe0007:ß$ ip addr show enc600
ip addr show enc600
2: enc600: <BROADCAST,
oup default qlen 1000
link/ether 02:28:0b:00:00:15 brd ff:ff:ff:ff:ff:ff
inet 10.245.236.27/24 brd 10.245.236.255 scope global enc600
valid_lft forever preferred_lft forever
inet6 fe80::28:
valid_lft forever preferred_lft forever
ubuntu§hwe0007:ß$
(Sorry for the partly duplicate lines and some strange characters, but this is due to the fact that I copied the output from the console that requires a 3270 terminal emulation)
Changed in ubuntu-z-systems: | |
importance: | Undecided → Critical |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
Changed in ubuntu-z-systems: | |
status: | New → Triaged |
description: | updated |
Changed in netplan.io (Ubuntu): | |
status: | Triaged → In Progress |
Changed in systemd (Ubuntu): | |
status: | New → Invalid |
no longer affects: | systemd (Ubuntu) |
Changed in ubuntu-z-systems: | |
status: | Triaged → In Progress |
description: | updated |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
After doing a restart the interface is down again, hence it's probably more a networkd / systemd issue:
$ ssh ubuntu@hwe0007
ssh: connect to host hwe0007 port 22: No route to host
---
hwe0007 login: ubuntu
ubuntu
Password:
Last login: Wed Mar 27 04:18:31 EDT 2019 from 10.172.194.67 on pts/0
Welcome to Ubuntu Disco Dingo (development branch) (GNU/Linux 5.0.0-7-generic s3
90x)
* Documentation: https:/ /help.ubuntu. com /landscape. canonical. com /ubuntu. com/advantage
* Management: https:/
* Support: https:/
ubuntu§hwe0007:ß$ ip a UP,LOWER_ UP> mtu 65536 qdisc noqueue state UNKNOWN group defaul MULTICAST> mtu 1500 qdisc noop state DOWN group default ql
ip a
1: lo: <LOOPBACK,
t qlen 1000
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: enc600: <BROADCAST,
en 1000
link/ether 02:28:0b:00:00:15 brd ff:ff:ff:ff:ff:ff
ubuntu§hwe0007:ß$
ubuntu§hwe0007:ß$ sudo netplan apply
sudo netplan apply
¬sudo| password for ubuntu: pass4now
ubuntu§hwe0007:ß$
ip a UP,LOWER_ UP> mtu 65536 qdisc noqueue state UNKNOWN group defaul MULTICAST, UP,LOWER_ UP> mtu 1500 qdisc fq_codel state UP gr bff:fe00: 15/64 scope link
ip a
1: lo: <LOOPBACK,
t qlen 1000
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: enc600: <BROADCAST,
oup default qlen 1000
link/ether 02:28:0b:00:00:15 brd ff:ff:ff:ff:ff:ff
inet 10.245.236.27/24 brd 10.245.236.255 scope global enc600
valid_lft forever preferred_lft forever
inet6 fe80::28:
valid_lft forever preferred_lft forever
ubuntu§hwe0007:ß$