Bug 1392957

Summary: [RFE] Report status of hosted engine deployment in getVdsCapabilities call
Product: [oVirt] vdsm Reporter: Phillip Bailey <phbailey>
Component: RFEsAssignee: Phillip Bailey <phbailey>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: high Docs Contact:
Priority: high    
Version: 4.18.15.2CC: bugs, dfediuck, mavital, mgoldboi, nsoffer, ylavi
Target Milestone: ovirt-4.1.0-alphaKeywords: FutureFeature, Triaged
Target Release: 4.19.2Flags: rule-engine: ovirt-4.1+
mavital: testing_plan_complete-
mgoldboi: planning_ack+
dfediuck: devel_ack+
mavital: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: PM-01
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-01 14:34:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1349460, 1369827    

Description Phillip Bailey 2016-11-08 14:33:00 UTC
Description of problem: 

Implement reporting of the status of hosted engine deployment in the getVdsCapabilities call. This information is needed in order to properly display hosted engine deployment/undeployment options to users in the webadmin UI.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Nir Soffer 2016-12-02 18:31:42 UTC
This is not a valid bug. The bug must explain why this feature is needed and how
it will be used.

Comment 3 Martin Sivák 2016-12-21 11:24:58 UTC
This is part of a bigger feature and can be tested using vdsClient or the engine feature https://bugzilla.redhat.com/show_bug.cgi?id=1369827

Comment 4 Artyom 2016-12-22 13:36:37 UTC
Verified on the vdsm-4.18.999-1133.gitdfa3255.el7.centos.x86_64

Host without HE:
# vdsClient -s 0 getVdsCaps | grep hosted
        hostedEngineDeployed = False

Host with HE:
# vdsClient -s 0 getVdsCaps | grep hosted
                 'before_vm_start': {'50_hostedengine': {'md5': '9877e5506d6cedad086484db1ff53979'}}}
        hostedEngineDeployed = True
                     'ovirt-hosted-engine-ha': {'release': '0.0.master.20161220154815.20161220154812.git387fa53.el7.centos'