[openstack-dev] [glance] Does glance_store swift driver support range requests ?
jaypipes at gmail.com
Wed Nov 15 15:40:55 UTC 2017
On 11/15/2017 06:28 AM, Duncan Thomas wrote:
> On 15 November 2017 at 11:15, Matt Keenan <matt.keenan at oracle.com> wrote:
>> On 13/11/17 22:51, Nikhil Komawar wrote:
>> I think it will a rather hard problem to solve. As swift store can be
>> configured to store objects in different configurations. I guess the next
>> question would be, what is your underlying problem -- multiple build
>> requests or is this for retry for a single download?
>> If the image is in image cache and you are hitting the glance node with
>> cached image (which is quite possible for tiny deployments), this feature
>> will be relatively easier.
>> So the specific image stored in glance is a Unified Archive
>> During a UAR deployment the archive UUID is required and it is contained in
>> the first 33 characters of the UAR image, thus a range request for this
>> portion is required when initiating the deployment. Then the rest of the
>> archive is extracted and deployed.
> Given the range you want is always at the beginning, is a range
> request any different to doing a full get request and dripping the
> connection when you've got the bytes you want?
Or just store the UAR UUID in the image metadata...
More information about the OpenStack-dev