Bug 2132031

Summary: Ensure Windows 2022 Templates are marked as TechPreview like it is done now for Windows 11
Product: Container Native Virtualization (CNV) Reporter: Kedar Bidarkar <kbidarka>
Component: VirtualizationAssignee: Karel Šimon <ksimon>
Status: CLOSED ERRATA QA Contact: Kedar Bidarkar <kbidarka>
Severity: high Docs Contact:
Priority: high    
Version: 4.12.0CC: acardace, akrgupta, ksimon
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kubevirt-ssp-operator-container-v4.12.0-44 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-24 13:41:21 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 Kedar Bidarkar 2022-10-04 13:45:07 UTC
Description of problem:

Windows 2022 template might be shown as fully supported

Actual results:
Windows 2022 template might be shown as fully supported

Expected results:
Windows 2022 is shown as Tech Preview, like Windows 11 Templates ( since 4.11.1) 

Version-Release number of selected component (if applicable):
ocp-4.12

Additional info:
Filed this bug to track the issue,
As we recently decided to mark Windows-11 Template as Tech Preview
https://bugzilla.redhat.com/show_bug.cgi?id=2129013

Comment 2 Akriti Gupta 2022-10-14 18:10:03 UTC
Verified with v4.12.0-599, kubevirt-ssp-operator-container-v4.12.0-47

Windows 2022 Templates are marked as TechPreview

[akrgupta@fedora auth]$ for n in $(oc get template -o name -n openshift | grep windows2k22); do echo ""; echo $n; oc get $n -n openshift -o yaml | grep -A 25 "metadata"; done

template.template.openshift.io/windows2k22-highperformance-large
metadata:
  annotations:
    defaults.template.kubevirt.io/disk: rootdisk
    defaults.template.kubevirt.io/network: default
    description: Template for Microsoft Windows Server 2022 VM. A PVC with the Windows
      disk image must be available.
    iconClass: icon-windows
    name.os.template.kubevirt.io/win2k22: Microsoft Windows Server 2022
    openshift.io/display-name: Microsoft Windows Server 2022 VM
    openshift.io/documentation-url: https://github.com/kubevirt/common-templates
    openshift.io/provider-display-name: Red Hat - Tech Preview
    openshift.io/support-url: https://github.com/kubevirt/common-templates/issues
    operator-sdk/primary-resource: openshift-cnv/ssp-kubevirt-hyperconverged
    operator-sdk/primary-resource-type: SSP.ssp.kubevirt.io
    tags: hidden,kubevirt,virtualmachine,windows
    template.kubevirt.io/editable: |
      /objects[0].spec.template.spec.domain.cpu.cores
      /objects[0].spec.template.spec.domain.resources.requests.memory
      /objects[0].spec.template.spec.domain.devices.disks
      /objects[0].spec.template.spec.volumes
      /objects[0].spec.template.spec.networks
    template.kubevirt.io/provider: Red Hat - Tech Preview
    template.kubevirt.io/provider-support-level: Experimental
    template.kubevirt.io/provider-url: https://www.redhat.com
    template.kubevirt.io/version: v1alpha1
    template.openshift.io/bindable: "false"

template.template.openshift.io/windows2k22-highperformance-medium
metadata:
  annotations:
    defaults.template.kubevirt.io/disk: rootdisk
    defaults.template.kubevirt.io/network: default
    description: Template for Microsoft Windows Server 2022 VM. A PVC with the Windows
      disk image must be available.
    iconClass: icon-windows
    name.os.template.kubevirt.io/win2k22: Microsoft Windows Server 2022
    openshift.io/display-name: Microsoft Windows Server 2022 VM
    openshift.io/documentation-url: https://github.com/kubevirt/common-templates
    openshift.io/provider-display-name: Red Hat - Tech Preview
    openshift.io/support-url: https://github.com/kubevirt/common-templates/issues
    operator-sdk/primary-resource: openshift-cnv/ssp-kubevirt-hyperconverged
    operator-sdk/primary-resource-type: SSP.ssp.kubevirt.io
    tags: hidden,kubevirt,virtualmachine,windows
    template.kubevirt.io/editable: |
      /objects[0].spec.template.spec.domain.cpu.cores
      /objects[0].spec.template.spec.domain.resources.requests.memory
      /objects[0].spec.template.spec.domain.devices.disks
      /objects[0].spec.template.spec.volumes
      /objects[0].spec.template.spec.networks
    template.kubevirt.io/provider: Red Hat - Tech Preview
    template.kubevirt.io/provider-support-level: Experimental
    template.kubevirt.io/provider-url: https://www.redhat.com
    template.kubevirt.io/version: v1alpha1
    template.openshift.io/bindable: "false"

template.template.openshift.io/windows2k22-server-large
metadata:
  annotations:
    defaults.template.kubevirt.io/disk: rootdisk
    defaults.template.kubevirt.io/network: default
    description: Template for Microsoft Windows Server 2022 VM. A PVC with the Windows
      disk image must be available.
    iconClass: icon-windows
    name.os.template.kubevirt.io/win2k22: Microsoft Windows Server 2022
    openshift.io/display-name: Microsoft Windows Server 2022 VM
    openshift.io/documentation-url: https://github.com/kubevirt/common-templates
    openshift.io/provider-display-name: Red Hat - Tech Preview
    openshift.io/support-url: https://github.com/kubevirt/common-templates/issues
    operator-sdk/primary-resource: openshift-cnv/ssp-kubevirt-hyperconverged
    operator-sdk/primary-resource-type: SSP.ssp.kubevirt.io
    tags: hidden,kubevirt,virtualmachine,windows
    template.kubevirt.io/editable: |
      /objects[0].spec.template.spec.domain.cpu.cores
      /objects[0].spec.template.spec.domain.resources.requests.memory
      /objects[0].spec.template.spec.domain.devices.disks
      /objects[0].spec.template.spec.volumes
      /objects[0].spec.template.spec.networks
    template.kubevirt.io/provider: Red Hat - Tech Preview
    template.kubevirt.io/provider-support-level: Experimental
    template.kubevirt.io/provider-url: https://www.redhat.com
    template.kubevirt.io/version: v1alpha1
    template.openshift.io/bindable: "false"

template.template.openshift.io/windows2k22-server-medium
metadata:
  annotations:
    defaults.template.kubevirt.io/disk: rootdisk
    defaults.template.kubevirt.io/network: default
    description: Template for Microsoft Windows Server 2022 VM. A PVC with the Windows
      disk image must be available.
    iconClass: icon-windows
    name.os.template.kubevirt.io/win2k22: Microsoft Windows Server 2022
    openshift.io/display-name: Microsoft Windows Server 2022 VM
    openshift.io/documentation-url: https://github.com/kubevirt/common-templates
    openshift.io/provider-display-name: Red Hat - Tech Preview
    openshift.io/support-url: https://github.com/kubevirt/common-templates/issues
    operator-sdk/primary-resource: openshift-cnv/ssp-kubevirt-hyperconverged
    operator-sdk/primary-resource-type: SSP.ssp.kubevirt.io
    tags: hidden,kubevirt,virtualmachine,windows
    template.kubevirt.io/editable: |
      /objects[0].spec.template.spec.domain.cpu.cores
      /objects[0].spec.template.spec.domain.resources.requests.memory
      /objects[0].spec.template.spec.domain.devices.disks
      /objects[0].spec.template.spec.volumes
      /objects[0].spec.template.spec.networks
    template.kubevirt.io/provider: Red Hat - Tech Preview
    template.kubevirt.io/provider-support-level: Experimental
    template.kubevirt.io/provider-url: https://www.redhat.com
    template.kubevirt.io/version: v1alpha1
    template.openshift.io/bindable: "false"

Comment 6 errata-xmlrpc 2023-01-24 13:41:21 UTC
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.12.0 Images security 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-2023:0408