From Fedora Project Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 106: Line 106:
</code>
</code>


Once it's installed, you can launch a VM directly with:
Once it's installed, you will have to create a small yaml file with name '''cloudinit-user-data.yaml'''
 
<pre>
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"
</pre>
 
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:
 
<pre>
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"
</pre>
 
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''':
 
<pre>
<pre>
#cloud-config
#cloud-config
password: 'mypasswd'
password: 'r00t'
chpasswd: { expire: false }
chpasswd: { expire: false }
</pre>
</pre>


Then run:
Once that is done, you can set up the instance using the following


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


You can also boot qcow2 images using virtualization clients like virt-manager or VirtualBox with instruction provided [http://www.projectatomic.io/docs/quickstart/ here]
You can also boot qcow2 images using virtualization clients like virt-manager or VirtualBox with instruction provided [http://www.projectatomic.io/docs/quickstart/ here]
Line 172: Line 147:


== Test Results ==
== Test Results ==
=== Basic tests ===
{| class="wikitable" width=100%
! User
! Profile
! [http://fedoraproject.org/wiki/QA:Testcase_base_startup Boot]
! [http://fedoraproject.org/wiki/QA:Testcase_base_system_logging Logging]
! [http://fedoraproject.org/wiki/QA:Testcase_Services_start Services Start]
! [http://fedoraproject.org/wiki/QA:Testcase_base_selinux SELinux]
! [http://fedoraproject.org/wiki/QA:Testcase_base_service_manipulation Service Manipulation]
! References
|-
| [[User:alciregi|alciregi]]
| KVM instance on LunaNode Cloud Provider
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:condor|condor]]
| qcow2 image on testcloud
|
|
|
|
| {{result|pass}}
| <references/>
|-
| [[User:condor|condor]]
| qcow2 image on testcloud
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
|
| <references/>
|-
|-
| [[User:lbazan|lbazan]]
| qcow2 testcloud
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
|
| <references/>
|-
| [[User:copperi|copperi]]
| qcow2
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:danniel|danniel]]
| Fedora Cloud qcow2 on qemu-kvm
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:dustymabe|dustymabe]]
| qcow2
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}<ref>{{bz|1942205}} Found an SELinux denial while testing. See https://bugzilla.redhat.com/show_bug.cgi?id=1942205</ref>
| {{result|pass}}
| <references/>
|-
| [[User:ersen|ersen]]
| Fedora Cloud qcow2 on qemu-kvm
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:flash2071|flash2071]]
| qcow2 image on testcloud
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}<ref>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</ref>{{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:geraldosimiao|geraldosimiao]]
| qcow2 image on testcloud
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:jforman|jforman]]
| jforman
| {{result|pass}}
|
|
|
|
| <references/>
|-
| [[User:jforman|jforman]]
| locally boot with testcloud
| {{result|pass}}
|
|
|
|
| <references/>
|-
| [[User:mythcat|mythcat]]
| https://linux-hardware.org/?probe=7b4c090391
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:sayaksarkar|sayaksarkar]]
| qcow2 image on testcloud
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:siddharthvipul1|siddharthvipul1]]
| qcow2 on testcloud
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:sumantrom|sumantrom]]
| qcow2
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
|}
=== Exploratory ===
{| class="wikitable" width=100%
! User
! Profile
! [http://fedoraproject.org/wiki/Test_Day:2021-04-16_Fedora_34_Cloud_Testday Launch app on Cloud Base image]
! References
|-
| [[User:condor|condor]]
| E2C t4g.micro ami-0a8893b934b00a65e
| {{result|pass}}<ref>`dnf -y install httpd mariadb wordpress' followed by steps required configure wordpress.</ref>
| <references/>
|-
| [[User:flash2071|flash2071]]
| qcow2 image on testcloud
| {{result|pass}}
| <references/>
|-
| [[User:geraldosimiao|geraldosimiao]]
| qcow2 image on testcloud
| {{result|pass}}<ref>Installed packages and removed then through ssh session.</ref>
| <references/>
|-
| [[User:mythcat|mythcat]]
| https://linux-hardware.org/?probe=7b4c090391
| {{result|pass}}
| <references/>
|-
|}
=== Cloud Providers ===
{| class="wikitable" width=100%
! User
! Profile
! [http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.customenv.html Launch on AWS]
! [http://docs.openstack.org/user-guide/dashboard-manage-images.html Launch on OpenStack (requires openstack instance)]
! References
|-
| [[User:condor|condor]]
| E2C t4g.micro ami-0a8893b934b00a65e
| {{result|pass}}
|
| <references/>
|-
| [[User:dustymabe|dustymabe]]
| EC2 aarch64 a1.xlarge ami-0e34271bcd53f411f
| {{result|pass}}
|
| <references/>
|-
| [[User:dustymabe|dustymabe]]
| EC2 x86_64 m5.large ami-07a4dfef4b75d822b
| {{result|pass}}
|
| <references/>
|-
| [[User:dustymabe|dustymabe]]
| VexxHost v1-standard-2 with Fedora-Cloud-Base-34-20210420.n.0.x86_64.qcow2
|
| {{result|pass}}
| <references/>
|-
| [[User:mythcat|mythcat]]
| https://linux-hardware.org/?probe=7b4c090391
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
|}




Test results will be uploaded here once the test day is over
[[Category:Fedora 34 Test Days]]
[[Category:Fedora 34 Test Days]]
Please note that all contributions to Fedora Project Wiki are considered to be released under the Attribution-Share Alike 4.0 International (see Fedora Project Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please solve the following task below and enter the answer in the box (more info):

Cancel Editing help (opens in new window)