Bug 1376429 - iPXE cannot boot WDS (Windows Deployment Service) for automatic VM provisioning
Summary: iPXE cannot boot WDS (Windows Deployment Service) for automatic VM provisioning
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ipxe
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Virtualization Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-15 12:11 UTC by Enrico Tagliavini
Modified: 2017-01-03 01:21 UTC (History)
5 users (show)

Fixed In Version: ipxe-20160622-1.git0418631.fc24
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-03 01:21:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
VM screenshot of the failure (34.92 KB, image/png)
2016-09-15 12:11 UTC, Enrico Tagliavini
no flags Details
VM screenshot with version 20160622-1.git0418631.fc26 (32.71 KB, image/png)
2016-12-05 08:18 UTC, Enrico Tagliavini
no flags Details

Description Enrico Tagliavini 2016-09-15 12:11:16 UTC
Created attachment 1201193 [details]
VM screenshot of the failure

Description of problem:
Tried to install Windows 10 on a VM created with virt-manager using the Windows Deployment Service. This seems to fail because the correct gateway parameter seems not to be passed over. The following TFTP connection to the Deployment Server fails since the client and the server and in two separated subnetworks. See also the attached screenshot. Notice DHCP received the correct gateway and the first TFTP request succeeded. The second one however does not and 0.0.0.0 is used as a gateway.

Using iPXE from http://boot.ipxe.org/ipxe.iso works as expected and the deployment complete successfully without any further change.


Version-Release number of selected component (if applicable):
$ rpm -qa | grep ipxe
ipxe-roms-qemu-20150821-3.git4e03af8.fc24.noarch

How reproducible:
Always

Steps to Reproduce:
1. I used virt-manager to create a VM with OS type Windows
2. Configure the network so the VM will send the DHCP request on the domain network (don't use NAT). macvtap or bridges can be used.
3. Configure the boot option by adding the network interface.
4. Enable boot menu to be able to select which device to boot

Actual results:
See screenshot, second TFTP request fails

Expected results:
Windows deployment should proceed

Additional info:
Downloading the upstream provided iso image for iPXE (available at http://boot.ipxe.org/ipxe.iso ), attaching such iso to the cdrom of the virtual machine and booting from the cdrom instead of the network (thus not using the fedora provided iPXE image, to my best understanding) works as expected and Windows deploys successfully.

This both when using virtio network card or rtl8139.

Comment 1 Cole Robinson 2016-12-04 23:11:04 UTC
Thanks for the report. Can you check to see if the issue is fixed in the fedora 25 or rawhide ipxe packages? If so I'll pull those versions into f24

You can download the f25 RPMs with:

  koji download-build ipxe-20160622-1.git0418631.fc26

Comment 2 Enrico Tagliavini 2016-12-05 08:18:44 UTC
Created attachment 1228010 [details]
VM screenshot with version 20160622-1.git0418631.fc26

I think this should fix the issue. I've attached the screenshot with RPMs from koji 20160622-1.git0418631.fc26. Now TFTP download doesn't fail. Ignore the error later, that's because the domain controller is configured to refuse deployment requests by default (since I already deployed the VM with ipxe ISO no need to redeploy). I also verified the ipxe ISO that succeed to deploy my install few months ago gets the same error if used now.

Thank you

Comment 3 Fedora Update System 2016-12-22 21:05:11 UTC
ipxe-20160622-1.git0418631.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-52009974ab

Comment 4 Fedora Update System 2016-12-23 15:22:08 UTC
ipxe-20160622-1.git0418631.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-52009974ab

Comment 5 Fedora Update System 2017-01-03 01:21:34 UTC
ipxe-20160622-1.git0418631.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.