Bug 2159975 - The prefix "docker://docker://" was added to the container image while editing the rootdisk (registry)
Summary: The prefix "docker://docker://" was added to the container image while editin...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.12.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.13.0
Assignee: Dana Orr
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-11 09:36 UTC by Guohua Ouyang
Modified: 2023-05-18 02:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-18 02:56:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 1077 0 None open Bug 2159975: Remove the "docker://" prefix while editing the rootdisk (registry) 2023-02-23 10:38:22 UTC
Github kubevirt-ui kubevirt-plugin pull 1095 0 None open Bug 2159975: Fixing the prefix docker while editing the regstiry 2023-03-02 11:02:48 UTC
Red Hat Issue Tracker CNV-24219 0 None None None 2023-01-11 09:43:17 UTC
Red Hat Product Errata RHSA-2023:3205 0 None None None 2023-05-18 02:57:04 UTC

Description Guohua Ouyang 2023-01-11 09:36:34 UTC
Description of problem:
Create a VM from registry and edit its disk, the prefix "docker://docker://" was added to its value.
If not edit the disk, no this problem.

Version-Release number of selected component (if applicable):
v4.12.0

How reproducible:
100%

Steps to Reproduce:
1. create vm from catalog
2. move to customize mode
3. select registry as the disk source and fill the value like "registry.redhat.io/rhel8/rhel-guest-image"
4. move to review page and click disks tab
5. edit the rootdisk, the container image value becomes "docker://registry.redhat.io/rhel8/rhel-guest-image", which is not correct, it should stay with "registry.redhat.io/rhel8/rhel-guest-image"
6. save and create the vm
7. review the VM yaml, the registry value is 'docker://docker://registry.redhat.io/rhel8/rhel-guest-image'

Actual results:
The status of the VM is DataVolumeError, because it cannot import the container image "docker://docker://registry.redhat.io/rhel8/rhel-guest-image"

Expected results:
VM is started 

Additional info:

Comment 1 Guohua Ouyang 2023-02-27 03:39:12 UTC
It causes a regression while selecting source 'Registry' in the edit-disk modal.

Comment 3 errata-xmlrpc 2023-05-18 02:56:40 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 (Moderate: OpenShift Virtualization 4.13.0 Images security, bug fix, and enhancement 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:3205


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