Swift: errors during large file upload. Need to change 'node_timeout' parameter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Alexander Tivelkov | ||
6.0.x |
Won't Fix
|
Medium
|
Dmitry Teselkin |
Bug Description
Steps To Reproduce:
1. Deploy OpenStack with Swift data storage for Glance images.
2. Upload large image (1-2Gb) to Glance several times.
Observed Result:
Errors during image upload. If we will upload small files, all will be ok.
During the large file upload we can see 100% disk usage and in the result swift can't send reply in-time.
How To Fix:
Need to add the following parameter to /etc/swift/
[DEFAULT]
...
node_timeout = 90
-------
New Steps To Reproduce:
1. Create Glance image with 5 Gb size:
fallocate -l 5G image.img
2. Upload it to the glance:
glance image-create --name "Test1" --is-public True --disk-format raw --container-format bare --file image.img
3. Create Glance image with 70 Gb size:
fallocate -l 70G image2.img
4. Upload it to the glance:
glance image-create --name "Test2" --is-public True --disk-format raw --container-format bare --file image2.img --progress
Observed Result:
We can successfully upload image with 5Gb size but can't upload image with 70 Gb size, we can see the following errors:
...
2015-05-29 11:01:12.723 22501 TRACE glance_
2015-05-29 11:01:12.723 22501 TRACE glance_
2015-05-29 11:01:12.723 22501 TRACE glance_
2015-05-29 11:01:12.723 22501 TRACE glance_
2015-05-
2015-05-
File "/usr/lib/
write(
File "/usr/lib/
_writelines
File "/usr/lib/
self.flush()
File "/usr/lib/
self.
File "/usr/lib/
tail = self.send(data, flags)
File "/usr/lib/
total_sent += fd.send(
error: [Errno 32] Broken pipe
Changed in fuel: | |
milestone: | none → 6.0 |
Changed in fuel: | |
assignee: | nobody → MOS Glance (mos-glance) |
importance: | High → Medium |
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | MOS Glance (mos-glance) → Dmitry Teselkin (teselkin-d) |
no longer affects: | fuel/6.1.x |
Changed in fuel: | |
assignee: | Alexander Nevenchannyy (anevenchannyy) → MOS Swift (mos-swift) |
Changed in fuel: | |
assignee: | MOS Swift (mos-swift) → MOS Glance (mos-glance) |
description: | updated |
Changed in fuel: | |
assignee: | MOS Glance (mos-glance) → Alexander Tivelkov (ativelkov) |
Fix proposed to branch: master /review. openstack. org/155487
Review: https:/