Bug 1107945 - Status code:500 pop-up in the GUI after performing various actions in the GUI,it results in action's failure
Summary: Status code:500 pop-up in the GUI after performing various actions in the GUI...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: 3.5
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ---
: 3.5.0
Assignee: Alexander Wels
QA Contact: Michael Burman
URL:
Whiteboard: ux
Depends On:
Blocks: 964644 1107955 1107967 1107990 1109103
TreeView+ depends on / blocked
 
Reported: 2014-06-11 06:14 UTC by Michael Burman
Modified: 2016-02-10 19:47 UTC (History)
14 users (show)

Fixed In Version: ovirt-engine-3.5.0_beta1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-17 12:23:31 UTC
oVirt Team: UX
Embargoed:


Attachments (Terms of Use)
print screen and engine.log for trying add new netowrk (69.85 KB, text/x-log)
2014-06-11 06:14 UTC, Michael Burman
no flags Details
Print screen (1.75 MB, image/png)
2014-06-11 06:15 UTC, Michael Burman
no flags Details
Trying to add new network, got the 500 code error, network created without vnic profile (3.62 MB, video/ogg)
2014-06-18 12:56 UTC, Michael Burman
no flags Details
Trying to atach network to host,getting the error, but in the end the network attached (2.47 MB, video/ogg)
2014-06-18 13:09 UTC, Michael Burman
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 28450 0 None None None Never

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.


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