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

Bug 1528721

Summary: /var/log/ovirt-engine/ova not created during clean install
Product: [oVirt] ovirt-engine Reporter: Dan Kenigsberg <danken>
Component: BLL.VirtAssignee: Arik <ahadas>
Status: CLOSED DUPLICATE QA Contact: Nisim Simsolo <nsimsolo>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.0CC: bugs, nsimsolo
Target Milestone: ovirt-4.2.1Flags: rule-engine: ovirt-4.2+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-12 14:10:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine-setup log file
none
engine-setup answer file none

Description Dan Kenigsberg 2017-12-22 23:21:44 UTC
Description of problem:
Log file of OVA import is not created

Version-Release number of selected component (if applicable):
ovirt-engine-4.2.1-0.0.master.20171221141808.git6835552.el7.centos.noarch

How reproducible:
100%

Steps to Reproduce:
1. attempt to import an OVA

Actual results:
engine.log shows

2017-12-22 16:15:41,239-05 INFO  [org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor] (default task-20) [0da4d0f0-051b-4a7e-b483-c1f8a61268e5] Executing Ansible command: ANSIBLE_STDOUT_CALLBACK=ovaqueryplugin [/usr/bin/ansible-playbook, --private-key=/etc/pki/ovirt-engine/keys/engine_id_rsa, --inventory=/tmp/ansible-inventory6248339011090791600, --extra-vars=ovirt_query_ova_path=/var/tmp/ova.tar, /usr/share/ovirt-engine/playbooks/ovirt-ova-query.yml] [Logfile: /var/log/ovirt-engine/ova/ovirt-query-ova-ansible-20171222161541-lago-basic-suite-master-host-0.log]

but no logfile created in /var/log/ovirt-engine/ova/ovirt-query-ova-ansible-20171222161541-lago-basic-suite-master-host-0.log as its directory does not exist.

Expected results:
log file exists and include information about failure to import OVA.

Additional info:
After creating /var/log/ovirt-engine/ova I still fail to import anything, but at least I get (some) kind of understanding why.

Comment 1 Nisim Simsolo 2018-02-12 09:56:20 UTC
Reassigned, Using build ovirt-engine-4.2.1.6-0.1.el7 /var/log/ovirt-engine/ova/ is not created during clean install nor engine-setup.
Answer file and log file of engine-setup attached.

Comment 2 Arik 2018-02-12 10:00:17 UTC
(In reply to Nisim Simsolo from comment #1)
> Reassigned, Using build ovirt-engine-4.2.1.6-0.1.el7
> /var/log/ovirt-engine/ova/ is not created during clean install nor
> engine-setup.
> Answer file and log file of engine-setup attached.

Nisim, what's the difference between this one and bz#1540605?

Comment 4 Nisim Simsolo 2018-02-12 10:03:45 UTC
Created attachment 1394827 [details]
engine-setup log file

Comment 5 Nisim Simsolo 2018-02-12 10:07:48 UTC
Created attachment 1394829 [details]
engine-setup answer file

Comment 6 Arik 2018-02-12 14:10:45 UTC

*** This bug has been marked as a duplicate of bug 1540605 ***