pyvmomi icon indicating copy to clipboard operation
pyvmomi copied to clipboard

Is there way to clone a template to a cluster that does not have resource pool?

Open sametimesolutions opened this issue 10 years ago • 4 comments

The VirtualMachineRelocateSpec seems to have support for host and resource pools but not clusters unless they have a resource pool.

sametimesolutions avatar Jan 07 '16 01:01 sametimesolutions

https://www.vmware.com/support/developer/vc-sdk/visdk2xpubs/ReferenceGuide/vim.vm.RelocateSpec.html

sametimesolutions avatar Jan 07 '16 01:01 sametimesolutions

All clusters have the "root resource pool", cluster.resourcePool. If you use it you'll relocate to the cluster.

wiggin15 avatar Jan 07 '16 07:01 wiggin15

Thank you wiggin15!, Using the cluster.resourcePool worked.

sametimesolutions avatar Jan 07 '16 15:01 sametimesolutions

Closing the issue as the question has been answered.

tianhao64 avatar Mar 22 '16 19:03 tianhao64