Sadly I cannot advise you further , as my setup is way too different and I can't reproduce it.

Maybe someone else in the community can make a test and see if their version is affected or not.

Best Regards,
Strahil Nikolov


В петък, 5 юли 2019 г., 10:06:30 ч. Гринуич-4, Vrgotic, Marko <M.Vrgotic@activevideo.com> написа:


Hi Strahil,

 

I tried what you said and I am still getting an exception.

 

Correct me if I am wrong, but my expectation is following, when creating new VM:

  • Select cluster
  • Whether I want to use template or create brand new VM from scratch, list of templates and everything else specific to cluster I selected should be loaded

 

Instead, I get the exception and have to refresh/reload the page.

 

In short, when creating new VM, I am currently locked to a default loaded cluster, which in my case is avshared1.

 

To give you bit more insight into configuration, here are the cluster details:

 

 

Per cluster:

 

Let me know if you need me to provide more valuable information.

 

Kindly awaiting your reply.

 

 

Best regards,

Marko Vrgotic

 

From: Strahil Nikolov <hunter86_bg@yahoo.com>
Date: Friday, 5 July 2019 at 15:42
To: "users@ovirt.org" <users@ovirt.org>, "Vrgotic, Marko" <M.Vrgotic@activevideo.com>
Subject: Re: [ovirt-users] UI exception when changing Cluster in New VM window

 

As per your e-mail you try to both set a new cluster and new template , right?

Could you try to edit the cluster and save and then edit again and check the template lit ?

 

Best Regards,

Strahil Nikolov

 

В четвъртък, 4 юли 2019 г., 22:31:11 ч. Гринуич-4, Vrgotic, Marko <M.Vrgotic@activevideo.com> написа:

 

 

Dear oVirt,

 

We are running oVIrt SHE 4.3.3 version.

 

We have three production DCCs/clusters:

  • avshared1
  • avlocal1
  • avlocal2

 

When navigating to Vitrual Machines > Selecting New VM > and changing cluster, we get an UI exception:

 

Engine.log:

2019-07-04 12:45:27,538Z ERROR [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-468) [] Error sending file '/etc/ovirt-engine/branding/00-ovirt.brand/bundled/patternfly/fonts/fontawesome-webfont.woff2'.: java.io.IOException: Connection reset by peer

                at sun.nio.ch.FileDispatcherImpl.writev0(Native Method) [rt.jar:1.8.0_201]

                at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51) [rt.jar:1.8.0_201]

                at sun.nio.ch.IOUtil.write(IOUtil.java:148) [rt.jar:1.8.0_201]

                at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:504) [rt.jar:1.8.0_201]

                at org.xnio.nio.NioSocketConduit.write(NioSocketConduit.java:162)

                at io.undertow.conduits.AbstractFramedStreamSinkConduit.doWrite(AbstractFramedStreamSinkConduit.java:137) [undertow-core-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.conduits.AbstractFramedStreamSinkConduit.write(AbstractFramedStreamSinkConduit.java:108) [undertow-core-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.server.protocol.ajp.AjpServerResponseConduit.write(AjpServerResponseConduit.java:298) [undertow-core-2.0.15.Final.jar:2.0.15.Final]

                at org.xnio.conduits.ConduitStreamSinkChannel.write(ConduitStreamSinkChannel.java:150)

                at io.undertow.channels.DetachableStreamSinkChannel.write(DetachableStreamSinkChannel.java:240) [undertow-core-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.server.HttpServerExchange$WriteDispatchChannel.write(HttpServerExchange.java:2103) [undertow-core-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.spec.ServletOutputStreamImpl.writeBufferBlocking(ServletOutputStreamImpl.java:574) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.spec.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:150) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at org.ovirt.engine.core.utils.servlet.ServletUtils.writeFileToStream(ServletUtils.java:145) [utils.jar:]

                at org.ovirt.engine.core.utils.servlet.ServletUtils.sendFile(ServletUtils.java:121) [utils.jar:]

                at org.ovirt.engine.core.utils.servlet.ServletUtils.sendFile(ServletUtils.java:74) [utils.jar:]

                at org.ovirt.engine.core.utils.servlet.ServletUtils.sendFile(ServletUtils.java:70) [utils.jar:]

                at org.ovirt.engine.core.branding.BrandingServlet.doGet(BrandingServlet.java:50) [branding.jar:]

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:686) [jboss-servlet-api_4.0_spec-1.0.0.Final.jar:1.0.0.Final]

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:791) [jboss-servlet-api_4.0_spec-1.0.0.Final.jar:1.0.0.Final]

                at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at org.ovirt.engine.core.utils.servlet.HeaderFilter.doFilter(HeaderFilter.java:94) [utils.jar:]

                at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at org.ovirt.engine.core.utils.servlet.CachingFilter.doFilter(CachingFilter.java:133) [utils.jar:]

                at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at org.ovirt.engine.core.branding.BrandingFilter.doFilter(BrandingFilter.java:73) [branding.jar:]

                at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at org.ovirt.engine.core.utils.servlet.LocaleFilter.doFilter(LocaleFilter.java:65) [utils.jar:]

                at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)

                at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53) [undertow-core-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) [undertow-core-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) [undertow-core-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50) [undertow-core-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) [undertow-core-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-2.0.15.Final.jar:2.0.15.Final]

                at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)

                at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)

                at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)

                at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)

                at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)

                at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104) [undertow-servlet-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.server.Connectors.executeRootHandler(Connectors.java:360) [undertow-core-2.0.15.Final.jar:2.0.15.Final]

                at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830) [undertow-core-2.0.15.Final.jar:2.0.15.Final]

                at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)

                at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)

                at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)

                at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)

                at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_201]

 

ui.log:

 

2019-07-04 12:45:36,816Z ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-468) [] Permutation name: D5BDCF23C278EDC04ACE8C382374BEA9

2019-07-04 12:45:36,818Z ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-468) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: undefined

                at java.lang.Throwable.Throwable(Throwable.java:70) [rt.jar:1.8.0_201]

                at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32) [rt.jar:1.8.0_201]

                at com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:64) [gwt-servlet.jar:]

                at com.google.gwt.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:25) [gwt-servlet.jar:]

                at com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:117) [gwt-servlet.jar:]

                at com.google.gwt.user.client.ui.Widget.$fireEvent(Widget.java:127) [gwt-servlet.jar:]

                at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:127) [gwt-servlet.jar:]

                at com.google.gwt.event.logical.shared.ValueChangeEvent.fire(ValueChangeEvent.java:40) [gwt-servlet.jar:]

                at org.ovirt.engine.ui.common.widget.editor.ListModelListBox.$lambda$2(ListModelListBox.java:251)

                at org.ovirt.engine.ui.common.widget.editor.ListModelListBox$lambda$2$Type.execute(ListModelListBox.java:251)

                at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:167) [gwt-servlet.jar:]

                at com.google.gwt.core.client.impl.SchedulerImpl.$flushPostEventPumpCommands(SchedulerImpl.java:338) [gwt-servlet.jar:]

                at com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:76) [gwt-servlet.jar:]

                at com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:140) [gwt-servlet.jar:]

                at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236) [gwt-servlet.jar:]

                at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275) [gwt-servlet.jar:]

                at Unknown.Su/<(https://ovirt-engine.avinity.tv/ovirt-engine/webadmin/?locale=en_US line 9 > scriptElement)

                at Unknown.d(https://ovirt-engine.avinity.tv/ovirt-engine/webadmin/?locale=en_US line 9 > scriptElement)

                at Unknown.anonymous(Unknown)

Caused by: java.lang.NullPointerException

                at java.lang.Throwable.Throwable(Throwable.java:59) [rt.jar:1.8.0_201]

                at java.lang.Exception.Exception(Exception.java:25) [rt.jar:1.8.0_201]

                at java.lang.RuntimeException.RuntimeException(RuntimeException.java:25) [rt.jar:1.8.0_201]

                at java.lang.NullPointerException.NullPointerException(NullPointerException.java:28) [rt.jar:1.8.0_201]

                at javaemul.internal.InternalPreconditions.checkCriticalNotNull(InternalPreconditions.java:417) [gwt-servlet.jar:]

                at javaemul.internal.InternalPreconditions.checkNotNull(InternalPreconditions.java:403) [gwt-servlet.jar:]

                at org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel.$compatibilityVersionChanged(UnitVmModel.java:2090)

                at org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel.eventRaised(UnitVmModel.java:1962)

                at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)

                at org.ovirt.engine.ui.uicommonweb.models.ListModel.$setSelectedItem(ListModel.java:82)

                at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget_dataCenterWithClustersList_selectedItem_Context.$setInModel(AbstractVmPopupWidget_dataCenterWithClustersList_selectedItem_Context.java:19)

                at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget_dataCenterWithClustersList_selectedItem_Context.setInModel(AbstractVmPopupWidget_dataCenterWithClustersList_selectedItem_Context.java:19)

                at org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor.$setInModel(UiCommonEditorVisitor.java:143)

                at org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor.$lambda$0(UiCommonEditorVisitor.java:60)

                at org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor$lambda$0$Type.onValueChange(UiCommonEditorVisitor.java:60)

                at com.google.gwt.event.logical.shared.ValueChangeEvent.dispatch(ValueChangeEvent.java:127) [gwt-servlet.jar:]

                at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:76) [gwt-servlet.jar:]

                at com.google.web.bindery.event.shared.SimpleEventBus.$doFire(SimpleEventBus.java:173) [gwt-servlet.jar:]

                ... 15 more

 

 

Screenshot:

Cluster is changed from avshared1 to avlocal1 but Templates list presented  is still from avshared1:

 

cid:wawVqocqJSarbBYIUS84

 

I was not able to find it this was already reported and potentially solved in 4.3.4 or 4.3.5.

 

Kindly awaiting your reply.

 

Marko Vrgotic

ActiveVideo

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/3REW7XF4ADO74TQC2SG2X4VGBYEEIPAQ/