Bug 1013675
| Summary: | [RFE] In-place transformation of a VM to a Template | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Federico Simoncelli <fsimonce> |
| Component: | RFEs | Assignee: | Rob Young <royoung> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | --- | CC: | bugs, ekin.meroglu, fsimonce, lpeer, mgoldboi, michal.skrivanek, rbalakri, Rhev-m-bugs, srevivo |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | Flags: | ylavi:
ovirt-future?
rule-engine: planning_ack? rule-engine: devel_ack? rule-engine: testing_ack? |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-11-16 15:37:51 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Federico Simoncelli
2013-09-30 15:03:21 UTC
oved - how was this resolved in the end for import template from glance to flag as readonly? (In reply to Itamar Heim from comment #1) > oved - how was this resolved in the end for import template from glance to > flag as readonly? Up until now, the only way to create a 'template' disk was by using the copyImage command. This has 2 limitations: 1. It forces the user to copy all the data instead of doing an in-place convert of an image to a template image 2. Resulting image cannot be qcow which is wasteful in some cases I've sent a patch to address that, and allows using an existing disk as a template disk, by allowing to "share" a disk that isn't marked as "shared", but can be shared as it doesn't have snapshots. This disk will be marked as "shared" upon first use. So, as far as I understand the only thing that needs to be done is setting it properly on the engine side (marking this VM as a template). Now, the first time a VM is created from this template the disks will be marked as shared. However, it will only work in cluster level which is 3.4 or higher, as this code doesn't exist in older versions of VDSM. Federico - if I wasn't accurate enough in the description above then please correct me. Michal - still relevant? no one seem to request that anymore. After 4 years it seems to be the time to close wontfix We have virt-sysprep integrated to clean up the (linux) template, but not really without the first step of creating the template |