Bug 2063062 - wrong tag in FEDORA_EXAMPLE_CONTAINER
Summary: wrong tag in FEDORA_EXAMPLE_CONTAINER
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Yaacov Zamir
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-11 09:37 UTC by Dominik Holler
Modified: 2022-06-03 08:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-03 08:43:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt containerdisks pull 36 0 None Merged Add UseForLatest attribute to common.Registry entries 2022-06-03 08:42:13 UTC
Red Hat Bugzilla 2031155 1 None None None 2022-03-11 09:37:52 UTC
Red Hat Bugzilla 2038832 1 None None None 2022-03-11 09:37:43 UTC
Red Hat Issue Tracker CNV-18325 0 None None None 2022-06-03 08:42:13 UTC

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


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