[Users] creating template fails ovirt 3.1

Ofer Schreiber oschreib at redhat.com
Tue Jun 19 09:05:29 UTC 2012


looks like https://bugzilla.redhat.com/show_bug.cgi?id=832106 to me, feel free to comment there.

Thanks for the input,
Ofer.

----- Original Message -----
> 
> Creating a template fails using oivrt 3.1:
> 
> 2012-06-19 10:16:31,887 ERROR
> [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-3-thread-47)
> EntityAsyncTask::EndCommandAction [within thread]: EndAction for
> action type AddVmTemplate threw an exception :
> org.ovirt.engine.core.compat.CompatException: XML document
> structures must start and end within the same entity.
> at
> org.ovirt.engine.core.compat.backendcompat.XmlDocument.LoadXml(XmlDocument.java:48)
> [engine-compat.jar:]
> at
> org.ovirt.engine.core.compat.backendcompat.XmlDocument.Load(XmlDocument.java:112)
> [engine-compat.jar:]
> at
> org.ovirt.engine.core.utils.ovf.OvfWriter.Dispose(OvfWriter.java:281)
> [engine-utils.jar:]
> at
> org.ovirt.engine.core.utils.ovf.OvfWriter.dispose(OvfWriter.java:297)
> [engine-utils.jar:]
> at
> org.ovirt.engine.core.utils.ovf.OvfManager.ExportTemplate(OvfManager.java:39)
> [engine-utils.jar:]
> at
> org.ovirt.engine.core.bll.VmTemplateCommand.UpdateTemplateInSpm(VmTemplateCommand.java:212)
> [engine-bll.jar:]
> at
> org.ovirt.engine.core.bll.VmTemplateCommand.UpdateTemplateInSpm(VmTemplateCommand.java:187)
> [engine-bll.jar:]
> at
> org.ovirt.engine.core.bll.AddVmTemplateCommand.EndSuccessfully(AddVmTemplateCommand.java:401)
> [engine-bll.jar:]
> at
> org.ovirt.engine.core.bll.CommandBase.InternalEndSuccessfully(CommandBase.java:466)
> [engine-bll.jar:]
> at
> org.ovirt.engine.core.bll.CommandBase.endActionInTransactionScope(CommandBase.java:421)
> [engine-bll.jar:]
> at
> org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1151)
> [engine-bll.jar:]
> at
> org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:204)
> [engine-utils.jar:]
> at
> org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInRequired(TransactionSupport.java:142)
> [engine-utils.jar:]
> at
> org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:109)
> [engine-utils.jar:]
> at
> org.ovirt.engine.core.bll.CommandBase.EndAction(CommandBase.java:367)
> [engine-bll.jar:]
> at org.ovirt.engine.core.bll.Backend.endAction(Backend.java:356)
> [engine-bll.jar:]
> at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
> [:1.7.0_03-icedtea]
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [rt.jar:1.7.0_03-icedtea]
> at java.lang.reflect.Method.invoke(Method.java:601)
> [rt.jar:1.7.0_03-icedtea]
> at
> org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation.jar:1.1.1.Final]
> at
> org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)
> [jboss-invocation.jar:1.1.1.Final]
> at
> org.ovirt.engine.core.utils.ThreadLocalSessionCleanerInterceptor.injectWebContextToThreadLocal(ThreadLocalSessionCleanerInterceptor.java:11)
> [engine-utils.jar:]
> at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
> [:1.7.0_03-icedtea]
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [rt.jar:1.7.0_03-icedtea]
> at java.lang.reflect.Method.invoke(Method.java:601)
> [rt.jar:1.7.0_03-icedtea]
> at
> org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation.jar:1.1.1.Final]
> at
> org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
> [jboss-invocation.jar:1.1.1.Final]
> at
> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation.jar:1.1.1.Final]
> at
> org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
> [jboss-invocation.jar:1.1.1.Final]
> at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation.jar:1.1.1.Final]
> at
> org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
> [jboss-invocation.jar:1.1.1.Final]
> at
> org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation.jar:1.1.1.Final]
> at
> org.jboss.as.ejb3.component.singleton.SingletonComponentInstanceAssociationInterceptor.processInvocation(SingletonComponentInstanceAssociationInterceptor.java:53)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation.jar:1.1.1.Final]
> at
> org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:211)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at
> org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:363)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at
> org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:194)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation.jar:1.1.1.Final]
> at
> org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation.jar:1.1.1.Final]
> at
> org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
> at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation.jar:1.1.1.Final]
> at
> org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation.jar:1.1.1.Final]
> at
> org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation.jar:1.1.1.Final]
> at
> org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
> [jboss-invocation.jar:1.1.1.Final]
> at
> org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at
> org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> atlooks like https://bugzilla.redhat.com/show_bug.cgi?id=832106
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation.jar:1.1.1.Final]
> at
> org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
> [jboss-invocation.jar:1.1.1.Final]
> at
> org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
> at
> org.ovirt.engine.core.bll.interfaces.BackendInternal$$$view9.endAction(Unknown
> Source) [engine-bll.jar:]
> at
> org.ovirt.engine.core.bll.EntityAsyncTask.EndCommandAction(EntityAsyncTask.java:134)
> [engine-bll.jar:]
> at
> org.ovirt.engine.core.bll.EntityAsyncTask.access$000(EntityAsyncTask.java:23)
> [engine-bll.jar:]
> at
> org.ovirt.engine.core.bll.EntityAsyncTask$1.run(EntityAsyncTask.java:104)
> [engine-bll.jar:]
> at
> org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:64)
> [engine-utils.jar:]
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> [rt.jar:1.7.0_03-icedtea]
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> [rt.jar:1.7.0_03-icedtea]
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> [rt.jar:1.7.0_03-icedtea]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> [rt.jar:1.7.0_03-icedtea]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> [rt.jar:1.7.0_03-icedtea]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03-icedtea]
> 
> 2012-06-19 10:16:31,897 INFO
> [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-3-thread-47)
> EntityAsyncTask::HandleEndActionResult [within thread]: EndAction
> for action type AddVmTemplate completed, handling the result.
> 2012-06-19 10:16:31,898 INFO
> [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-3-thread-47)
> EntityAsyncTask::HandleEndActionResult [within thread]: EndAction
> for action type AddVmTemplate hasnt succeeded, not clearing tasks,
> will attempt again next polling.
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 



More information about the Users mailing list