Bug 1765171

Summary: Installing of host 4.4 (d/s version) on the d/s engine4.3 fails to execute stage 'Environment customization
Product: [oVirt] ovirt-engine Reporter: Polina <pagranat>
Component: Host-DeployAssignee: Martin Perina <mperina>
Status: CLOSED NOTABUG QA Contact: Lukas Svaty <lsvaty>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: bugs, dfediuck, michal.skrivanek
Target Milestone: ovirt-4.3.9Keywords: ZStream
Target Release: ---Flags: pm-rhel: ovirt-4.3+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-09 15:12:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1752866, 1762742    
Attachments:
Description Flags
engine.log none

Description Polina 2019-10-24 13:01:11 UTC
Created attachment 1628867 [details]
engine.log

Description of problem:
Installing of host 4.4 (d/s version) on the d/s engine4.3 fails to execute stage 'Environment customization

Version-Release number of selected component (if applicable):
for engine http://bob.eng.lab.tlv.redhat.com/builds/4.3/rhv-4.3.7-1/rhv-release-4.3.7-1-001.noarch.rpm
for host http://bob.eng.lab.tlv.redhat.com/builds/4.4/rhv-4.4.0-4/rhv-release-4.4.0-4-001.noarch.rpm

How reproducible:100%


Steps to Reproduce:
1. Install ovirt-engine-4.3.7.0-0.1.el7.noarch . Add to engine host with vdsm vdsm-4.30.34-1.el7ev.x86_64.
2. Try to add new host 4.4 (d/s) to the engine (compute/hosts/new). http://bob.eng.lab.tlv.redhat.com/builds/4.4/rhv-4.4.0-4/rhv-release-4.4.0-4-001.noarch.rpm


Actual results:
fails with errors
2019-10-24 12:01:46,730+03 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [63462aec] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred during installation of Host host_mixed_1: Failed to execute stage 'Environment customization': _create_hdr() argument after * must be an iterable, not NoneType.

2019-10-24 12:03:39,712+03 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] (EE-ManagedThreadFactory-engine-Thread-11352) [9ab647a7-0df4-4ca4-ba0c-52e3af61e314] SSH error running command root.lab.tlv.redhat.com:'umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XXXXXXXXXX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-deploy DIALOG/dialect=str:machine DIALOG/customization=bool:True': IOException: Command returned failure code 1 during SSH session 'root.lab.tlv.redhat.com'


Expected results: success


Additional info:engine.log attached

Comment 4 Polina 2019-11-17 08:10:33 UTC
successfully installed host 4.4 vdsm-4.40.0-141.gitb9d2120.el8ev.x86_64 on engine 4.3 -http://bob-dr.lab.eng.brq.redhat.com/builds/4.3/rhv-4.3.7-4

Comment 5 Doron Fediuck 2020-01-09 15:12:55 UTC
With the introduction of 4.4 engine on el8 this will no longer be needed.