Test Day:2009-09-17 Virtualization gPXE

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Who's available)
m (Changed category)
 
(2 intermediate revisions by 2 users not shown)
Line 17: Line 17:
 
=== Who's available ===
 
=== Who's available ===
  
[[User:FIXME|FIXME]] is your host for today.
+
[[User:Markmc|Mark McLoughlin]] is your host for today.
  
 
The following people have also agreed to be available for testing, workarounds, bug fixes, and general discussion:
 
The following people have also agreed to be available for testing, workarounds, bug fixes, and general discussion:
  
 
* [[User:Quintela|Juan QUintela]]
 
* [[User:Quintela|Juan QUintela]]
 +
* [[User:Sandeep|Sandeep K Shandilya]]
 
* ''add your name here''
 
* ''add your name here''
  
Line 31: Line 32:
 
=== Test Cases ===
 
=== Test Cases ===
  
Things to test, roughly in dependency order:
+
If you have a PXE boot server available, testing gPXE is pretty straightforward:
  
{{admon/note|FIXME|List test cases for the feature.}}
+
* Make sure the guest can access the network which the PXE server is on, e.g. by [http://wiki.libvirt.org/page/Networking#Fedora.2FRHEL_Bridging configuring a bridge].
 +
* Define a guest which which will PXE boot from that network:
 +
:<pre>
 +
:  $> cat > netboot.xml <<EOF
 +
:  <domain type='kvm'>
 +
:    <name>netboot</name>
 +
:    <memory>524288</memory>
 +
:    <os>
 +
:      <type arch='x86_64' machine='pc'>hvm</type>
 +
:      <boot dev='network'/>
 +
:    </os>
 +
:    <devices>
 +
:      <emulator>/usr/bin/qemu-kvm</emulator>
 +
:      <interface type='bridge'>
 +
:        <source bridge='br0'/>
 +
:        <model type='virtio'/>
 +
:      </interface>
 +
:      <graphics type='vnc'/>
 +
:    </devices>
 +
:  </domain>
 +
:  EOF
 +
:  $> virsh define netboot.xml
 +
:  $> virsh start netboot
 +
:  $> virt-viewer netboot
 +
:</pre>
 +
* Confirm that the guest has obtained a DHCP address and download the appropriate files via TFTP
 +
* If that fails, try again with etherboot to see if its a regression:
 +
:<pre>
 +
:  $> yum install -y etherboot-zroms-kvm
 +
:  $> mv /usr/share/qemu/pxe-virtio.bin /usr/share/qemu/pxe-virtio.bin.orig
 +
:  $> ln -s /usr/share/etherboot/virtio-net.zrom /usr/share/qemu/pxe-virtio.bin
 +
:  $> virsh destroy netboot
 +
:  $> virsh start netboot
 +
:  $> virt-viewer netboot
 +
:</pre>
 +
* Report any issues found
 +
* Clean up
 +
:<pre>
 +
:  $> mv /usr/share/qemu/pxe-virtio.bin.orig /usr/share/qemu/pxe-virtio.bin
 +
:  $> virsh destroy netboot
 +
:  $> virsh undefine netboot
 +
:</pre>
  
 
=== Issues that were identified ===
 
=== Issues that were identified ===
Line 44: Line 86:
 
|}
 
|}
  
[[Category:Test Days]]
+
[[Category:Fedora_12_Test_Days]]
 
[[Category:Virtualization]]
 
[[Category:Virtualization]]

Latest revision as of 14:21, 3 February 2010

DATE TIME WHERE
Thursday Sep 17, 2009 All day #fedora-test-day (webchat)

Contents

[edit] What to test?

This part of today's Fedora Test Day will focus on testing the gPXE Fedora 12 feature.

Package-x-generic-16.pnggpxe is a replacement for the - now deprecated - Package-x-generic-16.pngetherboot. Testing will focus on ensuring that the switch from etherboot to gPXE has not introduced any regressions.

If you come to this page after the test day is completed, your testing is still valuable, and you can use the information on this page to test gPXE and provide feedback.

[edit] Who's available

Mark McLoughlin is your host for today.

The following people have also agreed to be available for testing, workarounds, bug fixes, and general discussion:

[edit] What's needed to test

  • A fully updated Fedora 12 Rawhide machine. See instructions on the main test day page.
  • A PXE boot server.

[edit] Test Cases

If you have a PXE boot server available, testing gPXE is pretty straightforward:

  • Make sure the guest can access the network which the PXE server is on, e.g. by configuring a bridge.
  • Define a guest which which will PXE boot from that network:
$> cat > netboot.xml <<EOF
<domain type='kvm'>
<name>netboot</name>
<memory>524288</memory>
<os>
<type arch='x86_64' machine='pc'>hvm</type>
<boot dev='network'/>
</os>
<devices>
<emulator>/usr/bin/qemu-kvm</emulator>
<interface type='bridge'>
<source bridge='br0'/>
<model type='virtio'/>
</interface>
<graphics type='vnc'/>
</devices>
</domain>
EOF
$> virsh define netboot.xml
$> virsh start netboot
$> virt-viewer netboot
  • Confirm that the guest has obtained a DHCP address and download the appropriate files via TFTP
  • If that fails, try again with etherboot to see if its a regression:
$> yum install -y etherboot-zroms-kvm
$> mv /usr/share/qemu/pxe-virtio.bin /usr/share/qemu/pxe-virtio.bin.orig
$> ln -s /usr/share/etherboot/virtio-net.zrom /usr/share/qemu/pxe-virtio.bin
$> virsh destroy netboot
$> virsh start netboot
$> virt-viewer netboot
  • Report any issues found
  • Clean up
$> mv /usr/share/qemu/pxe-virtio.bin.orig /usr/share/qemu/pxe-virtio.bin
$> virsh destroy netboot
$> virsh undefine netboot

[edit] Issues that were identified

Tester Description Bug references Status
#XXXXX ASSIGNED