Bug 1296458

Summary: Race condition in basic and power user portal
Product: [oVirt] ovirt-engine Reporter: Tomas Jelinek <tjelinek>
Component: Frontend.UserPortalAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Matyáš <pmatyas>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.1CC: bugs, michal.skrivanek, sbonazzo
Target Milestone: ovirt-3.6.3Flags: rule-engine: ovirt-3.6.z+
rule-engine: planning_ack+
tjelinek: devel_ack+
rule-engine: testing_ack+
Target Release: 3.6.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-18 11:13:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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. ***