0 Replies Latest reply: Mar 18, 2013 5:39 AM by 997479 RSS

    OVM3.1.1 Failed to move vm from one repo to another repo.

    997479
      Hi here's a scenario that I had a weird problem moving one of my virtual machine from say a 500GB /abc repository to another 2TB /def repository. During the move I get alerted with a failed move message.

      The weirdest thing above all this is, when I click on the virtual disks in this VM, all the names are showing same name.

      Supposingly say my VM called (server1) has virtual disk:
      server1_vdisk_1
      server1_vdisk_2

      Now when I right click on the OVM manager and trying to edit each vdisk names, I see each vdisk names in edit mode as:
      server1_vdisk_1
      server1_vdisk_1

      This happens randomly across a few VMs. Im using OVMM version:

      Oracle VM Manager
      Version: 3.1.1.478
      Build: 20121002_4





      Job Construction Phase
      ----------------------
      begin()
      Appended operation 'Virtual Disk/Virtual Cdrom Clone' to object '0004fb0000120000be50d9cf6a42aafd.img (bssinqappv1002_1 (2))'.
      Appended operation 'Repository Element files refresh' to object '0004fb0000120000be50d9cf6a42aafd.img (bssinqappv1002_1 (2))'.
      Appended operation 'Server Copy File' to object '0004fb0000120000be50d9cf6a42aafd.img (bssinqappv1002_1 (2))'.
      Appended operation 'Virtual Machine Cfg File Configure' to object 'cfgFile_0004fb000006000002d52f50a66b6bcf'.
      Appended operation 'Files Destruct' to object '0004fb0000030000118614370af12d51 (CELBSSPRDAPPX44_OS_REPO04)'.
      Appended operation 'Virtual Disk/Virtual Cdrom Clone' to object '0004fb00001200000167b915ec1eb560.img (bssinqappv1002_2 (2))'.
      Appended operation 'Repository Element files refresh' to object '0004fb00001200000167b915ec1eb560.img (bssinqappv1002_2 (2))'.
      Appended operation 'Server Copy File' to object '0004fb00001200000167b915ec1eb560.img (bssinqappv1002_2 (2))'.
      Appended operation 'Files Destruct' to object '0004fb0000030000a7ba4b41748ad271 (CELBSSPRDAPPX44_APP_REPO06)'.
      Appended operation 'Virtual Machine Cfg File Destruct' to object 'cfgFile_0004fb000006000002d52f50a66b6bcf'.
      Appended operation 'Virtual Machine Cfg File Construct' to object '0004fb000022000060c26a586bc969b5'.
      commit()
      Completed Step: COMMIT

      Objects and Operations
      ----------------------
      Object (CREATED): [VirtualDisk] 0004fb00001200000167b915ec1eb560.img (bssinqappv1002_2 (2))
      Operation: Virtual Disk/Virtual Cdrom Clone
      Operation: Repository Element files refresh
      Operation: Server Copy File
      Object (IN_USE): [LocalFileSystem] 0004fb00000500008dd2366d784f13bd (fs_CELBSSPRDAPPX44_OS_REPO04)
      Object (CREATED): [VmDiskMapping] 0004fb0000130000b4493eb0b814895b
      Object (DELETING): [VmDiskMapping] 0004fb0000130000d625e4ca818d73c2
      Object (DELETING): [VmCloneStorageMapping] 0004fb0000130000781dcaf25932ba7d
      Object (IN_USE): [Repository] 0004fb0000030000118614370af12d51 (CELBSSPRDAPPX44_OS_REPO04)
      Operation: Files Destruct
      Object (IN_USE): [Repository] 0004fb00000300005c7fa3061e466f92 (3600601601a703100864a14768d88e211_CELBSSPRDAPPX44_OVM_REPO1)
      Object (DELETING): [VirtualDisk] 0004fb0000120000587e7ce52ad7885f.img (bssinqappv1002_2)
      Object (CREATED): [VirtualDisk] 0004fb0000120000be50d9cf6a42aafd.img (bssinqappv1002_1 (2))
      Operation: Virtual Disk/Virtual Cdrom Clone
      Operation: Repository Element files refresh
      Operation: Server Copy File
      Object (IN_USE): [VirtualMachine] 0004fb000006000002d52f50a66b6bcf (bssinqappv1002)
      Object (DELETING): [VirtualMachineCfgFile] cfgFile_0004fb000006000002d52f50a66b6bcf
      Operation: Virtual Machine Cfg File Destruct
      Object (IN_USE): [Repository] 0004fb0000030000a7ba4b41748ad271 (CELBSSPRDAPPX44_APP_REPO06)
      Operation: Files Destruct
      Object (IN_USE): [VmCloneDefinition] 0004fb00001300004590a540258626b0 (bssinqappv1002)
      Object (CREATED): [VirtualMachineCfgFile] 0004fb000022000060c26a586bc969b5
      Operation: Virtual Machine Cfg File Construct
      Object (IN_USE): [LocalFileSystem] 0004fb000005000045ecff759013bea2 (fs_CELBSSPRDAPPX44_APP_REPO5)
      Object (DELETING): [VmCloneStorageMapping] 0004fb000013000076a19264817f8b79
      Object (DELETING): [VmDiskMapping] 0004fb00001300003a507123fddcfe21
      Object (CREATED): [VmDiskMapping] 0004fb0000130000dce8d9ceff1190f8
      Object (DELETING): [VirtualDisk] 0004fb00001200006fb2c61819f8374d.img (bssinqappv1002_1)

      Job Running Phase at 12:20 on Mon, Mar 18, 2013
      ----------------------------------------------
      Job Participants: [08:00:20:ff:ff:ff:ff:ff:ff:ff:00:10:e0:0d:f8:24 (celbsspprd1)]


      Actioner
      --------
      Starting operation 'Virtual Disk/Virtual Cdrom Clone' on object '0004fb00001200000167b915ec1eb560.img (bssinqappv1002_2 (2))'
      Completed operation 'Virtual Disk/Virtual Cdrom Clone' completed with direction ==> LATER
      Starting operation 'Files Destruct' on object '0004fb0000030000118614370af12d51 (CELBSSPRDAPPX44_OS_REPO04)'
      Completed operation 'Files Destruct' completed with direction ==> LATER
      Starting operation 'Virtual Disk/Virtual Cdrom Clone' on object '0004fb0000120000be50d9cf6a42aafd.img (bssinqappv1002_1 (2))'
      Completed operation 'Virtual Disk/Virtual Cdrom Clone' completed with direction ==> LATER
      Starting operation 'Virtual Machine Cfg File Destruct' on object 'cfgFile_0004fb000006000002d52f50a66b6bcf'
      Completed operation 'Virtual Machine Cfg File Destruct' completed with direction ==> LATER
      Starting operation 'Files Destruct' on object '0004fb0000030000a7ba4b41748ad271 (CELBSSPRDAPPX44_APP_REPO06)'
      Completed operation 'Files Destruct' completed with direction ==> LATER
      Starting operation 'Virtual Machine Cfg File Construct' on object '0004fb000022000060c26a586bc969b5'
      Completed operation 'Virtual Machine Cfg File Construct' completed with direction ==> LATER
      Starting operation 'Repository Element files refresh' on object '0004fb00001200000167b915ec1eb560.img (bssinqappv1002_2 (2))'
      Completed operation 'Repository Element files refresh' completed with direction ==> LATER
      Starting operation 'Files Destruct' on object '0004fb0000030000118614370af12d51 (CELBSSPRDAPPX44_OS_REPO04)'
      Completed operation 'Files Destruct' completed with direction ==> LATER
      Starting operation 'Repository Element files refresh' on object '0004fb0000120000be50d9cf6a42aafd.img (bssinqappv1002_1 (2))'
      Completed operation 'Repository Element files refresh' completed with direction ==> LATER
      Starting operation 'Virtual Machine Cfg File Destruct' on object 'cfgFile_0004fb000006000002d52f50a66b6bcf'
      Completed operation 'Virtual Machine Cfg File Destruct' completed with direction ==> LATER
      Starting operation 'Files Destruct' on object '0004fb0000030000a7ba4b41748ad271 (CELBSSPRDAPPX44_APP_REPO06)'
      Completed operation 'Files Destruct' completed with direction ==> LATER
      Starting operation 'Virtual Machine Cfg File Construct' on object '0004fb000022000060c26a586bc969b5'
      Completed operation 'Virtual Machine Cfg File Construct' completed with direction ==> LATER
      Starting operation 'Server Copy File' on object '08:00:20:ff:ff:ff:ff:ff:ff:ff:00:10:e0:0d:f8:24 (celbsspprd1)'
      Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.JobFailureException: OVMAPI_5001E Job "1363580456892" Failed due to failure "(03/18/2013 12:21:02:049 PM)
      Async operation failed on server: celbsspprd1.
      Object: bssinqappv1002_2 (2),
      PID: 17418,
      Server error message: Command: (/bin/dd if=/OVS/Repositories/0004fb0000030000a7ba4b41748ad271/VirtualDisks/0004fb0000120000587e7ce52ad7885f.img of=/OVS/Repositories/0004fb00000300005c7fa3061e466f92/VirtualDisks/0004fb00001200000167b915ec1eb560.img bs=1M iflag=direct oflag=direct) failed: (1)
      " on server "08:00:20:ff:ff:ff:ff:ff:ff:ff:00:10:e0:0d:f8:24" associated with object "0004fb00001200000167b915ec1eb560.img"
      Mon Mar 18 12:21:02 MYT 2013
      at com.oracle.ovm.mgr.api.job.JobEngine.checkJobStatus(JobEngine.java:624)
      at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:602)
      at com.oracle.ovm.mgr.op.physical.ServerCopyFile.action(ServerCopyFile.java:53)
      at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1012)
      at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:329)
      at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:289)
      at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:826)
      at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
      at com.oracle.ovm.mgr.api.virtual.VirtualDiskProxy.executeCurrentJobOperationAction(Unknown Source)
      at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:218)
      at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:309)
      at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1140)
      at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:329)
      at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:289)
      at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
      at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
      at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
      at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
      at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
      at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
      at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
      at java.lang.Thread.run(Thread.java:662)


      Thanks & Regards,
      Aik