[Bug 1924794] Re: Getting error "ipconfig: no devices to configure" while trying to autoinstall in a VLAN env on s390x
Michael Hudson-Doyle
1924794 at bugs.launchpad.net
Wed Apr 21 23:18:15 UTC 2021
The part of this that doesn't make sense is "ip: can't find device
'encc000'" -- is that device just not appearing in time? It should be
chzdev activated just before the initramfs code tries to set up the
vlan, maybe it's a race? (is this behaviour consistent?). It's strange
that using the nic without a vlan works but there is a bit more time
(and a wait for udev, hmm) between the device getting chzdev-ed and used
in that case.
The code in initramfs-tools hasn't changed at all here between groovy
and hirsute so I don't know what's changed. We can always blame the
kernel I guess.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/1924794
Title:
Getting error "ipconfig: no devices to configure" while trying to
autoinstall in a VLAN env on s390x
Status in initramfs-tools:
New
Status in subiquity:
New
Status in Ubuntu on IBM z Systems:
New
Status in casper package in Ubuntu:
New
Bug description:
Trying to autoinstall on a LPAR (that is connected to a VLAN
environment) and using the 21.04 image from today (time stamp April
16th) fails and to boot ends up with the following error message:
BusyBox v1.30.1 (Ubuntu 1:1.30.1-6ubuntu2) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) [6n
ip: SIOCGIFFLAGS: No such device
ip: can't find device 'encc000'
ipconfig: encc000.2653: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: encc000.2653: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: encc000.2653: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: encc000.2653: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: encc000.2653: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: encc000.2653: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: encc000.2653: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: encc000.2653: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: encc000.2653: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
ipconfig: encc000.2653: SIOCGIFINDEX: No such device
ipconfig: no devices to configure
no search or nameservers found in /run/net-encc000.2653.conf /run/net-*.conf /ru
n/net6-*.conf
Connecting to installserver:80 (installserver:80)
wget: can't connect to remote host (installserver): Network is unreachable
Unable to find a live file system on the network
So the network device encc000 and it related encc000.2653 is not
automatically activated/enabled like it was in the past.
It worked in the past with the same config I used today
ip=10.245.236.14::10.245.236.1:255.255.255.0:hostname:encc000.2653:none:10.245.236.1 vlan=encc000.2653:encc000 url=http://installserver:80/ubuntu-live-server-21.04/hirsute-live-server-s390x.iso autoinstall ds=nocloud-net;s=http://installserver:80/autoinstall/hostname/ --- quiet
With "worked in the past" I mean it's already a while ago when I tried
it last time - right now it does not seem to work with 21.04 and
20.04.2 - BUT only on this particular environment where I have to
specify the VLAN as kernel arg ("parm-file").
It works in a different non VLAN environments (for example in a z/VM
guest environment where I do NOT have to specify the VLAN at the
autoistall config, since the VLAN is handled there by the z/VM
vSwitch).
Doing an interactive installation on this particular LPAR (incl.
specifying the VLAN id) works fine!
To manage notifications about this bug go to:
https://bugs.launchpad.net/initramfs-tools/+bug/1924794/+subscriptions
More information about the foundations-bugs
mailing list