Bug 2241658
Summary: | Wrong error message when attempting to upload an image to a PVC that already has disk.img | ||
---|---|---|---|
Product: | Container Native Virtualization (CNV) | Reporter: | Jenia Peimer <jpeimer> |
Component: | Storage | Assignee: | Álvaro Romero <alromero> |
Status: | CLOSED ERRATA | QA Contact: | Jenia Peimer <jpeimer> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.14.0 | CC: | alitke, dafrank, hmeir |
Target Milestone: | --- | ||
Target Release: | 4.14.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | v4.14.1.rhel9-22 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-12-07 15:00:47 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
Jenia Peimer
2023-10-01 19:20:57 UTC
Still waiting for a somewhat related PR to be merged (https://github.com/kubevirt/containerized-data-importer/pull/2964) but this behavior should already be fixed. Hi, Im getting this error msg on 4.14 & 4.15: PVC cnv-3729-hostpath-csi-basic already successfully populated When running: virtctl -n cdi-upload-test-upload-virtctl --kubeconfig /tmp/tmpk53zwwus-cnv-tests-kubeconfig/kubeconfig image-upload dv cnv-3729-hostpath-csi-basic --image-path=/tmp/cirros-qcow2.img --size=1Gi --storage-class=hostpath-csi-basic --access-mode=ReadWriteOnce --insecure --no-create It also happens with ocs,hostpath. With NFS tho, it producing the correct error message: PVC cnv-3729 already successfully imported/cloned/updated It looks okay, because our nfs is not a csi storage, so CDI uses the pre-populators flow. But the message is clear in both ways. We just need to update our tests now. Thanks Harel for checking, Thanks Alvaro for fixing! Verified based on Harel's comment. 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.14.1 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:7704 |