Description of problem:
When image upload is failed with 'Data Volume failed to initiate upload', the DV and PVC is created in 'pending' status anyway, and on wizard general step, select the target OS, it shows `Source available`.
1. I guess cdi don't have the ability to delete the pvc/dv once image uploading is failed, on UI, it maybe alert user need to delete the pvd/dv manually.
2. On wizard, it should not claim the source is available if pvc/dv is pending.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. When image uploading is failed with 'Data Volume failed to initiate upload'
2. Check PVC/DV
3. Check wizard
DV/PVC is created even with upload failed.
UI claim the source is available
If upload failed, it should clean the PVC/DV or alert user need to clean it manually, and UI should not claim the source is available.
verified on 4.7.0-0.nightly-2020-12-13-202314
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 Container Platform 4.7.0 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.