Bug 1477963

Summary: Export of VM without disks does not log the export success
Product: [oVirt] ovirt-engine Reporter: Natalie Gavrielov <ngavrilo>
Component: BLL.StorageAssignee: Eyal Shenitzky <eshenitz>
Status: CLOSED CURRENTRELEASE QA Contact: Natalie Gavrielov <ngavrilo>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: amureini, bugs
Target Milestone: ovirt-4.2.0Flags: 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: 2017-12-20 11:44:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine.log none

Description Natalie Gavrielov 2017-08-03 10:40:30 UTC
Created attachment 1308681 [details]
engine.log

Description of problem:
Following issue 1429499, I noticed that the same goes for exporting a "diskless" VM:
When exporting a VM without any disks attached, the "Vm vm_name was exported successfully to export_domain" audit log is not logged like when exporting a VM that has disks.

Version-Release number of selected component:
ovirt-engine-4.2.0-0.0.master.20170725202023.git561151b.el7.centos.noarch

How reproducible:
100%

Steps to Reproduce:
Export a VM without disks to an export domain.

Actual results:
No "exported successfully" audit log message.

Expected results:
"Vm vm_name was exported successfully to export_domain" audit log message should be logged.

Comment 1 Yaniv Kaul 2017-10-29 11:25:44 UTC
Is this correctly targeted for 4.3?

Comment 2 Allon Mureinik 2017-10-29 11:27:13 UTC
(In reply to Yaniv Kaul from comment #1)
> Is this correctly targeted for 4.3?
No, this is a mistake. It's merged to 4.2.

Comment 3 Natalie Gavrielov 2017-10-31 12:18:18 UTC
Verified, ovirt-engine-4.2.0-0.0.master.20171030210714.gitef6bb9c.el7.centos.noarch.

Comment 4 Sandro Bonazzola 2017-12-20 11:44:59 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.