Description of problem: When cloning a template, the VM has labels and annotations referring to the original template and not the cloned one. Also, the cloned template has some annotations referring to the old template. VM labels to edit: vm.kubevirt.io/template: ${NEW_TEMPLATE_NAME} vm.kubevirt.io/template.namespace: ${NEW_TEMPLATE_NAMESPACE} VM labels to delete: vm.kubevirt.io/template.version Template annotations to edit: openshift.io/display-name: ${USER_INPUT} Version-Release number of selected component (if applicable): CNV-4.11 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Hey @yfrimanm, There is an annotation that the user should be able to edit during the Clone Template process. It's called 'display name' and is a string. Is it okay for you if we add an input text for this?
Created attachment 1880221 [details] Clone template modal Hi upalatuc I am not sure I understand what you mean by saying "during the Clone Template process". Do you mean adding an annotation input to the clone template modal? (please see attached)
Yes exactly
Hi @Ugo Palatucci I think you can add the "Display name" input in the Clone template modal, below the "Template project" input. Thank you.
Created attachment 1880542 [details] Updated Clone template modal
verified on v4.11.0-403(OCP v4.11.0-32)
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Virtualization 4.11.0 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:6526