Bug 2100417 - Improve error message for timeout deploy error.
Summary: Improve error message for timeout deploy error.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: ovirt-host-deploy-ansible
Version: 4.5.1
Hardware: All
OS: All
medium
high
Target Milestone: ovirt-4.5.2
: ---
Assignee: Dana
QA Contact: Pavol Brilla
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-23 10:14 UTC by Pavol Brilla
Modified: 2022-08-30 08:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-30 08:47:42 UTC
oVirt Team: Infra
Embargoed:
mperina: ovirt-4.5+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-engine pull 501 0 None Merged add stdout log to host deploy failure message 2022-06-28 14:17:48 UTC
Red Hat Issue Tracker RHV-46490 0 None None None 2022-06-23 10:16:39 UTC

Description Pavol Brilla 2022-06-23 10:14:00 UTC
Description of problem:
Software Version:4.5.1.2-0.11.el8ev
Host test installation failed. Failed to execute Ansible host-deploy: Play execution has reached timeout. Please check logs for more details: /var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20220623124032-XXX.log.


But in fact
/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20220623124032-XXX.log.

doesn't contain any more details than event message itself.

Comment 1 Martin Perina 2022-06-24 13:13:45 UTC
Does the log contain information, which task hanged (or which was the last one executed)? That's probably the first pointer to start debugging why it took so long, no? Or anything else missing?

Comment 2 Dana 2022-06-27 09:29:20 UTC
The case we're discussing is when the tasks themselves were executed, but the timeout occurred before all of the tasks were parsed

Comment 3 Pavol Brilla 2022-08-10 19:29:18 UTC
# ls -l /var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20220810220427-HOSTNAME-637f56b0-7243-45f4-829b-31a3a7c12000.log 
-rw-r--r--. 1 ovirt ovirt 2003867 Aug 10 22:06 /var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20220810220427-HOSTNAME-637f56b0-7243-45f4-829b-31a3a7c12000.log

Deploy is writing to deploy log file continuously and I see much more detail information about tasks after timeout.


Verified on 
Software Version:4.5.2-0.3.el8ev

Comment 4 Sandro Bonazzola 2022-08-30 08:47:42 UTC
This bugzilla is included in oVirt 4.5.2 release, published on August 10th 2022.
Since the problem described in this bug report should be resolved in oVirt 4.5.2 release, it has been closed with a resolution of CURRENT RELEASE.
If the solution does not work for you, please open a new bug report.


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