Public bug reported:
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?
** Affects: swift
Importance: High
Assignee: John Dickinson (notmyname)
Status: In Progress
--
object auditor can error for some objects
https://bugs.launchpad.net/bugs/664656
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack Object Storage (swift).
_______________________________________________
Mailing list: https://launchpad.net/~registry
Post to : [email protected]
Unsubscribe : https://launchpad.net/~registry
More help : https://help.launchpad.net/ListHelp