Bug 1296458 - Race condition in basic and power user portal
Summary: Race condition in basic and power user portal
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.UserPortal
Version: 3.6.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-3.6.3
: 3.6.3
Assignee: Tomas Jelinek
QA Contact: Petr Matyáš
URL:
Whiteboard:
: 1296443 1296446 1306689 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-07 10:15 UTC by Tomas Jelinek
Modified: 2016-02-23 08:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-18 11:13:03 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-3.6.z+
rule-engine: planning_ack+
tjelinek: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 44363 0 None None None 2016-01-19 10:02:14 UTC
oVirt gerrit 51487 0 master ABANDONED userportal: race in user portal main models 2016-01-07 11:05:59 UTC
oVirt gerrit 51496 0 ovirt-engine-3.6 MERGED userportal: Fix of FE NPE during too fast clicking at list refresh 2016-01-07 15:10:13 UTC

Description Tomas Jelinek 2016-01-07 10:15:39 UTC
There is a race condition in the basic and power user portal. In slower environments if there are both VMs and pools, if the run VM is executed, a NPE is thrown.

It does not do too much damage since it happens only after the command has been sent to server, but the popup with unhandled exception is shown anyway.

Reproduce:
1: have an engine server which is running for some reason quite slow (e.g. slow network between frontend and backend or the engine machine is loaded or something). If the queries return fast it will not reproduce
2: have both VMs and pools
3: click "run" on any VM
4: there is an exception thrown

Comment 1 Tomas Jelinek 2016-01-07 10:18:53 UTC
*** Bug 1296443 has been marked as a duplicate of this bug. ***

Comment 2 Tomas Jelinek 2016-01-08 18:20:05 UTC
*** Bug 1296446 has been marked as a duplicate of this bug. ***

Comment 3 Petr Matyáš 2016-02-03 14:23:52 UTC
Verified on 3.6.3-1

Comment 4 Tomas Jelinek 2016-02-12 08:36:26 UTC
*** Bug 1306689 has been marked as a duplicate of this bug. ***


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