Closed hecktarzuli closed 7 years ago
I'm getting this error when trying to run vagrant up --provider=vsphere
RuntimeError while serializing pool (ResourcePool): Folder("group-h4") RuntimeError while serializing location (VirtualMachineRelocateSpec): VirtualMachineRelocateSpec( pool: Folder("group-h4") ) RuntimeError while serializing spec (VirtualMachineCloneSpec): VirtualMachineCloneSpec( config: VirtualMachineConfigSpec( ), location: VirtualMachineRelocateSpec( pool: Folder("group-h4") ), powerOn: true, template: false ) expected ResourcePool for 'pool', got Folder for field "pool"
We don't use resource pools, so I'm not sure what the deal is. Here is my Vagrantfile
VAGRANT_INSTANCE_NAME = "Josh-Test" Vagrant.configure("2") do |config| config.vm.box = 'dummy' config.vm.box_url = './dummy.box' config.vm.hostname = VAGRANT_INSTANCE_NAME config.vm.define VAGRANT_INSTANCE_NAME do |d| end config.vm.provider :vsphere do |vsphere| vsphere.host = '192.168.1.XXX' vsphere.name = VAGRANT_INSTANCE_NAME vsphere.compute_resource_name = '' vsphere.resource_pool_name = '' vsphere.template_name = '_templates/Linux-Template' vsphere.vm_base_path = "Test Servers" vsphere.user = 'xxxxxx' vsphere.password = 'xxxxx' vsphere.insecure = true vsphere.custom_attribute('timestamp', Time.now.to_s) end end
Any ideas as to the problem?
I had to actually create a resource pool and specify it to move past this error :( Oh well.
I'm getting this error when trying to run vagrant up --provider=vsphere
RuntimeError while serializing pool (ResourcePool): Folder("group-h4") RuntimeError while serializing location (VirtualMachineRelocateSpec): VirtualMachineRelocateSpec( pool: Folder("group-h4") ) RuntimeError while serializing spec (VirtualMachineCloneSpec): VirtualMachineCloneSpec( config: VirtualMachineConfigSpec( ), location: VirtualMachineRelocateSpec( pool: Folder("group-h4") ), powerOn: true, template: false ) expected ResourcePool for 'pool', got Folder for field "pool"
We don't use resource pools, so I'm not sure what the deal is. Here is my Vagrantfile
Any ideas as to the problem?