Ask Your Question
0

Glance RESTful interface

asked 2011-04-28 23:52:58 -0500

steve-chu gravatar image

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?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2011-04-29 00:49:14 -0500

jaypipes gravatar image

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

edit flag offensive delete link more
0

answered 2011-04-29 00:15:05 -0500

jaypipes gravatar image

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

edit flag offensive delete link more
0

answered 2011-04-29 00:37:27 -0500

steve-chu gravatar image

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-04-28 23:52:58 -0500

Seen: 39 times

Last updated: Apr 29 '11