-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
importVapp failed #1
Comments
Please bring out your using softwares' version, vSphere composition, and backup environment. Do you have permission to import ovf to the vSphere environment? If failed, please attach the ovf file. |
Software version: 1.0.2 how can I import ovf file in the backup? (Please Note: root@Saon:/etc/vmbkp# ./vmbkp status ChromeOS root@Saon:/etc/vmbkp# cat archives/vmbkp_all_vm.profile root@Saon:/etc/vmbkp# ls -lh archives/vm-845/ root@Saon:/etc/vmbkp# ls -lh archives/vm-845/0 |
You can deploy an ovf file with vSphere client software. File "snapshot-943.ovf.orig" is the original ovf file extracted from your vSphere. |
Ok this work well. and about the disk? |
Do you want to restore just your VM once or want to use vmbkp in your system? In the former case, create empty disks by hand and use vmdkbkp command to restore disk image. Please read README for usage. In the latter case, please attach the ovf file. I can try to test vmbkp with the ovf in our environment and may fix the software. |
OK thanks! can restore only vm without HD? |
No. After deploying the ovf file, then vmbkp will create empty disks Currently this software is not tested enough with various settings and environments Thank you. |
what's wrong? I'm trying to restore manually root@Saon:/etc/vmbkp/archives/vm-148/0# vmdkbkp restore --digestin 0.digest 0.dump Failed cmd.run(). Failed cmd.run(). |
You need to specify --remote option and its related options: --server, --username, --password --vm.
Vmdkbkp uses its original format for dump files. |
root@Saon:/etc/vmbkp/archives/vm-143/0# ls -l root@Saon:/etc/vmbkp/archives/vm-143/0# vmdkbkp restore --digestin 0.digest --dumpin 0.dump --remote [ced62:storage1]/test/test.vmdk --server 172.17.2.63 --username root --password test --vm vm-148 Failed cmd.run(). what's wrong? |
--dumpin option is not used in restore, because restore command may require multiple dump files as input data. vmdkbkp restore --digestin 0.digest --remote "[ced62:storage1] /test/test.vmdk" --server 172.17.2.63 --username root --password test --vm vm-148 0.dump |
By the way, I'm very interested in the reason why ovf import failed in your environment. It's enough that 0.err, 0.log, snapshot-917.ovf, snapshot-917.ovf.orig, and vmbkp_generation.profile. Thank you. |
All files except for disk data Il 22/09/2011 09:19, HOSHINO Takashi ha scritto:
Claudio Marchesini |
deleted. |
root@Saon:/etc/vmbkp/archives/vm-143/0# vmdkbkp restore --digestin 0.digest --remote "[ced62:storage1]/test/test.vmdk" --server 172.17.2.59 --username administrator --password carped13m --vm vm-148 0.dump N.B. |
vmdkbkp asssumes target vmdk disk is is created in the vSphere. |
Please send the email with attached files to [email protected] directly. |
There's a problem when I try to restore a Vmachine.
vmbkp restore --name ChromeOS --host 172.17.2.62 --datastore "ced62:storage1" vm-845
This is the log output:
Vmbkp start.
08/31/11 14:52:14.555 [INFO, 10, com.cybozu.vmbkp.control.VmbkpCommandLine, getConfigPath] Use default config file vmbkp_global.conf.
08/31/11 14:52:15.392 [INFO, 10, com.cybozu.vmbkp.control.VmbkpCommandLine, getConfigPath] Use default config file vmbkp_group.conf.
08/31/11 14:52:15.408 [INFO, 10, com.cybozu.vmbkp.control.VmbkpMain, getAllTargetVmMorefList] Targets(moref): vm-805
08/31/11 14:52:15.409 [INFO, 10, com.cybozu.vmbkp.control.VmbkpMain, setTargets] Targets(vmName): QSrdp
08/31/11 14:52:15.427 [INFO, 10, com.cybozu.vmbkp.control.VmbkpMain, restoreVm] restoreVm() start.
08/31/11 14:52:15.427 [INFO, 10, com.cybozu.vmbkp.control.VmbkpMain, restoreVm] Restore target: "QSrdp" (vm-805).
08/31/11 14:52:15.428 [INFO, 10, com.cybozu.vmbkp.control.VmbkpMain, restoreVm] RestoreInfo: [newVmName QS][generation 0][host 172.17.2.62][datastore ced62:storage1][isNoVmdk false][isDryRun false][isSan false]
08/31/11 14:52:15.459 [INFO, 10, com.cybozu.vmbkp.control.VmbkpMain, restoreVm] -----VirtualControllerManager-----
type: buslogic, ckey: 1000, busNumber: 0
VirtualDiskManager: key: 2000, unitNumber: 0, capacityInKb: 83886080, datastore: ced62:storage1
08/31/11 14:52:15.460 [INFO, 10, com.cybozu.vmbkp.soap.Connection, connect] connecting to https://172.17.2.59/sdk...
08/31/11 14:52:15.786 [INFO, 10, com.cybozu.vmbkp.soap.Connection, connect] connected
08/31/11 14:52:16.432 [WARNING, 10, com.cybozu.vmbkp.soap.GlobalManager, importOvf] importVapp failed.
08/31/11 14:52:16.433 [WARNING, 10, com.cybozu.vmbkp.control.VmbkpMain, logException] restoreVm of vm-805 failed.
com.vmware.vim25.InvalidRequest
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.vmware.vim25.ws.XmlGen.fromXml(XmlGen.java:201)
at com.vmware.vim25.ws.XmlGen.parseSoapFault(XmlGen.java:80)
at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:132)
at com.vmware.vim25.ws.VimStub.importVApp(VimStub.java:1346)
at com.vmware.vim25.mo.ResourcePool.importVApp(ResourcePool.java:102)
at com.cybozu.vmbkp.soap.GlobalManager.importOvf(GlobalManager.java:233)
at com.cybozu.vmbkp.control.VmbkpMain.restoreVm(VmbkpMain.java:1212)
at com.cybozu.vmbkp.control.VmbkpMain.doRestore(VmbkpMain.java:401)
at com.cybozu.vmbkp.control.VmbkpMain.dispatch(VmbkpMain.java:249)
at com.cybozu.vmbkp.control.VmbkpMain.main(VmbkpMain.java:115)
thanks
The text was updated successfully, but these errors were encountered: