[Bug 1821867] Re: network interface is down after post-install reboot of a default disco installation
Launchpad Bug Tracker
1821867 at bugs.launchpad.net
Mon Apr 15 22:32:43 UTC 2019
This bug was fixed in the package netplan.io - 0.96-0ubuntu0.18.10.2
---------------
netplan.io (0.96-0ubuntu0.18.10.2) cosmic; urgency=medium
* d/p/0001-Partially-revert-the-change-for-enabling-systemd-net.patch:
Partially revert changes to networkd jobs ordering: leave systemd-networkd
enabled in multi-user.target instead of network-online.target, as in some
minimal setups there might be no job requiring network-online.target,
whereas the natural target to reach for booting is multi-user.target.
(LP: #1821867)
netplan.io (0.96-0ubuntu0.18.10.1) cosmic; urgency=medium
* Backport netplan.io 0.96 to 18.10.
* debian/patches/glib_changes.patch: Patch tests to work again on older GLib.
* debian/control: adjust Depends for cosmic / re-add nplan package.
netplan.io (0.96-0ubuntu1) disco; urgency=medium
* New upstream release 0.96.
- Moved netplan-wpa@ services to earlier at boot (LP: #1819014)
- Restart services when unconfiguring (LP: #1811868)
- Use the .nmconnection extension for NM keyfiles (LP: #1817655)
- Fixed integration tests runner to correctly report failures
- Enforce integrity for use-routes in networkd backend.
- Ensure terminal state at end of test (LP: #1817660)
- Various small test fixes.
- Fix typos in documentation.
* debian/control: Update Maintainer for ubuntu upload.
netplan.io (0.95-2) unstable; urgency=medium
* Set Priority to optional (Closes: #920327).
netplan.io (0.95-1) unstable; urgency=medium
* New upstream release.
* Update autopkgtests from the upstream.
* Add debian/watch following GitHub releases.
* Add Homepage (Closes: #917233).
netplan.io (0.95) disco; urgency=medium
* New upstream release:
- Added support for WPA Enterprise / 802.1x authentication (LP: #1739578)
- Added support for setting up IP tunnels; supporting the types: ipip,
gretap, VTI, ISATAP (NetworkManager only), sit, gre, ipip6 and ip6ip6.
+ Fixes sit (ipv6) tunnels using Hurricane Electric (LP: #1799487)
- Add support to override networkd UseMTU setting (LP: #1807273)
- Generate output files in dependency order
- Refactored unit and integration tests, along with various cleanups.
- Add DHCP overrides to control route usage and default metric for DHCP
routes. (LP: #1776228)
- Mitigate against bad matching on devices behind bonds then they share
the same MAC from a physical interface. (LP: #1804861)
- Added snapcraft.yaml.
netplan.io (0.90.1) disco; urgency=medium
* Do not assume /etc/network exists in postinst, as netbase 5.5 no longer
creates it.
* netplan/cli/commands/ip.py: fix a flake.
netplan.io (0.90) disco; urgency=medium
* New upstream release:
- build: fixes for building on RPM-based distros
- build: code prettiness changes (make indentation consistent)
- Fix device name-changes detection (LP: #1770082)
- Add support for IPv6 Privacy Extensions (LP: #1750392)
- Add dhcp{4,6}-overrides to control DNS, NTP, hostname updates via DHCP
(LP: #1759014)
- Clarify MAC and MTU setting requirements (LP: #1800668)
- Various documentation fixes (LP: #1800669)
- Improve error reporting to give clearer messages and context
(LP: #1800670)
- Skip non-physical/bond interfaces when applying renames (LP: #1802322)
-- Mathieu Trudel-Lapierre <cyphermox at ubuntu.com> Thu, 28 Mar 2019
13:57:46 -0400
** Changed in: netplan.io (Ubuntu Cosmic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1821867
Title:
network interface is down after post-install reboot of a default disco
installation
Status in Ubuntu on IBM z Systems:
Fix Committed
Status in netplan.io package in Ubuntu:
Fix Released
Status in netplan.io source package in Bionic:
Fix Committed
Status in netplan.io source package in Cosmic:
Fix Released
Bug description:
[Impact]
Minimal installs using netplan to configure the network.
[Test case]
1) Install Ubuntu minimal server / cloud image
2) Edit /etc/netplan/01-netcfg.yaml to configure the network as necessary.
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-networkd.service is included as an active service whenever multi-user.target is wanted (which is the default) instead of only when network-online.target is wanted, since the latter is optional and on some installations is not required at all. This does not change the ordering of boot at all since in both cases systemd-networkd.service is correctly Before=network.target, and it is Before/After, not Wants/Requires, that determines ordering.
---
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,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group defaul
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,MULTICAST> mtu 1500 qdisc noop state DOWN group default ql
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 |
addresses:
- "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,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP gr
oup default qlen 1000
link/ether 02:28:0b:00:00:15 brd ff:ff:ff:ff:ff:ff
inet6 fe80::28:bff:fe00:15/64 scope link
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,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP gr
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:bff:fe00:15/64 scope link
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1821867/+subscriptions
More information about the foundations-bugs
mailing list