[Users] Ovirt on Fedora17

Juan Hernandez juan.hernandez at redhat.com
Fri Jun 1 14:59:11 UTC 2012


On 06/01/2012 04:32 PM, Itamar Heim wrote:
> On 06/01/2012 12:31 PM, Juan Hernandez wrote:
>> You are hitting a known issue with that we have with the Java 7 in
>> Fedora 17. There is change already proposed to fix that:
>>
>> http://gerrit.ovirt.org/4540
>>
>
> is there a simple way to run the 3.0 ovirt in java 6 compat mode till we
> released the 3.1?

The problem is that there is no Java 6 in Fedora 17, only Java 7. But in 
this particular case the change fixing the problem has been merged this 
morning. I can offer my own build, including that change, if that helps:

http://jhernand.fedorapeople.org/repos/ovirt-engine

>> On 06/01/2012 11:27 AM, ovirt at qip.ru wrote:
>>> 1. Installation is OK but fedora17 repo has old vdsm-bootstrap with
>>> bug https://bugzilla.redhat.com/show_bug.cgi?id=804618
>>> 2. engine-setup ( iscsi domain ) is OK
>>> 3. To add host it is necessary:
>>> 3.1 install new vdsm-bootstrap and change files in
>>> /usr/share/ovirt-engine/engine.ear/components.war/vds/ from
>>> /usr/share/vdsm-bootstrap and restart jboss-as
>>>
>>> 3.2 change owner from jboss-as to ovirt on directory
>>> /var/lock/ovirt-engine, touch .openssl.exclusivelock with perm 777 (
>>> may be enough first but i do both)
>>>
>>> 4. Attach storage and iso domains OK
>>> 5. Create VM OK
>>> 6. Add NIC to VM FAILED with automatic mac address assignment (who
>>> check mac with empty mac?) ( with manual OK )
>>> 7. Create disk on VM FAILED with engine.log error (after this engine
>>> cycling, I think that only engine-cleanup will help me):
>>>
>>> 2012-06-01 13:09:25,195 INFO
>>> [org.ovirt.engine.core.bll.AsyncTaskManager]
>>> (QuartzScheduler_Worker-6) AsyncTaskManager::PollAndUpdateAsyncTasks:
>>> 1 tasks, 1 tasks to poll now
>>> 2012-06-01 13:09:25,249 INFO [org.ovirt.engine.core.bll.SPMAsyncTask]
>>> (QuartzScheduler_Worker-6) BaseAsyncTask::OnTaskEndSuccess: Task
>>> c4f3fb1d-d0d5-4fe6-a827-06f070069dfd (Parent Command AddDisk,
>>> Parameters Type
>>> org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) ended
>>> successfully.
>>> 2012-06-01 13:09:25,258 INFO
>>> [org.ovirt.engine.core.bll.EntityAsyncTask] (QuartzScheduler_Worker-6)
>>> EntityAsyncTask::EndActionIfNecessary: All tasks of entity
>>> 3e5fbd15-7de1-411c-a432-64145a89af88 has ended ->  executing EndAction
>>> 2012-06-01 13:09:25,264 INFO
>>> [org.ovirt.engine.core.bll.EntityAsyncTask] (QuartzScheduler_Worker-6)
>>> EntityAsyncTask::EndAction: Ending action for 1 tasks (entity ID:
>>> 3e5fbd15-7de1-411c-a432-64145a89af88): calling EndAction for action
>>> type AddDisk.
>>> 2012-06-01 13:09:25,271 INFO
>>> [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-3-thread-48)
>>> EntityAsyncTask::EndCommandAction [within thread]context: Attempting
>>> to EndAction AddDisk
>>> 2012-06-01 13:09:25,288 INFO
>>> [org.ovirt.engine.core.bll.AddDiskCommand] (pool-3-thread-48)
>>> [14c31d8d] Ending command successfully:
>>> org.ovirt.engine.core.bll.AddDiskCommand
>>> 2012-06-01 13:09:25,292 INFO
>>> [org.ovirt.engine.core.bll.AddImageFromScratchCommand]
>>> (pool-3-thread-48) [273375c] Ending command successfully:
>>> org.ovirt.engine.core.bll.AddImageFromScratchCommand
>>> 2012-06-01 13:09:25,299 INFO
>>> [org.ovirt.engine.core.vdsbroker.irsbroker.GetImageInfoVDSCommand]
>>> (pool-3-thread-48) [273375c] START,
>>> GetImageInfoVDSCommand(storagePoolId =
>>> 56041614-ab5b-11e1-8f9a-000c290cc066, ignoreFailoverLimit = false,
>>> compatabilityVersion = null, storageDomainId =
>>> 277e90a6-dd58-4f72-b150-6277421e3588, imageGroupId =
>>> 3e5fbd15-7de1-411c-a432-64145a89af88, imageId =
>>> 9aceb874-26e4-46eb-9dc4-8f488d813716), log id: 3691aa7c
>>> 2012-06-01 13:09:25,556 INFO
>>> [org.ovirt.engine.core.vdsbroker.irsbroker.GetImageInfoVDSCommand]
>>> (pool-3-thread-48) [273375c] FINISH, GetImageInfoVDSCommand, return:
>>> org.ovirt.engine.core.common.businessentities.DiskImage at ad0b622e, log
>>> id: 3691aa7c
>>> 2012-06-01 13:09:25,574 INFO
>>> [org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand]
>>> (pool-3-thread-48) START, SetVmStatusVDSCommand(vmId =
>>> 3c60c3c0-1f24-415f-8fde-bea498cff0d9, status = Down), log id: 53976e60
>>> 2012-06-01 13:09:25,582 INFO
>>> [org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand]
>>> (pool-3-thread-48) FINISH, SetVmStatusVDSCommand, log id: 53976e60
>>> 2012-06-01 13:09:25,592 INFO
>>> [org.ovirt.engine.core.bll.AddDiskCommand] (pool-3-thread-48) Command
>>> [id=c9b33793-c2d5-4c19-8e83-dd014418cda0]: Compensating
>>> CHANGED_STATUS_ONLY of
>>> org.ovirt.engine.core.common.businessentities.VmDynamic; snapshot:
>>> EntityStatusSnapshot [id=3c60c3c0-1f24-415f-8fde-bea498cff0d9,
>>> status=ImageLocked].
>>> 2012-06-01 13:09:25,604 INFO
>>> [org.ovirt.engine.core.utils.transaction.TransactionSupport]
>>> (pool-3-thread-48) transaction rolled back
>>> 2012-06-01 13:09:25,638 ERROR
>>> [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-3-thread-48)
>>> EntityAsyncTask::EndCommandAction [within thread]: EndAction for
>>> action type AddDisk threw an exception: java.lang.RuntimeException:
>>> Failed to write attribute
>>> at
>>> org.ovirt.engine.core.compat.backendcompat.XmlTextWriter.WriteAttributeString(XmlTextWriter.java:46)
>>> [engine-compat.jar:]
>>> at
>>> org.ovirt.engine.core.utils.ovf.OvfWriter.WriteHeader(OvfWriter.java:48)
>>> [engine-utils.jar:]
>>> at org.ovirt.engine.core.utils.ovf.OvfWriter.(OvfWriter.java:39)
>>> [engine-utils.jar:]
>>> at org.ovirt.engine.core.utils.ovf.OvfVmWriter.(OvfVmWriter.java:26)
>>> [engine-utils.jar:]
>>> at
>>> org.ovirt.engine.core.utils.ovf.OvfManager.ExportVm(OvfManager.java:22) [engine-utils.jar:]
>>>
>>> at
>>> org.ovirt.engine.core.bll.VmCommand.UpdateVmInSpm(VmCommand.java:206)
>>> [engine-bll.jar:]
>>> at
>>> org.ovirt.engine.core.bll.VmCommand.UpdateVmInSpm(VmCommand.java:179)
>>> [engine-bll.jar:]
>>> at
>>> org.ovirt.engine.core.bll.VmCommand.EndVmCommand(VmCommand.java:278)
>>> [engine-bll.jar:]
>>> at
>>> org.ovirt.engine.core.bll.VmCommand.EndSuccessfully(VmCommand.java:309) [engine-bll.jar:]
>>>
>>> at
>>> org.ovirt.engine.core.bll.CommandBase.InternalEndSuccessfully(CommandBase.java:468)
>>> [engine-bll.jar:]
>>> at
>>> org.ovirt.engine.core.bll.CommandBase.endActionInTransactionScope(CommandBase.java:423)
>>> [engine-bll.jar:]
>>> at
>>> org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1162)
>>> [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:369)
>>> [engine-bll.jar:]
>>> at org.ovirt.engine.core.bll.Backend.endAction(Backend.java:355)
>>> [engine-bll.jar:]
>>> at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)
>>> [:1.7.0_b147-icedtea]
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> [rt.jar:1.7.0_b147-icedtea]
>>> at java.lang.reflect.Method.invoke(Method.java:601)
>>> [rt.jar:1.7.0_b147-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.GeneratedMethodAccessor10.invoke(Unknown Source)
>>> [:1.7.0_b147-icedtea]
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> [rt.jar:1.7.0_b147-icedtea]
>>> at java.lang.reflect.Method.invoke(Method.java:601)
>>> [rt.jar:1.7.0_b147-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]
>>> 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.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_b147-icedtea]
>>>
>>> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>>> [rt.jar:1.7.0_b147-icedtea]
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>>> [rt.jar:1.7.0_b147-icedtea]
>>> at
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>>> [rt.jar:1.7.0_b147-icedtea]
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>> [rt.jar:1.7.0_b147-icedtea]
>>> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_b147-icedtea]
>>> Caused by: javax.xml.stream.XMLStreamException: NamespaceURI cannot be
>>> null
>>> at
>>> com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeAttribute(XMLStreamWriterImpl.java:611)
>>> [rt.jar:1.7.0_b147-icedtea]
>>> at
>>> org.ovirt.engine.core.compat.backendcompat.XmlTextWriter.WriteAttributeString(XmlTextWriter.java:44)
>>> [engine-compat.jar:]
>>> ... 67 more
>>>
>>> 2012-06-01 13:09:25,823 INFO
>>> [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-3-thread-48)
>>> EntityAsyncTask::HandleEndActionResult [within thread]: EndAction for
>>> action type AddDisk completed, handling the result.
>>> 2012-06-01 13:09:25,823 INFO
>>> [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-3-thread-48)
>>> EntityAsyncTask::HandleEndActionResult [within thread]: EndAction for
>>> action type AddDisk hasnt succeeded, not clearing tasks, will attempt
>>> again next polling.




More information about the Users mailing list