download_stream_optimized_image() does not support preprocessing of image

Bug #1286708 reported by Vui Lam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.vmware
Confirmed
Medium
Unassigned

Bug Description

As implemented image_transfer.py:download_stream_optimized_image() is somewhat limited in that it takes the image_service/image_id and assumes it can use the image data obtain from the image server directly.
A recently use case has come up that requires some driver-specific processing of the glance image data to extract the actual stream optimized disk to be streamed to the server.
A more flexible alternative would be a function that takes a file-like object of the _actual_ data or a preprocessing callback.

Tags: image
Revision history for this message
Vui Lam (vui) wrote :

Fixing this will unblock the fix in the nova vmwareapi compute driver to boot OVA images.

Changed in oslo.vmware:
importance: Undecided → Critical
status: New → In Progress
Changed in oslo.vmware:
importance: Critical → Medium
tags: added: image
Changed in oslo.vmware:
assignee: Vui Lam (vui) → nobody
status: In Progress → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.