Uploaded image for project: 'OpenStack Strategy'
  1. OpenStack Strategy
  2. RHOSSTRAT-917

More efficient image uploads from Horizon

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhos-18.0.14 FR 4
    • None
    • None
    • None
    • Not Selected
    • False
    • False
    • Hide

      None

      Show
      None
    • S
    • 2
    • 5
    • 10
    • 5
    • 0% To Do, 33% In Progress, 67% Done
    • 3
    • Enhancement
    • Hide
      .Direct upload method and CORS enabled by default for image uploads to the Dashboard service

      With this update, the `direct` upload method is the default upload method in the Dashboard service (horizon). The `direct` upload method requires Cross-Origin Resource Sharing (CORS) to be enabled in the Image service (glance), and CORS is now enabled by default in the `glance-operator`.

      As a result, you can use the web UI in the Dashboard service to upload images that are greater than 1 GiB in size. The direct upload method sends the image directly from the web browser to the Image service instead of storing the image in the Dashboard service first and then sending it to the Image service.
      Show
      .Direct upload method and CORS enabled by default for image uploads to the Dashboard service With this update, the `direct` upload method is the default upload method in the Dashboard service (horizon). The `direct` upload method requires Cross-Origin Resource Sharing (CORS) to be enabled in the Image service (glance), and CORS is now enabled by default in the `glance-operator`. As a result, you can use the web UI in the Dashboard service to upload images that are greater than 1 GiB in size. The direct upload method sends the image directly from the web browser to the Image service instead of storing the image in the Dashboard service first and then sending it to the Image service.
    • Done

      Feature Overview (mandatory - Complete while in New status)

      Horizon supports several different modes for uploading image files to Glance. The "direct" upload mode is the most efficient but requires additional configuration in Glance, and needs the Glance API endpoint to be exposed to the outside world.

      Making "direct" upload mode properly configured, and the default mode instead of the limited "legacy" mode would improve usage for the customers.

      This should also solve the current problem with the legacy mode having a LimitRequestBody of 1GB https://access.redhat.com/articles/6975397

       

      Goals (mandatory - Complete while in New status)

      • Glance should be ready allow for "direct" upload mode of images from Horizon
      • The "direct" upload mode should be the default mode for uploading images to Glance
      • Using the default setup should not cause the problems reported in https://access.redhat.com/articles/6975397

      Requirements (mandatory -_ Complete while in Refinement status):

       

      Requirement Notes isMVP?
           
           

       

      Done - Acceptance Criteria (mandatory - Complete while in Refinement status):

       

      • There is documentation that direct mode is default and how to switch if i prefer legacy mode
      • This will work for me as a user without any additional configuration

       

      Use Cases - i.e. User Experience & Workflow: (Initial completion while in Refinement status):

      Out of Scope __(Initial completion while in Refinement status):

      Documentation Considerations __(Initial completion while in Refinement status):

      This change should be reflected in the documentation
      #TBD

       

      Questions to Answer __(Initial completion while in Refinement status):

       

      Background and Strategic Fit (Initial completion while in Refinement status):

       

      Customer Considerations __(Initial completion while in Refinement status):

       

      Team Sign Off (Completion while in Planning status)

      • All required Epics (known at the time) are linked to the this Feature
      • All required Stories, Tasks (known at the time) for the most immediate Epics have been created and estimated
      • Add - Reviewers name, Team Name
      • Acceptance == Feature as “Ready” - well understood and scope is clear - Acceptance Criteria (scope) is elaborated, well defined, and understood
      • Note: Only set FixVersion/s: on a Feature if the delivery team agrees they have the capacity and have committed that capability for that milestone
      Reviewed By Team Name Accepted Notes
      rhn-engineering-rdopiera  DFG UI    
        RHOS Storage Glance    
             
             

       

              rhn-engineering-rdopiera Radomir Dopieralski
              rh-ee-sherlofs Simon Herlofsson
              Simon Herlofsson Simon Herlofsson
              rhos-dfg-ui
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: