Description of problem: The DataSource does not show a timestamp as to when it is updated. It only shows a timestamp for when it is initially populated. Version-Release number of selected component (if applicable): OpenShift 4.10.18 Virtualization 10.2 How reproducible: always Steps to Reproduce: 1. Create a imagestream 2. create an datacrontemplate in hyperconverged to populate a datasource 3. update container image the imagestreampoints to Actual results: The datasource updates, but the status.conditions do not indicate it updated or changed. Only the pvc name changes. Expected results: To have a condition that provides a date/time when the DataSource is updated.
Moving to CNV
Test on CNV-v4.12.0-363, lastTransitionTime has been changed after updating dataImportCronTemplates Before update: -------8<------------ spec: source: pvc: name: custom-data-source-947541648d7f namespace: openshift-virtualization-os-images status: conditions: - lastHeartbeatTime: "2022-08-16T04:28:51Z" lastTransitionTime: "2022-08-16T04:28:51Z" message: DataSource is ready to be consumed reason: Ready status: "True" type: Ready source: pvc: name: custom-data-source-947541648d7f namespace: openshift-virtualization-os-images After update: -------8<------------ spec: source: pvc: name: custom-data-source-6f58b5a089be namespace: openshift-virtualization-os-images status: conditions: - lastHeartbeatTime: "2022-08-16T04:33:53Z" lastTransitionTime: "2022-08-16T04:33:53Z" message: DataSource is ready to be consumed reason: Ready status: "True" type: Ready source: pvc: name: custom-data-source-6f58b5a089be namespace: openshift-virtualization-os-images
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