[openstack-dev] [glance]'Add' capability to the HTTP store
Jordan Pittier
jordan.pittier at scality.com
Fri Feb 13 16:55:10 UTC 2015
Jay, I am afraid I didn't understand your point.
Could you rephrase/elaborate on "What is the difference between just
calling the Glance API to upload an image, versus adding add()" please ?
Currently, you can't call the Glance API to upload an image if the
default_store is the HTTP store.
On Fri, Feb 13, 2015 at 5:17 PM, Jay Pipes <jaypipes at gmail.com> wrote:
> On 02/13/2015 10:01 AM, Jordan Pittier wrote:
>
>> >What is the difference between just calling the Glance API to upload
>> an image, versus adding add() functionality to the HTTP image store?
>> You mean using "glance image-create --location
>> http://server1/myLinuxImage [..]" ? If so, I guess adding the add()
>> functionality will save the user from having to find the right POST
>> curl/wget command to properly upload his image.
>>
>
> How so?
>
> If the user is already using Glance, they can use either the Glance REST
> API or the glanceclient tools.
>
> -jay
>
> On Fri, Feb 13, 2015 at 3:55 PM, Jay Pipes <jaypipes at gmail.com
>> <mailto:jaypipes at gmail.com>> wrote:
>>
>> On 02/13/2015 09:47 AM, Jordan Pittier wrote:
>>
>> Hi list,
>>
>> I would like to add the 'add' capability to the HTTP glance store.
>>
>> Let's say I (as an operator or cloud admin) provide an HTTP
>> server where
>> (authenticated/trusted) users/clients can make the following
>> HTTP request :
>>
>> POST http://server1/myLinuxImage HTTP/1.1
>> Host: server1
>> Content-Length: 256000000
>> Content-Type: application/octet-stream
>>
>> mybinarydata[..]
>>
>> Then the HTTP server will store the binary data, somewhere (for
>> instance
>> locally), some how (for instance in a plain file), so that the
>> data is
>> later on accessible by a simple GET http://server1/myLinuxImage
>>
>> In that case, this HTTP server could easily be a full fleshed
>> Glance store.
>>
>> Questions :
>> 1) Has this been already discussed/proposed ? If so, could
>> someone give
>> me a pointer to this work ?
>> 2) Can I start working on this ? (the 2 main work items are :
>> 'add an
>> add method to glance_store._drivers.http.____Store' and 'add a
>> delete
>> method to glance_store._drivers.http.____Store (HTTP DELETE
>> method)'
>>
>>
>> What is the difference between just calling the Glance API to upload
>> an image, versus adding add() functionality to the HTTP image store?
>>
>> Best,
>> -jay
>>
>> ____________________________________________________________
>> __________________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> OpenStack-dev-request at lists.__openstack.org?subject:__unsubscribe
>> <http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
>> >
>> http://lists.openstack.org/__cgi-bin/mailman/listinfo/__openstack-dev
>> <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>
>>
>>
>>
>>
>> ____________________________________________________________
>> ______________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:
>> unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150213/33fb445a/attachment.html>
More information about the OpenStack-dev
mailing list