Glance RESTful interface

Asked by steve chu

Based on the Glance Documentation, the Glance RESTful interface can upload and download images.
Since the RESTful is based on the HTTP protocol, what is the maximum size of image file it can handle.
It is not unusual that the image size exceeding 20 GB, can Glance RESTful interface hand image of that size?

If I build a web client based on Glance RESTful interface. I am expecting a client can upload images from a Windows system to Glance image repository on the Linux. Do you foresee any issues for these type of application? Do you have size limit for these type of application?

Do you have comparison between HTTP and SFTP for large file transferring?

Thank you for your support?

Question information

Language:
English Edit question
Status:
Answered
For:
Glance Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jay Pipes (jaypipes) said :
#1

Hi Steve,

There limit of the image size you can upload depends on the storage backend you use. By default, Glance uses the filesystem backend. This backend is limited by the underlying filesystem and disk size. The SWIFT backend does not have such limitations and can support massive sizes in the tens of gigabytes.

The Glance client uses chunked transfer encoding, sending chunks of the image at a time to the Glance server, which then sends that chunk along to the storage backend.

I do not have any comparison of HTTP vs. SFTP. Sorry :(

-jay

Revision history for this message
steve chu (steve-chu) said :
#2

Thank you for your quick response.

I still need answer for second part my queston. It is quite important for us.
I pasted it below.

If I build a web client based on Glance RESTful interface. I am expecting a client can upload images from a Windows system to Glance image repository on the Linux. Do you foresee any issues for these type of application? Do you have size limit for these type of application?

Thanks for your support!

Seve

Revision history for this message
Jay Pipes (jaypipes) said :
#3

As I said, as long as you use the Swift backend storage, no there is no size limit on the images you can put into Glance.

Cheers!
jay

Can you help with this problem?

Provide an answer of your own, or ask steve chu for more information if necessary.

To post a message you must log in.