-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
2.10.0
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
-
Description of problem:
Upload local ova file to ova provider, MTV report the error when mkdir /ova/appliance-***. We'd better check the write permission before starting to upload the file, as the upload file cost long time (E.g. 40 mins for a 7.8G ova file), user wait for a long time, then get this error at the last moment.
Version-Release number of selected component (if applicable):
MTV 2.10.0-26 with CNV 4.20.0
How reproducible:
Always
Steps to Reproduce:
1) Add the feature flag in the forklift-controller: `feature_ova_appliance_management: 'true'`
2) Create an ova provider: ova-chhu with below settings:
spec:
settings:
applianceManagement: 'true'
3) Try to upload a local ova file to ova provider, hit error "mkdir /ova/appliance-21b0cce07092917eeae738d0edd529e0c33632fe9511e814b79a76b6478f9772: permission denied"
We'd better report this error before we start to upload the file. As upload file cost long time, and at the last moment user get this error.

Actual results:
In step2: Report error after uploading the file
Expected results:
In step2: Report error before uploading the file
Additional info: