Nova + Glance + Swift: large (>5G) file upload error again
Hi all,
Here's my story. I have a small (single-node in fact) cluster which I decided to pump up to the max (utilize Swift at storage engine and obtain images from Nova via Glance with that Swift backend just to get experience in tuning all the stuff to work together).
I have OpenSUSE 11.4 and I've installed all the components from sources (all stable 2011-3 Diablo releases from 2011-09-22) - I've already had some experience with OpenStack on Ubuntu and RHEL/CentOS, so I had the understanding of each component's role. Therefore I first installed Swift, then Glance and tied them together. After that I tested that they work - I successfully uploaded a raw disk image of 6 gigabytes in size by plainly using 'glance-upload' utility - everything went just perfect, and I saw that image successfully uploaded into Swift storage (by using 'swift' command) as well as added into Glance registry (checked by invoking 'glance index' command). Later, when I installed Nova and invoked 'euca-describe-
The problem is that when I try to upload the same image via Nova object store by following that common sequence of
euca-bundle-image -> euca-upload-bundle -> euca-register
I run into the following problem. The image does not get uploaded properly, it ends up with state of 'failed_upload' when I invoke 'euca-describe-
This is what I've found in glance-api.log about this issue:
2011-11-12 19:01:05 ERROR [glance.
Got error from Swift: Object PUT failed: https:/
2011-11-12 19:01:05 ERROR [glance.
File "/usr/local/
image_size)
File "/usr/local/
raise glance.
BackendException: Failed to add object to Swift.
Got error from Swift: Object PUT failed: https:/
Thank you very much,
Alex
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Glance Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Alexander Paschenko
- Solved:
- Last query:
- Last reply: