Bug 1853362
| Summary: | virtctl fails to upload images when invoking the "virtctl image-upload dv ..." command | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Lars Kellogg-Stedman <lars> |
| Component: | Virtualization | Assignee: | sgott |
| Status: | CLOSED NOTABUG | QA Contact: | Israel Pinto <ipinto> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.3.0 | CC: | cnv-qe-bugs |
| 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: | 2020-07-02 13:48:56 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: | |||
Whoops, this is inaccurate. Sorry for the noise. |
Description of problem: virtctl (from kubevirt-virtctl-0.26.1-15.el8.x86_64) fails to upload images when invoking the "virtctl image-upload dv ..." command. It returns the message "the server could not find the requested resource". Version-Release number of selected component (if applicable): kubevirt-virtctl-0.26.1-15.el8.x86_64 $ virtctl version Client Version: version.Info{GitVersion:"v0.26.1", GitCommit:"e40ff7965e2aadbf21131626dfa3be85524e3a2c", GitTreeState:"clean", BuildDate:"2020-02-19T16:16:36Z", GoVersion:"go1.12.8", Compiler:"gc", Platform:"linux/amd64"} the server could not find the requested resource How reproducible: $ virtctl image-upload dv larsdv3 --image-path cirros-0.5.1-x86_64-disk.img --size 1G --storage-class hostpath-provisioner --insecure the server could not find the requested resource (post datavolumes.cdi.kubevirt.io) Actual results: the server could not find the requested resource (post datavolumes.cdi.kubevirt.io) Expected results: DataVolume default/larsdv3 created Waiting for PVC larsdv3 upload pod to be ready... Pod now ready Uploading data to https://cdi-uploadproxy-openshift-cnv.apps.cnv.massopen.cloud 15.58 MiB / 15.58 MiB [===================================================] 100.00% 2s Uploading data completed successfully, waiting for processing to complete, you can hit ctrl-c without interrupting the progress Processing completed successfully Uploading cirros-0.5.1-x86_64-disk.img completed successfully Additional info: The above command works as written when using virtctl from github: $ virtctl version Client Version: version.Info{GitVersion:"v0.30.1", GitCommit:"74627cf6426ec694039e5793e1d42563fee4b315", GitTreeState:"clean", BuildDate:"2020-06-16T08:21:41Z", GoVersion:"go1.12.8", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{GitVersion:"v0.26.5", GitCommit:"bab9a21bb6817f6c1f107c2b505121f63c92cc4b", GitTreeState:"clean", BuildDate:"2020-04-16T16:50:34Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}