Bug 1346835 - [RFE][Tracking] oVirt cockpit plugin is consumable on regular hosts
Summary: [RFE][Tracking] oVirt cockpit plugin is consumable on regular hosts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: cockpit-ovirt
Classification: oVirt
Component: RFE
Version: ---
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.1.0-beta
: 0.10.7-0.0.6
Assignee: Sandro Bonazzola
QA Contact: Wei Wang
URL:
Whiteboard:
Depends On: 1378412 1380641
Blocks: 1420995
TreeView+ depends on / blocked
 
Reported: 2016-06-15 12:30 UTC by Fabian Deutsch
Modified: 2017-02-10 05:16 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Previously, Cockpit was only available on Red Hat Virtualization Host. With this release, you can now install and use the Cockpit plugin on Red Hat Enterprise Linux hosts.
Clone Of:
Environment:
Last Closed: 2017-02-01 14:51:57 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.1+
ylavi: planning_ack+
sbonazzo: devel_ack+
ycui: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 59254 0 'None' 'MERGED' 'dashboard: always run hosted-engine setup as root' 2019-12-09 04:47:14 UTC
oVirt gerrit 59353 0 'None' 'MERGED' 'dashboard: always run hosted-engine setup as root' 2019-12-09 04:47:14 UTC

Description Fabian Deutsch 2016-06-15 12:30:12 UTC
Description of problem:
This RFE is about allowing to install the cockpit plugin on regular hosts.

Currently the Cockpit plugin is tuned towards and based up on some assumptions which are just available on Node.

I.e. we assume he-setup is installed on the host where the plugin is running. I.e. we assume that he root user is triggering the setup.

To make the plugin also usable on regular hosts, these and other points need to be addressed.

Comment 1 Ryan Barry 2016-06-15 13:09:35 UTC
We need to assume that hosted-engine --deploy is going to be run by some user with root permissions regardless.

This is easy to workaround with cockpit's "superuser: try"

Howerve, the assumption that he-setup is installed is unlikely to go away. Adding an alternative code path which checks whether ovirt-hosted-engine-setup is installed and displays any kind of friendly error message if it isn't is wasted effort (and gets us into the weeds with a lack of viable places to go from that page without recommending users drop to the shell and install that package manually).

We need to just require ovirt-hosted-engine-setup as a dependency of the dashboard.

Comment 2 Ryan Barry 2016-06-15 14:58:11 UTC
ovirt-hosted-engine-setup is already required in master

Comment 3 Ying Cui 2016-09-07 08:16:55 UTC
For this RFE, I want to clarify the following as well to define the test scope on this bug.
What is the regular hosts we need to cover? RHEL 7.2.z RHEL 7.3.z CentOS 7.2.z CentOS 7.3.z? Still need to consider cockpit version then test the cockpit plugin.

Comment 5 Yaniv Lavi 2016-09-11 13:40:18 UTC
We want this to happen in 4.1. Moving to UX to discuss this item.

Comment 9 Sandro Bonazzola 2016-09-22 11:02:44 UTC
Moving to a sub-component of ovirt-distribution until bugzilla engineers creates the ovirt-cockpit product.

Comment 10 Ryan Barry 2016-09-30 13:58:32 UTC
*** Bug 1380641 has been marked as a duplicate of this bug. ***

Comment 11 Sandro Bonazzola 2016-10-17 06:54:06 UTC
Moving to modified since the last pending dependency moved to modified.

Comment 12 Sandro Bonazzola 2016-12-12 13:57:06 UTC
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.

Comment 13 Ying Cui 2016-12-19 09:51:39 UTC
Sandro, we are working on this RFE verification right now, seeing my previous comment 3, I would like to clarify the test scope what supported distribution we will cover for 4.1 release? According to "oVirt 4.1.0 First Beta Release" email, we need to cover the following distribution, could you double confirm that? Thanks.

<snip>
This release supports Hypervisor Hosts running:
* Red Hat Enterprise Linux 7.3 or later
* CentOS Linux (or similar) 7.2 or later
* Fedora 24 (tech preview)
</snip>

Comment 14 Wei Wang 2016-12-23 06:35:08 UTC
Test Version:
redhat-release-server-7.3-7.el7.x86_64
kernel-3.10.0-514.el7.x86_64
cockpit-126-1.el7.x86_64
cockpit-ovirt-dashboard-0.10.6-1.4.3.el7.centos.noarch
vdsm-4.18.999-1219.gite8c2926.el7.centos.x86_64

Test Steps:
1. Clean install RHEL7.3
2. yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release41-pre.rpm
3. yum install vdsm
4. yum install cockpit
5. yum install cockpit-ovirt-dashboard.noarch
6. Login cockpit webUI with root account
7. Check the cockpit-ovirt page: dashboard, HE, Virtualization Manchine
8. Check the basic function of cockpit-ovirt page

Result:
1. Install cockpit-ovirt plugin is successful
2. Basic functions in cockpit-ovirt page: dashboard, HE, Virtualization Manchine are ok

So the bug is verified with RHEL7.3 server

I will go on to verify with Centos 7.3 server and Fedora 24 server.

Comment 15 Wei Wang 2016-12-23 08:34:25 UTC
Test Version
fedora-release-server-24-1.noarch
kernel-4.5.5-300.fc24.x86_64
cockpit-0.103-1.fc24.x86_64
cockpit-ovirt-dashboard-0.10.6-1.4.2.fc24.noarch
vdsm-4.18.999-1218.gitd36143e.fc24.x86_64

Test Steps:
1. Clean install Fedora24
2. yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release41-pre.rpm
3. yum install vdsm
4. yum install cockpit
5. yum install cockpit-ovirt-dashboard.noarch
6. Login cockpit webUI with root account
7. Check the cockpit-ovirt page: dashboard, HE, Virtualization Machine
8. Check the basic function of cockpit-ovirt page

Result:
1. Install cockpit-ovirt plugin is successful
2. Basic functions in cockpit-ovirt page: dashboard, HE, Virtualization Machine are ok

So the bug is verified with Fedora24 server

I will go on to verify with Centos 7.3 server.

Comment 16 Wei Wang 2016-12-26 05:06:43 UTC
Test Version
centos-release-7-3.1611.el7.centos.x86_64
kernel-3.10.0-514.el7.x86_64
cockpit-122-3.el7.centos.x86_64
cockpit-ovirt-dashboard-0.10.6-1.4.2.el7.centos.noarch
vdsm-4.18.999-1218.gitd36143e.el7.centos.x86_64

Test Steps:
1. Clean install Centos73
2. yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release41-pre.rpm
3. yum install vdsm
4. yum install cockpit
5. yum install cockpit-ovirt-dashboard.noarch
6. Config firewall with cockpit
7. Login cockpit webUI with root account
8. Check the cockpit-ovirt page: dashboard, HE, Virtualization Machine
9. Check the basic function of cockpit-ovirt page

Result:
1. Install cockpit-ovirt plugin is successful
2. Basic functions in cockpit-ovirt page: dashboard, HE, Virtualization Machine are ok

So the bug is verified with Centos73 server

Comment 17 Sandro Bonazzola 2017-01-02 15:10:22 UTC
(In reply to Ying Cui from comment #13)
> Sandro, we are working on this RFE verification right now, seeing my
> previous comment 3, I would like to clarify the test scope what supported
> distribution we will cover for 4.1 release? According to "oVirt 4.1.0 First
> Beta Release" email, we need to cover the following distribution, could you
> double confirm that? Thanks.
> 
> <snip>
> This release supports Hypervisor Hosts running:
> * Red Hat Enterprise Linux 7.3 or later
> * CentOS Linux (or similar) 7.2 or later
> * Fedora 24 (tech preview)
> </snip>

Confirmed, just a change:
* CentOS Linux (or similar) 7.3 or later instead of 7.2 or later.

Comment 18 Wei Wang 2017-01-19 02:23:53 UTC
According to comments #14, #15, #16, change status to VERIFIED.


Note You need to log in before you can comment on or make changes to this bug.