{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph/issues/7025","labels_url":"https://api.github.com/repos/ceph/ceph/issues/7025/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/7025/comments","events_url":"https://api.github.com/repos/ceph/ceph/issues/7025/events","html_url":"https://github.com/ceph/ceph/pull/7025","id":123618515,"number":7025,"title":"ceph-detect-init: fix py3 test","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},"labels":[{"url":"https://api.github.com/repos/ceph/ceph/labels/cleanup","name":"cleanup","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"dachary","id":433594,"avatar_url":"https://avatars.githubusercontent.com/u/433594?v=3","gravatar_id":"","url":"https://api.github.com/users/dachary","html_url":"https://github.com/dachary","followers_url":"https://api.github.com/users/dachary/followers","following_url":"https://api.github.com/users/dachary/following{/other_user}","gists_url":"https://api.github.com/users/dachary/gists{/gist_id}","starred_url":"https://api.github.com/users/dachary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dachary/subscriptions","organizations_url":"https://api.github.com/users/dachary/orgs","repos_url":"https://api.github.com/users/dachary/repos","events_url":"https://api.github.com/users/dachary/events{/privacy}","received_events_url":"https://api.github.com/users/dachary/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-12-23T08:10:48Z","updated_at":"2015-12-23T08:36:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/7025","html_url":"https://github.com/ceph/ceph/pull/7025","diff_url":"https://github.com/ceph/ceph/pull/7025.diff","patch_url":"https://github.com/ceph/ceph/pull/7025.patch"},"body":"* in python3, None can not be compared with a str. and\r\n  we should always set codename with a non empty str, so update\r\n  TestCephDetectInit.test_debian so it always set a code name.\r\n  and assert(codename and distroname) in choose_init().\r\n* and debian switched its default init system to systemd in\r\n  jessie, see\r\n  https://lists.debian.org/debian-ctte/2014/02/msg00405.html\r\n* and add a test for unsupported debian distro\r\n\r\nSigned-off-by: Kefu Chai <kchai@redhat.com>"},"comment":{"url":"https://api.github.com/repos/ceph/ceph/issues/comments/166833727","html_url":"https://github.com/ceph/ceph/pull/7025#issuecomment-166833727","issue_url":"https://api.github.com/repos/ceph/ceph/issues/7025","id":166833727,"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-12-23T08:36:27Z","updated_at":"2015-12-23T08:36:27Z","body":"@dachary jessie related changes reverted."}}