Hide Forgot
Created attachment 555733 [details] log Description of problem: when cloning a vm we get org.apache.commons.lang.SerializationExceptionn for AddOrUpdateTaskInDB opening in medium since I can see that the vm's are cloned and seem to be fine. might be just a cleaning the log issue. Version-Release number of selected component (if applicable): ovirt-engine-backend-3.0.0_0001-1.1.fc16.x86_64 How reproducible: 100% Steps to Reproduce: 1. clone a vm from template 2. 3. Actual results: DataBase threw an exception Expected results: we should not get this exception Additional info: 012-01-17 13:04:42,656 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.CopyImageVDSCommand] (http--0.0.0.0-8080-4) -- CopyImageVDSCommand::ExecuteIrsBrokerCommand: calling 'copyImage' with two new parameters: description and UUID 2012-01-17 13:04:42,657 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.CopyImageVDSCommand] (http--0.0.0.0-8080-4) -- copyImage parameters: sdUUID=b67a2490-a3f9-4a51-a581-3054d762d1bd spUUID=7d743eca-ce4d-4193-9fcb-a720dc224a0b vmGUID=1ecb2abe-167d-4790-b943-1c2b1336dee8 srcImageGUID=a5c85c91-e6b9-4bb4-90ef-133a6dfd1fc8 srcVolUUID=c7ed5b4a-ffb4-4792-9e95-7c1be7d64946 dstImageGUID=0c78df96-129f-4ebf-838f-f9cdbb2cceee dstVolUUID=be38a991-c9d1-4223-8692-b7a8717a10f5 descr=_ActiveImage_HA_Tue Jan 17 13:04:42 IST 2012 2012-01-17 13:04:43,477 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.CopyImageVDSCommand] (http--0.0.0.0-8080-4) FINISH, CopyImageVDSCommand, return: 00000000-0000-0000-0000-000000000000, log id: 6e756936 2012-01-17 13:04:43,480 INFO [org.ovirt.engine.core.bll.SPMAsyncTask] (http--0.0.0.0-8080-4) BaseAsyncTask::AddOrUpdateTaskInDB: Adding task 0b8dc9be-2dd0-428a-a478-c0269933cff8 to DataBase 2012-01-17 13:04:43,501 ERROR [org.ovirt.engine.core.bll.SPMAsyncTask] (http--0.0.0.0-8080-4) BaseAsyncTask::AddOrUpdateTaskInDB: Adding/Updating task 0b8dc9be-2dd0-428a-a478-c0269933cff8 to DataBase threw an exception.: org.apache.commo ns.lang.SerializationException: org.codehaus.jackson.map.JsonMappingException: org.ovirt.engine.core.compat.Guid cannot be cast to [Ljava.lang.Object; (through reference chain: org.ovirt.engine.core.common.action.CreateCloneOfTemplatePar ameters["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:843) [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:617) [engine-bll.jar:] at org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:709) [engine-bll.jar:] at org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:978) [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:722) [engine-bll.jar:] at org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:209) [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:]
dafna - is this still relevant? thanks, itamar
no longer relavent. closing as WORKSFORME