On 09/13/2013 11:25 AM, Hervé Leclerc wrote:
I've installed a fresh install on a new machine of the beta oVirt Engine Version:
3.3.0-3.el6. I've no more problems. Good news !
But i can't update my all-in-one version 3.3.0-1.el6 by a yum update. What is the
process to do it ?
Hervé Leclerc
CTO
Alter Way
1, rue royale
9 ème étage
92210 St Cloud
+33 1 78152407
+33 6 83979598
<
http://www.alterway.fr/signatures/url/1>
On Thu, Sep 12, 2013 at 7:59 PM, Dave Neary <dneary(a)redhat.com
<mailto:dneary@redhat.com>> wrote:
Hi Hervé,
Did you get an answer to this? I saw you still had the issue with the RC
packages.
Cheers,
Dave.
On 09/09/2013 09:53 AM, Hervé Leclerc wrote:
> (My apologies if the message is received twice by the mailing list)
>
> I've got a 500 when a try to get the list of vms with python sdk on
> oVirt 3.3 with the statement : vms=api.vms.list(cluster='local_cluster')
just a side note, this kind of filtering is not efficient as it happens on a client
side [1], you should be using oVirt query based filtering instead as it takes place on a
server side i.e in response you'll get only items answering on your query condition),
e.g:
vms=api.vms.list(query="cluster=local_cluster")
[1] client side filtering is useful on a not-root collections where oVirt query
is not available or where properties you would like to filter by are not supported
by the oVirt query (btw you can combine oVirt query in UI using auto-completion and
use it in all SDKs/CLI/etc.)
>
> Is it a known issue ?
>
> I've also notice the same problem with rbovirt.
>
> I've put code to reproduce here
https://gist.github.com/herveleclerc/6492361
>
> Here the log from server.log
>
>
> 2013-09-09 09:34:02,141 ERROR
>
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/api].[org.ovirt.engine.api.restapi.BackendApplication]]
> (ajp--127.0.0.1-8702-7) Servlet.service() for servlet
> org.ovirt.engine.api.restapi.BackendApplication threw exception:
> org.jboss.resteasy.spi.UnhandledException: java.lang.NullPointerException
> at
>
org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:340)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
>
org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
>
org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
>
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:540)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
>
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
>
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
>
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
>
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
>
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
> [jbossweb-7.0.13.Final.jar:]
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
> [jbossweb-7.0.13.Final.jar:]
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
> [jbossweb-7.0.13.Final.jar:]
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
> [jbossweb-7.0.13.Final.jar:]
> at
>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)
> [jbossweb-7.0.13.Final.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)
> [jbossweb-7.0.13.Final.jar:]
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> [jbossweb-7.0.13.Final.jar:]
> at
> org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466)
> [jbossweb-7.0.13.Final.jar:]
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> [jbossweb-7.0.13.Final.jar:]
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
> [jbossweb-7.0.13.Final.jar:]
> at
> org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)
> [jbossweb-7.0.13.Final.jar:]
> at
>
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445)
> [jbossweb-7.0.13.Final.jar:]
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
> [jbossweb-7.0.13.Final.jar:]
> at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
> Caused by: java.lang.NullPointerException
> at
> org.ovirt.engine.api.common.util.LinkHelper.getCollection(LinkHelper.java:523)
> [interface-common-jaxrs.jar:]
> at
> org.ovirt.engine.api.common.util.LinkHelper.getUriBuilder(LinkHelper.java:569)
> [interface-common-jaxrs.jar:]
> at
>
org.ovirt.engine.api.restapi.resource.AbstractBackendResource.linkSubCollections(AbstractBackendResource.java:287)
> [restapi-jaxrs.jar:]
> at
>
org.ovirt.engine.api.restapi.resource.AbstractBackendResource.addLinks(AbstractBackendResource.java:228)
> [restapi-jaxrs.jar:]
> at
>
org.ovirt.engine.api.restapi.resource.AbstractBackendResource.addLinks(AbstractBackendResource.java:218)
> [restapi-jaxrs.jar:]
> at
>
org.ovirt.engine.api.restapi.resource.BackendVmsResource.mapCollection(BackendVmsResource.java:407)
> [restapi-jaxrs.jar:]
> at
>
org.ovirt.engine.api.restapi.resource.BackendVmsResource.list(BackendVmsResource.java:71)
> [restapi-jaxrs.jar:]
> at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
> [:1.7.0_25]
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [rt.jar:1.7.0_25]
> at java.lang.reflect.Method.invoke(Method.java:606)
> [rt.jar:1.7.0_25]
> at
> org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
> org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
> [resteasy-jaxrs-2.3.2.Final.jar:]
>
> at
> org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
> org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
> org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> at
>
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)
> [resteasy-jaxrs-2.3.2.Final.jar:]
> ... 21 more
>
>
>
> Hervé Leclerc
> CTO
> Alter Way
> 1, rue royale
> 9 ème étage
> 92210 St Cloud
> +33 1 78152407
> +33 6 83979598
>
> <
http://www.alterway.fr/signatures/url/1>
>
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org <mailto:Users@ovirt.org>
>
http://lists.ovirt.org/mailman/listinfo/users
>
--
Dave Neary - Community Action and Impact
Open Source and Standards, Red Hat -
http://community.redhat.com
Ph: +33 9 50 71 55 62 <tel:%2B33%209%2050%2071%2055%2062> / Cell: +33 6 77 01
92 13 <tel:%2B33%206%2077%2001%2092%2013>
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
--
Michael Pasternak
RedHat, ENG-Virtualization R&D