Bug 1507849 - missing log file location when Ansible host-deploy role fails
Summary: missing log file location when Ansible host-deploy role fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Infra
Version: 4.2.0
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ovirt-4.2.0
: 4.2.0
Assignee: Martin Perina
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-31 10:00 UTC by eraviv
Modified: 2017-12-20 11:15 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:15:04 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)
engine.log (1.83 KB, text/plain)
2017-10-31 10:00 UTC, eraviv
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 83532 0 master MERGED core: Remove checking existence of Ansible playbook 2017-11-22 10:55:16 UTC

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.


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