Bug 2115769

Summary: Machine type is updated to rhel8.6.0 in KV CR but not in Templates
Product: Container Native Virtualization (CNV) Reporter: Akriti Gupta <akrgupta>
Component: VirtualizationAssignee: Oren Cohen <ocohen>
Status: CLOSED ERRATA QA Contact: Akriti Gupta <akrgupta>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.12.0CC: dholler, ksimon, lpivarc, ocohen
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: CNV v4.12.0-346, CNV v4.12.0.rhel9-368 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-24 13:39:30 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 Akriti Gupta 2022-08-05 10:03:06 UTC
Description of problem: Machine type is updated to rhel8.6.0 in KV CR but is still rhel8.4.0 in templates

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


How reproducible:


Steps to Reproduce:
1.oc get templates rhel8-server-medium -n openshift -o json | jq .objects[0].spec.template.spec.domain.machine
2.oc get kv -n openshift-cnv kubevirt-kubevirt-hyperconverged -o json | jq .spec.configuration.machineType


Actual results:
Step1 result: "type": "pc-q35-rhel8.4.0"
Step2 result: "type": "pc-q35-rhel8.6.0"

Expected results:
Step1 result: "type": "pc-q35-rhel8.6.0"
Step2 result: "type": "pc-q35-rhel8.6.0"

Additional info:

Comment 1 Oren Cohen 2022-08-09 08:34:03 UTC
Fixed in CNV v4.12.0-346 (pc-q35-rhel8.6.0) and in CNV v4.12.0.rhel9-368 (pc-q35-rhel9.0.0)

Comment 2 Akriti Gupta 2022-10-07 10:19:02 UTC
Verified with  v4.12.0-548

[akrgupta@fedora ~]$ oc get templates rhel8-server-medium -n openshift -o json | jq .objects[0].spec.template.spec.domain.machine
{
  "type": "pc-q35-rhel8.6.0"
}
[akrgupta@fedora ~]$ oc get kv -n openshift-cnv kubevirt-kubevirt-hyperconverged -o json | jq .spec.configuration.machineType
"pc-q35-rhel8.6.0"

 Machine type is updated to rhel8.6.0 in both KV CR and Templates.

Comment 6 errata-xmlrpc 2023-01-24 13:39:30 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