Description of problem: When creating a DataImportCron CR with source of imagestream, where the image is with a tag (no latest), CDI returns error and the DataImportCron CR is not created. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Add a static file with DataImportCronTemplate with an imagestream with a tag. Or add such a DataImportCronTemplate to the HyperConverged CR. 2. Read the DataImportCron and check it was created. Actual results: The DataImportCron is created. Expected results: The DataImportCron is not created. Additional info:
Hi, Arnon, is this supported ? If not, should we support it?
Yan, we recently added tag support for DataImportCron with url source, so I don't see a problem adding it to ImageStream source as well. I'll investigate it and update.
Test on CNV-v4.10.0-657 It is working when the tag is set to registry: imageStream: rhel8-is:8.5.0 But not working when the tag includes small version, eg: registry: imageStream: rhel8-is:8.5.0-876
(In reply to Yan Du from comment #3) > Test on CNV-v4.10.0-657 > It is working when the tag is set to > registry: > imageStream: rhel8-is:8.5.0 > > But not working when the tag includes small version, eg: > registry: > imageStream: rhel8-is:8.5.0-876 Ignore the above comment. Test on CNV-v4.10.0-657, imageStream with tag works well, issue has been fixed.
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.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:0947