Bug 1463124 - Make hosted-engine requirement optional
Summary: Make hosted-engine requirement optional
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: cockpit-ovirt
Classification: oVirt
Component: Hosted Engine
Version: ---
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ovirt-4.1.4
: 0.10.7-0.0.20
Assignee: Ryan Barry
QA Contact: Yihui Zhao
URL:
Whiteboard:
Depends On:
Blocks: 1408942
TreeView+ depends on / blocked
 
Reported: 2017-06-20 08:01 UTC by Sandro Bonazzola
Modified: 2017-07-28 14:21 UTC (History)
12 users (show)

Fixed In Version: cockpit-ovirt-0.10.7-0.0.21
Clone Of:
Environment:
Last Closed: 2017-07-28 14:21:46 UTC
oVirt Team: Node
Embargoed:
rule-engine: ovirt-4.1+
ycui: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 78948 0 master MERGED dashboard: make the hosted engine page optional 2017-07-05 18:32:10 UTC
oVirt gerrit 79071 0 ovirt-4.1 MERGED dashboard: make the hosted engine page optional 2017-07-05 18:34:01 UTC

Description Sandro Bonazzola 2017-06-20 08:01:23 UTC
We want to be able to install cockpit-ovirt-dashboard on all hosts during host-deployment, see bug #1408942.

In host-deploy, ovirt-hosted-engine is optional.
Also, we are going to require cockpit-ovirt within ovirt-host package (see bug #1460609) and require it also in ovirt-hosted-engine-setup instead of specifying one by one all the needed dependencies (see bug #1461083).

This will introduce a circular dependency:
ovirt-hosted-engine-setup -> ovirt-host -> cockpit-ovirt -> ovirt-hosted-engine-setup

Please make hosted-engine tab optional, disabling it if hosted-engine binary is not installed as we did for node tab with nodectl.

Comment 2 Yihui Zhao 2017-07-19 04:49:55 UTC
Hosted engine tab is disabled, if the ovirt-hosted-engine-setup package is not installed.

Test version:
cockpit-ovirt-dashboard-0.10.7-0.0.21.el7ev.noarch
rhvh-4.1-0.20170714.0+1

Steps:
1. Clean the cockpit-ovirt-dashboard and ovirt-hosted-engine-setup package
2. Download the cockpit-ovirt-dashboard package, use CMD "rpm -ivh *.rpm --nodeps
3. Login to cockpit, check the Hosted Engine tab.

Result:
Display the information:

"Hosted Engine is not installed. Please install to enable Cockpit-based setup and management of Hosted Engine."

So the bug's status is changed to VERIFIED.


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