Bug 1296446

Summary: Race condition in basic and power user portal
Product: [oVirt] ovirt-engine Reporter: Tomas Jelinek <tjelinek>
Component: Frontend.UserPortalAssignee: bugs <bugs>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.1CC: bugs, ecohen, tjelinek
Target Milestone: ---Flags: rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-08 18:20:05 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:

Description Tomas Jelinek 2016-01-07 09:39:13 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 Einav Cohen 2016-01-08 13:04:23 UTC
Tomas - any reason for both this bug and bug 1296458 to be open?

Comment 2 Tomas Jelinek 2016-01-08 18:20:05 UTC
Einav - no reason. The bugzilla behaved strange when I have opened this bug and seems I have accidentally opened it more times. Closing this one

*** This bug has been marked as a duplicate of bug 1296458 ***