Knife vsphere vm migrate options


#1

Hello folks,

I have installed knife-vsphere using gem install knife-vsphere to carry out
various operations at the vCenter level.
I ran knife vsphere vm migrate <vm_name> --resource-pool --dest-datastore DATASTORE to migrate VM from one
resource pool to another, but, it fails with throwing an error stating “no such
pool resource_pool_name while looking for resource_pool_name”.
Although when I run the following command -
$ knife vsphere pool lists
It shows the resource_pool_name.
Am wondering why it’s failing to migrate the VM.
I was following -
https://github.com/ezrapagel/knife-vsphere/blob/master/README.rdoc for the
migrate options.
Any suggestions on where am I going wrong or has anyone tried migrating VM
using knife vsphere plugin ?

Thank you,
Ashutosh Narayan