Bug 1889213 - The error message of uploading failure is not clear enough
Summary: The error message of uploading failure is not clear enough
Keywords:
Status: NEW
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.7.0
Assignee: Tomas Jelinek
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-19 05:17 UTC by Guohua Ouyang
Modified: 2020-10-19 07:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description Guohua Ouyang 2020-10-19 05:17:05 UTC
Description of problem:
When image upload fail, it only shows 'Data Volume failed to initiate upload' but not tell the exact failure reason.

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


How reproducible:


Steps to Reproduce:
1. fill a very large pvc size and start upload
2.
3.

Actual results:
fails with error `Data Volume failed to initiate upload`.

Expected results:
It gives a more specify error about why it fail.

Additional info:

Comment 1 Guohua Ouyang 2020-10-19 05:22:01 UTC
Sometimes the error is 'Request failed with status code 400'.

Comment 2 Guohua Ouyang 2020-10-19 05:25:05 UTC
(In reply to Guohua Ouyang from comment #1)
> Sometimes the error is 'Request failed with status code 400'.

the root cause of this is:

E1019 05:21:02.509421       1 data-processor.go:221] Virtual image size 4294967296 is larger than available size 1073741824. A larger PVC is required.
E1019 05:21:02.509458       1 uploadserver.go:366] Saving stream failed: Virtual image size 4294967296 is larger than available size 1073741824. A larger PVC is required.


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