PXE install prefixes /cdrom to squashfs location, fails to find it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
live-installer (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre | ||
Xenial |
Fix Released
|
High
|
Mathieu Trudel-Lapierre | ||
Yakkety |
Fix Released
|
High
|
Mathieu Trudel-Lapierre |
Bug Description
[Impact]
This impacts any network installs specifying live-installer/
[Test case]
1) Boot on netinstall image to grub menu; it 'e' for edit;
2) Add 'live-installer
3) Hit F10 to boot with the changes.
Installation should complete successfully.
[Regression Potential]
Minimal; this is meant to fix a bug that was introduced that currently breaks all uses of net-image that don't use a path relative to /cdrom, which used to be possible; and only enforces the proper handling of URIs as absolute paths instead of prepending them with '/cdrom'. URI-like syntax in typical filesystem paths is not something that is supported.
---
Attempting to use PXE to install 16.04 results in an error dialog that states "The failing step is: Install the system". Checking syslog shows that it has prefixed the URL to the filesystem.squashfs with "/cdrom" and failed to find the file.
base-installer: info: Downloading /cdromhttp:
Setting the path to the filesystem.squashfs by either the "append" option in the PXE default file, or as a preseed option in the kickstart file both have the same result.
My PXE menu option:
LABEL Ubuntu 16.04 Desktop
MENU LABEL Xenial 16.04 Desktop
KERNEL 1604/ubuntu-
append vga=normal ks=http://
I found a changelog for live-installer 51ubuntu1 dated 4/18/16 that states it strips /cdrom/ prefix from all places, but this does not appear to be happening. The log line points to base-installer rather than live-installer as the cause.
This is from the 16.04 server release ISO, running base-installer_
I would expect that locating the live-installer filesystem.squashfs would not prefix the specified URL with /cdrom. Previous versions of Ubuntu did not do this.
Changed in live-installer (Ubuntu Xenial): | |
milestone: | none → ubuntu-16.04.1 |
importance: | Undecided → High |
status: | New → Triaged |
Changed in live-installer (Ubuntu Xenial): | |
assignee: | nobody → Mathieu Trudel-Lapierre (cyphermox) |
Changed in live-installer (Ubuntu Xenial): | |
status: | Triaged → In Progress |
description: | updated |
I am facing the similar issue while attempting to PXE boot Ubuntu 16.04 LTS version over corporate Network fetch-url/ /cdromhttp
This looks like a 100% bug because I followed the exact same steps as Ubuntu 14.x and 15.x however earlier versions PXE install
smoothly whereas Ubuntu 16.04 LTS version errors out saying "installation error ocurred" and logs show live installer image not found , Can't open /usr/lib/
As you can see its prefixing cdrom which should not happen. I have spent hours testing and finding workarounds for this however this seems like a bug in the code. Request you to fix this. We are currently doing a POC on 16.04 LTS and if everything goes successfully, we may need to mass deploy this in our environment. We can't be deploying using CDROM on every machine and need to a mechanism where PXE via netboot works smoothly
Request the developers to have a look at this and come up with a patch or fix for this.