Bug #19028
openGetting "The disk is not thin-provisioned" vSphere error when trying to create host from template with thick disk
Description
When I try to do image-based provisioning of new host with thick disk from vSphere template also with thick disk, I get the following error:
"Failed to create a compute vSphere (VMware) instance test.domain.com: InvalidArgument: A specified parameter was not correct:"
but in vSphere Web console the error is:
"The disk is not thin-provisioned."
Debug log is attached.
When I comment out the string: https://github.com/theforeman/foreman/blob/1.10.0-RC2/app/models/compute_resources/foreman/model/vmware.rb#L372
as suggested in http://projects.theforeman.org/issues/12487#note-1
vm is created without errors but with thin-provisioned disk.
I use vSphere 6.5 and Foreman 14.2 with tfm-rubygem-fog-vsphere-1.7.0 from nigthly repo in order to workaround http://projects.theforeman.org/issues/18988 bug.
Files
No data to display