Bug 2053390

Summary: No DataImportCron for CentOS 7
Product: Container Native Virtualization (CNV) Reporter: Dominik Holler <dholler>
Component: InstallationAssignee: Oren Cohen <ocohen>
Status: CLOSED ERRATA QA Contact: Debarati Basu-Nag <dbasunag>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.10.0CC: cnv-qe-bugs, dbasunag, nunnatsa, ocohen, stirabos
Target Milestone: ---   
Target Release: 4.10.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hco-bundle-registry-container-v4.10.1-6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2063792 (view as bug list) Environment:
Last Closed: 2022-05-18 20:26:57 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: 2063792    

Description Dominik Holler 2022-02-11 07:45:11 UTC
Description of problem:
While CentOS Stream 8 and 9 golden image is out of the box available to users, CentOS 7 image has to be added manually.

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

How reproducible:
100%

Actual results:
CentOS 7 image has to be added manually

Expected results:
CentOS 7 image is available out of the box


Additional info:
The CentOS 7 image is available in quay.io/containerdisks/centos:7-2009

Comment 1 Debarati Basu-Nag 2022-04-07 14:46:01 UTC
Verified against CNV-v4.10.1-50. 
====================
[cnv-qe-jenkins@c01-dbn-4101-pm2dg-executor ~]$ kubectl get DataImportCron -A
NAMESPACE                            NAME                        AGE
openshift-virtualization-os-images   centos-7-image-cron         40h
openshift-virtualization-os-images   centos-stream8-image-cron   40h
openshift-virtualization-os-images   centos-stream9-image-cron   40h
openshift-virtualization-os-images   fedora-image-cron           40h
openshift-virtualization-os-images   rhel8-image-cron            40h
openshift-virtualization-os-images   rhel9-image-cron            40h
[cnv-qe-jenkins@c01-dbn-4101-pm2dg-executor ~]$ 
====================
[cnv-qe-jenkins@c01-dbn-4101-pm2dg-executor ~]$ kubectl get ssp ssp-kubevirt-hyperconverged -n openshift-cnv -o jsonpath='{.spec.commonTemplates.dataImportCronTemplates}' | jq -e '.[] |select(.metadata.name=="centos-7-image-cron")'
{
  "metadata": {
    "annotations": {
      "cdi.kubevirt.io/storage.bind.immediate.requested": "true"
    },
    "name": "centos-7-image-cron"
  },
  "spec": {
    "garbageCollect": "Outdated",
    "managedDataSource": "centos7",
    "schedule": "34 8/12 * * *",
    "template": {
      "metadata": {},
      "spec": {
        "source": {
          "registry": {
            "url": "docker://quay.io/containerdisks/centos:7-2009"
          }
        },
        "storage": {
          "resources": {
            "requests": {
              "storage": "30Gi"
            }
          }
        }
      },
      "status": {}
    }
  }
}
[cnv-qe-jenkins@c01-dbn-4101-pm2dg-executor ~]$

Comment 7 errata-xmlrpc 2022-05-18 20:26:57 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.10.1 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:4668