Feature #14716
Provision thick disks from thin templates
Description
To add functionality of deploying of VMware VMs via lazy zero disks
3. What is the nature and description of the request?
To add functionality of deploying of VMware VMs via lazy zero disks
4. Why does the customer need this? (List the business requirements here)
To minimize overhead on the storage side because of all the writes and it would speed up provisioning part
5. How would the customer like to achieve this? (List the functional requirements here)
- Add Lazy Zero check mark in Storage part of VMware provisioning.
Related issues
Associated revisions
History
#1
Updated by Bryan Kearney about 6 years ago
- Bugzilla link set to 1322481
#2
Updated by Dominic Cleal about 6 years ago
- Status changed from New to Need more information
Isn't this just ensuring eager zero is not checked?
#3
Updated by Anonymous about 6 years ago
Dominic Cleal wrote:
Isn't this just ensuring eager zero is not checked?
indeed. any reaction yet?
#4
Updated by Bryan Kearney about 6 years ago
Michael Moll wrote:
Dominic Cleal wrote:
Isn't this just ensuring eager zero is not checked?
indeed. any reaction yet?
What the vmware guys wanted to do is saving the templates as thin provisioned (and therefore save space and distribution times with smaller images) and then during the deployment of a virtual machine ensure that it's deployed with lazy zeroed disk.
Right now what's happening is:
If template is saved with the disk as thin provisioned the cloned host is also thin provisioned.
If we add an extra disk in the foreman instance and untick the thin provision checkbox it's as you say, the disk is created with lazy zero. This is however only applicable for additional disk and not for the current use case above with pre-created templates.
#5
Updated by Shimon Shtein over 5 years ago
It looks like it's an issue in fog-vsphere. Opened an issue there: https://github.com/fog/fog-vsphere/issues/64
#6
Updated by The Foreman Bot over 5 years ago
- Status changed from Need more information to Ready For Testing
- Assignee set to Shimon Shtein
- Pull request https://github.com/theforeman/foreman/pull/4241 added
#7
Updated by Ivan Necas over 5 years ago
- Target version set to 1.11.3
#8
Updated by Shimon Shtein over 5 years ago
- Subject changed from Possibility to lazy zero disks to Provision thick disks from thin templates
#9
Updated by Shimon Shtein over 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 6d4420bac973a0119a126a0dcdbde9e4980081e1.
#10
Updated by Dominic Cleal over 5 years ago
- Legacy Backlogs Release (now unused) set to 209
#11
Updated by Dominic Cleal over 5 years ago
- Has duplicate Bug #18928: Created VM disk not respect the provisionning type choosed. thin provisionning is always used. Eager zero ignored added
Fixes #14716 - Added option to transform thin template to thick
Unfortunately, it's a single setting for all disks - you can't choose
which disks (inherited from templat) will be thin and which not.
For new disks, the logic remains the same - "thin" flag would be used.