Install problem of Ubuntu on a z/VM Guest which has more than one NICDEF stmt

Bug #1670301 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Expired
Medium
Unassigned
debian-installer (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When trying to install Ubuntu distro on one of the IBM z/VM Guests which has more than one NICDEF statement defined in the user directory (Connected to more than one Vswitch at once) the installation process will add the network interface based on the ascending order of the NIC and not based on the param file

- Machine Type = z/vM level 6.3 LPAR Z12
- Debugger = A debugger is not configured

---Steps to Reproduce---

System Information:
z/VM level 6.3 or 6.4
VSWITCH1 (VS1) - NIC 700 ( 9dot)
VSWITCH2 (VS2) - NIC 900 (172dot)

Recreate Steps:
---------------------
1. Create a new z/VM guests with connections to 2 different VSWITCHEs - VS1 and VS2 (nic 700 and 900 respectively)
2. Start Installation via IBM Wave product and choose IP to be from VS2.
The param file will be created as bellow:

IGUB1610.INSTBASE:
ro locale=C
s390-netdevice/choose_networktype=qeth s390-netdevice/qeth/layer2=true s390-netd
evice/qeth/port=0 s390-netdevice/qeth/choose=0.0.0900,0.0.0901,0.0.0902 netcfg/c
onfirm_static=true netcfg/get_ipaddress=xxx.x.xxx.131 netcfg/get_hostname= netc
fg/hostname="IGUB1610" netcfg/get_domain= netcfg/disable_dhcp=true netcfg/get_g
ateway=xxx.x.xxx.254 netcfg/get_netmask=255.255.224.0 netcfg/disable_autoconfig=
true netcfg/use_autoconfig=false netcfg/get_nameservers=127.0.0.1 disk-detect/mu
ltipath/enable=true network-console/password=xxxxxx network-console/password-a
gain=password mirror/protocol=ftp mirror/ftp/hostname=davidre:<RepoPassword>@xxx
.x.xxx.5 mirror/ftp/directory=//nfs/repo/Ubuntu16.10/

3. Open z/VM guest and follow the installation process until the SSH session will be opened

Actual Result:

The SSH session is not opened and the IP remains unpingable since the Network interface that is added to the Guest at the installation beginning is etc700 instead etc900 that we expect for Vswitch 172dot

Checked for other vswitches and it is always the same story - the network interface is added based on the ascending order of the available nics. In case Guest connected to 3 different vswitchs with NICs 300, 700, 900 and installation started for NIC 900, anyway the network in the installation will be 300

Output from 3270 guest's console:

Kernel command line: ro locale=C
                                    s390-netdevice/choose_networktype=qeth s390-
netdevice/qeth/layer2=true s390-netdevice/qeth/port=0 s390-netdevice/qeth/choose
=0.0.0900,0.0.0901,0.0.0902 netcfg/confirm_static=true netcfg/get_ipaddress=xxx.x.xxx.131 netcfg/get_hostname= netcfg/hostname="IGUB1610" netcfg/get_domain= n
etcfg/disable_dhcp=true netcfg/get_gateway=xxx.x.xxx.254 netcfg/get_netmask=255.
255.224.0 netcfg/disable_autoconfig=true netcfg/use_autoconfig=false netcfg/get_
nameservers=127.0.0.1 disk-detect/multipath/enable=true network-console/password

                                              Detecting link on enc700; please wait...
Expected:

The network interface should be added based on the one provided in the param file

Impact: Not possible to install Ubuntu on Guest that have more than one vswitch and the Vswitch for which we want installation to be done is not the first in the order (NICs order)

bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-152141 severity-high targetmilestone-inin1704
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Please provide the installer logs from the running installer, specifically /var/log/syslog

affects: linux (Ubuntu) → debian-installer (Ubuntu)
Changed in debian-installer (Ubuntu):
status: New → Incomplete
description: updated
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: New → Incomplete
tags: added: s390x
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2017-05-05 05:30 EDT-------
Mirror test comment

Revision history for this message
Frank Heimes (fheimes) wrote :
Download full text (31.3 KiB)

Somehow the log didn't found it's way from bugzilla to lauchpad.

Here we go:

Mar 6 11:47:47 syslogd started: BusyBox v1.22.1
Mar 6 11:47:47 kernel: klogd started: BusyBox v1.22.1 (Ubuntu 1:1.22.0-19ubuntu
2)
Mar 6 11:47:47 kernel: [ 0.372702] Linux version 4.8.0-22-generic (buildd@z1
3-019) (gcc version 6.2.0 20161005 (Ubuntu 6.2.0-5ubuntu12) ) #24-Ubuntu SMP Sat
Oct 8 09:16:20 UTC 2016 (Ubuntu 4.8.0-22.24-generic 4.8.0)
Mar 6 11:47:47 kernel: [ 0.372710] setup: Linux is running as a z/VM guest o
perating system in 64-bit mode
Mar 6 11:47:47 kernel: [ 0.380674] setup: Max memory size: 1024MB
Mar 6 11:47:47 kernel: [ 0.380776] Write protected kernel read-only data: 97
76k
Mar 6 11:47:47 kernel: [ 0.392255] Zone ranges:
Mar 6 11:47:47 kernel: [ 0.392259] DMA [mem 0x0000000000000000-0x0000
00007fffffff]
Mar 6 11:47:47 kernel: [ 0.392261] Normal empty
Mar 6 11:47:47 kernel: [ 0.392262] Movable zone start for each node
Mar 6 11:47:47 kernel: [ 0.392262] Early memory node ranges
Mar 6 11:47:47 kernel: [ 0.392263] node 0: [mem 0x0000000000000000-0x000
000003fffffff]
Mar 6 11:47:47 kernel: [ 0.392266] Initmem setup node 0 [mem 0x0000000000000
000-0x000000003fffffff]
Mar 6 11:47:47 kernel: [ 0.392268] On node 0 totalpages: 262144
Mar 6 11:47:47 kernel: [ 0.392269] DMA zone: 4096 pages used for memmap
Mar 6 11:47:47 kernel: [ 0.392270] DMA zone: 0 pages reserved
Mar 6 11:47:47 kernel: [ 0.392271] DMA zone: 262144 pages, LIFO batch:31
Mar 6 11:47:47 kernel: [ 0.395670] percpu: Embedded 20 pages/cpu @000000003e
a80000 s44800 r8192 d28928 u81920
Mar 6 11:47:47 kernel: [ 0.395676] pcpu-alloc: s44800 r8192 d28928 u81920 al
loc=20*4096
Mar 6 11:47:47 kernel: [ 0.395677] pcpu-alloc: [0] 00 [0] 01 [0] 02 [0] 03 [
0] 04 [0] 05 [0] 06 [0] 07
Mar 6 11:47:47 kernel: [ 0.395680] pcpu-alloc: [0] 08 [0] 09 [0] 10 [0] 11 [
0] 12 [0] 13 [0] 14 [0] 15
Mar 6 11:47:47 kernel: [ 0.395683] pcpu-alloc: [0] 16 [0] 17 [0] 18 [0] 19 [
0] 20 [0] 21 [0] 22 [0] 23
Mar 6 11:47:47 kernel: [ 0.395686] pcpu-alloc: [0] 24 [0] 25 [0] 26 [0] 27 [
0] 28 [0] 29 [0] 30 [0] 31
Mar 6 11:47:47 kernel: [ 0.395710] Built 1 zonelists in Zone order, mobility
grouping on. Total pages: 258048 ...

Revision history for this message
Frank Heimes (fheimes) wrote :

VM guest hwe0010 setup with two NICs:
qeth 0.0.0600:0.0.0601:0.0.0602 yes yes enc600
qeth 0.0.0603:0.0.0604:0.0.0605 no no

Changed in ubuntu-z-systems:
status: Incomplete → Triaged
bugproxy (bugproxy)
tags: removed: bugnameltc-152141 s390x severity-high
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
importance: Undecided → Medium
status: Triaged → Incomplete
bugproxy (bugproxy)
tags: added: bugnameltc-152141 severity-high
tags: added: id-5a7c3ec977f4904d27bfffff
Changed in debian-installer (Ubuntu):
assignee: Skipper Bug Screeners (skipper-screen-team) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu on IBM z Systems because there has been no activity for 60 days.]

Changed in ubuntu-z-systems:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for debian-installer (Ubuntu) because there has been no activity for 60 days.]

Changed in debian-installer (Ubuntu):
status: Incomplete → Expired
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2018-11-12 05:34 EDT-------
@Igor. Any update available ..???

bugproxy (bugproxy)
tags: added: targetmilestone-inin---
removed: targetmilestone-inin1704
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.