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 5: Line 5:
| date = 2015-03-24
| date = 2015-03-24
| time = all day
| time = all day
| website = [[QA/Fedora_22_test_days]]
| 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-i686.iso i686 ISO] [https://fedorapeople.org/groups/qa/test_days/cockpit-test-day-x86_64.iso x86_64 ISO]
* '''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''' : https://fedorapeople.org/groups/qa/test_days/fedora22-cockpit-x86_64.qcow2.xz
* '''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/test_days/fedora22-cockpit-x86_64.qcow2.xz > fedora22-cockpit-x86_64.qcow2.xz
# curl https://fedorapeople.org/groups/qa/xxxxx > xxxx-VM-disk-image.qcow2.xz
# unxz fedora22-cockpit-x86_64.qcow2.xz
# 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=fedora22-cockpit-x86_64.qcow2,device=disk,format=qcow2 --vcpus=1 --vnc --noautoconsole --import
# 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
# sleep 60
# sleep 60
# MAC=`virsh dumpxml cockpit | grep 'mac address' | cut -d\' -f2`
# MAC=`virsh dumpxml cockpit | grep 'mac address' | cut -d\' -f2`
Line 51: Line 51:
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 created by Cockpit 0.44 and earlier.|See the end of this page for a workaround.}}
{{admon/important|Firefox 36.0 is known to choke on the Cockpit HTTPS certificates|See the end of this page for a workaround.}}
 
{{admon/important|The firewall might or might not be open for Cockpit.|See the end of this page for details.}}


* 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 94:
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].


{{admon/important|For reporting results use primarily fedora testday app}}
''' 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 Fedora testday app]'''


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 103:
! User
! User
! Hardware
! Hardware
! [[QA:Testcase_Cockpit_Login|Password change]]
! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_Login Password change]
! [[QA:Testcase_Cockpit_Account|Create user account]]
! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_Account Create user account]
! References
! References
|-
|-
| [[User:SampleUser|Sample User]]
| [[User:Stefw|Stefw]]
| Lenovo laptop
| Lenovo laptop
| {{result|pass||123456}}<ref>Example entry</ref>
| {{result|pass||XXXXXXX}}<ref>Example entry</ref>
| {{result|fail||654321}}
| {{result|fail||1000000}}
| <references/>
| <references/>
|-
|-
Line 119: Line 117:
| {{result|fail||1203632}}
| {{result|fail||1203632}}
| {{result|pass||}}
| {{result|pass||}}
| <references/>
|-
| [[User:todoleza|todoleza]]
| kvm
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:roshi|roshi]]
| Asus Eeepc Netbook (32-bit)
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:mbanas|mbanas]]
| Virtual machine
| {{result|pass}}  <ref>Bug 1198082 encountered while creating user account</ref>
| {{result|pass}} 
| <references/>
|-
| [[User:psklenar|psklenar]]
| dell precision 490
| {{result|pass}}  <ref>{{bz|1205119}}</ref>
| {{result|pass}}  <ref>{{bz|1205094}}</ref><ref>{{bz|1205090}}</ref>{{result|pass}}  <ref>{{bz|1205119}}</ref>
| <references/>
|-
| [[User:jscotka|jscotka]]
| libvirt
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:mhruscak|mhruscak]]
| QEMU Standard PC (i440FX + PIIX, 1
| {{result|fail}}  <ref>{{bz|1205123}}</ref><ref>{{bz|1205106}}</ref><ref>only password problems</ref>
| {{result|pass}} 
| <references/>
|-
| [[User:blaskovic|blaskovic]]
| KVM
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:rhack|rhack]]
| Lenovo T520
| {{result|pass}}  <ref>Webui looks sane against stupid XSS.</ref>
|
| <references/>
|-
| [[User:mkovarik|mkovarik]]
| Lenovo T440s
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:pschindl|pschindl]]
| Lenovo ThinkPad T520
| {{result|pass}}  <ref>Works fine, the workflow is clear for this.</ref>
| {{result|pass}}  <ref>I would be nice if copy and past work. https://github.com/cockpit-project/cockpit/issues/2009</ref>
| <references/>
|-
| [[User:Kinokoio|Kinokoio]]
| libvirt
| {{result|pass}}  <ref>Does not do any password validation (can even be the username)</ref>
| {{result|pass}} 
| <references/>
| <references/>
|-
|-
Line 194: Line 126:
! User
! User
! Hardware
! Hardware
! [[QA:Testcase_Cockpit_DiskIO|Monitor disk I/O]]
! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_DiskIO Monitor disk I/O]
! [[QA:Testcase_Cockpit_RAID|Create a RAID Device]]
! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_RAID Create a RAID Device]
! [[QA:Testcase_Cockpit_LVM|Create a Logical Volume]]
! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_LVM Create a Logical Volume]
! References
! References
|-
|-
Line 204: Line 136:
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| <references/>
|-
| [[User:roshi|roshi]]
| Asus Eeepc Netbook (32-bit)
| {{result|pass}} 
| {{result|fail}}  <ref>{{bz|1205067}}</ref>
| {{result|pass}} 
| <references/>
|-
| [[User:mbanas|mbanas]]
| Virtual machine
| {{result|pass}} 
| {{result|fail}}  <ref>{{bz|1205067}}</ref><ref>Failed to make filesystem on raid device</ref>
| {{result|pass}} 
| <references/>
|-
| [[User:psklenar|psklenar]]
| dell precision 490
| {{result|pass}} 
|
|
| <references/>
|-
| [[User:jscotka|jscotka]]
| libvirt
| {{result|pass}} 
| {{result|fail}} 
| {{result|pass}} 
| <references/>
|-
| [[User:mhruscak|mhruscak]]
| QEMU Standard PC (i440FX + PIIX, 1
| {{result|pass}} 
| {{result|fail}}  <ref>{{bz|1205067}}</ref>
| {{result|pass}} 
| <references/>
|-
| [[User:blaskovic|blaskovic]]
| KVM
| {{result|pass}} 
| {{result|fail}}  <ref>{{bz|1205067}}</ref>
| {{result|pass}} 
| <references/>
|-
| [[User:mkovarik|mkovarik]]
| Lenovo T440s
| {{result|pass}} 
| {{result|fail}}  <ref>{{bz|1205067}}</ref>
|
| <references/>
|-
| [[User:pschindl|pschindl]]
| Lenovo ThinkPad T520
| {{result|pass}} 
| {{result|pass}}  <ref>Works well with kernel 4.0.0-0.rc4.git1.3. It even cleans /etc/fstab after deleting raid device. Only changing the mount point to empty string isn't working.</ref>
| {{result|pass}} 
| <references/>
|-
| [[User:Kinokoio|Kinokoio]]
| libvirt
| {{result|pass}} 
| {{result|fail}}  {{result|pass}} 
| {{result|pass}} 
| <references/>
| <references/>
|-
|-
Line 277: Line 146:
! User
! User
! Hardware
! Hardware
! [[QA:Testcase_Cockpit_DockerImage|Download and run image]]
! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_DockerImage Download and run image]
! [[QA:Testcase_Cockpit_DockerCommit|Create a new image and run it]]
! [http://fedoraproject.org/wiki/QA:Testcase_Cockpit_DockerCommit Create a new image and run it]
! References
! References
|-
|-
Line 286: Line 155:
| {{result|pass}}   
| {{result|pass}}   
| <references/>
| <references/>
|-
| [[User:jscotka|jscotka]]
| libvirt
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:mhruscak|mhruscak]]
| QEMU Standard PC (i440FX + PIIX, 1
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:blaskovic|blaskovic]]
| KVM
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:mkovarik|mkovarik]]
| Lenovo T440s
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:pschindl|pschindl]]
| Lenovo ThinkPad T520
| {{result|pass}} 
|
| <references/>
|-
|}
=== Network ===
{|
! User
! Hardware
! [[QA:Testcase_Cockpit_NetworkIO|Monitor network I/O]]
! [[QA:Testcase_Cockpit_VLAN|Create VLAN]]
! [[QA:Testcase_Cockpit_Bond|Create Bond]]
! References
|-
| [[User:roshi|roshi]]
| Asus Eeepc Netbook (32-bit)
| {{result|pass}} 
|
|
| <references/>
|-
| [[User:mbanas|mbanas]]
| Virtual machine
| {{result|pass}} 
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:psklenar|psklenar]]
| None
|
|
| {{result|pass}}  <ref>{{bz|1205166}}</ref>
| <references/>
|-
| [[User:jscotka|jscotka]]
| libvirt
| {{result|pass}} 
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:mhruscak|mhruscak]]
| QEMU Standard PC (i440FX + PIIX, 1
| {{result|pass}} 
| {{result|pass}} 
| {{result|fail}}  <ref>{{bz|1205211}}</ref>
| <references/>
|-
| [[User:blaskovic|blaskovic]]
| KVM
| {{result|pass}} 
| {{result|pass}} 
| {{result|pass}} 
| <references/>
|-
| [[User:mkovarik|mkovarik]]
| Lenovo T440s
| {{result|pass}} 
| {{result|pass}}  {{result|pass}}  {{result|pass}} 
|
| <references/>
|-
| [[User:Kinokoio|Kinokoio]]
| libvirt
| {{result|pass}} 
|
|
| <references/>
|-
|}
|}


Line 392: Line 162:


<pre>
<pre>
# dnf install cockpit
# yum -y install cockpit docker-io fedora-dockerfiles wmdocker
# firewall-cmd --permanent --add-service cockpit
# firewall-cmd --permanent --add-service=cockpit
# firewall-cmd --add-service cockpit
# systemctl reload firewalld.service
# systemctl start cockpit.socket
# systemctl start cockpit.socket
# systemctl enable cockpit.socket
# systemctl enable cockpit.socket
Line 401: Line 171:
=== Work around for Firefox certificate problem ===
=== Work around for Firefox certificate problem ===
   
   
If you are using Firefox 36.0 (and maybe also older versions), you might experience long delays and even crashes when connecting to Cockpit.  See [https://bugzilla.redhat.com/show_bug.cgi?id=1204670 this bug report].  You can work around this by executing the following commands in the machine that runs Cockpit '''before''' connecting to Cockpit for the first time.
If you are using Firefox 36.0 (and maybe also older versions), you might experience long delays and even crashes when connecting to Cockpit.  See [https://bugzilla.redhat.com/show_bug.cgi?id=1204670 this bug report].  You can work around this by executing the following command in the machine that runs Cockpit '''before''' connecting to Cockpit for the first time.
 
<pre>
<pre>
# cd /tmp
# cat >/etc/cockpit/ws-certs.d/~self-signed.cert <<EOF
# openssl req -x509 -days 36500 -newkey rsa:2048 -keyout KEY -keyform PEM -nodes -out CERT -outform PEM -subj /CN=localhost
-----BEGIN CERTIFICATE-----
# cat CERT KEY >/etc/cockpit/ws-certs.d/~self-signed.cert
MIIC/TCCAeWgAwIBAgIJANfhp4ZJBowrMA0GCSqGSIb3DQEBCwUAMBQxEjAQBgNV
# rm CERT KEY
BAMMCWxvY2FsaG9zdDAgFw0xNTAzMjMxMTM5MjdaGA8yMTE1MDIyNzExMzkyN1ow
# systemctl restart cockpit
FDESMBAGA1UEAwwJbG9jYWxob3N0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
</pre>
CgKCAQEAtU18jcd0jsptB4YEnEdDVHJtorkBz8jy/hVRToS1CBwCwATQ/QxSFCYV
ExSZSsHYLiojJoUoLcw8PKnUIql/3KudgV9h19gtjw8kvWxNV0NG0pDVoR+zrucP
z0+UelR+B8xGj6ZCa+8ts58SDktGXMNZEQH+CdnrIZzeR0jD1Wq2IZjhzX1QVf39
GGUQimVko6WppwhSrSkl0A9AHWO8aq1t4nibouCnQn2BDSB8r6kXD25gKiUDSo6y
tk4ZxBJ2+ReL9j7xw8oZ/2X6Xc57fxMPw1E1J03vPi67+apNNKZCRCluZrWkKYib
oBG+vESGKrXvudnx5UW2ilLugDHAAQIDAQABo1AwTjAdBgNVHQ4EFgQUaj6coA1S
jr6NQitVldnCSvJVgZIwHwYDVR0jBBgwFoAUaj6coA1Sjr6NQitVldnCSvJVgZIw
DAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEALDA5xxQeeqkRCZPsivFF
Fj+mitWccCs+hayuRkVTw/oMtKbEYLqc1MjpUvm4uOGQGLoFWOBj7f3rss060A6q
qmuzy9CtWu6JpbLLcQXeWAPqXoCnRGc6zifev0Go60655EKJcrK0cEudXr636fNL
UVPbc4sQS2hwZYRSja1R0I0as+ZM/kzu/ZfOmwZtgismMPof0xVRGVXtS7/u5skB
6a7reHxRsU1oCM7Xu7Bh1iIjxWYJsTEN2l12lcMwB7U7jXoDfsFahEy+QEAMw8vo
8yWQRtb5IwTVog8mNbYFN53osR/sdhCSnDWDmaA4JiPeZUnFj8dYsg2WCUsRvb2i
/A==
-----END CERTIFICATE-----


=== Opending the firewall for Cockpit ===
-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC1TXyNx3SOym0H
hgScR0NUcm2iuQHPyPL+FVFOhLUIHALABND9DFIUJhUTFJlKwdguKiMmhSgtzDw8
qdQiqX/cq52BX2HX2C2PDyS9bE1XQ0bSkNWhH7Ou5w/PT5R6VH4HzEaPpkJr7y2z
nxIOS0Zcw1kRAf4J2eshnN5HSMPVarYhmOHNfVBV/f0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cqC0Oqg0Dg2xA2xuM2rYTEFeqmuJwtI8/xwyN2hAx
5V/mptPy4oUhJgwMOQTl0b/608t+0M7LjDyo+da8csCxu7MtlXeZdOy4z9v6nB6c
TFVjGt+bG1ZyE4Cmi/VPAFlph7C1Bsvw4G8H/kbpVQKBgFs/QR7Qd7t1YS8W7v52
KHv9j3KazwClv5I0hMb2jel9x6Ga3b1KT4WBVuVRCFDYOsrlPMWXu/FiqCzolsph
Mc2k1Tyfcx5whNtCT1uA+gRYQzPzlfxZPnJv52NyN04oun7m9GgkjEn4J57KWbah
CLYG1W8OBeOl2AhL4EXJ99lI
-----END PRIVATE KEY-----


Depending on how you have installed Cockpit, the firewall might or might not be open for it.  If you install Fedora Server, it should be open, but it currently is not.  See [https://bugzilla.redhat.com/show_bug.cgi?id=1204739 this bug].
EOF
 
# systemctl restart cockpit
In any case, execute the following commands to open it.
<pre>
# firewall-cmd --add-service cockpit
# firewall-cmd --permanent --add-service cockpit
</pre>
</pre>
The effect is immediate, you don't need to restart Cockpit.


== Long comments ==
== Long comments ==
<references group="long" />
<references group="long" />


[[Category:Fedora 22 Test Days|c]]
[[Category:Fedora 22 Test Days|c]]
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)