[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
Thu Apr 29 02:04:45 UTC 2021


Well in the focal -> groovy time we find this change
(http://launchpadlibrarian.net/481474731/initramfs-
tools_0.137ubuntu4_0.137ubuntu5.diff.gz):

 	# activate non-autoconfigured s390x devices
 	for dev in $DEVICE $DEVICE6 $IP6 $VLAN_LINK; do
+		# skip $DEVICE which is processed in $VLAN_LINK
+		echo ${VLAN} | grep -q ${dev} && continue
 		case ${dev} in
 		enc*)
 			zdev=${dev#enc}

which I think is just wrong: it's trying to avoid calling chzdev -e on
the encc000.2653 device but it also avoids calling it on encc000 :(

-- 
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