Bug 1376429

Summary: iPXE cannot boot WDS (Windows Deployment Service) for automatic VM provisioning
Product: [Fedora] Fedora Reporter: Enrico Tagliavini <enrico.tagliavini>
Component: ipxeAssignee: Fedora Virtualization Maintainers <virt-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: berrange, crobinso, enrico.tagliavini, pbonzini, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipxe-20160622-1.git0418631.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-03 01:21:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
VM screenshot of the failure
none
VM screenshot with version 20160622-1.git0418631.fc26 none

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.