Bug 2066642
| Summary: | [RFE][Virtualization][Documentation] To include in the product guide the procedure to create VMs from templates using the CLI. | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | nsurati |
| Component: | Documentation | Assignee: | ctomasko <ctomasko> |
| Status: | CLOSED DEFERRED | QA Contact: | Kedar Bidarkar <kbidarka> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.11.0 | CC: | alitke, cnv-qe-bugs, maugarci |
| Target Milestone: | --- | ||
| Target Release: | 4.13.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | https://issues.redhat.com/browse/CNV-17042 | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-10-20 02:23:48 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
nsurati
2022-03-22 08:57:28 UTC
Currently, OpenShift Virtualization supports creating a VM from the UI. Review bug during the next PM open hours/planning meeting to determine how to address this issue. The documentation for creating a VM from the CLI was recently updated: https://docs.openshift.com/container-platform/4.10/virt/virtual_machines/virt-create-vms.html#virt-creating-vm-cli_virt-create-vms The VirtualMachine manifest example creates a RHEL 9 VM. If a user has a VM template, this procedure should work for creating a VM from the CLI. Avital, The linked documentation does not provide instructions how to create the yaml definition from one of our pre-existing templates. This is important, for example, so that users can take advantage of the managed boot sources as well as ensuring that some more detailed VM settings are configured properly. (In reply to Adam Litke from comment #7) > Avital, > > The linked documentation does not provide instructions how to create the > yaml definition from one of our pre-existing templates. This is important, > for example, so that users can take advantage of the managed boot sources as > well as ensuring that some more detailed VM settings are configured properly. Adam, We have documentation for editing the YAML of an existing template in the UI (https://docs.openshift.com/container-platform/4.10/virt/vm_templates/virt-editing-vm-template.html#virt-editing-template-yaml-web_virt-editing-vm-template). Would the user copy a template yaml from the UI and edit with the CLI? Or is there a way to list and get existing templates from the CLI? Closing as deferred. Creating templates from API is a CNV Feature and planned for a future release. Documentation will accompany the feature when implemented in the product. |