Ask Your Question
0

upload of object to swift is failing

asked 2014-01-01 11:01:11 -0600

mmelath gravatar image

Upload of object to swift is failing with 503 error.

syslog shows below error:

object-server ERROR __call__ error with REPLICATE /sdb4/211327 : #012Traceback (most recent call last):#012 File "/usr/lib/python2.7/dist-packages/swift/obj/server.py", line 938, in __call__#012 res = method(req)#012 File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 1558, in wrapped#012 return func(a, *kw)#012 File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 520, in _timing_stats#012 resp = func(ctrl, args, *kwargs)#012 File "/usr/lib/python2.7/dist-packages/swift/obj/server.py", line 916, in REPLICATE#012 mkdirs(path)#012 File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 306, in mkdirs#012 os.makedirs(path)#012 File "/usr/lib/python2.7/os.py", line 157, in makedirs#012 mkdir(name, mode)#012OSError: [Errno 31] Too many links: '/srv/5/node/sdb4/objects/211327'

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-01-02 00:39:20 -0600

torgomatic gravatar image

http://blog.nexcess.net/2012/04/27/mk...

Basically, you've got too many subdirectories of /srv/5/node/sdb4/objects for the underlying filesystem to handle.

You didn't mention anything about your setup, but I'm going to guess you've got a part power of 17 or more, a very small number of disks in your system, and that the filesystem on your data disks is ext3/ext4, not XFS. Fix any one of those things, and the problem should go away.

edit flag offensive delete link more
0

answered 2014-01-02 14:06:31 -0600

mmelath gravatar image

Thank you for your quick response. Installed swift on a system with XFS filesystem. Will update with the status once we reach this limit.

Regards, Manoj

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-01-01 11:01:11 -0600

Seen: 59 times

Last updated: Jan 02 '14