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

Bug 956068

Summary: VM taken by a user from a prestarted pool does not show as "Up" until page refreshed
Product: Red Hat Enterprise Virtualization Manager Reporter: Simon Grinberg <sgrinber>
Component: ovirt-engine-userportalAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED ERRATA QA Contact: Jiri Belka <jbelka>
Severity: high Docs Contact:
Priority: urgent    
Version: 3.1.3CC: aburden, acathrow, byount, dyasny, ecohen, iheim, italkohe, jwest, michal.skrivanek, pstehlik, Rhev-m-bugs, sgrinber, tjelinek, ykaul
Target Milestone: ---Keywords: Regression, ZStream
Target Release: 3.1.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, when taking a virtual machine from a pool of prestarted virtual machines, the status of the virtual machine would not change to "Up" unless the browser was refreshed. This was because PoolItemBehavior.PostTakeVm() loaded the virtual machines from the server and replaced the entity in the UserPortalItemModel. Optimization logic would not detect a change and would not trigger the re-rendering. Now, this logic has been removed so that the re-rendering is handled by the User Portal refresh cycle and the User Portal shows the virtual machine with a status of "Up".
Story Points: ---
Clone Of: 953690 Environment:
Last Closed: 2013-05-01 18:36:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 953690, 956183    
Bug Blocks:    

Comment 3 Michal Skrivanek 2013-04-24 12:25:04 UTC
*** Bug 956183 has been marked as a duplicate of this bug. ***

Comment 7 Jiri Belka 2013-04-29 07:24:41 UTC
> Jiri, I have a question here. When the user clicks the "Play" button to check
> out a VM from a prestarted pool, is there any immediate indication that the
> action they have performed has done anything? Does the play button grey out?
> If so, that's probably acceptable until the standard page refresh cycle
> happens.

No, when you click the icon does not change. The icon changes after refresh time (confirmed by tjelinek@ as current funcionality) which is 5 seconds for most browsers. After refresh time redraws the page the icon is changed and contains 'Machin is ready'.

Comment 8 Jiri Belka 2013-04-29 07:27:32 UTC
> Does the play button grey out?

Yes, when the icon changes, the play button becomes grey.

So the question is: is acceptable that the icon/play button changes/becomes grey and contains 'Machine is ready' after refresh time?

Comment 9 Jiri Belka 2013-04-30 07:48:48 UTC
OK, rhevm-3.1.0-53.el6ev.noarch, works as designed now - refreshes after refresh time of the web app, not manual refesh of whole browser needed anymore.

Comment 10 errata-xmlrpc 2013-05-01 18:36:37 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.

http://rhn.redhat.com/errata/RHBA-2013-0773.html

Comment 11 Bryan Yount 2013-05-25 00:38:10 UTC
(In reply to Jiri Belka from comment #9)
> OK, rhevm-3.1.0-53.el6ev.noarch, works as designed now - refreshes after
> refresh time of the web app, not manual refesh of whole browser needed
> anymore.

Customer verified the fix. Thanks Jiri.