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

Bug 1540605

Summary: OVA logs are not logged because /var/log/ovirt-engine/ova/ folder is not created during engine-setup.
Product: [oVirt] ovirt-engine Reporter: Nisim Simsolo <nsimsolo>
Component: BLL.VirtAssignee: Arik <ahadas>
Status: CLOSED CURRENTRELEASE QA Contact: Nisim Simsolo <nsimsolo>
Severity: medium Docs Contact:
Priority: high    
Version: 4.2.1.4CC: bugs, danken, lveyde, nsimsolo
Target Milestone: ovirt-4.2.2Flags: rule-engine: ovirt-4.2+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.2.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-29 11:08:54 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:
Bug Depends On:    
Bug Blocks: 1049604    
Attachments:
Description Flags
engine.log none

Description Nisim Simsolo 2018-01-31 14:09:49 UTC
Description of problem:
When observing engine.log during OVA import/export there are logs that directs to /var/log/ovirt-engine/ova/ for more details.
This folder does not exist so there are no such logs.

for example:
[root@compute-ge-40 ovirt-engine]# cat engine.log | grep "Please check logs"
2018-01-31 11:07:04,505+02 ERROR [org.ovirt.engine.core.bll.exportimport.ExtractOvaCommand] (EE-ManagedThreadFactory-commandCoordinator-Thread-1) [35541845] Failed to extract OVA. Please check logs for more details: /var/log/ovirt-engine/ova/ovirt-import-ova-ansible-20180131110702-mshira-nested-02.scl.lab.tlv.redhat.com-35541845.log
[root@compute-ge-40 ovirt-engine]# ls -l
total 1812
drwxr-xr-x. 2 ovirt ovirt       6 Jan 30 17:24 ansible
-rw-r--r--. 1 ovirt ovirt    1838 Jan 31 10:18 boot.log
-rw-r--r--. 1 ovirt ovirt       0 Jan 31 10:18 console.log
drwxr-xr-x. 2 ovirt ovirt       6 Jan 30 17:24 dump
-rw-r--r--. 1 ovirt ovirt 1659016 Jan 31 15:49 engine.log
drwxr-xr-x. 2 ovirt ovirt     200 Jan 30 17:24 host-deploy
drwxr-xr-x. 2 ovirt ovirt       6 Jan 30 17:24 notifier
drwxr-xr-x. 2 root  root        6 Dec 11 12:42 ovirt-iso-uploader
-rw-r--r--. 1 ovirt ovirt  145048 Jan 31 11:06 server.log
drwxr-xr-x. 2 root  root      214 Jan 31 10:16 setup
-rw-r--r--. 1 ovirt ovirt       0 Jan 30 09:59 ui.log
[root@compute-ge-40 ovirt-engine]# 


Version-Release number of selected component (if applicable):
ovirt-engine-4.2.1.5-0.0.master.20180130145919.gitd758f0f.el7.centos
vdsm-4.20.17-18.git4085e55.el7.centos.x86_64
libvirt-client-3.2.0-14.el7_4.7.x86_64
qemu-kvm-ev-2.9.0-16.el7_4.13.1.x86_64
sanlock-3.5.0-1.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Import OVA 
2. Observe engine.log and wait for OVA import to be completed.
3.

Actual results:
engine.log is directing to /var/log/ovirt-engine/ova folder but this folder does not exist.

Expected results:
Folder should be created during engine-setup

Additional info:
Creating /var/log/ovirt-engine/ova folder is solving this issue.

Comment 1 Nisim Simsolo 2018-01-31 14:30:22 UTC
Created attachment 1389003 [details]
engine.log

Comment 2 Arik 2018-02-12 14:10:45 UTC
*** Bug 1528721 has been marked as a duplicate of this bug. ***

Comment 3 Nisim Simsolo 2018-02-22 08:48:02 UTC
Verified: rhvm-4.2.2.1-0.1.el7

Comment 4 Sandro Bonazzola 2018-03-29 11:08:54 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.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.