Bug 1344516

Summary: "deletion has been completed" written to audit log at onset of disk-specific Live Merge
Product: Red Hat Enterprise Virtualization Manager Reporter: Gordon Watson <gwatson>
Component: ovirt-engineAssignee: Ala Hino <ahino>
Status: CLOSED ERRATA QA Contact: Kevin Alon Goldblatt <kgoldbla>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.5CC: acanan, amarchuk, amureini, gklein, lsurette, mkalinin, mst, ratamir, rbalakri, Rhev-m-bugs, srevivo, tnisan, troels, ykaul, ylavi
Target Milestone: ovirt-4.0.0-rcKeywords: ZStream
Target Release: 4.0.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1346290 (view as bug list) Environment:
Last Closed: 2016-08-23 20:42:21 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:
Bug Depends On:    
Bug Blocks: 1346290    

Description Gordon Watson 2016-06-09 21:12:56 UTC
Description of problem:

If a single disk is removed from a snapshot, then the audit log entry at the start of the sequence will say "deletion has been completed", as will the one at the end. The one at the beginning should presumably say "deletion has been initiated".


Version-Release number of selected component (if applicable):

RHEV 3.6.5


How reproducible:

The one time I tried it, it was reproducible.


Steps to Reproduce:

1. Create a VM with one disk.
2. Create a snapshot.
3. Start VM.
4. Got to main 'Storage' tab.
5. Select SD in which disk resides.
6. Go to 'Disk Snapshots' tab.
7. Select snapshot.
8. Delete snapshot.
9. Check audit log.


Actual results:


Expected results:


Additional info:

Comment 3 Yaniv Lavi 2016-06-14 12:59:08 UTC
This should be cloned.

Comment 6 Ala Hino 2016-06-20 06:03:13 UTC
*** Bug 1347243 has been marked as a duplicate of this bug. ***

Comment 7 Kevin Alon Goldblatt 2016-07-13 17:30:16 UTC
Verified with the following code:
---------------------------------------
vdsm-4.18.4-2.el7ev.x86_64
rhevm-4.0.2-0.2.rc1.el7ev.noarch

Verified using the following scenario:
---------------------------------------


1. Create a VM with one disk.
2. Create a snapshot.
3. Start VM.
4. Got to main 'Storage' tab.
5. Select SD in which disk resides.
6. Go to 'Disk Snapshots' tab.
7. Select snapshot.
8. Delete snapshot.
9. Check audit log.


Message displayed in the beginning as initiated and the completed at the end

Moving to VERIFIED!

Comment 9 errata-xmlrpc 2016-08-23 20:42:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

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

https://rhn.redhat.com/errata/RHEA-2016-1743.html