Bug 1156163

Summary: [RFE] [HE] host-deploy should support adding a new or existing host as an HA node
Product: [Retired] oVirt Reporter: Daniel Helgenberger <daniel.helgenberger>
Component: ovirt-hosted-engine-setupAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: high Docs Contact:
Priority: medium    
Version: 3.5CC: bazulay, bugs, dfediuck, dougsland, ecohen, gklein, iheim, lsurette, oourfali, rbalakri, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: 3.6.0   
Hardware: All   
OS: Linux   
Whiteboard: integration
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-07 13:45:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Helgenberger 2014-10-23 17:37:09 UTC
Description of problem:
When using host-deploy via 'reinstall host' VDSM might get upgraded and break HA services if there are new (kwargs for instance). Also, the same is true if HA services are upgraded and VDSM is not restarted (using old libs).

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

How reproducible:
always

Steps to Reproduce:
1. Install a 3.4 HA host for HE
2. Install ovirt 3.5 repo on the host
3. Upgrade the host using Engine's reinstall
4. On the host, perform a yum update ovirt-engine-ha
5. Restart ovirt-ha-agent and ovirt-ha-broker service

Actual results:
Logs filling up with:
012TypeError: get_all_stats_for_service_type() got an unexpected keyword argument 'storage_dir'

Expected results:
ovirt-engine-ha is upgraded and restarted from along with VDSM

Additional info:
This problem gets solved by restating VDSM - along with additional downtime of the host

Comment 1 Alon Bar-Lev 2014-10-26 09:12:16 UTC
can be done by adding plugins within the hosted package.

Comment 2 Doron Fediuck 2014-10-26 15:08:21 UTC
When working on this, please verify upgrade is allowed only in maintenance mode
and HE is in local maintenance mode.

Comment 3 Doron Fediuck 2015-04-07 13:45:52 UTC

*** This bug has been marked as a duplicate of bug 1200469 ***