From Fedora Project Wiki

Cloud Test Day

Date 2021-10-11 to 2021-10-12
Time all day

Website QA/Test Days
IRC #fedora-test-day (webirc)
Mailing list test


Can't make the date?
If you come to this page before or after the test day is completed, your testing is still valuable, and you can use the information on this page to test, file any bugs you find at Bugzilla, and add your results to the results section. If this page is more than a month old when you arrive here, please check the current schedule and see if a similar but more recent Test Day is planned or has already happened.

What to test?[edit]

Today's installment of Fedora Test Day will focus on Fedora 35 Cloud images

Who's available[edit]

The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...

Prerequisite for Test Day[edit]

Fedora Cloud Base[edit]

This section is for the Fedora Cloud Base images, which can be used to run a yum/dnf based fedora in the cloud or as a VM. There are also Vagrant boxes available.

Image Image URL Checksum URLs
Fedora Cloud qcow2

x86_64 ppc64le aarch64

x86_64 [1] aarch64

Fedora Cloud raw

x86_64 ppc64le aarch64

x86_64 ppc64le aarch64

Fedora Cloud Vagrant libvirt

[2]

[3]

Fedora Cloud Vagrant VirtualBox

[4]

[5]

If you have access to an AWS account then please try out an AMI from the following list:

This section will be populated a day before the test day happens


A fresh system, testcloud to test qcow images locally, or access to a cloud provider like OpenStack or AWS, and a desire to break software.

Qcow2 images[edit]

The Fedora Cloud Base image are also delivered as qcow2 images. You can use testcloud to locally boot and test either of these images. You can run testcloud from a git checkout, or use dnf to install it:

sudo dnf install virt-install

Once it's installed, you can launch a VM directly with:

echo mypasswd > passwordfile
virt-install --import --name cloudtest \
--memory 2000 --network bridge=virbr0 \
--os-variant detect=on,name=fedora-unknown \
--cloud-init root-password-file=./passwordfile \
--disk=size=10,backing_store="/path/to/Fedora-Cloud-Base-xxx.qcow2"

Note that you can only log in with a password on the console of the machine. Not via SSH. If you'd like to ssh you can use:

virt-install --import --name cloudtest \
--memory 2000 --network bridge=virbr0 \
--os-variant detect=on,name=fedora-unknown \
--cloud-init ssh-key=/home/user/.ssh/id_rsa.pub \
--disk=size=10,backing_store="/path/to/Fedora-Cloud-Base-xxx.qcow2"

If you'd like to use your own cloud-init yaml file to test with you can do that too. Here's is a very short example. First create a file with name cloudinit-user-data.yaml:

#cloud-config
password: 'mypasswd'
chpasswd: { expire: false }

Then run:

virt-install --import --name cloudtest \
--memory 2000 --network bridge=virbr0 \
--os-variant detect=on,name=fedora-unknown \
--cloud-init user-data=/path/to/cloudinit-user-data.yaml \
--disk=size=10,backing_store="/path/to/Fedora-Cloud-Base-xxx.qcow2"

You can also boot qcow2 images using virtualization clients like virt-manager or VirtualBox with instruction provided here

How to test?[edit]

This testday is more general, so attempt to do anything and everything with these images :) Specifically though, we'd like to take a look at the following scenarios:

Cloud:

  • Test different cloud-init configs
  • Deploy and run some applications in the cloud

EC2 If you have access to Amazon EC2, you can use one of the AMIs listed above for testing.

Run the tests[edit]

Visit the result page and click on the column title links to see the tests that need to be run: most column titles are links to a specific test case. Follow the instructions there, then enter your results by clicking the Enter result button for the test.

This testday is also meant to be exploratory, so the list on the testday app is not at all comprehensive!

Reporting bugs[edit]

If you find anything that seems wrong or off, please report a bug on Bugzilla. The affected component should be clear from whatever error message you happen to find, but if you aren't sure, ask in IRC. If you are unsure about exactly how to file the report or what other information to include, just ask on IRC and we will help you.

Test Results[edit]

Basic tests[edit]

User Profile Boot Logging Services Start SELinux Service Manipulation References
akumar99 x86_64, virtmanager
Pass pass
alciregi KVM on Proxmox VE, x86_64, bios
Pass pass
Pass pass
[1]
Fail fail
[2]
Pass pass
  1. journalctl works
  2. RHBZ #2012540
bittin GNOME Boxes
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
copperi virt-install
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
[1]
  1. Fedora-Cloud-Base-35-20211011.n.0.x86_64.qcow2
danniel x86_64, virtmanager
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
donaldsebleung x86_64 qcow2 image using QEMU/KVM on Ubuntu 20.04 host
Pass pass
[1]
Pass pass
[2]
Pass pass
[3]
Pass pass
[4]
Pass pass
[5]
Pass pass
  1. Created local instance with NoCloud datasource, configured single user with password authentication, explicitly setting lock_passwd to false. On boot, I can login to the console directly using the pre-configured username and UNIX password.
  2. Created local instance with NoCloud datasource, configured single user with SSH authentication. On boot, SSH authentication works successfully and I can connect to the instance using SSH.
  3. sudo journalctl -aeb displays system logs as expected showing it is not empty; rsyslog does not seem to be installed (systemctl status rsyslog(d) reports no such service)
  4. systemctl --all --failed outputs "0 loaded units listed"; journalctl -b does not contain lines about breaking ordering cycle
  5. getenforce returned "Enforcing"
ersen x86_64, virt-manager
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
geraldosimiao Testcloud locally on Acer Aspire i7-3632QM 15.4 GiB of RAM
Pass pass
[1]
Pass pass
[2]
Pass pass
[3]
Pass pass
[4]
Pass pass
[5]
  1. Fedora-Cloud-Base-35-20211004.n.0.x86_64.qcow2
  2. Fedora-Cloud-Base-35-20211004.n.0.x86_64.qcow2
  3. Fedora-Cloud-Base-35-20211004.n.0.x86_64.qcow2
  4. Fedora-Cloud-Base-35-20211004.n.0.x86_64.qcow2
  5. Fedora-Cloud-Base-35-20211004.n.0.x86_64.qcow2
hricky testcloud locally on Intel® Core™ i7-4790 CPU, 31,2 GiB of RAM
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
jakfrost default
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
siddharthvipul1 x86_64, virtmanager
Pass pass
Pass pass

Exploratory[edit]

User Profile Launch app on Cloud Base image References
alciregi x86_64 qcow2 image using QEMU/KVM
Pass pass
copperi virt-install
Pass pass
Pass pass
danniel x86_64, virtmanager
Pass pass
[1]
  1. installed and removed some app
donaldsebleung x86_64 qcow2 image using QEMU/KVM on Ubuntu 20.04 host
Pass pass
[1]
  1. Tested both native httpd and podman httpd; both start correctly and I can access the webserver testing page
geraldosimiao Testcloud locally on Acer Aspire i7-3632QM 15.4 GiB of RAM
Pass pass
[1]
  1. installed and removed some app on a Fedora-Cloud-Base-35-20211004.n.0.x86_64.qcow2
hricky testcloud locally on Intel® Core™ i7-4790 CPU, 31,2 GiB of RAM
Pass pass
siddharthvipul1 x86_64, virtmanager
Pass pass

Cloud Providers[edit]

User Profile Launch on AWS Launch on OpenStack (requires openstack instance) References
aaustin RHOSP 16.2 (Train)
Pass pass
[1]
  1. Image: Fedora-Cloud-Base-35-20211010.n.0.x86_64.raw Machine Types Tested: Q35 (UEFI, No-SB), Q35 (BIOS), PC (BIOS)
aaustin RHOSP 16.2 (Train), Q35, UEFI, No-SB
Pass pass
[1]
  1. Fedora-Cloud-Base-35-20211010.n.0.x86_64.raw