Bug 2063062

Summary: wrong tag in FEDORA_EXAMPLE_CONTAINER
Product: OpenShift Container Platform Reporter: Dominik Holler <dholler>
Component: Console Kubevirt PluginAssignee: Yaacov Zamir <yzamir>
Status: CLOSED CURRENTRELEASE QA Contact: Guohua Ouyang <gouyang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.10CC: aos-bugs, fmatouschek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-03 08:43:24 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:

Description Dominik Holler 2022-03-11 09:37:31 UTC
Description of problem:
On creating a Fedora VM with the wizard, the wizard shows the example URL 'quay.io/containerdisks/fedora:latest', but the URL should be 'quay.io/containerdisks/fedora:35'

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

How reproducible:
100%

Steps to Reproduce:
1. Create Virtual Machine from template 
2. Select the fedora template
3. Select Boot source type registry

Actual results:
Example: quay.io/containerdisks/fedora:latest

The importer pod fails with

I0311 09:31:03.327483       1 importer.go:52] Starting importer
I0311 09:31:03.331366       1 importer.go:135] begin import process
I0311 09:31:03.331504       1 registry-datasource.go:173] Copying proxy certs
I0311 09:31:03.331551       1 registry-datasource.go:184] Copying registry certs
I0311 09:31:03.331566       1 data-processor.go:328] Calculating available size
I0311 09:31:03.332687       1 data-processor.go:336] Checking out block volume size.
I0311 09:31:03.332705       1 data-processor.go:348] Request image size not empty.
I0311 09:31:03.332718       1 data-processor.go:353] Target size 30Gi.
I0311 09:31:03.332794       1 data-processor.go:231] New phase: TransferScratch
I0311 09:31:03.332817       1 registry-datasource.go:94] Copying registry image to scratch space.
I0311 09:31:03.332823       1 transport.go:173] Downloading image from 'docker://quay.io/containerdisks/fedora:latest', copying file from 'disk' to '/scratch'
E0311 09:31:03.507336       1 transport.go:75] Could not create image reference: Error reading manifest latest in quay.io/containerdisks/fedora: manifest unknown: manifest unknown
E0311 09:31:03.507402       1 data-processor.go:228] manifest unknown: manifest unknown
Error reading manifest latest in quay.io/containerdisks/fedora
github.com/containers/image/v5/docker.(*dockerImageSource).fetchManifest
	/remote-source/app/vendor/github.com/containers/image/v5/docker/docker_image_src.go:196
github.com/containers/image/v5/docker.(*dockerImageSource).ensureManifestIsLoaded
	/remote-source/app/vendor/github.com/containers/image/v5/docker/docker_image_src.go:223
github.com/containers/image/v5/docker.newImageSourceAttempt
	/remote-source/app/vendor/github.com/containers/image/v5/docker/docker_image_src.go:127
github.com/containers/image/v5/docker.newImageSource
	/remote-source/app/vendor/github.com/containers/image/v5/docker/docker_image_src.go:69
github.com/containers/image/v5/docker.dockerReference.NewImageSource
	/remote-source/app/vendor/github.com/containers/image/v5/docker/docker_transport.go:144
kubevirt.io/containerized-data-importer/pkg/importer.readImageSource
	/remote-source/app/pkg/importer/transport.go:73
kubevirt.io/containerized-data-importer/pkg/importer.copyRegistryImage
	/remote-source/app/pkg/importer/transport.go:179
kubevirt.io/containerized-data-importer/pkg/importer.CopyRegistryImage
	/remote-source/app/pkg/importer/transport.go:227
kubevirt.io/containerized-data-importer/pkg/importer.(*RegistryDataSource).Transfer
	/remote-source/app/pkg/importer/registry-datasource.go:95
kubevirt.io/containerized-data-importer/pkg/importer.(*DataProcessor).ProcessDataWithPause
	/remote-source/app/pkg/importer/data-processor.go:190
kubevirt.io/containerized-data-importer/pkg/importer.(*DataProcessor).ProcessData
	/remote-source/app/pkg/importer/data-processor.go:165
main.main
	/remote-source/app/cmd/cdi-importer/importer.go:189

Expected results:
Example: quay.io/containerdisks/fedora:35

Additional info:

Comment 3 Dominik Holler 2022-06-03 08:43:24 UTC
:latest tag is added to quay.io/containerdisks/fedora