Bug 1497612

Summary: New package: ovirt-cockpit-sso
Product: Red Hat Enterprise Virtualization Manager Reporter: Marek Libra <mlibra>
Component: cockpitAssignee: Marek Libra <mlibra>
Status: CLOSED ERRATA QA Contact: Pavol Brilla <pbrilla>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.0CC: bgraveno, cshao, huzhao, mavital, mtessun, pbrilla, qiyuan, tjelinek, weiwang, yaniwang, ycui, ylavi, yzhao
Target Milestone: ovirt-4.2.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
This update includes the ovirt-cockpit-sso package to provide Single Sign On (SSO) for the host console (Cockpit) from the Administration Portal. To enable it on the Manager machine: 1) Install the ovirt-cockpit-sso package: # yum install ovirt-cockpit-sso 2) Enable and start the services: # systemctl enable cockpit.socket # systemctl enable ovirt-cockpit-sso # systemctl start ovirt-cockpit-sso The service listens on 9986/tcp port. To use the service: 1) Log into the Administration Portal. 2) Select "Host". 3) Click the "Host Console" button. 4) Optionally enable pop-up windows in your browser. 5) Optionally confirm the host's fingerprint, if prompted. The new browser will appear with a root Cockpit session. Note: For the best experience, the cockpit-ovirt package must be installed on the selected Red Hat Virtualization Host.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-15 18:02:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marek Libra 2017-10-02 07:44:26 UTC
Bring ovirt-cockpit-sso package [1] to RHV-4.2.

The package provides Single Sign On (SSO) to host Cockpit session from Administration Portal [2].

[1] https://github.com/mareklibra/ovirt-cockpit-sso
[2] https://gerrit.ovirt.org/#/c/82374/

Comment 2 Sandro Bonazzola 2017-10-02 08:08:19 UTC
(In reply to Marek Libra from comment #0)
> Bring ovirt-cockpit-sso package [1] to RHV-4.2.
> 
> The package provides Single Sign On (SSO) to host Cockpit session from
> Administration Portal [2].
> 
> [1] https://github.com/mareklibra/ovirt-cockpit-sso
> [2] https://gerrit.ovirt.org/#/c/82374/

Please also open a bug on ovirt-release for including https://copr.fedorainfracloud.org/coprs/mlibra/ovirt-cockpit-sso/ in dependency repos.

Comment 3 Marek Libra 2017-10-05 07:11:47 UTC
Done: https://bugzilla.redhat.com/show_bug.cgi?id=1498745

Comment 5 Marek Libra 2017-10-18 06:01:07 UTC
The ovirt-cockpit-sso package provides Single Sign On (SSO) for Host Console (Cockpit) from Administration Portal.

To enable it on engine machine:
- install ovirt-cockpit-sso rpm (yum install ovirt-cockpit-sso)
- systemctl enable ovirt-cockpit-sso
- systemctl start ovirt-cockpit-sso

The service listens on 9986/tcp port and runs under "ovirt" user privileges.

To try:
- have ovirt-cockpit-sso service running
- log into Administration Portal
- select Host
- click "Host Console" button
- optionally enable pop-up windows in you browser
- optionally confirm host's fingerprint, if prompted
- new browser tab will appear with root Cockpit session

Please note, there should be either cockpit-machines or preferably cockpit-ovirt package installed on the selected host.

----
Meital, please let me know if this can be included into test plan. Thanks.

Comment 6 Red Hat Bugzilla Rules Engine 2017-11-22 08:50:20 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 7 Red Hat Bugzilla Rules Engine 2017-11-22 09:04:31 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 8 Pavol Brilla 2018-01-09 07:51:21 UTC
Manual testing successful

SSO worked

Comment 9 meital avital 2018-03-07 12:49:33 UTC
(In reply to Marek Libra from comment #5)
> The ovirt-cockpit-sso package provides Single Sign On (SSO) for Host Console
> (Cockpit) from Administration Portal.
> 
> To enable it on engine machine:
> - install ovirt-cockpit-sso rpm (yum install ovirt-cockpit-sso)
> - systemctl enable ovirt-cockpit-sso
> - systemctl start ovirt-cockpit-sso
> 
> The service listens on 9986/tcp port and runs under "ovirt" user privileges.
> 
> To try:
> - have ovirt-cockpit-sso service running
> - log into Administration Portal
> - select Host
> - click "Host Console" button
> - optionally enable pop-up windows in you browser
> - optionally confirm host's fingerprint, if prompted
> - new browser tab will appear with root Cockpit session
> 
> Please note, there should be either cockpit-machines or preferably
> cockpit-ovirt package installed on the selected host.
> 
> ----
> Meital, please let me know if this can be included into test plan. Thanks.

Pavol, can you please add this to the test plan?

Comment 12 errata-xmlrpc 2018-05-15 18:02:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:1546

Comment 13 Pavol Brilla 2018-06-18 06:47:12 UTC
Created task for automation qa to create test case and add to adequate tier

Comment 14 Franta Kust 2019-05-16 13:06:41 UTC
BZ<2>Jira Resync