Bug 1765171 - Installing of host 4.4 (d/s version) on the d/s engine4.3 fails to execute stage 'Environment customization
Summary: Installing of host 4.4 (d/s version) on the d/s engine4.3 fails to execute st...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Host-Deploy
Version: 4.3.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ovirt-4.3.9
: ---
Assignee: Martin Perina
QA Contact: Lukas Svaty
URL:
Whiteboard:
Depends On:
Blocks: 1752866 1762742
TreeView+ depends on / blocked
 
Reported: 2019-10-24 13:01 UTC by Polina
Modified: 2020-01-09 15:12 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-09 15:12:55 UTC
oVirt Team: Infra
Embargoed:
pm-rhel: ovirt-4.3+


Attachments (Terms of Use)
engine.log (5.63 MB, text/plain)
2019-10-24 13:01 UTC, Polina
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.