Bug 2063792 - No DataImportCron for CentOS 7
Summary: No DataImportCron for CentOS 7
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Installation
Version: 4.10.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.11.0
Assignee: Oren Cohen
QA Contact: Debarati Basu-Nag
URL:
Whiteboard:
Depends On: 2053390
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-14 11:57 UTC by Natalie Gavrielov
Modified: 2023-11-13 08:14 UTC (History)
6 users (show)

Fixed In Version: CNV v4.11.0-76
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2053390
Environment:
Last Closed: 2022-09-14 19:29:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CNV-16904 0 None None None 2023-11-13 08:14:05 UTC
Red Hat Product Errata RHSA-2022:6526 0 None None None 2022-09-14 19:29:25 UTC

Description Natalie Gavrielov 2022-03-14 11:57:18 UTC
+++ This bug was initially created as a clone of Bug #2053390 +++

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:52:46 UTC
Verified against CNV-v4.11.0-192
===========================
[cnv-qe-jenkins@c01-dbn-411-s7zf7-executor ~]$ kubectl get ssp ssp-kubevirt-hyperconverged -n openshift-cnv -o jsonpath='{.spec.commonTemplates.dataImportCronTemplates}' | jq -e '.[] |select(.metadata.name=="centos-7-image-cron")'
I0407 14:51:27.430278  100437 request.go:665] Waited for 1.119335241s due to client-side throttling, not priority and fairness, request: GET:https://api.c01-dbn-411.cnv-qe.rhcloud.com:6443/apis/nodemaintenance.kubevirt.io/v1beta1?timeout=32s
{
  "metadata": {
    "annotations": {
      "cdi.kubevirt.io/storage.bind.immediate.requested": "true"
    },
    "name": "centos-7-image-cron"
  },
  "spec": {
    "garbageCollect": "Outdated",
    "managedDataSource": "centos7",
    "schedule": "3 11/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-411-s7zf7-executor ~]$ kubectl get DataImportCron -A
NAMESPACE                            NAME                        AGE
openshift-virtualization-os-images   centos-7-image-cron         42h
openshift-virtualization-os-images   centos-stream8-image-cron   42h
openshift-virtualization-os-images   centos-stream9-image-cron   42h
openshift-virtualization-os-images   fedora-image-cron           42h
openshift-virtualization-os-images   rhel8-image-cron            42h
openshift-virtualization-os-images   rhel9-image-cron            42h
[cnv-qe-jenkins@c01-dbn-411-s7zf7-executor ~]$

Comment 4 errata-xmlrpc 2022-09-14 19:29:09 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.11.0 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:6526


Note You need to log in before you can comment on or make changes to this bug.