Created attachment 951341 [details] Engine / vdsm logs Description of problem: After restarting the engine while there are tasts in progress: 1. engine GUI does not respond. 2. Internal Server Error response on REST api 3. java.lang.IllegalStateException in engine.log Version-Release number of selected component (if applicable): Red Hat Enterprise Virtualization Manager Version: 3.5.0-0.17.beta.el6ev (c) 2014 Red Hat Inc. All rights reserved. VDSM OS:[root@puma29 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) VDSM : vdsm-4.16.7.1-1.el7.x86_64 How reproducible: Hapans all the time to http://jenkins.qa.lab.tlv.redhat.com:8080/view/Storage/view/3.5/job/3.5-storage_async_tasks-iscsi/ reproduced manually once (make sure there are active tasks while restarting the engine) Steps to Reproduce: Automatic test : http://jenkins.qa.lab.tlv.redhat.com:8080/view/Storage/view/3.5/job/3.5-storage_async_tasks-iscsi/ which implement TCMS (fail on step #2): https://tcms.engineering.redhat.com/case/288728/?from_plan=10029 I was using up and running engine + 1 rhel7 host + ISCSI SD. 1.Create new VM with a large preallocated disk, so the task will take some time (I used 10G) 2.run "service ovirt-engine restart" on the engine. 3. wait a while (some 20 sec.) Actual results: 4. can't login to engine GUI (status code 500) 5. java.lang.IllegalStateException in engine.log Expected results: no exceptions in engine.log , active GUI / REST Additional info:
Can you attach the engine+host logs?
logs are attached.
The issue does not seem to be related to backend. If I refresh the webadmin before trying to login, the error does not appear. Please refresh webadmin, try to login and let me know if it is reproducible.
Reducing severity based on comment #3.
Browser refresh didn't help. Besides, It fails our Automation, where we don't use webadmin at all. Did you manage to see the exceptions on the attached engine log ?
Increasing back the severity since we've encoutered this issue on several setups. After it occurs, nothing helps but to cleanup the environment with rhevm-cleanup
The error in the logs, should have been fixed by Change-Id: I03873642ac5 Caused by: org.apache.commons.lang.SerializationException: org.codehaus.jackson.map.JsonMappingException: No default constructor for [collection type; class java.util.Collections$UnmodifiableCollection, contains [simple type, class java.lang.String]] (through reference chain: org.ovirt.engine.core.common.action.CreateAllSnapshotsFromVmParameters["parametersCurrentUser"]->org.ovirt.engine.core.common.businessentities.aaa.DbUser
*** This bug has been marked as a duplicate of bug 1155084 ***