[Users] oVirt3.0 - locked image when creating VM from template

Sven Knohsalla s.knohsalla at netbiscuits.com
Wed May 29 12:27:57 UTC 2013


Hi,

I ran in this strange issue in oVirt 3.0:
A VM creation from a certain template doesn't seem to work / show any progress.
The image gets locked,  event view shows start of VM creation, but nothing changes.
Usual deploying time is under 10 minutes

Engine log output:
2013-05-29 14:04:25,351 ERROR [org.ovirt.engine.core.bll.SPMAsyncTask] (http--0.0.0.0-8443-3) BaseAsyncTask::AddOrUpdateTaskInDB: Adding/Updating task ba297305
-af24-4533-a238-01f5762b62f4 to DataBase threw an exception.: org.apache.commons.lang.SerializationException: org.codehaus.jackson.map.JsonMappingException: or
g.ovirt.engine.core.compat.Guid cannot be cast to [Ljava.lang.Object; (through reference chain: org.ovirt.engine.core.common.action.CreateCloneOfTemplateParame
ters["diskImageBase"]->org.ovirt.engine.core.common.businessentities.DiskImage["childrenId"])
        at org.ovirt.engine.core.utils.serialization.json.JsonObjectSerializer.writeJsonAsString(JsonObjectSerializer.java:69) [utils-3.0.0-0001.jar:]
        at org.ovirt.engine.core.utils.serialization.json.JsonObjectSerializer.serialize(JsonObjectSerializer.java:51) [utils-3.0.0-0001.jar:]
        at org.ovirt.engine.core.dao.AsyncTaskDAODbFacadeImpl$AsyncTaskParameterSource.serializeParameters(AsyncTaskDAODbFacadeImpl.java:74) [engine-dal.jar:]
        at org.ovirt.engine.core.dao.AsyncTaskDAODbFacadeImpl$AsyncTaskParameterSource.<init>(AsyncTaskDAODbFacadeImpl.java:67) [engine-dal.jar:]
        at org.ovirt.engine.core.dao.AsyncTaskDAODbFacadeImpl.getTaskParameterSource(AsyncTaskDAODbFacadeImpl.java:99) [engine-dal.jar:]
        at org.ovirt.engine.core.dao.AsyncTaskDAODbFacadeImpl.save(AsyncTaskDAODbFacadeImpl.java:104) [engine-dal.jar:]
        at org.ovirt.engine.core.bll.SPMAsyncTask.AddOrUpdateTaskInDB(SPMAsyncTask.java:105) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.SPMAsyncTask.<init>(SPMAsyncTask.java:22) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.EntityAsyncTask.<init>(EntityAsyncTask.java:46) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.AsyncTaskFactory.Construct(AsyncTaskFactory.java:53) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.AsyncTaskManager.CreateTask(AsyncTaskManager.java:448) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.CreateCloneOfTemplateCommand.ConcreteCreateTask(CreateCloneOfTemplateCommand.java:99) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.CreateTask(CommandBase.java:847) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.CreateCloneOfTemplateCommand.CreateSnapshotInIrsServer(CreateCloneOfTemplateCommand.java:78) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.CreateSnapshotCommand.executeCommand(CreateSnapshotCommand.java:61) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.CreateSnapshotFromTemplateCommand.executeCommand(CreateSnapshotFromTemplateCommand.java:82) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.ExecuteWithoutTransaction(CommandBase.java:621) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:713) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:982) [engine-bll.jar:]
        at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInRequired(TransactionSupport.java:144) [utils-3.0.0-0001.jar:]
        at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:109) [utils-3.0.0-0001.jar:]
        at org.ovirt.engine.core.bll.CommandBase.Execute(CommandBase.java:726) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:210) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:262) [engine-bll.jar:]
        at org.ovirt.engine.core.bll.Backend.runInternalAction(Backend.java:240) [engine-bll.jar:]
        at sun.reflect.GeneratedMethodAccessor161.invoke(Unknown Source) [:1.6.0_24]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [:1.6.0_24]
        at java.lang.reflect.Method.invoke(Method.java:616) [:1.6.0_24]
        at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72) [jboss-as-ee-7.1.0.Beta1b.jar:]


This just happened once, new VM creations with templates are working.
The only problem is ,the affecting template is locked now and I don't know how to free the diskimage (vdsmd of SPM responsible here or just a DB entry?)

Thanks in advance!

Best, Sven.

Sven Knohsalla | System Administration

Office +49 631 68036 433 | Fax +49 631 68036 111  |E-Mail s.knohsalla at netbiscuits.com | Skype: netbiscuits.admin
Netbiscuits GmbH | Europaallee 10 | 67657 | GERMANY

[https://my.netbiscuits.com/image/image_gallery?uuid=3a1a9d19-c305-4032-8cef-00b03c3d4c79&groupId=10211&t=1361534926402]<http://www.netbiscuits.com/>

 [https://my.netbiscuits.com/image/image_gallery?uuid=9e553e7b-3e7d-4784-b274-15aa1dfb48e2&groupId=10211&t=1361533377340] <https://www.netbiscuits.com/news>  [https://my.netbiscuits.com/image/image_gallery?uuid=1d1a5e29-ceda-4ab1-9353-67a1e838364d&groupId=10211&t=1347281040591] <https://twitter.com/netbiscuits>  [https://my.netbiscuits.com/image/image_gallery?uuid=c99bf866-be25-4236-a0ee-dca68ec828a5&groupId=10211&t=1347280983848] <http://www.linkedin.com/company/netbiscuits>  [https://my.netbiscuits.com/image/image_gallery?uuid=d62ba951-14dc-450d-b5f1-be33884225e3&groupId=10211&t=1347280983872] <http://www.xing.com/companies/netbiscuitsgmbh>  [https://my.netbiscuits.com/image/image_gallery?uuid=7b28f500-f415-40bb-851f-0cd55beeaf45&groupId=10211&t=1347280983791] <https://www.facebook.com/Netbiscuits>  [https://my.netbiscuits.com/image/image_gallery?uuid=cc8764d0-a5ac-4623-bb63-da3ca7c97f94&groupId=10211&t=1347280983836] <https://plus.google.com/u/0/112410769451962733032>  [https://my.netbiscuits.com/image/image_gallery?uuid=a15e871c-a11b-419c-acca-da5a0ebd5856&groupId=10211&t=1347281040599] <http://www.youtube.com/user/netbiscuits>

Register Court: Local Court Kaiserslautern | Commercial Register ID: HR B 3604
Management Board: Guido Moggert, Michael Neidhöfer, Christian Reitz, Martin Süß

This message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. It may also be privileged or otherwise protected by work product immunity or other legal rules. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
Warning: Although Netbiscuits has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

[http://www.netbiscuits.com/image/image_gallery?uuid=0ba7711a-a277-4ea0-acb0-17fe13c3089d&groupId=10211&t=1348560850164]Please consider the environment before printing

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130529/8beaaee8/attachment-0001.html>


More information about the Users mailing list