Difference between revisions of "Fedora Test Days"

From Xen
m (Installing libvirt & C.)
m (Joining the Test Day)
 
(20 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
According to the Fedora Project's [https://fedoraproject.org/wiki/Fedora_Project_Wiki Wiki], [https://fedoraproject.org/wiki/QA/Test_Days?rd=Test_Days Fedora Test Days] are ''"an opportunity to exercise a completed, or in-development, [https://fedoraproject.org/wiki/Features Feature] planned for an upcoming Fedora release. Each Test Day brings something unique and you're encouraged to join and share your ideas, tests, and results."''
 
According to the Fedora Project's [https://fedoraproject.org/wiki/Fedora_Project_Wiki Wiki], [https://fedoraproject.org/wiki/QA/Test_Days?rd=Test_Days Fedora Test Days] are ''"an opportunity to exercise a completed, or in-development, [https://fedoraproject.org/wiki/Features Feature] planned for an upcoming Fedora release. Each Test Day brings something unique and you're encouraged to join and share your ideas, tests, and results."''
   
For Fedora 18, the complete schedule of Test Days can be found [http://fedoraproject.org/wiki/QA/Fedora_18_test_days here]. To know ''what Test Day is Today?'', just go to [https://fedoraproject.org/wiki/Test_Day:Current this page].
+
For Fedora 20, the complete schedule of Test Days can be found [http://fedoraproject.org/wiki/QA/Fedora_20_test_days here]. To know ''what Test Day is Today?'', just go to [https://fedoraproject.org/wiki/Test_Day:Current this page].
   
 
Test Days happen (typically) on IRC in the [irc://irc.freenode.net/fedora-test-day #fedora-test-day] channel on Freenode.
 
Test Days happen (typically) on IRC in the [irc://irc.freenode.net/fedora-test-day #fedora-test-day] channel on Freenode.
Line 11: Line 11:
 
It is common practice for one of the Test Days to be about [https://fedoraproject.org/wiki/Virtualization Virtualization]. That is why the subject is relevant to this Wiki: the [https://fedoraproject.org/wiki/Virtualization Fedora Virtualization Test Day] is a real good occasion to verify how Xen will work in the upcoming version of the distribution.
 
It is common practice for one of the Test Days to be about [https://fedoraproject.org/wiki/Virtualization Virtualization]. That is why the subject is relevant to this Wiki: the [https://fedoraproject.org/wiki/Virtualization Fedora Virtualization Test Day] is a real good occasion to verify how Xen will work in the upcoming version of the distribution.
   
The [https://fedoraproject.org/wiki/Virtualization Virtualization Test Day] for Fedora 18 is happening on '''2012-11-01'''
+
<del>The [https://fedoraproject.org/wiki/Test_Day:2012-11-01_Virtualization Virtualization Test Day] for Fedora 18 is happening on '''2012-11-01'''</del>
  +
  +
The [https://fedoraproject.org/wiki/Test_Day:2013-10-08_Virtualization Virtualization Test Day] for Fedora 20 is happening on '''2013-10-08'''
   
 
= Preparing the Host =
 
= Preparing the Host =
   
It may sound obvious, but the first thing one needs to test how Xen works on a new Alpha/Beta release of Fedora... Is an actual host machine equipped with such a release of Fedora ([https://fedoraproject.org/wiki/Test_Results:Fedora_18_Beta_TC6_Desktop?rd=Test_Results:Current_Desktop_Test|Fedora 18 Beta TC6] at the time of writing). This section quickly goes through the various steps needed to get there.
+
It may sound obvious, but the first thing one needs to test how Xen works on a new Alpha/Beta release of Fedora... Is an actual host machine equipped with such a release of Fedora ([https://fedoraproject.org/wiki/Test_Results:Fedora_20_Beta_TC1_Desktop?rd=Test_Results:Current_Desktop_Test|Fedora 20 Beta TC1] at the time of writing). This section quickly goes through the various steps needed to get there.
   
 
== Obtaining the Install Media ==
 
== Obtaining the Install Media ==
   
During Beta phase, a reasonable image to download for your testing can usually be found [https://fedoraproject.org/w/index.php?title=Test_Results:Current_Base_Test&redirect=no here]. (Note that, in all the subsection below, the ''18-Beta-TC6'' part is just a placeholder; all are valid URLs at the time of writing, but it should be changed accordingly, depending on when testing happens.)
+
During Beta phase, a reasonable image to download for your testing can usually be found [https://fedoraproject.org/w/index.php?title=Test_Results:Current_Base_Test&redirect=no here]. (Note that, in all the subsection below, the ''20-Beta-TC1'' part is just a placeholder; all are valid URLs at the time of writing, but it should be changed accordingly, depending on when testing happens.)
   
 
=== DVD or Live Images ===
 
=== DVD or Live Images ===
   
 
Full DVD installer images are available here:
 
Full DVD installer images are available here:
https://dl.fedoraproject.org/pub/alt/stage/18-Beta-TC6/Fedora/
+
https://dl.fedoraproject.org/pub/alt/stage/20-Beta-TC1/Fedora/
   
 
While LiveCD images can be fetched at this url:
 
While LiveCD images can be fetched at this url:
https://dl.fedoraproject.org/pub/alt/stage/18-Beta-TC6/Live/x86_64/
+
https://dl.fedoraproject.org/pub/alt/stage/20-Beta-TC1/Live/x86_64/
   
 
=== PXEboot ===
 
=== PXEboot ===
   
in a PXEboot environment, kernel and RAMfs for the installer can be downloaded via the following commands
+
For setting up a PXEboot environment, kernel and RAMfs for the installer can be downloaded via the following commands:
 
<pre>
 
<pre>
wget https://dl.fedoraproject.org/pub/alt/stage/18-Beta-TC6/Fedora/x86_64/os/images/pxeboot/initrd.img
+
wget https://dl.fedoraproject.org/pub/alt/stage/20-Beta-TC1/Fedora/x86_64/os/images/pxeboot/initrd.img
wget https://dl.fedoraproject.org/pub/alt/stage/18-Beta-TC6/Fedora/x86_64/os/images/pxeboot/vmlinuz
+
wget https://dl.fedoraproject.org/pub/alt/stage/20-Beta-TC1/Fedora/x86_64/os/images/pxeboot/vmlinuz
 
</pre>
 
</pre>
  +
  +
After that, point your PXEboot configuration to http://dl.fedoraproject.org/pub/alt/stage/20-Beta-TC1/Fedora/x86_64/os/, as described [http://fedoraproject.org/wiki/QA:Testcase_Boot_Methods_Pxeboot here].
   
 
== Installing the Host ==
 
== Installing the Host ==
Line 41: Line 45:
 
=== Installing and Configuring Fedora ===
 
=== Installing and Configuring Fedora ===
   
This should happen in the usual way you install Fedora. Given the very specific purpose of this installation (testing running VM with Xen on Fedora), anything you can find in the Categories [[:Category:Host Install]] and [[:Category:Host Configuration]] on this Wiki can be considered useful.
+
This should happen in the usual way you install Fedora. Given the very specific purpose of this installation (testing running VM with Xen on Fedora), check out the various pages in the following categories (on this Wiki): [[:Category:Host Install]] and [[:Category:Host Configuration]].
   
 
Also, the [[Fedora Host Installation]] (still on this Wiki) contains some more specific information about the subject, especially useful post-install Xen-related configuration tips.
 
Also, the [[Fedora Host Installation]] (still on this Wiki) contains some more specific information about the subject, especially useful post-install Xen-related configuration tips.
Line 50: Line 54:
 
<pre>yum install xen</pre>
 
<pre>yum install xen</pre>
   
And you're all set, the hypervisor plus all its dependencies will be installed, GRUB menu will be updated, etc.
+
And you're all set, the hypervisor plus all its dependencies will be installed, GRUB menu will be updated, etc. A lot more details are available on the [[Fedora Host Installation]] page, on this Wiki.
  +
  +
After reboot, remember to make sure that <code>xenconsoled.service</code> and <code>xenstored.service</code> are enabled and running. If not, do the following:
  +
<pre>
  +
# systemctl enable xenstored
  +
# systemctl start xenstored
  +
</pre>
  +
(and the same for <code>xenconsoled</code>)
   
 
=== Installing libvirt & C. ===
 
=== Installing libvirt & C. ===
   
Almost all the [https://fedoraproject.org/wiki/Category:Virtualization_Test_Cases TestCases] for the Fedora Virtualization Test Day will require you to use [http://libvirt.org/ libvirt] or [http://virt-manager.org/ virt-manager], so let's install them via (tested on Fedora 18):
+
Almost all the [https://fedoraproject.org/wiki/Category:Virtualization_Test_Cases Test Cases] for the Fedora Virtualization Test Day will require you to use [http://libvirt.org/ libvirt] or [http://virt-manager.org/ virt-manager], so let's install them via (tested on Fedora 20):
<pre>yum install libvirt-daemon-xen libvirt-daemon-config-network libvirt-daemon-driver-network virt-manager python-virtinst virt-viewer libguestfs-tools-c</pre>
+
<pre>yum install libvirt-daemon-xen libvirt-daemon-config-network virt-manager virt-install virt-manager virt-viewer libguestfs-tools-c</pre>
   
  +
For this too, refer to the [[Fedora Host Installation]] page, on this Wiki.
== Going for a Live ==
 
  +
  +
== Going for a LiveCD (old) ==
   
 
A live CD/USB stick can be used as well. Although probably less powerful as a testing environment, it may turn out to be very convenient, in case you don't have any spare hardware handy. Instruction on how to create a Fedora live image can be found [https://fedoraproject.org/wiki/How_to_create_and_use_Live_USB?rd=FedoraLiveCD/USBHowTo here].
 
A live CD/USB stick can be used as well. Although probably less powerful as a testing environment, it may turn out to be very convenient, in case you don't have any spare hardware handy. Instruction on how to create a Fedora live image can be found [https://fedoraproject.org/wiki/How_to_create_and_use_Live_USB?rd=FedoraLiveCD/USBHowTo here].
   
  +
An *old* LiveCD (Fedora 18 Beta as Dom0, with Xen 4.2.0 as hypervisor) is available here: [http://xenbits.xen.org/people/dariof/Live/Fedora/Virt-TestDay-Xen.iso Virt-TestDay-Xen.iso]. Report any issue (with the download o with the actual functionalities, if you think it's related to the LiveCD creation process) to [mailto:dario.faggioli@citrix.com dario.faggioli@citrix.com].
  +
  +
Go download it and enjoy being able to start creating VMs with Xen on Fedora without the need to install anything!!
  +
  +
= Joining the Test Day =
  +
  +
You're all set, just login on Test Days [irc://irc.freenode.net/fedora-test-day #fedora-test-day] (webirc available [http://webchat.freenode.net/?channels=fedora-test-day) here]) and have fun!
  +
  +
Both the official Virtualization Test Day [https://fedoraproject.org/wiki/Test_Day:2012-11-01_Virtualization Wiki page] and the full list of [https://fedoraproject.org/wiki/Category:Virtualization_Test_Cases Virtualization Test Cases] offer a great amount of use cases that are definitely worthwhile to test.
  +
  +
Of course, although verifying that Xen and the libvirt-related tools are well integrated and fully functional in the next Fedora release is of paramount importance, also trying out whether and how the Xen default toolstack (libxl/xl, as you'll most likely be dealing with Xen >= 4.2) works, as it happens during [[Xen Project Test Days | Test Days]] (like the one we had for [[Xen 4.5 RC3 test instructions | Xen 4.5 RC3]]).
  +
  +
= Pushing Out Results =
  +
  +
Of course, be sure you report anything you find out during the Test Day to the proper places. There are some of the mailing lists you want to post your success story on, or talk about the issues you had:
  +
  +
* [https://lists.fedoraproject.org/mailman/listinfo/devel fedora-devel] ([mailto:devel@lists.fedoraproject.org devel@lists.fedoraproject.org]) and/or [http://lists.xen.org/mailman/listinfo/xen-devel xen-devel] ([mailto:xen-devel@lists.xen.org xen-devel@lists.xen.org]), for things you think could be bugs that need developers' attention;
  +
  +
* [https://lists.fedoraproject.org/mailman/listinfo/xen Fedora Xen] (mailto:xen@lists.fedoraproject.org xen@lists.fedoraproject.org) and/or [http://lists.xen.org/mailman/listinfo/xen-users] ([mailto:xen-users@lists.xen.org xen-users@lists.xen.org]), for things you think could be related to Xen usage in general or to Xen usage/packaging/integration in Fedora;
  +
  +
* [https://lists.fedoraproject.org/mailman/listinfo/virt Fedora Virt] ([mailto:virt@lists.fedoraproject.org virt@lists.fedoraproject.org]) for things you think could be related to the interaction between Xen and libvirt in Fedora.
  +
  +
When reporting, be sure to include all the information needed for a good bug report or help request. For example, try have a look at [[Reporting Bugs against Xen]] and/or [[Asking Xen Devel Questions]]. As we are talking about Fedora packages, please, include the relevant package-relatted information as well, such as versions of the relevant packages ant things like that. Something like the output of the following command would probably do:
  +
<pre>
  +
# rpm -qi xen-hypervisor libvirt-daemon
  +
</pre>
   
 
[[Category:Xen]]
 
[[Category:Xen]]
Line 66: Line 105:
 
[[Category:Host Install]]
 
[[Category:Host Install]]
 
[[Category:Fedora]]
 
[[Category:Fedora]]
  +
[[Category:Community]]
  +
[[Category:Events]]
  +
[[Category:Test Day]]

Latest revision as of 15:13, 6 February 2015

What are Fedora Test Days

According to the Fedora Project's Wiki, Fedora Test Days are "an opportunity to exercise a completed, or in-development, Feature planned for an upcoming Fedora release. Each Test Day brings something unique and you're encouraged to join and share your ideas, tests, and results."

For Fedora 20, the complete schedule of Test Days can be found here. To know what Test Day is Today?, just go to this page.

Test Days happen (typically) on IRC in the #fedora-test-day channel on Freenode.

Fedora Tests Days and Xen

It is common practice for one of the Test Days to be about Virtualization. That is why the subject is relevant to this Wiki: the Fedora Virtualization Test Day is a real good occasion to verify how Xen will work in the upcoming version of the distribution.

The Virtualization Test Day for Fedora 18 is happening on 2012-11-01

The Virtualization Test Day for Fedora 20 is happening on 2013-10-08

Preparing the Host

It may sound obvious, but the first thing one needs to test how Xen works on a new Alpha/Beta release of Fedora... Is an actual host machine equipped with such a release of Fedora (20 Beta TC1 at the time of writing). This section quickly goes through the various steps needed to get there.

Obtaining the Install Media

During Beta phase, a reasonable image to download for your testing can usually be found here. (Note that, in all the subsection below, the 20-Beta-TC1 part is just a placeholder; all are valid URLs at the time of writing, but it should be changed accordingly, depending on when testing happens.)

DVD or Live Images

Full DVD installer images are available here:

   https://dl.fedoraproject.org/pub/alt/stage/20-Beta-TC1/Fedora/

While LiveCD images can be fetched at this url:

   https://dl.fedoraproject.org/pub/alt/stage/20-Beta-TC1/Live/x86_64/

PXEboot

For setting up a PXEboot environment, kernel and RAMfs for the installer can be downloaded via the following commands:

wget https://dl.fedoraproject.org/pub/alt/stage/20-Beta-TC1/Fedora/x86_64/os/images/pxeboot/initrd.img
wget https://dl.fedoraproject.org/pub/alt/stage/20-Beta-TC1/Fedora/x86_64/os/images/pxeboot/vmlinuz

After that, point your PXEboot configuration to http://dl.fedoraproject.org/pub/alt/stage/20-Beta-TC1/Fedora/x86_64/os/, as described here.

Installing the Host

Installing and Configuring Fedora

This should happen in the usual way you install Fedora. Given the very specific purpose of this installation (testing running VM with Xen on Fedora), check out the various pages in the following categories (on this Wiki): Category:Host Install and Category:Host Configuration.

Also, the Fedora Host Installation (still on this Wiki) contains some more specific information about the subject, especially useful post-install Xen-related configuration tips.

Installing Xen

Just do:

yum install xen

And you're all set, the hypervisor plus all its dependencies will be installed, GRUB menu will be updated, etc. A lot more details are available on the Fedora Host Installation page, on this Wiki.

After reboot, remember to make sure that xenconsoled.service and xenstored.service are enabled and running. If not, do the following:

# systemctl enable xenstored
# systemctl start xenstored

(and the same for xenconsoled)

Installing libvirt & C.

Almost all the Test Cases for the Fedora Virtualization Test Day will require you to use libvirt or virt-manager, so let's install them via (tested on Fedora 20):

yum install libvirt-daemon-xen libvirt-daemon-config-network virt-manager virt-install virt-manager virt-viewer libguestfs-tools-c

For this too, refer to the Fedora Host Installation page, on this Wiki.

Going for a LiveCD (old)

A live CD/USB stick can be used as well. Although probably less powerful as a testing environment, it may turn out to be very convenient, in case you don't have any spare hardware handy. Instruction on how to create a Fedora live image can be found here.

An *old* LiveCD (Fedora 18 Beta as Dom0, with Xen 4.2.0 as hypervisor) is available here: Virt-TestDay-Xen.iso. Report any issue (with the download o with the actual functionalities, if you think it's related to the LiveCD creation process) to dario.faggioli@citrix.com.

Go download it and enjoy being able to start creating VMs with Xen on Fedora without the need to install anything!!

Joining the Test Day

You're all set, just login on Test Days #fedora-test-day (webirc available here) and have fun!

Both the official Virtualization Test Day Wiki page and the full list of Virtualization Test Cases offer a great amount of use cases that are definitely worthwhile to test.

Of course, although verifying that Xen and the libvirt-related tools are well integrated and fully functional in the next Fedora release is of paramount importance, also trying out whether and how the Xen default toolstack (libxl/xl, as you'll most likely be dealing with Xen >= 4.2) works, as it happens during Test Days (like the one we had for Xen 4.5 RC3).

Pushing Out Results

Of course, be sure you report anything you find out during the Test Day to the proper places. There are some of the mailing lists you want to post your success story on, or talk about the issues you had:

When reporting, be sure to include all the information needed for a good bug report or help request. For example, try have a look at Reporting Bugs against Xen and/or Asking Xen Devel Questions. As we are talking about Fedora packages, please, include the relevant package-relatted information as well, such as versions of the relevant packages ant things like that. Something like the output of the following command would probably do:

# rpm -qi xen-hypervisor libvirt-daemon