'openstack object create' and 'swift upload' can not upload big (5432MB) file to container.
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mirantis OpenStack | Status tracked in 10.0.x | |||||
10.0.x |
Confirmed
|
Wishlist
|
MOS Oslo | |||
9.x |
Won't Fix
|
Wishlist
|
MOS Oslo |
Bug Description
Hello,
Please take a look at the issue below:
'openstack object create' and 'swift upload' can not upload big (5432MB) file to container.
Error messages:
- Unable to establish connection to http://
- ('Connection aborted.', error(32, 'Broken pipe'))
My env: MOS 9.0 ISO# 327.
Actions:
1) OK - Create file:
# fallocate -l 5432M /tmp/ObjStor_
# ls -alph /tmp/ObjStor_
-rw-r--r-- 1 root root 5.4G May 18 07:41 /tmp/ObjStor_
2) NOK - With a help of 'openstack' try to put file to container:
# . openrc
# openstack container create TESTBUCKET01 -f json
[
{
}
]
# openstack object create TESTBUCKET01 /tmp/ObjStor_
>>> Unable to establish connection to http://
# openstack object list TESTBUCKET01 --long -f json
[]
3) NOK - With a help of swift try to upload big file to container:
# swift post TESTBUCKET02
# swift upload TESTBUCKET02 /tmp/ObjStor_
>>> ('Connection aborted.', error(32, 'Broken pipe'))
# swift list -l TESTBUCKET02
{empty}
4) OK - With a help of swift with 'segment' option try to upload big file to container:
# swift post TESTBUCKET03
# swift upload TESTBUCKET03 -S 1024M /tmp/ObjStor_
tmp/
tmp/
tmp/
tmp/
tmp/
tmp/
tmp/
# swift list -l TESTBUCKET03
0 2016-05-18 08:01:53 None tmp/ObjStor_
0
# swift list -l TESTBUCKET03_
1073741824 2016-05-18 08:01:52 None tmp/ObjStor_
1073741824 2016-05-18 08:01:47 None tmp/ObjStor_
1073741824 2016-05-18 08:01:49 None tmp/ObjStor_
1073741824 2016-05-18 08:01:42 None tmp/ObjStor_
1073741824 2016-05-18 08:01:49 None tmp/ObjStor_
327155712 2016-05-18 07:54:50 None tmp/ObjStor_
5695864832
Swift team, please take a look.