<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>I have a newly set up swift cluster that is generating a lot of error like this where it seems that swift user does not have access to read permissions or something<br>
</p>
<p><br>
</p>
<p>Nov 4 10:01:27 swift-04 object-auditor: ERROR Trying to audit /srv/node/Z302XLHP/objects/11808/7c8/1710674aaa385fc75885b2ac7f8967c8: #012Traceback (most recent call last):#012 File "/usr/lib/python2.7/dist-packages/swift/obj/auditor.py", line 173, in failsafe_object_audit#012
self.object_audit(location)#012 File "/usr/lib/python2.7/dist-packages/swift/obj/auditor.py", line 191, in object_audit#012 with df.open():#012 File "/usr/lib/python2.7/dist-packages/swift/obj/diskfile.py", line 1292, in open#012 data_file, meta_file,
ts_file = self._get_ondisk_file()#012 File "/usr/lib/python2.7/dist-packages/swift/obj/diskfile.py", line 1381, in _get_ondisk_file#012 "Error listing directory %s: %s" % (self._datadir, err))#012DiskFileError: Error listing directory /srv/node/Z302XLHP/objects/11808/7c8/1710674aaa385fc75885b2ac7f8967c8:
[Errno 13] Permission denied: '/srv/node/Z302XLHP/objects/11808/7c8/1710674aaa385fc75885b2ac7f8967c8'<br>
</p>
<p><br>
</p>
<p>As Root <br>
</p>
<p><br>
</p>
<div><strong>root</strong>@swift-04:~# ls -la /srv/node/Z302XLHP/objects/11808/7c8/1710674aaa385fc75885b2ac7f8967c8</div>
<div>total 44</div>
<div>drwxr--r-- 2 swift swift 42 Nov 4 09:52 .</div>
<div>drw-r--r-- 3 swift swift 53 Nov 4 09:52 ..</div>
<div>-rw-r--r-- 1 swift swift 40957 Nov 4 09:52 1446566608.56781.data<br>
</div>
<div><br>
</div>
<div>As swift<br>
</div>
<div><br>
</div>
<div>
<div><strong>swift</strong>@swift-04:/$ <strong>ls -la /srv/node/Z302XLHP/objects/11808/7c8/1710674aaa385fc75885b2ac7f8967c8</strong></div>
<div>ls: cannot access /srv/node/Z302XLHP/objects/11808/7c8/1710674aaa385fc75885b2ac7f8967c8: Permission denied<br>
</div>
<div><br>
</div>
<div>
<div><strong>swift</strong>@swift-04:/$ <strong>ls -la /srv/node/Z302XLHP/objects/11808/7c8</strong></div>
<div>ls: cannot access /srv/node/Z302XLHP/objects/11808/7c8/.: Permission denied</div>
<div>ls: cannot access /srv/node/Z302XLHP/objects/11808/7c8/..: Permission denied</div>
<div>ls: cannot access /srv/node/Z302XLHP/objects/11808/7c8/1710674aaa385fc75885b2ac7f8967c8: Permission denied</div>
<div>total 0</div>
<div>d????????? ? ? ? ? ? .</div>
<div>d????????? ? ? ? ? ? ..</div>
<div>?????????? ? ? ? ? ? 1710674aaa385fc75885b2ac7f8967c8<br>
</div>
<div><br>
</div>
<div>
<div><strong>swift</strong>@swift-04:/$<strong> ls -la /srv/node/Z302XLHP/objects/11808/</strong></div>
<div>total 8<br>
</div>
<div>drwxrwxr-x 3 swift swift 61 Nov 4 10:03 .</div>
<div>drwxr-xr-x 151 swift swift 4096 Nov 4 09:56 ..</div>
<div>drwxr--r-- 3 swift swift 53 Nov 4 09:52 7c8</div>
<div>-rw------- 1 swift swift 50 Nov 4 10:03 hashes.pkl</div>
<div>-rwxr-xr-x 1 swift swift 0 Nov 4 09:52 .lock<br>
</div>
<div><br>
</div>
<div>Any ideas to what could be wrong with the permissions?<br>
</div>
<br>
</div>
<br>
</div>
<div><br>
</div>
<br>
</div>
<p><br>
</p>
</body>
</html>