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

Bug 1107945

Summary: Status code:500 pop-up in the GUI after performing various actions in the GUI,it results in action's failure
Product: [Retired] oVirt Reporter: Michael Burman <mburman>
Component: ovirt-engine-webadminAssignee: Alexander Wels <awels>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Burman <mburman>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.5CC: amureini, bugs, ecohen, gklein, iheim, lvernia, mburman, mgoldboi, myakove, ogofen, oourfali, rbalakri, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: ux
Fixed In Version: ovirt-engine-3.5.0_beta1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 12:23:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 964644, 1107955, 1107967, 1107990, 1109103    
Attachments:
Description Flags
print screen and engine.log for trying add new netowrk
none
Print screen
none
Trying to add new network, got the 500 code error, network created without vnic profile
none
Trying to atach network to host,getting the error, but in the end the network attached none

Description Michael Burman 2014-06-11 06:14:12 UTC
Created attachment 907492 [details]
print screen and engine.log for trying add new netowrk

Description of problem:
For almost any action you would like to perform in the gui, such as: adding networks, removing, making changes in the setup network and try to save the changes, adding disks and just for no reason, you getting an error:
Operation canceled-"Error while executing action: A Request to the Server failed with the following Status Code: 500" 
some times the actions are made and reprojected on the engine.log, and some times the actions, don't happen.

Version-Release number of selected component (if applicable):

oVirt Engine Version: 3.5.0-0.0.master.20140605145557.git3ddd2de.el6

How reproducible:
try to save changes on setup network, adding network or remove

Steps to Reproduce:
1. add new network
2. try save setup network changes by pressing "ok" in the setup network window
3. try removing network

Actual results:
Operation canceled:status code 500

Expected results:
Get no error

Additional info:
Attaching print screen for trying add new network and the engine.log for this attemt

Comment 1 Michael Burman 2014-06-11 06:15:24 UTC
Created attachment 907493 [details]
Print screen

Comment 2 Michael Burman 2014-06-11 06:32:46 UTC
How reproducible:
Always

Comment 3 Alona Kaplan 2014-06-15 06:42:58 UTC
*** Bug 1108014 has been marked as a duplicate of this bug. ***

Comment 4 Oved Ourfali 2014-06-16 12:26:55 UTC
Moving to ux after discussion with Alona and Vojtech.

Comment 5 Einav Cohen 2014-06-16 12:27:59 UTC
although originally reported on network-related actions only, it seems that this is happening for other actions such as adding hosts, so this is a cross-application issue (not sure if GUI or backend, for now on 'ux' for further investigation).

Comment 6 Alexander Wels 2014-06-17 15:21:30 UTC
Would it be possible for me to get access to a machine where you can produce this? I have tried reproducing this in my development setup and I am unable to do so. I can create/removed/edit networks at will, I can create/start/stop VMs at will. Every action I try to perform works. This is on the latest master.

Comment 7 Michael Burman 2014-06-18 06:11:41 UTC
yes, sending you via e-mail

Comment 8 Alexander Wels 2014-06-18 12:45:57 UTC
I managed to look at the logs on his machine and the server.log is full of XSRF token mismatch errors, so I would say this is something to do with the XSRF code we recently added. Now we need to figure out how we got into this state.

Comment 9 Michael Burman 2014-06-18 12:56:45 UTC
Created attachment 910000 [details]
Trying to add new network, got the 500 code error, network created without vnic profile

Comment 10 Michael Burman 2014-06-18 13:09:18 UTC
Created attachment 910002 [details]
Trying to atach network to host,getting the error, but in the end the network attached

Comment 11 Alexander Wels 2014-06-18 13:33:08 UTC
This was already fixed by patch associated with this bug, next alpha build should have this solved.

Comment 12 Meni Yakove 2014-07-17 07:42:28 UTC
ovirt-engine-3.5.0-0.0.master.20140715172116.git4687dc1.el6.noarch

Comment 13 Sandro Bonazzola 2014-10-17 12:23:31 UTC
oVirt 3.5 has been released and should include the fix for this issue.