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

Bug 1071865

Summary: [User Portal] While a snapshot deletion is in progress (Locked status) VM's icon/buttons do not change
Product: [Retired] oVirt Reporter: Jiri Belka <jbelka>
Component: ovirt-engine-userportalAssignee: Daniel Erez <derez>
Status: CLOSED NOTABUG QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4CC: acanan, acathrow, amureini, bugs, ecohen, gklein, iheim, jbelka, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-21 16:23:49 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
grabbed video none

Description Jiri Belka 2014-03-03 11:01:36 UTC
Created attachment 869879 [details]
grabbed video

Description of problem:

When one initiates a deletion of a snapshot, Snapshots subpanes gets updated and status changes to 'Locked'. But VM's status icon and action buttons in main grid are not updated, thus 'Play' button is still available...

I would expect buttons should be not available as there's ongoing work on the VM (iiuc we do not support live snapshot restoration anyway).

See video...

Version-Release number of selected component (if applicable):
beta3 ovirt-engine-userportal-3.4.0-0.11.beta3.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. have snapshot, set refresh time to 60 seconds
2. delete a snapshot
3. observe updates in Snapshot subtab and main grid (VM icon, buttons)

Actual results:
VM icons does not change to in-progress/action buttons are avaiblable

Expected results:
in-progress icon/buttons unavailable

Additional info:
poor video quality, it is somehow faster :)

Comment 1 Sandro Bonazzola 2014-03-04 09:27:54 UTC
This is an automated message.
Re-targeting all non-blocker bugs still open on 3.4.0 to 3.4.1.

Comment 2 Allon Mureinik 2014-04-01 09:42:32 UTC
Daniel, perhaps worth while considering in light of your work on the sanpshots tabs.

Comment 3 Daniel Erez 2014-08-20 15:21:04 UTC
Hi Jiri,

IIUC, the described behavior is actually by design and identical to the webadmin. When merging a snapshot only the relevant disks entities and the snapshot itself are being locked, hence, the VM isn't marked in the DB as locked (as some operations may still be applicable to invoke on the VM). Since the VM isn't locked in the database, the action buttons remain available and upon invocation will be handled appropriately on canDoAction.

Comment 4 Jiri Belka 2014-08-21 13:24:16 UTC
And the question is (NEEDINFO)?

Comment 5 Daniel Erez 2014-08-21 16:23:49 UTC
(In reply to Jiri Belka from comment #4)
> And the question is (NEEDINFO)?

Added needinfo just to ensure I've understood the described issue correctly. Closing.