- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Error when cloning a VM related to vCloud Director
Hey there!
I have the following cmdlet:
New-VM -Name ClonedVM -VM SourceVM -Datastore NewDS -VMHost ESXi -Location Folder -Confirm:$false
The problem is that I'm trying to clone a VM that is a part of a dead vCD system. Because the VM is registered as being managed by the dead vCD instance, I get the following error:
The operation for the entity ClonedVM failed with the following message: "A general system error occurred: The virtual machine requires the vcloud/system.service.vmware.vsla.vcloud service, which is not available on the host."
So.. is there a way for me to clone that VM using PowerCLI without un-registering and registering the VM in the VC?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thread moved to the vCloud Director PowerCLI community.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try to clone to flat with vmkfstools -i
http://kb.vmware.com/kb/1028042
vmkfstools -i "/vmfs/volumes/path/example/example.vmdk" "/vmfs/volumes/path/example2.vmdk" -d thin
# the vm must be powered off
and then clone via vcd or vc
New-CIVApp -Name vapp_name -OrgVdc org_vdc_name -VAppTemplate Template_name
if the vcd has problem then you can do it via vc if vc has problem that you much clone the the disk (flat) shile the vm is powered off and create new vm and then attach the disk that you cloned with vmkfstools.