I suspectwhere guids is empty because there is not memory volume. which fails this
List<Guid> guids = Guid.createGuidListFromString(snap.getMemoryVolume());
StorageDomain sd = getStorageDomainDao().getForStoragePool(guids.get(0) , params.getStoragePoolId());
On Mon, 23 Apr 2018 at 22:01 Benny Zlotnik <bzlotnik@redhat.com> wrote:Looks like a bug. Can you please file a report: https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt- engine On Mon, Apr 23, 2018 at 9:38 PM, ~Stack~ <i.am.stack@gmail.com> wrote:Greetings,
After my rebuild, I have imported my VM's. Everything went smooth and
all of them came back, except one. One VM gives me the error "General
command validation failure." which isn't helping me when I search for
the problem.
The oVirt engine logs aren't much better at pointing to what the failure
is (posted below).
Can someone help me figure out why this VM isn't importing, please?
Thanks!
~Stack~
2018-04-23 13:31:44,313-05 INFO
[org.ovirt.engine.core.bll.exportimport. ImportVmFromConfigurationComma nd]
(default task-72) [6793fe73-7cda-4cb5-a806-7104a05c3c1b] Lock Acquired
to object 'EngineLock:{exclusiveLocks='[infra01=VM_NAME,
0b64ced5-7e4b-48cd-9d0d-24e8b905758c=VM]',
sharedLocks='[0b64ced5-7e4b-48cd-9d0d-24e8b905758c=REMOTE_ VM]'}'
2018-04-23 13:31:44,349-05 ERROR
[org.ovirt.engine.core.bll.exportimport. ImportVmFromConfigurationComma nd]
(default task-72) [6793fe73-7cda-4cb5-a806-7104a05c3c1b] Error during
ValidateFailure.: java.lang.NullPointerException
at
org.ovirt.engine.core.bll.validator.ImportValidator. validateStorageExistsForMemory Disks(ImportValidator.java: 140)
[bll.jar:]
at
org.ovirt.engine.core.bll.exportimport. ImportVmFromConfigurationComma nd.isValidDisks( ImportVmFromConfigurationComma nd.java:151)
[bll.jar:]
at
org.ovirt.engine.core.bll.exportimport. ImportVmFromConfigurationComma nd.validate( ImportVmFromConfigurationComma nd.java:103)
[bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.internalValidate( CommandBase.java:779)
[bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.validateOnly( CommandBase.java:368)
[bll.jar:]
at
org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRu nner.canRunActions( PrevalidatingMultipleActionsRu nner.java:113)
[bll.jar:]
at
org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRu nner.invokeCommands( PrevalidatingMultipleActionsRu nner.java:99)
[bll.jar:]
at
org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRu nner.execute( PrevalidatingMultipleActionsRu nner.java:76)
[bll.jar:]
at
org.ovirt.engine.core.bll.Backend. runMultipleActionsImpl( Backend.java:596)
[bll.jar:]
at
org.ovirt.engine.core.bll.Backend.runMultipleActions( Backend.java:566)
[bll.jar:]
at sun.reflect.GeneratedMethodAccessor914. invoke(Unknown Source)
[:1.8.0_161]
at
sun.reflect.DelegatingMethodAccessorImpl. invoke( DelegatingMethodAccessorImpl. java:43)
[rt.jar:1.8.0_161]
at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_161]
at
org.jboss.as.ee.component.ManagedReferenceMethodIntercep tor.processInvocation( ManagedReferenceMethodIntercep tor.java:52)
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at
org.jboss.invocation.InterceptorContext$Invocation. proceed(InterceptorContext. java:509)
at
org.jboss.as.weld.interceptors. Jsr299BindingsInterceptor. delegateInterception( Jsr299BindingsInterceptor. java:78)
at
org.jboss.as.weld.interceptors. Jsr299BindingsInterceptor. doMethodInterception( Jsr299BindingsInterceptor. java:88)
at
org.jboss.as.weld.interceptors. Jsr299BindingsInterceptor. processInvocation( Jsr299BindingsInterceptor. java:101)
at
org.jboss.as.ee.component.interceptors. UserInterceptorFactory$1. processInvocation( UserInterceptorFactory.java: 63)
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at
org.jboss.invocation.InterceptorContext$Invocation. proceed(InterceptorContext. java:509)
at
org.ovirt.engine.core.bll.interceptors. CorrelationIdTrackerIntercepto r.aroundInvoke( CorrelationIdTrackerIntercepto r.java:13)
[bll.jar:]
at sun.reflect.GeneratedMethodAccessor71. invoke(Unknown Source)
[:1.8.0_161]
at
sun.reflect.DelegatingMethodAccessorImpl. invoke( DelegatingMethodAccessorImpl. java:43)
[rt.jar:1.8.0_161]
at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_161]
at
org.jboss.as.ee.component.ManagedReferenceLifecycleMetho dInterceptor. processInvocation( ManagedReferenceLifecycleMetho dInterceptor.java:89)
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at
org.jboss.as.ejb3.component.invocationmetrics. ExecutionTimeInterceptor. processInvocation( ExecutionTimeInterceptor.java: 43)
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at
org.jboss.as.ee.concurrent.ConcurrentContextInterceptor. processInvocation( ConcurrentContextInterceptor. java:45)
[wildfly-ee-11.0.0.Final.jar:11.0.0.Final]
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at
org.jboss.invocation.InitialInterceptor. processInvocation( InitialInterceptor.java:40)
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at
org.jboss.invocation.ChainedInterceptor. processInvocation( ChainedInterceptor.java:53)
at
org.jboss.as.ee.component.interceptors. ComponentDispatcherInterceptor .processInvocation( ComponentDispatcherInterceptor .java:52)
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at
org.jboss.as.ejb3.component.singleton. SingletonComponentInstanceAsso ciationInterceptor. processInvocation( SingletonComponentInstanceAsso ciationInterceptor.java:53)
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx( CMTTxInterceptor.java:264)
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
at
org.jboss.as.ejb3.tx.CMTTxInterceptor.supports( CMTTxInterceptor.java:379)
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
at
org.jboss.as.ejb3.tx.CMTTxInterceptor. processInvocation( CMTTxInterceptor.java:244)
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at
org.jboss.invocation.InterceptorContext$Invocation. proceed(InterceptorContext. java:509)
at
org.jboss.weld.ejb.AbstractEJBRequestScopeActivat ionInterceptor.aroundInvoke( AbstractEJBRequestScopeActivat ionInterceptor.java:73)
[weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
at
org.jboss.as.weld.ejb.EjbRequestScopeActivationInter ceptor.processInvocation( EjbRequestScopeActivationInter ceptor.java:89)
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at
org.jboss.as.ejb3.component.interceptors. CurrentInvocationContextInterc eptor.processInvocation( CurrentInvocationContextInterc eptor.java:41)
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at
org.jboss.as.ejb3.component.invocationmetrics. WaitTimeInterceptor. processInvocation( WaitTimeInterceptor.java:47)
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at
org.jboss.as.ejb3.security.SecurityContextInterceptor. processInvocation( SecurityContextInterceptor. java:100)
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at
org.jboss.as.ejb3.deployment.processors. StartupAwaitInterceptor. processInvocation( StartupAwaitInterceptor.java: 22)
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at
org.jboss.as.ejb3.component.interceptors. ShutDownInterceptorFactory$1. processInvocation( ShutDownInterceptorFactory. java:64)
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at
org.jboss.as.ejb3.component.interceptors. LoggingInterceptor. processInvocation( LoggingInterceptor.java:67)
[wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at
org.jboss.as.ee.component.NamespaceContextInterceptor. processInvocation( NamespaceContextInterceptor. java:50)
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at
org.jboss.invocation.ContextClassLoaderInterceptor. processInvocation( ContextClassLoaderInterceptor. java:60)
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at org.jboss.invocation.InterceptorContext.run( InterceptorContext.java:438)
at
org.wildfly.security.manager.WildFlySecurityManager. doChecked( WildFlySecurityManager.java: 609)
at
org.jboss.invocation.AccessCheckingInterceptor. processInvocation( AccessCheckingInterceptor. java:57)
at
org.jboss.invocation.InterceptorContext.proceed( InterceptorContext.java:422)
at
org.jboss.invocation.ChainedInterceptor. processInvocation( ChainedInterceptor.java:53)