Bug 1463124

Summary: Make hosted-engine requirement optional
Product: [oVirt] cockpit-ovirt Reporter: Sandro Bonazzola <sbonazzo>
Component: Hosted EngineAssignee: Ryan Barry <rbarry>
Status: CLOSED CURRENTRELEASE QA Contact: Yihui Zhao <yzhao>
Severity: high Docs Contact:
Priority: urgent    
Version: ---CC: bugs, cshao, dguo, huzhao, jiawu, qiyuan, rbarry, sbonazzo, stirabos, yaniwang, ycui, yzhao
Target Milestone: ovirt-4.1.4Flags: rule-engine: ovirt-4.1+
ycui: testing_ack+
Target Release: 0.10.7-0.0.20   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.10.7-0.0.21 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-28 14:21:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1408942    

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.