0 Replies Latest reply on May 1, 2013 6:23 PM by Joseph

    OVM 3 import vm fail error OVMAPI_6055E Discover target ... cannot be cast

    Joseph
      Hello

      I try to import vm but it fails each time with erro about cast

      here is the log

      Job Construction Phase
      ----------------------
      Job ID: 1367428524981

      begin()
      Appended operation 'Adding a queued job operation' to object '0004fb0000190000dbae0f64e0e289f3 (Create Statistics Log)'.
      Appended operation 'Virtual Machine Cfg File Configure' to object 'cfgFile_0004fb0000060000dd55aaa7c5c7e2ca'.
      Appended operation 'Import Virtual Machine' to object 'cfgFile_0004fb0000060000dd55aaa7c5c7e2ca'.
      commit()
      Completed Step: COMMIT

      Objects and Operations
      ----------------------
      Object (CREATED): [VirtualMachine] 0004fb0000060000dd55aaa7c5c7e2ca (E1_WB_DSK_912.img)
      Object (CREATED): [CreateStatisticLog] 0004fb0000190000dbae0f64e0e289f3 (Create Statistics Log)
      Operation: Adding a queued job operation
      Object (CREATED): [VirtualMachineCfgFile] cfgFile_0004fb0000060000dd55aaa7c5c7e2ca
      Operation: Virtual Machine Cfg File Configure
      Operation: Import Virtual Machine
      Object (CREATED): [VmApiMessages] 0004fb0000060000dd55aaa7c5c7e2ca_VmApiMessages

      Job Running Phase at 2013-05-01 17:15:24,981
      ----------------------------------------------
      Job Participants: [00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff (ovsctech)]


      Actioner
      --------
      17:15:28,388: Starting operation 'Adding a queued job operation' on object '0004fb0000190000dbae0f64e0e289f3 (Create Statistics Log)'
      17:15:28,398: Completed operation 'Adding a queued job operation' with direction ==> LATER
      17:15:28,430: Starting operation 'Virtual Machine Cfg File Configure' on object 'cfgFile_0004fb0000060000dd55aaa7c5c7e2ca'
      17:15:28,438: Completed operation 'Virtual Machine Cfg File Configure' with direction ==> LATER
      17:15:28,498: Starting operation 'Adding a queued job operation' on object '0004fb0000190000dbae0f64e0e289f3 (Create Statistics Log)'
      17:15:28,506: Completed operation 'Adding a queued job operation' with direction ==> LATER
      17:15:28,522: Starting operation 'Import Virtual Machine' on object 'cfgFile_0004fb0000060000dd55aaa7c5c7e2ca'
      Appended operation 'Repository Element files refresh' to object 'cfgFile_0004fb0000060000dd55aaa7c5c7e2ca'.
      Appended operation 'Virtual Machine Cfg File Refresh' to object 'cfgFile_0004fb0000060000dd55aaa7c5c7e2ca'.
      Appended operation 'Virtual Machine Import Post' to object 'cfgFile_0004fb0000060000dd55aaa7c5c7e2ca'.
      17:33:07,047: Completed operation 'Import Virtual Machine' with direction ==> DONE
      17:33:07,092: Starting operation 'Virtual Machine Cfg File Configure' on object 'cfgFile_0004fb0000060000dd55aaa7c5c7e2ca'
      17:33:07,099: Completed operation 'Virtual Machine Cfg File Configure' with direction ==> LATER
      17:33:07,148: Starting operation 'Adding a queued job operation' on object '0004fb0000190000dbae0f64e0e289f3 (Create Statistics Log)'
      17:33:07,170: Completed operation 'Adding a queued job operation' with direction ==> LATER
      17:33:07,201: Starting operation 'Repository Element files refresh' on object 'cfgFile_0004fb0000060000dd55aaa7c5c7e2ca'
      17:33:07,209: Completed operation 'Repository Element files refresh' with direction ==> LATER
      17:33:07,270: Starting operation 'Adding a queued job operation' on object '0004fb0000190000dbae0f64e0e289f3 (Create Statistics Log)'
      17:33:07,278: Completed operation 'Adding a queued job operation' with direction ==> LATER
      17:33:07,326: Starting operation 'Virtual Machine Cfg File Refresh' on object 'cfgFile_0004fb0000060000dd55aaa7c5c7e2ca'
      Setting Context to model only in job with id=1367428524981
      Setting Context to model only in job with id=1367428524981
      Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_6055E Discover target: ovsctech, Discover failed with error: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Boolean
      at com.oracle.ovm.mgr.action.vmcfgfile.XenVmCfgFileHandler.updateVmHighAvailability(XenVmCfgFileHandler.java:1294)
      at com.oracle.ovm.mgr.action.vmcfgfile.XenVmCfgFileHandler.setVmCfgFromDom0(XenVmCfgFileHandler.java:489)
      at com.oracle.ovm.mgr.discover.ovm.VirtualMachineCfgDiscoverHandler.process(VirtualMachineCfgDiscoverHandler.java:98)
      at com.oracle.ovm.mgr.discover.ovm.VirtualMachineCfgDiscoverHandler.process(VirtualMachineCfgDiscoverHandler.java:31)
      at com.oracle.ovm.mgr.discover.ovm.DiscoverHandler.execute(DiscoverHandler.java:62)
      at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:400)
      at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:385)
      at com.oracle.ovm.mgr.discover.DiscoverEngine.discoverServer(DiscoverEngine.java:185)
      at com.oracle.ovm.mgr.op.virtual.VirtualMachineCfgFileRefresh.action(VirtualMachineCfgFileRefresh.java:58)
      at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1156)
      at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:356)
      at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:333)
      at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:865)
      at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:244)
      at com.oracle.ovm.mgr.api.virtual.VirtualMachineCfgFileProxy.executeCurrentJobOperationAction(Unknown Source)
      at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:230)
      at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:322)
      at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1340)
      at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:356)
      at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:333)
      at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:106)
      at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:92)
      at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
      at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:752)
      at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:467)
      at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:525)
      at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
      at java.lang.Thread.run(Thread.java:662)
      ... [Wed May 01 17:33:09 GMT 2013]
      at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:417)
      at com.oracle.ovm.mgr.discover.DiscoverEngine.handleDiscover(DiscoverEngine.java:385)
      at com.oracle.ovm.mgr.discover.DiscoverEngine.discoverServer(DiscoverEngine.java:185)
      at com.oracle.ovm.mgr.op.virtual.VirtualMachineCfgFileRefresh.action(VirtualMachineCfgFileRefresh.java:58)
      at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1156)
      at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:356)
      at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:333)
      at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:865)
      at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:244)
      at com.oracle.ovm.mgr.api.virtual.VirtualMachineCfgFileProxy.executeCurrentJobOperationAction(Unknown Source)
      at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:230)
      at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:322)
      at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1340)
      at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:356)
      at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:333)
      at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:106)
      at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:92)
      at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
      at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:752)
      at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:467)
      at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:525)
      at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
      at java.lang.Thread.run(Thread.java:662)


      FailedOperationCleanup
      ----------
      Starting failed operation 'Virtual Machine Cfg File Refresh' cleanup on object 'cfgFile_0004fb0000060000dd55aaa7c5c7e2ca'
      Complete rollback operation 'Virtual Machine Cfg File Refresh' cleanup on object 'cfgFile_0004fb0000060000dd55aaa7c5c7e2ca'

      Rollbacker
      ----------
      17:33:09,936: Starting rollbacker...
      Executing rollback operation 'Virtual Machine Cfg File Refresh' on object 'cfgFile_0004fb0000060000dd55aaa7c5c7e2ca'
      Setting Context to default in job with id=1367428524981
      Complete rollback operation 'Virtual Machine Cfg File Refresh' completed with direction=DONE
      Executing rollback operation 'Import Virtual Machine' on object 'cfgFile_0004fb0000060000dd55aaa7c5c7e2ca'
      Complete rollback operation 'Import Virtual Machine' completed with direction=DONE
      17:33:10,102: Rollbacker completed...

      Objects To Be Rolled Back
      -------------------------
      Object (CREATED): [VirtualMachine] 0004fb0000060000dd55aaa7c5c7e2ca (E1_WB_DSK_912.img)
      Object (CREATED): [VirtualDisk] c1de5158b5e04d15933d54eb612643d4.img (E1_X86_SYS_912.img)
      Object (CREATED): [VmDiskMapping] 0004fb00001300007d61eda9f688a907
      Object (CREATED): [CreateStatisticLog] 0004fb0000190000dbae0f64e0e289f3 (Create Statistics Log)
      Object (CREATED): [EthernetNetwork] xenbr0
      Object (IN_USE): [VnicManager] OVM Foundry : Vnic Manager
      Object (CREATED): [VmDiskMapping] 0004fb00001300007ae2f6f739a507ad
      Object (CREATED): [VirtualMachineCfgFile] cfgFile_0004fb0000060000dd55aaa7c5c7e2ca
      Object (CREATED): [Vnic] 0004fb0000070000c5ebc95f6eddce61 (00:16:3e:26:58:73)
      Object (CREATED): [VmApiMessages] 0004fb0000060000dd55aaa7c5c7e2ca_VmApiMessages
      Object (CREATED): [VirtualDisk] 2e21bc083ef44da7b342b46ae76d41ec.img (E1_WB_DSK_912.img)


      Write Methods Invoked
      -------------------
      17:15:25,947 Class=InternalJobDbImpl vessel_id=3817 method=addTransactionIdentifier accessLevel=6 owningTx=1367428525946
      17:15:25,948 Class=RepositoryDbImpl vessel_id=761 method=importVirtualMachine accessLevel=5 owningTx=-1
      17:15:25,950 Class=VirtualMachineDbImpl vessel_id=3826 method=setName accessLevel=6 owningTx=1367428525946
      17:15:25,997 Class=VirtualMachineDbImpl vessel_id=3826 method=setFoundryContext accessLevel=6 owningTx=1367428525946
      17:15:25,997 Class=VirtualMachineDbImpl vessel_id=3826 method=onPersistableCreate accessLevel=6 owningTx=1367428525946
      17:15:26,244 Class=RootStatisticLogDbImpl vessel_id=129 method=initiateCreateStatisticSubjectLog accessLevel=5 owningTx=-1
      17:15:26,257 Class=CreateStatisticLogDbImpl vessel_id=3831 method=setName accessLevel=6 owningTx=1367428525946
      17:15:26,305 Class=CreateStatisticLogDbImpl vessel_id=3831 method=setFoundryContext accessLevel=6 owningTx=1367428525946
      17:15:26,305 Class=CreateStatisticLogDbImpl vessel_id=3831 method=onPersistableCreate accessLevel=6 owningTx=1367428525946
      17:15:26,306 Class=CreateStatisticLogDbImpl vessel_id=3831 method=setLifecycleState accessLevel=6 owningTx=1367428525946
      17:15:26,306 Class=CreateStatisticLogDbImpl vessel_id=3831 method=setRollbackLifecycleState accessLevel=6 owningTx=1367428525946
      17:15:26,447 Class=CreateStatisticLogDbImpl vessel_id=3831 method=setTarget accessLevel=6 owningTx=1367428525946
      17:15:26,447 Class=CreateStatisticLogDbImpl vessel_id=3831 method=setSimpleName accessLevel=6 owningTx=1367428525946
      17:15:26,447 Class=CreateStatisticLogDbImpl vessel_id=3831 method=addJobOperation accessLevel=6 owningTx=1367428525946
      17:15:26,456 Class=VmApiMessagesDbImpl vessel_id=3836 method=setName accessLevel=6 owningTx=1367428525946
      17:15:26,494 Class=VmApiMessagesDbImpl vessel_id=3836 method=setFoundryContext accessLevel=6 owningTx=1367428525946
      17:15:26,650 Class=VmApiMessagesDbImpl vessel_id=3836 method=onPersistableCreate accessLevel=6 owningTx=1367428525946
      17:15:26,650 Class=VmApiMessagesDbImpl vessel_id=3836 method=setLifecycleState accessLevel=6 owningTx=1367428525946
      17:15:26,650 Class=VmApiMessagesDbImpl vessel_id=3836 method=setRollbackLifecycleState accessLevel=6 owningTx=1367428525946
      17:15:27,118 Class=VmApiMessagesDbImpl vessel_id=3836 method=setVirtualMachine accessLevel=6 owningTx=1367428525946
      17:15:27,118 Class=VirtualMachineDbImpl vessel_id=3826 method=setLifecycleState accessLevel=6 owningTx=1367428525946
      17:15:27,118 Class=VirtualMachineDbImpl vessel_id=3826 method=setRollbackLifecycleState accessLevel=6 owningTx=1367428525946
      17:15:27,506 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=setName accessLevel=6 owningTx=1367428525946
      17:15:27,576 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=setFoundryContext accessLevel=6 owningTx=1367428525946
      17:15:27,576 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=onPersistableCreate accessLevel=6 owningTx=1367428525946
      17:15:27,576 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=setLifecycleState accessLevel=6 owningTx=1367428525946
      17:15:27,577 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=setRollbackLifecycleState accessLevel=6 owningTx=1367428525946
      17:15:27,889 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=setJobAsset accessLevel=6 owningTx=1367428525946
      17:15:27,889 Class=VirtualMachineDbImpl vessel_id=3826 method=setVirtualMachineCfgFile accessLevel=6 owningTx=1367428525946
      17:15:27,889 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=setVirtualMachine accessLevel=6 owningTx=1367428525946
      17:15:27,893 Class=VirtualMachineDbImpl vessel_id=3826 method=setSimpleName accessLevel=6 owningTx=1367428525946
      17:15:27,893 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=setAsset accessLevel=6 owningTx=1367428525946
      17:15:27,893 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=configure accessLevel=6 owningTx=1367428525946
      17:15:27,909 Class=VirtualMachineDbImpl vessel_id=3826 method=setOrigin accessLevel=6 owningTx=1367428525946
      17:15:27,910 Class=VirtualMachineDbImpl vessel_id=3826 method=setDescription accessLevel=6 owningTx=1367428525946
      17:15:27,910 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=setAsset accessLevel=6 owningTx=1367428525946
      17:15:27,910 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=configure accessLevel=6 owningTx=1367428525946
      17:15:27,910 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=importVirtualMachine accessLevel=6 owningTx=1367428525946
      17:15:27,984 Class=InternalJobDbImpl vessel_id=3817 method=setCompletedStep accessLevel=6 owningTx=1367428525946
      17:15:28,005 Class=InternalJobDbImpl vessel_id=3817 method=setAssociatedHandles accessLevel=6 owningTx=1367428525946
      17:15:28,428 Class=InternalJobDbImpl vessel_id=3817 method=setTuringMachineFlag accessLevel=6 owningTx=1367428525946
      17:15:28,429 Class=CreateStatisticLogDbImpl vessel_id=3831 method=setCurrentOperationToLater accessLevel=6 owningTx=1367428525946
      17:15:28,429 Class=InternalJobDbImpl vessel_id=3817 method=setTuringMachineFlag accessLevel=6 owningTx=1367428525946
      17:15:28,497 Class=InternalJobDbImpl vessel_id=3817 method=setTuringMachineFlag accessLevel=6 owningTx=1367428525946
      17:15:28,497 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=setCurrentOperationToLater accessLevel=6 owningTx=1367428525946
      17:15:28,497 Class=InternalJobDbImpl vessel_id=3817 method=setTuringMachineFlag accessLevel=6 owningTx=1367428525946
      17:15:28,521 Class=InternalJobDbImpl vessel_id=3817 method=setTuringMachineFlag accessLevel=6 owningTx=1367428525946
      17:15:28,521 Class=CreateStatisticLogDbImpl vessel_id=3831 method=setCurrentOperationToLater accessLevel=6 owningTx=1367428525946
      17:15:28,521 Class=InternalJobDbImpl vessel_id=3817 method=setTuringMachineFlag accessLevel=6 owningTx=1367428525946
      17:33:06,147 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=createFilesFromExitData accessLevel=6 owningTx=1367428525946
      17:33:06,176 Class=VirtualDiskDbImpl vessel_id=3852 method=setName accessLevel=6 owningTx=1367428525946
      17:33:06,587 Class=VirtualDiskDbImpl vessel_id=3852 method=setFoundryContext accessLevel=6 owningTx=1367428525946
      17:33:06,587 Class=VirtualDiskDbImpl vessel_id=3852 method=onPersistableCreate accessLevel=6 owningTx=1367428525946
      17:33:06,587 Class=VirtualDiskDbImpl vessel_id=3852 method=setLifecycleState accessLevel=6 owningTx=1367428525946
      17:33:06,588 Class=VirtualDiskDbImpl vessel_id=3852 method=setRollbackLifecycleState accessLevel=6 owningTx=1367428525946
      17:33:06,712 Class=VirtualDiskDbImpl vessel_id=3852 method=setSimpleName accessLevel=6 owningTx=1367428525946
      17:33:06,712 Class=VirtualDiskDbImpl vessel_id=3852 method=setImportFilename accessLevel=6 owningTx=1367428525946
      17:33:06,713 Class=VirtualDiskDbImpl vessel_id=3852 method=setJobAsset accessLevel=6 owningTx=1367428525946
      17:33:06,714 Class=VirtualDiskDbImpl vessel_id=3857 method=setName accessLevel=6 owningTx=1367428525946
      17:33:06,822 Class=VirtualDiskDbImpl vessel_id=3857 method=setFoundryContext accessLevel=6 owningTx=1367428525946
      17:33:06,822 Class=VirtualDiskDbImpl vessel_id=3857 method=onPersistableCreate accessLevel=6 owningTx=1367428525946
      17:33:06,824 Class=VirtualDiskDbImpl vessel_id=3857 method=setLifecycleState accessLevel=6 owningTx=1367428525946
      17:33:06,824 Class=VirtualDiskDbImpl vessel_id=3857 method=setRollbackLifecycleState accessLevel=6 owningTx=1367428525946
      17:33:06,969 Class=VirtualDiskDbImpl vessel_id=3857 method=setSimpleName accessLevel=6 owningTx=1367428525946
      17:33:06,969 Class=VirtualDiskDbImpl vessel_id=3857 method=setImportFilename accessLevel=6 owningTx=1367428525946
      17:33:06,969 Class=VirtualDiskDbImpl vessel_id=3857 method=setJobAsset accessLevel=6 owningTx=1367428525946
      17:33:06,970 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=addJobOperation accessLevel=6 owningTx=1367428525946
      17:33:06,991 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=refresh accessLevel=6 owningTx=1367428525946
      17:33:07,013 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=addJobOperation accessLevel=6 owningTx=1367428525946
      17:33:07,091 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=nextJobOperation accessLevel=6 owningTx=1367428525946
      17:33:07,147 Class=InternalJobDbImpl vessel_id=3817 method=setTuringMachineFlag accessLevel=6 owningTx=1367428525946
      17:33:07,147 Class=VirtualMachineCfgFileDbImpl vessel_id=3842 method=setCurrentOperationToLater accessLevel=6 owningTx=1367428525946
      17:33:07,147 Class=InternalJobDbImpl vessel_id=3817 method=setTuringMachineFlag accessLevel=6 owningTx=1367428525946
      17:33:07,200 Class=InternalJobDbImpl vessel_id=3817 method=setTuringMachineFlag accessLevel=6 owningTx=1367428525946
      17:33:07,200 Class=CreateStatisticLogDbImpl vessel_id=3831 method=setCurrentOperationToLater accessLevel=6 owningTx=1367428525946
      17:33:07,200 Class=InternalJobDbImpl vessel_id=3817 method=setTuringMachineFlag accessLevel=6 owningTx=1367428525946
      17:33:07,269 Class=InternalJobDbImpl vessel_id=3817 method=setTuringMachineFlag accessLevel=6 owningTx=1367428525946


      Any ideas ?