Bug 1493384

Summary: [downstream clone - 4.1.7] Additional HE host deploy fails due to 'received downloaded data size is wrong'
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: ovirt-hosted-engine-haAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED ERRATA QA Contact: Nikolai Sednev <nsednev>
Severity: high Docs Contact:
Priority: medium    
Version: 4.1.3CC: ederevea, gveitmic, lsurette, rbalakri, Rhev-m-bugs, srevivo, trichard, ykaul, ylavi
Target Milestone: ovirt-4.1.7Keywords: Triaged, ZStream
Target Release: ---Flags: lsvaty: testing_plan_complete-
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, during deployment of an additional self-hosted engine node, the Manager was expecting a configuration archive of 20480 bytes; but in certain circumstances, the size of the configuration archive was just 10240 bytes. This caused the deployment to fail. Now the block size is forced at tar level to avoid such failures, and a file size check has been added.
Story Points: ---
Clone Of: 1480039 Environment:
Last Closed: 2017-11-07 17:26:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1480039    
Bug Blocks: 1493547    
Attachments:
Description Flags
screencast
none
4.1.7.1 screencast
none
4.1.7.1 undeploy-deploy screencast none

Description rhev-integ 2017-09-20 05:40:29 UTC
+++ This bug is a downstream clone. The original bug is: +++
+++   bug 1480039 +++
======================================================================

Description of problem:

Additional HE host deploy fails and doesn't get deployed as HE, but normal host

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

rhevm-4.1.3.5-0.1.el7.noarch

How reproducible:
100% in customer's environment

Steps to Reproduce:
1. Place host into maintenance
2. Installation > Reinstall > Hosted Engine > Undeploy
3. Installation > Reinstall > Hosted Engine > Deploy

Or 

1. Add a new host > Hosted Engine > Deploy

Actual results:

HE host is being installed as regular host

Expected results:

Host installed as part of the HE cluster

Additional info:

(Originally by Javier Coscia)

Comment 7 Nikolai Sednev 2017-09-24 14:03:27 UTC
Works for me on cleanly deployed ovirt-hosted-engine-setup-2.1.4-1.el7ev.noarch with rhvm-appliance-4.1.20170914.0-1.el7.noarch and ovirt-engine-setup-4.1.6.2-0.1.el7.noarch inside on pair of RHEL7.4 hosts.

See also attached screencast.

Moving to verified.

Comment 8 Nikolai Sednev 2017-09-24 14:04:19 UTC
Created attachment 1330165 [details]
screencast

Comment 9 Nikolai Sednev 2017-09-24 14:19:23 UTC
Also works fine with latest ovirt-engine-setup-4.1.7.1-0.1.el7.noarch.
Screencast attached.

Comment 10 Nikolai Sednev 2017-09-24 14:20:16 UTC
Created attachment 1330166 [details]
4.1.7.1 screencast

Comment 11 Nikolai Sednev 2017-09-24 14:27:49 UTC
Created attachment 1330169 [details]
4.1.7.1 undeploy-deploy screencast

Comment 13 errata-xmlrpc 2017-11-07 17:26:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:3136

Comment 14 Simone Tiraboschi 2018-08-24 09:42:21 UTC
*** Bug 1613278 has been marked as a duplicate of this bug. ***

Comment 15 Daniel Gur 2019-08-28 13:11:59 UTC
sync2jira

Comment 16 Daniel Gur 2019-08-28 13:16:12 UTC
sync2jira