From Fedora Project Wiki
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 5: | Line 5: | ||
| date = 2015-03-24 | | date = 2015-03-24 | ||
| time = all day | | time = all day | ||
| website = [[QA/ | | website = [[QA/Fedora_21_test_days]] | ||
| irc = [irc://irc.freenode.net/#fedora-test-day #fedora-test-day] ([http://webchat.freenode.net/?channels=fedora-test-day webirc]) | | irc = [irc://irc.freenode.net/#fedora-test-day #fedora-test-day] ([http://webchat.freenode.net/?channels=fedora-test-day webirc]) | ||
| fedora_mailing_list = cockpit-devel | | fedora_mailing_list = cockpit-devel | ||
Line 31: | Line 31: | ||
* '''Install Fedora 22 Server.''' Make sure that your installation is recent enough. Either install [https://getfedora.org/en/server/prerelease/ Fedora 22 Server Alpha] or run <code>yum update</code> in an older Fedora 22 Server installation. You should have at least Cockpit 0.44. In the Server variant of Fedora 22, Cockpit is enabled by default. For other variants, please refer to the Notes at the end of this page. | * '''Install Fedora 22 Server.''' Make sure that your installation is recent enough. Either install [https://getfedora.org/en/server/prerelease/ Fedora 22 Server Alpha] or run <code>yum update</code> in an older Fedora 22 Server installation. You should have at least Cockpit 0.44. In the Server variant of Fedora 22, Cockpit is enabled by default. For other variants, please refer to the Notes at the end of this page. | ||
* '''LiveDVD ''' : [https://fedorapeople.org/groups/qa/test_days/cockpit-test-day- | * '''LiveDVD ''' : [https://fedorapeople.org/groups/qa/test_days/cockpit-test-day-i386.iso i386 ISO] [https://fedorapeople.org/groups/qa/test_days/cockpit-test-day-x86_64.iso x86_64 ISO] | ||
** user/password: root/testvm | ** user/password: root/testvm | ||
* '''Image for virt-manager''' : | * '''Image for virt-manager''' : http://fedorapeople.org/groups/qa/xxxxx TODO | ||
** user/password: root/testvm testwheel/testwheel test/test | ** user/password: root/testvm testwheel/testwheel test/test | ||
<pre> | <pre> | ||
# curl https://fedorapeople.org/groups/qa/ | # curl https://fedorapeople.org/groups/qa/xxxxx > xxxx-VM-disk-image.qcow2.xz | ||
# unxz | # unxz xxxx-VM-disk-image.qcow2.xz | ||
# yum -y install qemu\* | # yum -y install qemu\* | ||
# systemctl restart libvirtd | # systemctl restart libvirtd | ||
# virt-install --connect qemu:///system --ram 2048 -n cockpit --os-type=linux --os-variant=fedora20 --disk path= | # virt-install --connect qemu:///system --ram 2048 -n cockpit --os-type=linux --os-variant=fedora20 --disk path=xxxx-VM-disk-image.qcow2,device=disk,format=qcow2 --vcpus=1 --vnc --noautoconsole --import | ||
# virsh start cockpit | |||
# sleep 60 | # sleep 60 | ||
# MAC=`virsh dumpxml cockpit | grep 'mac address' | cut -d\' -f2` | # MAC=`virsh -c qemu:///system dumpxml cockpit | grep 'mac address' | cut -d\' -f2` | ||
# IP=` | # IP=`virsh -c qemu:///system net-dumpxml default | grep "MAC" |sed -r 's/.*ip=.([0-9.]*).*/\1/'` | ||
# echo "connect to http://$IP:9090 (user/password: root/testvm testwheel/testwheel test/test) | # echo "connect to http://$IP:9090 (user/password: root/testvm testwheel/testwheel test/test) | ||
</pre> | </pre> | ||
Note that Docker is not enabled by default, but the test cases will tell you how to enable it. | |||
== How to test? == | == How to test? == | ||
Line 51: | Line 54: | ||
After boot, Cockpit is up and running and listens on port 9090. | After boot, Cockpit is up and running and listens on port 9090. | ||
{{admon/important|Firefox 36.0 is known to choke on the HTTPS certificates | {{admon/important|Firefox 36.0 is known to choke on the Cockpit HTTPS certificates|See the next paragraph for a workaround.}} | ||
If you are using Firefox 36.0 (and maybe also older versions), you might experience long delays and even crashed when connecting to Firefox. See [https://bugzilla.redhat.com/show_bug.cgi?id=1204670 this bug report]. You can work around this by copying this file to <code>/etc/cockpit/ws-certs.d/~self-signed.cert</code> and then executing <code>systemctl restart cockpit</code>. | |||
* Run '''firewall-cmd --add-service cockpit; firewall-cmd --permanent --add-service cockpit''' to open the firewall for Cockpit. | |||
* Point a browser at '''<code>http:</code><code>//<server-ip-address>:9090</code>'''. | * Point a browser at '''<code>http:</code><code>//<server-ip-address>:9090</code>'''. | ||
* Cockpit's login page will load. | * Cockpit's login page will load. | ||
Line 95: | Line 99: | ||
If you have problems with any of the tests, report a bug either on [http://github.org/cockpit-project/cockpit/issues Github] or in [http://bugzilla.redhat.com/enter_bug.cgi?component=cockpit&product=Fedora&version=22 Bugzilla]. | If you have problems with any of the tests, report a bug either on [http://github.org/cockpit-project/cockpit/issues Github] or in [http://bugzilla.redhat.com/enter_bug.cgi?component=cockpit&product=Fedora&version=22 Bugzilla]. | ||
''' For reporting results use primary ''' [http://209.132.184.193/testdays/show_event?event_id=24 fedora testday app] | |||
'''[http://209.132.184.193/testdays/show_event?event_id=24 | |||
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. Once you have completed the tests, add your results to the tables below, following the example results from the first line as a template. The first column should be your name with a link to your User page in the Wiki if you have one. For each test case, use the [[Template:result|result template]] to enter your result, as shown in the example result line. | 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. Once you have completed the tests, add your results to the tables below, following the example results from the first line as a template. The first column should be your name with a link to your User page in the Wiki if you have one. For each test case, use the [[Template:result|result template]] to enter your result, as shown in the example result line. | ||
Line 105: | Line 108: | ||
! User | ! User | ||
! Hardware | ! Hardware | ||
! [ | ! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_Login Password change] | ||
! [ | ! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_Account Create user account] | ||
! References | ! References | ||
|- | |- | ||
| [[User: | | [[User:Stefw|Stefw]] | ||
| Lenovo laptop | | Lenovo laptop | ||
| {{result|pass|| | | {{result|pass||XXXXXXX}}<ref>Example entry</ref> | ||
| {{result|fail|| | | {{result|fail||1000000}} | ||
| <references/> | | <references/> | ||
|- | |- | ||
Line 119: | Line 122: | ||
| {{result|fail||1203632}} | | {{result|fail||1203632}} | ||
| {{result|pass||}} | | {{result|pass||}} | ||
| <references/> | | <references/> | ||
|- | |- | ||
Line 194: | Line 131: | ||
! User | ! User | ||
! Hardware | ! Hardware | ||
! [ | ! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_DiskIO Monitor disk I/O] | ||
! [ | ! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_RAID Create a RAID Device] | ||
! [ | ! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_LVM Create a Logical Volume] | ||
! References | ! References | ||
|- | |- | ||
Line 204: | Line 141: | ||
| {{result|pass}} | | {{result|pass}} | ||
| {{result|pass}} | | {{result|pass}} | ||
| <references/> | | <references/> | ||
|- | |- | ||
Line 277: | Line 151: | ||
! User | ! User | ||
! Hardware | ! Hardware | ||
! [ | ! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_DockerImage Download and run image] | ||
! [ | ! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_DockerCommit Create a new image and run it] | ||
! References | ! References | ||
|- | |- | ||
Line 286: | Line 160: | ||
| {{result|pass}} | | {{result|pass}} | ||
| <references/> | | <references/> | ||
|} | |} | ||
Line 392: | Line 167: | ||
<pre> | <pre> | ||
# | # yum -y install cockpit docker-io fedora-dockerfiles wmdocker | ||
# firewall-cmd --permanent --add-service cockpit | # firewall-cmd --permanent --add-service=cockpit | ||
# | # systemctl reload firewalld.service | ||
# systemctl start cockpit.socket | # systemctl start cockpit.socket | ||
# systemctl enable cockpit.socket | # systemctl enable cockpit.socket | ||
</pre> | </pre> | ||
== Long comments == | == Long comments == | ||
<references group="long" /> | <references group="long" /> | ||
[[Category:Fedora 22 Test Days|c]] | [[Category:Fedora 22 Test Days|c]] |