Description of problem: VM template can be created from one of the VM snapshots. The only way to create VM template from a snapshot is via the UI only. The option to create VM template from snapshot through REST-API is missing. Version-Release number of selected component (if applicable): master-4.3.0 - from commit 2b8602fca13f12840dfee15b12cf88e5a45f633b How reproducible: 100% Steps to Reproduce: 1. Create a VM with disk 2. Create a snapshot of the VM 3. Try to create a template from the VM Actual results: The only way to create a VM template is via the UI Expected results: There should be an option to create a template from a VM snapshot via REST-API Additional info:
Created attachment 1476906 [details] screenshots Hi Eyal, Please see attached screenshots, the REST guide does not contain the create template from snapshot operation and also in the response body of GET for a specific snapshot, this option doesn't exist.
I have to admit that I am not familiar with the ovirt-engine/apidoc documentation but you can find the information under - ../ovirt-engine/api/model#services/templates
Under api/templates you send a request with this body (taken from the API documentation): <template> <name>mytemplate</name> <vm id="123"> <snapshots> <snapshot id="456"/> </snapshots> </vm> </template>
Created a template from a snapshot by rest-API. ovirt-engine-4.3.0-0.0.master.20180815091554.gitd5455ea.el7.noarch vdsm-4.30.0-527.gitcec1054.el7.x86_64
This bugzilla is included in oVirt 4.2.7 release, published on November 2nd 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.7 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.
Closed by mistake, moving back to qa -> verified
This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.