[ovirt-users] Network interface profiles disappeared after upgrading to 3.6.1

nicolas at devels.es nicolas at devels.es
Fri Jan 15 18:47:01 UTC 2016


In the JavaScript console I see this:

Fri Jan 15 18:38:17 GMT+000 2016
SEVERE: Uncaught exception: 
com.google.gwt.core.client.JavaScriptException: (TypeError)
  __gwt$exception: <skipped>: NMk(...) is null
	at Unknown.POm(Unknown Source)
	at Unknown.ZFk(Unknown Source)
	at Unknown.aGk(Unknown Source)
	at Unknown.SJk(Unknown Source)
	at Unknown.VJk(Unknown Source)
	at Unknown.yIk(Unknown Source)
	at Unknown.BIk(Unknown Source)
	at Unknown.bTc(Unknown Source)
	at Unknown.B6h(Unknown Source)
	at Unknown.VS(Unknown Source)
	at Unknown.mT(Unknown Source)
	at Unknown.jAd/c.onreadystatechange<(Unknown Source)
	at Unknown.Yp(Unknown Source)
	at Unknown.aq(Unknown Source)
	at Unknown._p/<(Unknown Source)
	at Unknown.anonymous(Unknown Source)

Also tried granting the VnicProfileUser and even NetworkAdmin 
permissions, no difference. In the server.log file I could find this:

2016-01-15 18:28:53,871 ERROR [io.undertow.servlet] (default task-28) 
Exception while dispatching incoming RPC call: 
com.google.gwt.user.client.rpc.RpcTokenException: Invalid RPC token 
(Invalid XSRF token)
         at 
org.ovirt.engine.ui.frontend.server.gwt.XsrfProtectedRpcServlet.validateXsrfToken(XsrfProtectedRpcServlet.java:31) 
[frontend.jar:]
         at 
org.ovirt.engine.ui.frontend.server.gwt.AbstractXsrfProtectedRpcServlet.onAfterRequestDeserialized(AbstractXsrfProtectedRpcServlet.java:56) 
[frontend.jar:]
         at 
com.google.gwt.rpc.server.RpcServlet.processCall(RpcServlet.java:171) 
[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:707) 
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
         at 
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
org.ovirt.engine.core.utils.servlet.HeaderFilter.doFilter(HeaderFilter.java:94) 
[utils.jar:]
         at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
org.ovirt.engine.ui.frontend.server.gwt.GwtCachingFilter.doFilter(GwtCachingFilter.java:132) 
[frontend.jar:]
         at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
org.ovirt.engine.core.branding.BrandingFilter.doFilter(BrandingFilter.java:73) 
[branding.jar:]
         at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
org.ovirt.engine.core.utils.servlet.LocaleFilter.doFilter(LocaleFilter.java:65) 
[utils.jar:]
         at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
org.ovirt.engine.core.aaa.filters.SessionMgmtFilter.doFilter(SessionMgmtFilter.java:31) 
[aaa.jar:]
         at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
org.ovirt.engine.core.aaa.filters.LoginFilter.doFilter(LoginFilter.java:75) 
[aaa.jar:]
         at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
org.ovirt.engine.core.aaa.filters.NegotiationFilter.doFilter(NegotiationFilter.java:132) 
[aaa.jar:]
         at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:90) 
[aaa.jar:]
         at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
org.ovirt.engine.core.aaa.filters.SessionValidationFilter.doFilter(SessionValidationFilter.java:77) 
[aaa.jar:]
         at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]
         at 
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85) 
[undertow-servlet-1.1.8.Final.jar:1.1.8.Final]

El 2016-01-15 18:06, nicolas at devels.es escribió:
> Hi,
> 
> We recently upgraded from 3.5.3 to 3.6.1. Everything went fairly
> smooth, however, today we realized we're facing some issues.
> 
> Users cannot add network interfaces on the User Portal to their VMs.
> It seems that when they click on "New", the "Profile" checkbox is
> empty so they cannot choose any value.
> 
> It's worth mentioning that we only upgraded the manager, not yet the
> hosts. Also, a red banner keeps popping out every few seconds with
> this error: (TypeError) __gwt$exception: <skipped>: Cannot read
> property 'r' of null
> 
> It's also worth mentioning that I can add interfaces from the admin 
> portal.
> 
> I don't actually know if it's related, but in the logs I see this:
> 
> 2016-01-15 17:53:35,241 ERROR
> [org.ovirt.engine.core.bll.GetConfigurationValueQuery] (default
> task-165) [] Query execution failed due to insufficient permissions.
> 2016-01-15 17:53:35,241 ERROR
> [org.ovirt.engine.api.restapi.resource.AbstractBackendResource]
> (default task-165) [] Operation Failed: query execution failed due to
> insufficient permissions.
> 
> All interfaces have the "Everyone" -> "UserProfileEditor" permission.
> 
> Is that some new permission that has to be granted in order to allow
> users see the network interfaces or is it a bug?
> 
> Thanks.
> 
> Nicolás
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



More information about the Users mailing list