Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1507849

Summary: missing log file location when Ansible host-deploy role fails
Product: [oVirt] ovirt-engine Reporter: eraviv
Component: BLL.InfraAssignee: Martin Perina <mperina>
Status: CLOSED CURRENTRELEASE QA Contact: Lucie Leistnerova <lleistne>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: bugs, eraviv, lleistne, mperina, oourfali
Target Milestone: ovirt-4.2.0Flags: rule-engine: ovirt-4.2+
Target Release: 4.2.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 11:15:04 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:
Attachments:
Description Flags
engine.log none

Description eraviv 2017-10-31 10:00:01 UTC
Created attachment 1345821 [details]
engine.log

Description of problem:
engine log has 'null' for the log file location of the log describing the Failure to execute Ansible host-deploy role.

Version-Release number of selected component (if applicable):
ovirt-engine master 4.2 pre-release

How reproducible:
100%

Steps to Reproduce:
1.deploy engine from dev env
2.do NOT 'make install' ansible as described in https://github.com/oVirt/ovirt-engine#host-deploy-via-ansible
3. connect a host to the engine
4. watch the logs

Actual results:
engine log message is:

installation failed. Failed to execute Ansible host-deploy role. Please check logs for more details: null.


Expected results:
location of log file should be printed instead of 'null'

Additional info:

Comment 1 Martin Perina 2017-10-31 12:51:04 UTC
What is the git hash of the engine you are using? I think we have fixed that issue in BZ1496893 with patch https://gerrit.ovirt.org/82488 merged on Oct 4th

Comment 2 Ondra Machacek 2017-10-31 14:07:57 UTC
We will be moving playbooks to ovirt-engine, so this would be good to re-test when we do so.

Comment 3 eraviv 2017-11-06 09:04:00 UTC
on master.git-59d3324 i see it is fixed

Comment 4 Lucie Leistnerova 2017-12-05 13:58:18 UTC
When host installation in the engine fails on ansible role, correct ansible log path is in engine log

verified in ovirt-engine-4.2.0-0.5.master.el7.noarch

Comment 5 Sandro Bonazzola 2017-12-20 11:15:04 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

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