{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph/issues/5785","labels_url":"https://api.github.com/repos/ceph/ceph/issues/5785/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/5785/comments","events_url":"https://api.github.com/repos/ceph/ceph/issues/5785/events","html_url":"https://github.com/ceph/ceph/pull/5785","id":104606419,"number":5785,"title":"qa/workunits/rados/test_alloc_hint.sh: sudo to list files","user":{"login":"liewegas","id":433031,"avatar_url":"https://avatars.githubusercontent.com/u/433031?v=3","gravatar_id":"","url":"https://api.github.com/users/liewegas","html_url":"https://github.com/liewegas","followers_url":"https://api.github.com/users/liewegas/followers","following_url":"https://api.github.com/users/liewegas/following{/other_user}","gists_url":"https://api.github.com/users/liewegas/gists{/gist_id}","starred_url":"https://api.github.com/users/liewegas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liewegas/subscriptions","organizations_url":"https://api.github.com/users/liewegas/orgs","repos_url":"https://api.github.com/users/liewegas/repos","events_url":"https://api.github.com/users/liewegas/events{/privacy}","received_events_url":"https://api.github.com/users/liewegas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceph/ceph/labels/bug%20fix","name":"bug fix","color":"e11d21"},{"url":"https://api.github.com/repos/ceph/ceph/labels/core","name":"core","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"tchaikov","id":59071,"avatar_url":"https://avatars.githubusercontent.com/u/59071?v=3","gravatar_id":"","url":"https://api.github.com/users/tchaikov","html_url":"https://github.com/tchaikov","followers_url":"https://api.github.com/users/tchaikov/followers","following_url":"https://api.github.com/users/tchaikov/following{/other_user}","gists_url":"https://api.github.com/users/tchaikov/gists{/gist_id}","starred_url":"https://api.github.com/users/tchaikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchaikov/subscriptions","organizations_url":"https://api.github.com/users/tchaikov/orgs","repos_url":"https://api.github.com/users/tchaikov/repos","events_url":"https://api.github.com/users/tchaikov/events{/privacy}","received_events_url":"https://api.github.com/users/tchaikov/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ceph/ceph/milestones/7","html_url":"https://github.com/ceph/ceph/milestones/infernalis","labels_url":"https://api.github.com/repos/ceph/ceph/milestones/7/labels","id":1252449,"number":7,"title":"infernalis","description":"","creator":{"login":"liewegas","id":433031,"avatar_url":"https://avatars.githubusercontent.com/u/433031?v=3","gravatar_id":"","url":"https://api.github.com/users/liewegas","html_url":"https://github.com/liewegas","followers_url":"https://api.github.com/users/liewegas/followers","following_url":"https://api.github.com/users/liewegas/following{/other_user}","gists_url":"https://api.github.com/users/liewegas/gists{/gist_id}","starred_url":"https://api.github.com/users/liewegas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liewegas/subscriptions","organizations_url":"https://api.github.com/users/liewegas/orgs","repos_url":"https://api.github.com/users/liewegas/repos","events_url":"https://api.github.com/users/liewegas/events{/privacy}","received_events_url":"https://api.github.com/users/liewegas/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":66,"state":"open","created_at":"2015-08-12T19:54:01Z","updated_at":"2015-09-04T13:47:32Z","due_on":"2016-10-30T23:00:00Z","closed_at":null},"comments":8,"created_at":"2015-09-03T02:00:07Z","updated_at":"2015-09-04T16:51:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/5785","html_url":"https://github.com/ceph/ceph/pull/5785","diff_url":"https://github.com/ceph/ceph/pull/5785.diff","patch_url":"https://github.com/ceph/ceph/pull/5785.patch"},"body":"The osd data dir is owned by ceph and not readable by other\nnon-root users.\n\nSigned-off-by: Sage Weil <sage@redhat.com>"},"comment":{"url":"https://api.github.com/repos/ceph/ceph/issues/comments/137789097","html_url":"https://github.com/ceph/ceph/pull/5785#issuecomment-137789097","issue_url":"https://api.github.com/repos/ceph/ceph/issues/5785","id":137789097,"user":{"login":"tchaikov","id":59071,"avatar_url":"https://avatars.githubusercontent.com/u/59071?v=3","gravatar_id":"","url":"https://api.github.com/users/tchaikov","html_url":"https://github.com/tchaikov","followers_url":"https://api.github.com/users/tchaikov/followers","following_url":"https://api.github.com/users/tchaikov/following{/other_user}","gists_url":"https://api.github.com/users/tchaikov/gists{/gist_id}","starred_url":"https://api.github.com/users/tchaikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchaikov/subscriptions","organizations_url":"https://api.github.com/users/tchaikov/orgs","repos_url":"https://api.github.com/users/tchaikov/repos","events_url":"https://api.github.com/users/tchaikov/events{/privacy}","received_events_url":"https://api.github.com/users/tchaikov/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T16:51:17Z","updated_at":"2015-09-04T16:51:17Z","body":"@liewegas tested at http://qa-proxy.ceph.com/teuthology/kchai-2015-09-04_09:11:30-rados-wip-5785---basic-multi/1043915/teuthology.log . failed \r\n\r\n```\r\n2015-09-04T09:16:55.593 INFO:tasks.workunit.client.0.mira023.stderr:++ sudo xfs_io -c extsize ''\r\n2015-09-04T09:16:55.623 INFO:tasks.workunit.client.0.mira023.stderr:No such file or directory\r\n```\r\n\r\ni am afraid that we still failed to match any file with\r\n```shell\r\nlocal fns=$(sudo find ${OSD_DATA[i]}/current/${PGID}*_head -type f | grep head/${OBJ}_)\r\nlocal count=\"${#fns[@]}\"\r\n```\r\n\r\ni did a simple experiment\r\n```\r\n$ mkdir /tmp/foobar\r\n$ fns=$(sudo find /tmp/foobar -type f | grep foobar/42)\r\n$ echo ${#fns[@]}\r\n1\r\n$ ls /tmp/foobar/\r\n```"}}