Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-3634

Check the write permission earlier when upload local ova file to ova provider

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • True
    • Hide
      Write permission check for OVA upload::

      Before this update, users encountered permission denied errors during OVA file upload. With this release, there is a check for write permissions before OVA upload. As a result, OVA uploads no longer fail due to permission errors.
      +
      link:https://issues.redhat.com/browse/MTV-3634[MTV-3634]
      Show
      Write permission check for OVA upload:: Before this update, users encountered permission denied errors during OVA file upload. With this release, there is a check for write permissions before OVA upload. As a result, OVA uploads no longer fail due to permission errors. + link: https://issues.redhat.com/browse/MTV-3634 [ MTV-3634 ]
    • Bug Fix
    • Done

      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:

       

              slucidi@redhat.com Samuel Lucidi
              chhu@redhat.com Chenli Hu
              Miryam Safra Miryam Safra
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: