From Fedora Project Wiki

Revision as of 13:08, 28 April 2021 by Lbazan (talk | contribs) (→‎Basic tests)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Cloud Test Day

Date 2021-04-16 to 2021-04-19
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 34 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 ppc64le aarch64

Fedora Cloud raw

x86_64 ppc64le aarch64

x86_64 ppc64le aarch64

Fedora Cloud Vagrant libvirt

x86_64

x86_64

Fedora Cloud Vagrant VirtualBox

x86_64

x86_64

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


Fedora-Cloud-Base-34-20210415.n.0.aarch64     ap-northeast-1       ami-0b24da31a2dcd3a94 hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.aarch64     ap-northeast-2       ami-0bedaf0df665d5a44 hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.aarch64     ap-south-1           ami-099d123da082621a0 hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.aarch64     ap-southeast-1       ami-0651f0e11f4127a61 hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.aarch64     ap-southeast-2       ami-0bb65d3b976623354 hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.aarch64     ca-central-1         ami-0767dc10ce57476af hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.aarch64     eu-central-1         ami-09a0ee57cb0c91ea4 hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.aarch64     eu-west-1            ami-0fd79453e977958a7 hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.aarch64     eu-west-2            ami-0d36c48662d320ec4 hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.aarch64     sa-east-1            ami-04bf4423d20d241e7 hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.aarch64     us-east-1            ami-0e34271bcd53f411f hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.aarch64     us-east-2            ami-09be128e27e370675 hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.aarch64     us-west-1            ami-066f7fd70190afa38 hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.aarch64     us-west-2            ami-0a8893b934b00a65e hvm           gp2            

Fedora-Cloud-Base-34-20210415.n.0.x86_64      ap-northeast-1       ami-09cda636489eba7c4 hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.x86_64      ap-northeast-2       ami-01902e2d4a2cde31b hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.x86_64      ap-south-1           ami-09401f83dff3d2bba hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.x86_64      ap-southeast-1       ami-0946bff62f882ea9e hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.x86_64      ap-southeast-2       ami-06e0db38c8f42c5a2 hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.x86_64      ca-central-1         ami-086f26b8c788ee7a0 hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.x86_64      eu-central-1         ami-09b2d82880885a4d0 hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.x86_64      eu-west-1            ami-086c20bedaa9e35f5 hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.x86_64      eu-west-2            ami-0550015b642e7c89b hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.x86_64      sa-east-1            ami-0f5dd6655dba5f0bd hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.x86_64      us-east-1            ami-07a4dfef4b75d822b hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.x86_64      us-east-2            ami-0cb9cd97ad38c338f hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.x86_64      us-west-1            ami-0dd83807d0e613f79 hvm           gp2            
Fedora-Cloud-Base-34-20210415.n.0.x86_64      us-west-2            ami-0441f099256701a6d hvm           gp2
    


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
alciregi KVM instance on LunaNode Cloud Provider
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
condor qcow2 image on testcloud
Pass pass
condor qcow2 image on testcloud
Pass pass
Pass pass
Pass pass
Pass pass
lbazan qcow2 testcloud
Pass pass
Pass pass
Pass pass
Pass pass
copperi qcow2
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
danniel Fedora Cloud qcow2 on qemu-kvm
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
dustymabe qcow2
Pass pass
Pass pass
Pass pass
Pass pass
[1]
Pass pass
  1. RHBZ #1942205 Found an SELinux denial while testing. See https://bugzilla.redhat.com/show_bug.cgi?id=1942205
ersen Fedora Cloud qcow2 on qemu-kvm
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
flash2071 qcow2 image on testcloud
Pass pass
Pass pass
Pass pass
[1]
Pass pass
Pass pass
Pass pass
  1. afrer `journalctl -b ` just: Apr 16 14:30:53 fedora kernel: acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge. Apr 16 14:30:54 fedora systemd-vconsole-setup[198]: KD_FONT_OP_GET failed while trying to get the font metadata: Invalid argument Apr 16 14:30:54 fedora systemd-vconsole-setup[198]: Fonts will not be copied to remaining consoles And once fail: pr 16 14:30:58 testcloud systemd-hostnamed[534]: Failed to remove "/run/systemd/default-hostname": Permission denied
geraldosimiao qcow2 image on testcloud
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
jforman jforman
Pass pass
jforman locally boot with testcloud
Pass pass
mythcat https://linux-hardware.org/?probe=7b4c090391
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
sayaksarkar qcow2 image on testcloud
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
siddharthvipul1 qcow2 on testcloud
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
sumantrom qcow2
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass

Exploratory[edit]

User Profile Launch app on Cloud Base image References
condor E2C t4g.micro ami-0a8893b934b00a65e
Pass pass
[1]
  1. `dnf -y install httpd mariadb wordpress' followed by steps required configure wordpress.
flash2071 qcow2 image on testcloud
Pass pass
geraldosimiao qcow2 image on testcloud
Pass pass
[1]
  1. Installed packages and removed then through ssh session.
mythcat https://linux-hardware.org/?probe=7b4c090391
Pass pass

Cloud Providers[edit]

User Profile Launch on AWS Launch on OpenStack (requires openstack instance) References
condor E2C t4g.micro ami-0a8893b934b00a65e
Pass pass
dustymabe EC2 aarch64 a1.xlarge ami-0e34271bcd53f411f
Pass pass
dustymabe EC2 x86_64 m5.large ami-07a4dfef4b75d822b
Pass pass
dustymabe VexxHost v1-standard-2 with Fedora-Cloud-Base-34-20210420.n.0.x86_64.qcow2
Pass pass
mythcat https://linux-hardware.org/?probe=7b4c090391
Pass pass
Pass pass