Hi,
After upgraded from Boninik to Darga-1 appliance, I tested on my old adddisk_to_vm code which I took reference from the CloudFormPOC that worked well previously.
In this case, when I worked on negative testing, upon executing the following codes, I got a “VimFault”“method_missing” that was triggered by "vm_storage"error:
prov = $evm.root[‘mig_provision’]
vm = prov.vm
vim_vm = vm.object_send( ‘instance_eval’, ‘with_provider_object( | vimVM | return vimVM }’ )
vim_vm.addDisk( “[#{vm.storage_name}]”, size*1024)
I appreciate if someone could point me to how vm.addDisk works? Is the request tap on VMware API? Do we need VDDK for this to work? Thanks.
Cheers,
Casius.