Bug 1235643 - RHEV Admin Portal does not show the wipe-after-delete tasks
Summary: RHEV Admin Portal does not show the wipe-after-delete tasks
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.4.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ovirt-4.2.0
: ---
Assignee: Idan Shaby
QA Contact: Kevin Alon Goldblatt
URL:
Whiteboard:
Depends On: 1185830
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-25 12:25 UTC by Paul Dwyer
Modified: 2021-12-10 14:42 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-16 10:08:13 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Beginning of operation (30.68 KB, image/png)
2017-07-16 10:02 UTC, Idan Shaby
no flags Details
End of operation (20.57 KB, image/png)
2017-07-16 10:02 UTC, Idan Shaby
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-44195 0 None None None 2021-12-10 14:42:18 UTC

Description Paul Dwyer 2015-06-25 12:25:25 UTC
Description of problem:
Tasks tab shows no active tasks when there is a subtask still running.
When removing a disk with Wipe After Delete set, the sub task for the wipe of the disk is still running but tasks show zero tasks running

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

How reproducible:
Customer is easily able to reproduce using steps below

Steps to Reproduce:
1. Create a 3,500GB vdisk on a VM ensuring "Wipe After Delete" is enabled.
2. Deactivate the vdisk and remove from the VM.
3. Observe task and subtask appear on the "Tasks" tab. Tasks tab will show "1" to indicate 1 running task 
     (It was at this point I also setup a ps to monitor and report on the dd process on the SPM as it scrubbed the vdisk)
4. After around 50minutes the Tasks tab with indicate "0", but subtask will show an hour glass indicating uncompleted subtask "Deleting Image"   (You may have to refresh the Tasks tab view to observe this change to show "0") .

Actual results:
subtask still running, tasks shows 0 active tasks

Expected results:
tasks should show task is still running until all subtasks has finished.

Additional info:
This caused confusion for customer as the vm deletion had finished and tasks showed 0 but the diskspace had not been returned.
Expanding the tasks showed the deletion was still happening.

Comment 1 Oved Ourfali 2015-06-28 06:33:34 UTC
Allon, as far as I know you don't have any indication on when this is over. Am I right?

Marking as storage for initial investigation, but please move to infra if relevant.

Comment 2 Allon Mureinik 2015-06-28 08:42:48 UTC
IIRC, we do not monitor the WAD task. This was done intentionally, although I do not recall the logic behind this.

Liron - could you elaborate please?

Comment 3 Liron Aravot 2015-07-01 10:32:00 UTC
Allon, yes.
When a disk marked as "wipe after delete" is deleted the engine treats the deletion as synchronous - as after the response of the delete call returns the engine, the disk/its storage can't be used anymore (in case of block storage, the lv tag is changed to something like _remve_me before we start to wipe).
The basis for this decision is that the purpose of the WAD is to prevent one vm to access that data that was written by other VMs, as till the wipe ends this storage isn't available for other use - it is still prevented while providing faster deletion (the disk won't appear as lock for the whole duration of the wiping).
we can improve the tasks tabs appearance on that case.

Comment 7 Sandro Bonazzola 2015-10-26 12:30:44 UTC
this is an automated message. oVirt 3.6.0 RC3 has been released and GA is targeted to next week, Nov 4th 2015.
Please review this bug and if not a blocker, please postpone to a later release.
All bugs not postponed on GA release will be automatically re-targeted to

- 3.6.1 if severity >= high
- 4.0 if severity < high

Comment 8 Idan Shaby 2017-07-16 10:02:15 UTC
Created attachment 1299267 [details]
Beginning of operation

Comment 9 Idan Shaby 2017-07-16 10:02:39 UTC
Created attachment 1299268 [details]
End of operation

Comment 10 Idan Shaby 2017-07-16 10:08:13 UTC
I guess that things have changed since this bug was opened.

Today, when a disk with WAD enabled is removed, the Tasks bar looks like in "Beginning of operation", and only when the disk is fully wiped and removed (I used a 10G disk, so in my case after almost 3 minutes) it looks like in "End of operation".

So it seems like the tasks bar displays a running task until the end of the operation.
If that's not what you meant, please reopen.


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