Bug 2102694

Summary: Fedora version in DataImportCrons is not 'latest'
Product: Container Native Virtualization (CNV) Reporter: Felix Matouschek <fmatouschek>
Component: InstallationAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED ERRATA QA Contact: Debarati Basu-Nag <dbasunag>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.11.0CC: cnv-qe-bugs, dbasunag, dholler, kmajcher, stirabos
Target Milestone: ---   
Target Release: 4.11.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hco-bundle-registry-v4.11.1-15 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2103968 (view as bug list) Environment:
Last Closed: 2022-12-01 21:10: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:
Bug Depends On:    
Bug Blocks: 2103968    

Description Felix Matouschek 2022-06-30 12:58:59 UTC
Description of problem:

The Fedora containerdisk version in HCO's dataImportCronTemplates is currently set to '35'. It should be set to 'latest' to always have the latest Fedora version available on the cluster.

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

CNV 4.10 / 4.11 / 4.12

How reproducible:

Install CNV on OCP and run:

oc get dataimportcron -n openshift-virtualization-os-images fedora-image-cron -o yaml | grep url

Actual results:

URL is docker://quay.io/containerdisks/fedora:35

Expected results:

URL should be docker://quay.io/containerdisks/fedora:latest

Additional info:

Fixed upstream by https://github.com/kubevirt/hyperconverged-cluster-operator/pull/2021

Comment 1 Dominik Holler 2022-06-30 13:05:43 UTC
The fix might be backported to cnv 4.11.1 and 4.10.z (4.10.4 or 4.10.5)

Comment 3 Debarati Basu-Nag 2022-09-27 22:56:13 UTC
Verified against latest 4.11.1:
===============================
[cnv-qe-jenkins@c01-dbn-411-9588x-executor ~]$ oc get dataimportcron -n openshift-virtualization-os-images fedora-image-cron -o yaml | grep url
          url: docker://quay.io/containerdisks/fedora:latest
[cnv-qe-jenkins@c01-dbn-411-9588x-executor ~]$

Comment 11 errata-xmlrpc 2022-12-01 21:10: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 (Moderate: OpenShift Virtualization 4.11.1 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:8750