Bug 2189744
Summary: | VM created from CD source registry cannot be started due to InvalidImageName | ||||||
---|---|---|---|---|---|---|---|
Product: | Container Native Virtualization (CNV) | Reporter: | Guohua Ouyang <gouyang> | ||||
Component: | User Experience | Assignee: | Ugo Palatucci <upalatuc> | ||||
Status: | CLOSED ERRATA | QA Contact: | Guohua Ouyang <gouyang> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.13.0 | CC: | gouyang, upalatuc | ||||
Target Milestone: | --- | ||||||
Target Release: | 4.14.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 2196734 (view as bug list) | Environment: | |||||
Last Closed: | 2023-08-16 14:09:57 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 2196734 | ||||||
Attachments: |
|
verified on kubevirt-console-plugin-rhel9:v4.14.0-1195 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.13.3 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-2023:4664 |
Created attachment 1959981 [details] vm yaml snippet Description of problem: VM created from CD source registry cannot be started: # oc get pod NAME READY STATUS RESTARTS AGE virt-launcher-fedora-b26b3myg8m6h5ykt-mvtfn 0/2 Init:InvalidImageName 0 30m # oc describe pod virt-launcher-fedora-b26b3myg8m6h5ykt-mvtfn Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 27m default-scheduler Successfully assigned default/virt-launcher-fedora-b26b3myg8m6h5ykt-mvtfn to uit-413-auto-pkwnc-worker-0-8ntsw Normal AddedInterface 27m multus Add eth0 [10.128.2.211/23] from ovn-kubernetes Normal Pulled 27m kubelet Container image "registry.redhat.io/container-native-virtualization/virt-launcher-rhel9@sha256:8d493a50ff05c3b9f30d3ccdd93acec3b1d7fdc07324ce4b92521c6b084496b3" already present on machine Normal Created 27m kubelet Created container container-disk-binary Normal Started 27m kubelet Started container container-disk-binary Warning Failed 25m (x11 over 27m) kubelet Error: InvalidImageName Warning InspectFailed 2m23s (x117 over 27m) kubelet Failed to apply default image tag "docker://quay.io/containerdisks/fedora:latest": couldn't parse image reference "docker://quay.io/containerdisks/fedora:latest": invalid reference format The reason is the prefix "docker://" is added to the containerDisk.image, remove the prefix can get the VM into running. VM yaml: volumes: - dataVolume: name: centos-stream9-o3vqvnprdkkv7r46 name: rootdisk - cloudInitNoCloud: userData: |- #cloud-config user: centos password: tav1-3kn6-a0y6 chpasswd: { expire: False } name: cloudinitdisk - containerDisk: image: 'docker://quay.io/containerdisks/centos-stream:9' name: installation-cdrom Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. select a template in catalog and click customize 2. select "Boot from CD" and select registry 3. fill other data and create the VM Actual results: VM is stucking at "starting" Expected results: VM is started Additional info: