Created attachment 1754625 [details] Screenshot Description of problem: Deprecated templates are slited in the Templates screen (Workloads -> Virtuzliaztion-> Templates). These templates exist after an upgrade. One such template is "windows-server-medium-v0.12.3". If a user added a golden image to win 19 in 2.5.z (OCP 4.6) and then upgrades to OCP 4.7, "Microsoft Windows Server 2012 R2+ VM" is shown in the UI and appars as if it has a boot source (as this deprecated template points to win19 as golden image) Deprectaed templates are marked with: template.kubevirt.io/deprecated: "true" annotation and do not have the os-flavor-workload labels, for example: flavor.template.kubevirt.io/medium: "true" os.template.kubevirt.io/win2k19: "true" workload.template.kubevirt.io/server: "true" Version-Release number of selected component (if applicable): 4.7.0-fc.5 (upgrade from 4.6), CNV 2.5.3 How reproducible: 100% Steps to Reproduce: 1. Install OCP 4.6, CNV 2.5 2. Upgarde to OCP 4.7.0 Actual results: Deprecated templates are listed as available templates (in this case "windows-server-medium-v0.12.3") Expected results: Deprecated templates should not be displayed in the Templates screen. Additional info: See attached screenshot (in 2.5, common templates were not listed in this screen)
Cannot see this issue on latest master, but it's still on 4.7.0-fc.5, hold and will verify it on next build.
verified on ocp 4.7.0-rc.0
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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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-2020:5633