<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On May 15, 2014, at 6:05 PM, Diogo Vieira <<a href="mailto:dfv@eurotux.com">dfv@eurotux.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On May 6, 2014, at 7:35 PM, Pádraig Brady <<a href="mailto:pbrady@redhat.com">pbrady@redhat.com</a>> wrote:<br><br><blockquote type="cite">On 05/06/2014 06:47 PM, Diogo Vieira wrote:<br><blockquote type="cite">On May 6, 2014, at 11:06 AM, Pádraig Brady <<a href="mailto:pbrady@redhat.com">pbrady@redhat.com</a>> wrote:<br><br><blockquote type="cite">On 05/06/2014 09:47 AM, Diogo Vieira wrote:<br><blockquote type="cite">On May 6, 2014, at 2:53 AM, Pádraig Brady <<a href="mailto:pbrady@redhat.com">pbrady@redhat.com</a> <<a href="mailto:pbrady@redhat.com">mailto:pbrady@redhat.com</a>>> wrote:<br><br><blockquote type="cite">What version of swift are you using?<br><br>swift-1.13.1.rc2 could have permissions errors,<br>while we included a patch in the RDO icehouse swift-1.13.1 release to fix<br><a href="http://pad.lv/1302700">http://pad.lv/1302700</a> which on first glance could be related?<br><br>thanks,<br>Pádraig.<br></blockquote><br>I'm using 1.13.1-1.fc21 (I'm using Fedora) as you can see:<br><br>  # yum info openstack-swift<br>  Loaded plugins: priorities<br>  196 packages excluded due to repository priority protections<br>  Installed Packages<br>  Name        : openstack-swift<br>  Arch        : noarch<br>  Version     : 1.13.1<br>  Release     : 1.fc21<br><br><br>So the fix should already be present right?<br></blockquote><br>Yes, must be something else so.<br><br>thanks,<br>Pádraig.<br></blockquote><br>That's unfortunate then. One thing's for sure: these errors aren't supposed to happen right?<br><br>If someone else has any idea of what could be the problem I would greatly appreciate since this is a recurring problem (even between different Openstack  and Packstack versions, since it was tested in Havana and Icehouse).<br><br>Thank you very much,<br>Diogo Vieira<br><br></blockquote><br>Ah you see this in Havana repos also, that's NB info.<br><br>Pete any ideas?<br><br>thanks,<br>Pádraig.<br></blockquote><br>Yes, the issue happened with an older Havana installation and with the new Icehouse version.<br><br>Sorry to bring this up again, but I'm really lost and have no idea what could the problem be.<br><br>Nobody has an idea for trying to resolve the issue or issues (since I don't know if they're related)? Should I file a bug report?<br><br>Thank you,<br><br>Diogo Vieira <<a href="mailto:dfv@eurotux.com">dfv@eurotux.com</a>><br>Programador <br>Eurotux Informática, S.A. | <a href="http://www.eurotux.com">www.eurotux.com</a><br>(t) +351 253 680 300</blockquote><br></div><div>Hello again,</div><div><br></div><div>I'm sorry for answering my own email but I found something I believe to be the problem. After some time trying to see what the problem was I ended up searching for what could cause the permission problems. This was one of the errors I found in the syslog:</div><div><br></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>May 16 10:07:00 host-10-10-6-30 object-auditor: ERROR Trying to audit /srv/node/device3/objects/134106/f2a/82f6a3461bb69f80918a1a508a8bdf2a: #012Traceback (most recent call last):#012  File "/usr/lib/python2.7/site-packages/swift/obj/auditor.py", line 173, in failsafe_object_audit#012    self.object_audit(location)#012  File "/usr/lib/python2.7/site-packages/swift/obj/auditor.py", line 191, in object_audit#012    with df.open():#012  File "/usr/lib/python2.7/site-packages/swift/obj/diskfile.py", line 1029, in open#012    data_file, meta_file)#012  File "/usr/lib/python2.7/site-packages/swift/obj/diskfile.py", line 1247, in _construct_from_data_file#012    fp = open(data_file, 'rb')#012IOError: [Errno 13] Permission denied: '/srv/node/device3/objects/134106/f2a/82f6a3461bb69f80918a1a508a8bdf2a/1399288004.47239.data'</div></blockquote><div><br></div><div>So the problems was in '/srv/node/device3/objects/134106/f2a/82f6a3461bb69f80918a1a508a8bdf2a/1399288004.47239.data'. I tried the following set of commands after I made sure that the swift-object-auditor was run by the swift user (using 'ps faxu'):</div><div><br></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div># su - swift</div><div><br></div></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>-bash-4.2$ ls -lha /srv/node/device3/objects/134106/f2a/82f6a3461bb69f80918a1a508a8bdf2a</div></div><div><div>ls: cannot access /srv/node/device3/objects/134106/f2a/82f6a3461bb69f80918a1a508a8bdf2a/.: Permission denied</div></div><div><div>ls: cannot access /srv/node/device3/objects/134106/f2a/82f6a3461bb69f80918a1a508a8bdf2a/..: Permission denied</div></div><div><div>ls: cannot access /srv/node/device3/objects/134106/f2a/82f6a3461bb69f80918a1a508a8bdf2a/1399288004.47239.data: Permission denied</div></div><div><div>total 0</div></div><div><div>d????????? ? ? ? ?            ? .</div></div><div><div>d????????? ? ? ? ?            ? ..</div></div><div><div>?????????? ? ? ? ?            ? 1399288004.47239.data</div><div><br></div><div><div>-bash-4.2$ ls -lha /srv/node/device3/objects/134106/f2a/</div><div>total 0</div><div>drwxr--r-- 3 swift swift 45 May  5 11:06 .</div><div>drwxr-xr-x 3 swift swift 45 May 16 10:57 ..</div><div>drw-r--r-- 2 swift swift 34 May  5 11:06 82f6a3461bb69f80918a1a508a8bdf2a</div></div></div></blockquote><div><br></div>So you see '82f6a3461bb69f80918a1a508a8bdf2a' doesn't have execute permissions and I believe that is the problem.<div><br></div><div>My question now is, could this be caused by some misconfiguration on my part or is it a bug in swift, since it was not me that created the folder?</div><div><br></div><div>Thank you once again,</div><div><br></div><div><div><div>Diogo Vieira <<a href="mailto:dfv@eurotux.com">dfv@eurotux.com</a>><br>Programador <br>Eurotux Informática, S.A. | <a href="http://www.eurotux.com">www.eurotux.com</a><br>(t) +351 253 680 300</div><div><br></div></div><div><br></div><br></div></body></html>