Incorrect value for swift_store_large_object_size in default Glance configuration file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Timur Nurlygayanov | ||
5.1.x |
Fix Released
|
High
|
Timur Nurlygayanov | ||
6.0.x |
Fix Released
|
High
|
Timur Nurlygayanov |
Bug Description
Steps To Reproduce:
1. Deploy OpenStack cloud with the default parameters (1 controller, 1 compute node, without Ceph, only Glance+Swift).
2. Upload image with Ubuntu 14.04 to Glance.
3. Create VM with this image.
4. Install packages, like (to increase the size of hard disk):
build-essential cvs subversion git-core mercurial python-setuptools python-dev python2.7-dev python-
libpq-dev libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-pip
5. Try to create snapshot of this VM.
Expected Result:
User can successfully create snapshots.
Observed Result:
User can't create large (>300 Mb) snapshots, but can create small snapshots, for example, if we will use TestVM image for Virtual Machine.
In Glance log files we can see the following error:
________________
<147>Sep 23 17:23:24 node-2 glance-
Got error from Swift: put_object(
<147>Sep 23 17:23:24 node-2 glance-
Traceback (most recent call last):
File "/usr/lib/
store)
File "/usr/lib/
(location, size, checksum, metadata) = store.add(image_id, data, size)
File "/usr/lib/
raise glance.
BackendException: Failed to add object to Swift.
Got error from Swift: put_object(
________________
How To Fix:
We found the workaround for this problem, need to set parameter 'swift_
tags: | added: glance |
Changed in fuel: | |
assignee: | Timur Nurlygayanov (tnurlygayanov) → Aleksandr Didenko (adidenko) |
Changed in fuel: | |
assignee: | Aleksandr Didenko (adidenko) → Timur Nurlygayanov (tnurlygayanov) |
tags: | added: release-notes |
We should add this to /github. com/stackforge/ fuel-library/ blob/master/ deployment/ puppet/ glance/ spec/classes/ glance_ backend_ swift_spec. rb
https:/