Ask Your Question
0

Object Auditor Issue

asked 2010-10-21 17:47:26 -0500

twkiel gravatar image

I wanted to see if anybody else ran into this problem before I reported it as a bug.

The object auditor (1.1 RC1) is producing the following error in bulk.

Oct 20 15:25:28 node1 object-auditor ERROR Trying to audit /srv/node/sdb1/objects/42/264/0ab4073c4caa1850e4c7a532f1128264/1287612239.32427.data: #012Traceback (most recent call last):#012 File "/ usr/lib/pymodules/python2.6/swift/obj/auditor.py", line 110, in object_audit#012 if os.path.get size(df.data_file) != #012 File "/usr/lib/python2.6/genericpath.py", line 49, in getsize#012 return os.stat(filename).st_size#012TypeError: coercing to Unicode: need string or buffer, NoneTyp e found

The problem appears to be that filename is None, which I assume is obtained from df.data_file. The files they refer to exist, and I am able to os.path.getsize() and os.stat() them from the interpreter, and they are owned by the swift user.

Is anybody else seeing this?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2010-10-25 17:45:40 -0500

twkiel gravatar image

This was patched.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2010-10-21 17:47:26 -0500

Seen: 68 times

Last updated: Oct 25 '10