{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/teuthology/issues/844","repository_url":"https://api.github.com/repos/ceph/teuthology","labels_url":"https://api.github.com/repos/ceph/teuthology/issues/844/labels{/name}","comments_url":"https://api.github.com/repos/ceph/teuthology/issues/844/comments","events_url":"https://api.github.com/repos/ceph/teuthology/issues/844/events","html_url":"https://github.com/ceph/teuthology/pull/844","id":148352614,"number":844,"title":"Reimplementing get_scratch_devices()","user":{"login":"ErwanAliasr1","id":4539421,"avatar_url":"https://avatars.githubusercontent.com/u/4539421?v=3","gravatar_id":"","url":"https://api.github.com/users/ErwanAliasr1","html_url":"https://github.com/ErwanAliasr1","followers_url":"https://api.github.com/users/ErwanAliasr1/followers","following_url":"https://api.github.com/users/ErwanAliasr1/following{/other_user}","gists_url":"https://api.github.com/users/ErwanAliasr1/gists{/gist_id}","starred_url":"https://api.github.com/users/ErwanAliasr1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErwanAliasr1/subscriptions","organizations_url":"https://api.github.com/users/ErwanAliasr1/orgs","repos_url":"https://api.github.com/users/ErwanAliasr1/repos","events_url":"https://api.github.com/users/ErwanAliasr1/events{/privacy}","received_events_url":"https://api.github.com/users/ErwanAliasr1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-04-14T12:56:41Z","updated_at":"2016-04-20T14:09:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/teuthology/pulls/844","html_url":"https://github.com/ceph/teuthology/pull/844","diff_url":"https://github.com/ceph/teuthology/pull/844.diff","patch_url":"https://github.com/ceph/teuthology/pull/844.patch"},"body":"This PR is about re-implementing get_scratch_devices() while keeping the same input/outputs and adding news features\r\n- listing all present block devices and not only sda or vda\r\n- supporting more than 26 disks per host : sdaa vs sda\r\n- auto-detecting the backing device of the root system by reading /proc/cdmline\r\n- inspecting dm devices to detect more used devices\r\n- expanding UUIDs & symlinks to understand the underlying block devices\r\n- return no free block devices if known was detected as used to avoid damaging\r\n  data\r\n- return no free block devices if we cannot get intersections between the list\r\n  of available devices and used devices to avoid damaging data\r\n- compute the list of free devices by removing the detected used device from the\r\n  complete list\r\n\r\nAs a result, a block reported to be free is a detected block devices which is\r\nproven not being used by : the root fs, a dm device or a user mounted\r\nfilesystem."},"comment":{"url":"https://api.github.com/repos/ceph/teuthology/issues/comments/212440770","html_url":"https://github.com/ceph/teuthology/pull/844#issuecomment-212440770","issue_url":"https://api.github.com/repos/ceph/teuthology/issues/844","id":212440770,"user":{"login":"ErwanAliasr1","id":4539421,"avatar_url":"https://avatars.githubusercontent.com/u/4539421?v=3","gravatar_id":"","url":"https://api.github.com/users/ErwanAliasr1","html_url":"https://github.com/ErwanAliasr1","followers_url":"https://api.github.com/users/ErwanAliasr1/followers","following_url":"https://api.github.com/users/ErwanAliasr1/following{/other_user}","gists_url":"https://api.github.com/users/ErwanAliasr1/gists{/gist_id}","starred_url":"https://api.github.com/users/ErwanAliasr1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErwanAliasr1/subscriptions","organizations_url":"https://api.github.com/users/ErwanAliasr1/orgs","repos_url":"https://api.github.com/users/ErwanAliasr1/repos","events_url":"https://api.github.com/users/ErwanAliasr1/events{/privacy}","received_events_url":"https://api.github.com/users/ErwanAliasr1/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T14:09:09Z","updated_at":"2016-04-20T14:09:09Z","body":"Looks good for me, local test ran fine"}}