Project

General

Profile

Actions

Bug #19028

open

Getting "The disk is not thin-provisioned" vSphere error when trying to create host from template with thick disk

Added by Vladimir Safronov about 7 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Compute resources - VMware
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

production.log production.log 35.8 KB Vladimir Safronov, 03/26/2017 04:29 PM

No data to display

Actions

Also available in: Atom PDF