preseed installer fails to detect disks when NIC is specified

Bug #1612337 reported by ananke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
New
Undecided
Unassigned

Bug Description

When performing an unattended install of Ubuntu 16.04 via PXE & preseed, the installer fails to detect any storage devices when netcfg/choose_interface=eno1 is passed as an option.

If that option is not provided via APPEND, or set to 'auto', installer detects storage devices just fine.

Sample APPEND that will result in a failure to detect any storage devices:

APPEND auto=true vga=788 preseed/interactive=false netcfg/choose_interface=eno1 initrd=/images/linuxdistros/ubuntu/16.04/amd64/initrd.gz preseed/url=http://MYDOMAIN/preseed/ubuntu-16.04-preseed.cfg locale=en_US.UTF-8 keyboard-configuration/layoutcode=us hostname=unassigned --

When the 'netcfg/choose_interface=eno1' option is removed, storage devices are detected, also setting it to 'auto' seems to work.

content of ubuntu-16.04-preseed.cfg :

d-i debian-installer/locale string en_US
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/xkb-keymap select us
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string MYDOMAIN
d-i netcfg/wireless_wep string
d-i mirror/country string manual
d-i mirror/http/hostname string MYDOMAIN
d-i mirror/http/directory string /linux/ubuntu
d-i mirror/http/proxy string
d-i passwd/root-login boolean true
d-i passwd/make-user boolean false
d-i passwd/root-password-crypted password $hash
d-i user-setup/encrypt-home boolean false
d-i clock-setup/utc boolean true
d-i time/zone string US/Eastern
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string ntp.vt.edu
d-i partman-auto/method string lvm
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-auto-lvm/guided_size string 25GB
d-i partman-auto/expert_recipe string \
      boot-root :: \
              500 500 500 ext4 \
                      $primary{ } \
                      $bootable{ } \
                      method{ format } format{ } \
                      use_filesystem{ } filesystem{ ext4 } \
                      mountpoint{ /boot } \
              . \
              2000 2000 4000 xfs \
                      $lvmok{ } \
                      method{ format } format{ } \
                      use_filesystem{ } filesystem{ xfs } \
                      mountpoint{ / } \
              . \
              4000 1000 8000 xfs \
                      $lvmok{ } \
                      method{ format } format{ } \
                      use_filesystem{ } filesystem{ xfs } \
                      mountpoint{ /var } \
              . \
              8000 1000 12000 xfs \
                      $lvmok{ } \
                      method{ format } format{ } \
                      use_filesystem{ } filesystem{ xfs } \
                      mountpoint{ /usr } \
              . \
              2000 1000 80000 xfs \
                      $lvmok{ } \
                      method{ format } format{ } \
                      use_filesystem{ } filesystem{ xfs } \
                      mountpoint{ /home } \
              . \
              2000 1000 5000 xfs \
                      $lvmok{ } \
                      method{ format } format{ } \
                      use_filesystem{ } filesystem{ xfs } \
                      mountpoint{ /tmp } \
              . \
              1000 2000 4000 xfs \
                      $lvmok{ } \
                      method{ format } format{ } \
                      use_filesystem{ } filesystem{ xfs } \
                      mountpoint{ /opt } \
              . \
              2000 2000 25% linux-swap \
                      $lvmok{ } \
                      method{ swap } format{ } \
              .
d-i partman/default_filesystem string xfs
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman-md/confirm boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
tasksel tasksel/first multiselect ubuntu-server
d-i pkgsel/include string openssh-server build-essential mc etckeeper zsh
d-i pkgsel/upgrade select none
d-i pkgsel/update-policy select unattended-upgrades
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1612337/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → debian-installer (Ubuntu)
tags: added: xenial
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Can you extract and attach /var/log/* files from the d-i environment, when it fails?

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.