[Users] oVirt 3.3 SPICE console error 500

Michal Skrivanek michal.skrivanek at redhat.com
Wed Jul 31 11:30:08 UTC 2013


On Jul 31, 2013, at 10:05 , Jakub Bittner <j.bittner at nbu.cz> wrote:

> Dne 26.7.2013 16:24, Einav Cohen napsal(a):
>>> ----- Original Message -----
>>> From: "Itamar Heim" <iheim at redhat.com>
>>> Sent: Friday, July 26, 2013 6:55:55 AM
>>> 
>>> On 07/26/2013 01:07 PM, Tomas Jelinek wrote:
>>>> Well, this is an error introduced by upgrading the GWT and it broke our
>>>> serialization mechanism.
>>>> There is a bug opened (well, not exactly your issue but a different which
>>>> is caused by the same problem - see the comments).
>>>> 
>>>> https://bugzilla.redhat.com/show_bug.cgi?id=988021
>>> is the fix the same for both?
>> I believe so. As Tomas mentioned - there are several issues that are being
>> caused from the same root problem, hence a single fix should resolve all issues.
>> 
>>> sounds like we need to fix asap, and hopefully jakub can take the next
>>> nightly that will have that fix (and, hmmm, test upgrade from 3.3
>>> pre-release to 3.3 pre-release...)
>> an immediate fix was already merged earlier today: http://gerrit.ovirt.org/#/c/17330/.
>> I believe that it will solve all issues that are being caused due to the serialization
>> problem of the "dateCreated" field of the RepoImage class (including the problem reported
>> by Jakub in this thread and the problem reported in Bug 988021).
>> a better / more robust solution is being worked on as we speak.
>> 
>>>> ----- Original Message -----
>>>>> From: "Jakub Bittner" <j.bittner at nbu.cz>
>>>>> To: users at ovirt.org
>>>>> Sent: Friday, July 26, 2013 8:01:04 AM
>>>>> Subject: [Users] oVirt 3.3 SPICE console error 500
>>>>> 
>>>>> Hello,
>>>>> I upgraded oVirt to 3.3 and when I want to launch SPICE console I get
>>>>> error 500 on web ui. I tried to install websovketproxy package, enabled
>>>>> it by "engine-config -s WebSocketProxy="Engine:6100" " But it did not
>>>>> help. I dont know what I did wrong. Logs are bellow. Thank you for advice
>>>>> 
>>>>> ==> ovirt-engine/engine.log <==
>>>>> 2013-07-25 15:22:31,717 INFO
>>>>> [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-8)
>>>>> Running command: SetVmTicketCommand internal: false. Entities affected
>>>>> :  ID: 8c6ea349-902f-4457-8c3f-49ee5d4cf6b9 Type: VM
>>>>> 2013-07-25 15:22:31,726 INFO
>>>>> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
>>>>> (ajp--127.0.0.1-8702-8) START, SetVmTicketVDSCommand(HostName =
>>>>> node19.nbu.cz, HostId = dc1fde46-66af-4f66-947a-12791cd6b9a0,
>>>>> vmId=8c6ea349-902f-4457-8c3f-49ee5d4cf6b9, ticket=7LP81DPq1CpR,
>>>>> validTime=120,m userName=admin at internal,
>>>>> userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 1b7e23bf
>>>>> 2013-07-25 15:22:31,764 INFO
>>>>> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
>>>>> (ajp--127.0.0.1-8702-8) FINISH, SetVmTicketVDSCommand, log id: 1b7e23bf
>>>>> 
>>>>> ==> ovirt-engine/server.log <==
>>>>> 2013-07-25 15:22:31,865 ERROR
>>>>> [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/webadmin]]
>>>>> (ajp--127.0.0.1-8702-8) Exception while dispatching incoming RPC call:
>>>>> java.lang.NullPointerException
>>>>>      at
>>>>> com.google.gwt.rpc.server.WebModePayloadSink.getBytes(WebModePayloadSink.java:860)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.push(WebModePayloadSink.java:767)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.constructorFunction(WebModePayloadSink.java:636)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:259)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.InstantiateCommand.traverse(InstantiateCommand.java:54)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:236)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.ArrayValueCommand.traverse(ArrayValueCommand.java:53)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:291)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.InstantiateCommand.traverse(InstantiateCommand.java:54)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:375)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.InvokeCustomFieldSerializerCommand.traverse(InvokeCustomFieldSerializerCommand.java:76)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:236)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.ArrayValueCommand.traverse(ArrayValueCommand.java:53)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:291)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.InstantiateCommand.traverse(InstantiateCommand.java:54)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:362)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.InvokeCustomFieldSerializerCommand.traverse(InvokeCustomFieldSerializerCommand.java:76)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:236)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.ArrayValueCommand.traverse(ArrayValueCommand.java:53)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:291)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.InstantiateCommand.traverse(InstantiateCommand.java:54)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:375)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.InvokeCustomFieldSerializerCommand.traverse(InvokeCustomFieldSerializerCommand.java:76)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.server.WebModePayloadSink$PayloadVisitor.visit(WebModePayloadSink.java:406)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.ReturnCommand.traverse(ReturnCommand.java:44)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.doAccept(RpcCommandVisitor.java:320)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.client.ast.RpcCommandVisitor.accept(RpcCommandVisitor.java:42)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.server.WebModePayloadSink.accept(WebModePayloadSink.java:890)
>>>>> [gwt-servlet.jar:]
>>>>>      at com.google.gwt.rpc.server.RPC.streamResponse(RPC.java:472)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.server.RPC.invokeAndStreamResponse(RPC.java:198)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.server.RpcServlet.processCall(RpcServlet.java:172)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.rpc.server.RpcServlet.processPost(RpcServlet.java:233)
>>>>> [gwt-servlet.jar:]
>>>>>      at
>>>>> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
>>>>> [gwt-servlet.jar:]
>>>>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
>>>>> [jboss-servlet-3.0-api.jar:1.0.1.Final]
>>>>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
>>>>> [jboss-servlet-3.0-api.jar:1.0.1.Final]
>>>>>      at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
>>>>> [jboss-web.jar:]
>>>>>      at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
>>>>> [jboss-web.jar:]
>>>>>      at
>>>>> org.ovirt.engine.ui.frontend.server.gwt.GwtCachingFilter.doFilter(GwtCachingFilter.java:132)
>>>>> [frontend.jar:]
>>>>>      at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
>>>>> [jboss-web.jar:]
>>>>>      at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
>>>>> [jboss-web.jar:]
>>>>>      at
>>>>> org.ovirt.engine.core.utils.servlet.LocaleFilter.doFilter(LocaleFilter.java:59)
>>>>> [utils.jar:]
>>>>>      at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
>>>>> [jboss-web.jar:]
>>>>>      at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
>>>>> [jboss-web.jar:]
>>>>>      at
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
>>>>> [jboss-web.jar:]
>>>>>      at
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
>>>>> [jboss-web.jar:]
>>>>>      at
>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)
>>>>> [jboss-web.jar:]
>>>>>      at
>>>>> org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
>>>>> [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
>>>>>      at
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
>>>>> [jboss-web.jar:]
>>>>>      at
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>>>> [jboss-web.jar:]
>>>>>      at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466)
>>>>> [jboss-web.jar:]
>>>>>      at
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>>>> [jboss-web.jar:]
>>>>>      at
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
>>>>> [jboss-web.jar:]
>>>>>      at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)
>>>>> [jboss-web.jar:]
>>>>>      at
>>>>> org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445)
>>>>> [jboss-web.jar:]
>>>>>      at
>>>>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
>>>>> [jboss-web.jar:]
>>>>>      at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at ovirt.org
>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>> 
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>> 
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>> 
>>> 
>>> 
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
> Hi,
> 
> I just want to ask if sollution which fix bug 988021 ( https://bugzilla.redhat.com/show_bug.cgi?id=988021 ) will fix even this issue with spice and error 500. If so, how can I try fixed version? I think it would be nice if I can try it before RC1 release.

Most likely yes.
3.3 RC1 is about to be built, but if you're impatient go ahead with nightly builds

Thanks,
michal

> 
> Thank you,
> Jakub Bittner, NSA Czech
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users




More information about the Users mailing list