<div dir="ltr"><div>I suspect<br><br> List<Guid> guids = Guid.createGuidListFromString(snap.getMemoryVolume());<br><br></div>where guids is empty because there is not memory volume. which fails this<br><br> StorageDomain sd = getStorageDomainDao().getForStoragePool(guids.get(0), params.getStoragePoolId());<br><br><br></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 23 Apr 2018 at 22:01 Benny Zlotnik <<a href="mailto:bzlotnik@redhat.com">bzlotnik@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Looks like a bug. Can you please file a report: <a href="https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine" target="_blank">https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine</a> </div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 23, 2018 at 9:38 PM, ~Stack~ <span dir="ltr"><<a href="mailto:i.am.stack@gmail.com" target="_blank">i.am.stack@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Greetings,<br>
<br>
After my rebuild, I have imported my VM's. Everything went smooth and<br>
all of them came back, except one. One VM gives me the error "General<br>
command validation failure." which isn't helping me when I search for<br>
the problem.<br>
<br>
The oVirt engine logs aren't much better at pointing to what the failure<br>
is (posted below).<br>
<br>
Can someone help me figure out why this VM isn't importing, please?<br>
<br>
Thanks!<br>
~Stack~<br>
<br>
<br>
2018-04-23 13:31:44,313-05 INFO<br>
[org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand]<br>
(default task-72) [6793fe73-7cda-4cb5-a806-7104a05c3c1b] Lock Acquired<br>
to object 'EngineLock:{exclusiveLocks='[infra01=VM_NAME,<br>
0b64ced5-7e4b-48cd-9d0d-24e8b905758c=VM]',<br>
sharedLocks='[0b64ced5-7e4b-48cd-9d0d-24e8b905758c=REMOTE_VM]'}'<br>
2018-04-23 13:31:44,349-05 ERROR<br>
[org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand]<br>
(default task-72) [6793fe73-7cda-4cb5-a806-7104a05c3c1b] Error during<br>
ValidateFailure.: java.lang.NullPointerException<br>
at<br>
org.ovirt.engine.core.bll.validator.ImportValidator.validateStorageExistsForMemoryDisks(ImportValidator.java:140)<br>
[bll.jar:]<br>
at<br>
org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand.isValidDisks(ImportVmFromConfigurationCommand.java:151)<br>
[bll.jar:]<br>
at<br>
org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand.validate(ImportVmFromConfigurationCommand.java:103)<br>
[bll.jar:]<br>
at<br>
org.ovirt.engine.core.bll.CommandBase.internalValidate(CommandBase.java:779)<br>
[bll.jar:]<br>
at<br>
org.ovirt.engine.core.bll.CommandBase.validateOnly(CommandBase.java:368)<br>
[bll.jar:]<br>
at<br>
org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.canRunActions(PrevalidatingMultipleActionsRunner.java:113)<br>
[bll.jar:]<br>
at<br>
org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.invokeCommands(PrevalidatingMultipleActionsRunner.java:99)<br>
[bll.jar:]<br>
at<br>
org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.execute(PrevalidatingMultipleActionsRunner.java:76)<br>
[bll.jar:]<br>
at<br>
org.ovirt.engine.core.bll.Backend.runMultipleActionsImpl(Backend.java:596)<br>
[bll.jar:]<br>
at<br>
org.ovirt.engine.core.bll.Backend.runMultipleActions(Backend.java:566)<br>
[bll.jar:]<br>
at sun.reflect.GeneratedMethodAccessor914.invoke(Unknown Source)<br>
[:1.8.0_161]<br>
at<br>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
[rt.jar:1.8.0_161]<br>
at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_161]<br>
at<br>
org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at<br>
org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)<br>
at<br>
org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:78)<br>
at<br>
org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:88)<br>
at<br>
org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:101)<br>
at<br>
org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at<br>
org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)<br>
at<br>
org.ovirt.engine.core.bll.interceptors.CorrelationIdTrackerInterceptor.aroundInvoke(CorrelationIdTrackerInterceptor.java:13)<br>
[bll.jar:]<br>
at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)<br>
[:1.8.0_161]<br>
at<br>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
[rt.jar:1.8.0_161]<br>
at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_161]<br>
at<br>
org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptor.java:89)<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at<br>
org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)<br>
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at<br>
org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)<br>
[wildfly-ee-11.0.0.Final.jar:11.0.0.Final]<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at<br>
org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:40)<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at<br>
org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)<br>
at<br>
org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at<br>
org.jboss.as.ejb3.component.singleton.SingletonComponentInstanceAssociationInterceptor.processInvocation(SingletonComponentInstanceAssociationInterceptor.java:53)<br>
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at<br>
org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:264)<br>
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]<br>
at<br>
org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:379)<br>
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]<br>
at<br>
org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:244)<br>
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at<br>
org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)<br>
at<br>
org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)<br>
[weld-core-impl-2.4.3.Final.jar:2.4.3.Final]<br>
at<br>
org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:89)<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at<br>
org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)<br>
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at<br>
org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47)<br>
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at<br>
org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)<br>
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at<br>
org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22)<br>
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at<br>
org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)<br>
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at<br>
org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67)<br>
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at<br>
org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at<br>
org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:60)<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:438)<br>
at<br>
org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:609)<br>
at<br>
org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:57)<br>
at<br>
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)<br>
at<br>
org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)<br>
at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198)<br>
at<br>
org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)<br>
at<br>
org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:81)<br>
at<br>
org.ovirt.engine.core.common.interfaces.BackendLocal$$$view2.runMultipleActions(Unknown<br>
Source) [common.jar:]<br>
at<br>
org.ovirt.engine.ui.frontend.server.gwt.GenericApiGWTServiceImpl.runMultipleActions(GenericApiGWTServiceImpl.java:161)<br>
at sun.reflect.GeneratedMethodAccessor913.invoke(Unknown Source)<br>
[:1.8.0_161]<br>
at<br>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
[rt.jar:1.8.0_161]<br>
at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_161]<br>
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:587)<br>
at<br>
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:333)<br>
at<br>
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:303)<br>
at<br>
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)<br>
at<br>
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)<br>
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]<br>
at<br>
org.ovirt.engine.ui.frontend.server.gwt.GenericApiGWTServiceImpl.service(GenericApiGWTServiceImpl.java:78)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)<br>
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]<br>
at<br>
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)<br>
at<br>
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)<br>
at<br>
org.ovirt.engine.core.utils.servlet.HeaderFilter.doFilter(HeaderFilter.java:94)<br>
[utils.jar:]<br>
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)<br>
at<br>
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)<br>
at<br>
org.ovirt.engine.core.utils.servlet.CachingFilter.doFilter(CachingFilter.java:133)<br>
[utils.jar:]<br>
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)<br>
at<br>
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)<br>
at<br>
org.ovirt.engine.core.branding.BrandingFilter.doFilter(BrandingFilter.java:73)<br>
[branding.jar:]<br>
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)<br>
at<br>
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)<br>
at<br>
org.ovirt.engine.core.utils.servlet.LocaleFilter.doFilter(LocaleFilter.java:65)<br>
[utils.jar:]<br>
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)<br>
at<br>
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)<br>
at<br>
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)<br>
at<br>
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)<br>
at<br>
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)<br>
at<br>
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)<br>
at<br>
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
at<br>
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)<br>
at<br>
io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)<br>
at<br>
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
at<br>
io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53)<br>
at<br>
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)<br>
at<br>
io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)<br>
at<br>
io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59)<br>
at<br>
io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)<br>
at<br>
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)<br>
at<br>
io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)<br>
at<br>
io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)<br>
at<br>
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
at<br>
org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)<br>
at<br>
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
at<br>
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br>
at<br>
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)<br>
at<br>
io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)<br>
at<br>
io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)<br>
at<br>
io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)<br>
at<br>
io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)<br>
at<br>
io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)<br>
at<br>
org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)<br>
at<br>
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)<br>
at<br>
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)<br>
at<br>
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)<br>
at<br>
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)<br>
at<br>
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)<br>
at<br>
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)<br>
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:326)<br>
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812)<br>
at<br>
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)<br>
[rt.jar:1.8.0_161]<br>
at<br>
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)<br>
[rt.jar:1.8.0_161]<br>
at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_161]<br>
<br>
2018-04-23 13:31:44,358-05 INFO<br>
[org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand]<br>
(default task-72) [6793fe73-7cda-4cb5-a806-7104a05c3c1b] Lock freed to<br>
object 'EngineLock:{exclusiveLocks='[infra01=VM_NAME,<br>
0b64ced5-7e4b-48cd-9d0d-24e8b905758c=VM]',<br>
sharedLocks='[0b64ced5-7e4b-48cd-9d0d-24e8b905758c=REMOTE_VM]'}'<br>
<br>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</blockquote></div>