GitHub PullRequestReviewCommentEvent at 2014-12-09 17:24:02
Repository: ScalitySproxydSwift
Actor: NicolasT
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/scality/ScalitySproxydSwift/pulls/comments/21544378","id":21544378,"diff_hunk":"@@ -101,12 +72,58 @@ def __init__(self, conf, logger):\n         if conf_wants_splice and system_has_splice:\n             self.use_splice = True\n \n+        for host, port in self.sproxyd_hosts_set:\n+            url = 'http://%s:%d%s.conf' % (host, port, self.base_path)\n+            ping_url = functools.partial(self.ping, url)\n+            on_up = functools.partial(self.on_sproxyd_up, host, port)\n+            on_down = functools.partial(self.on_sproxyd_down, host, port)\n+            eventlet.spawn_n(self.monitor_sproxyd, ping_url, on_up, on_down)\n+\n+    def on_sproxyd_up(self, host, port):\n+        self.logger.warning(\"Sproxyd connector at %s:%d is UP\", host, port)","path":"swift_scality_backend/diskfile.py","position":97,"original_position":97,"commit_id":"10510e07ceed0ef591042afd9fb998e3494f118e","original_commit_id":"10510e07ceed0ef591042afd9fb998e3494f118e","user":{"login":"NicolasT","id":102605,"avatar_url":"https://avatars.githubusercontent.com/u/102605?v=3","gravatar_id":"","url":"https://api.github.com/users/NicolasT","html_url":"https://github.com/NicolasT","followers_url":"https://api.github.com/users/NicolasT/followers","following_url":"https://api.github.com/users/NicolasT/following{/other_user}","gists_url":"https://api.github.com/users/NicolasT/gists{/gist_id}","starred_url":"https://api.github.com/users/NicolasT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicolasT/subscriptions","organizations_url":"https://api.github.com/users/NicolasT/orgs","repos_url":"https://api.github.com/users/NicolasT/repos","events_url":"https://api.github.com/users/NicolasT/events{/privacy}","received_events_url":"https://api.github.com/users/NicolasT/received_events","type":"User","site_admin":false},"body":"`info`","created_at":"2014-12-09T17:24:02Z","updated_at":"2014-12-09T17:24:02Z","html_url":"https://github.com/scality/ScalitySproxydSwift/pull/27#discussion_r21544378","pull_request_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/scality/ScalitySproxydSwift/pulls/comments/21544378"},"html":{"href":"https://github.com/scality/ScalitySproxydSwift/pull/27#discussion_r21544378"},"pull_request":{"href":"https://api.github.com/repos/scality/ScalitySproxydSwift/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/scality/ScalitySproxydSwift/pulls/27","id":25749002,"html_url":"https://github.com/scality/ScalitySproxydSwift/pull/27","diff_url":"https://github.com/scality/ScalitySproxydSwift/pull/27.diff","patch_url":"https://github.com/scality/ScalitySproxydSwift/pull/27.patch","issue_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/issues/27","number":27,"state":"open","locked":false,"title":"Init sproxyd conf check","user":{"login":"JordanP","id":221981,"avatar_url":"https://avatars.githubusercontent.com/u/221981?v=3","gravatar_id":"","url":"https://api.github.com/users/JordanP","html_url":"https://github.com/JordanP","followers_url":"https://api.github.com/users/JordanP/followers","following_url":"https://api.github.com/users/JordanP/following{/other_user}","gists_url":"https://api.github.com/users/JordanP/gists{/gist_id}","starred_url":"https://api.github.com/users/JordanP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JordanP/subscriptions","organizations_url":"https://api.github.com/users/JordanP/orgs","repos_url":"https://api.github.com/users/JordanP/repos","events_url":"https://api.github.com/users/JordanP/events{/privacy}","received_events_url":"https://api.github.com/users/JordanP/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-12-09T15:03:40Z","updated_at":"2014-12-09T17:24:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3522f8397e1b136ce1def956f6ed58f570e6ae48","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/pulls/27/commits","review_comments_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/pulls/27/comments","review_comment_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/pulls/comments/{number}","comments_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/issues/27/comments","statuses_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/statuses/10510e07ceed0ef591042afd9fb998e3494f118e","head":{"label":"scality:sproxydconf","ref":"sproxydconf","sha":"10510e07ceed0ef591042afd9fb998e3494f118e","user":{"login":"scality","id":383812,"avatar_url":"https://avatars.githubusercontent.com/u/383812?v=3","gravatar_id":"","url":"https://api.github.com/users/scality","html_url":"https://github.com/scality","followers_url":"https://api.github.com/users/scality/followers","following_url":"https://api.github.com/users/scality/following{/other_user}","gists_url":"https://api.github.com/users/scality/gists{/gist_id}","starred_url":"https://api.github.com/users/scality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scality/subscriptions","organizations_url":"https://api.github.com/users/scality/orgs","repos_url":"https://api.github.com/users/scality/repos","events_url":"https://api.github.com/users/scality/events{/privacy}","received_events_url":"https://api.github.com/users/scality/received_events","type":"User","site_admin":false},"repo":{"id":19376602,"name":"ScalitySproxydSwift","full_name":"scality/ScalitySproxydSwift","owner":{"login":"scality","id":383812,"avatar_url":"https://avatars.githubusercontent.com/u/383812?v=3","gravatar_id":"","url":"https://api.github.com/users/scality","html_url":"https://github.com/scality","followers_url":"https://api.github.com/users/scality/followers","following_url":"https://api.github.com/users/scality/following{/other_user}","gists_url":"https://api.github.com/users/scality/gists{/gist_id}","starred_url":"https://api.github.com/users/scality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scality/subscriptions","organizations_url":"https://api.github.com/users/scality/orgs","repos_url":"https://api.github.com/users/scality/repos","events_url":"https://api.github.com/users/scality/events{/privacy}","received_events_url":"https://api.github.com/users/scality/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scality/ScalitySproxydSwift","description":"Scality sproxyd driver for OpenStack swift","fork":false,"url":"https://api.github.com/repos/scality/ScalitySproxydSwift","forks_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/forks","keys_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/teams","hooks_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/hooks","issue_events_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/issues/events{/number}","events_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/events","assignees_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/assignees{/user}","branches_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/branches{/branch}","tags_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/tags","blobs_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/git/refs{/sha}","trees_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/statuses/{sha}","languages_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/languages","stargazers_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/stargazers","contributors_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/contributors","subscribers_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/subscribers","subscription_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/subscription","commits_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/commits{/sha}","git_commits_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/git/commits{/sha}","comments_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/comments{/number}","issue_comment_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/issues/comments/{number}","contents_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/contents/{+path}","compare_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/merges","archive_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/downloads","issues_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/issues{/number}","pulls_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/pulls{/number}","milestones_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/milestones{/number}","notifications_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/labels{/name}","releases_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/releases{/id}","created_at":"2014-05-02T13:48:16Z","updated_at":"2014-12-08T15:06:32Z","pushed_at":"2014-12-09T15:03:15Z","git_url":"git://github.com/scality/ScalitySproxydSwift.git","ssh_url":"git@github.com:scality/ScalitySproxydSwift.git","clone_url":"https://github.com/scality/ScalitySproxydSwift.git","svn_url":"https://github.com/scality/ScalitySproxydSwift","homepage":null,"size":16073,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"base":{"label":"scality:master","ref":"master","sha":"7bf33dff608b1e7cb942c6189679ce23ae33294e","user":{"login":"scality","id":383812,"avatar_url":"https://avatars.githubusercontent.com/u/383812?v=3","gravatar_id":"","url":"https://api.github.com/users/scality","html_url":"https://github.com/scality","followers_url":"https://api.github.com/users/scality/followers","following_url":"https://api.github.com/users/scality/following{/other_user}","gists_url":"https://api.github.com/users/scality/gists{/gist_id}","starred_url":"https://api.github.com/users/scality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scality/subscriptions","organizations_url":"https://api.github.com/users/scality/orgs","repos_url":"https://api.github.com/users/scality/repos","events_url":"https://api.github.com/users/scality/events{/privacy}","received_events_url":"https://api.github.com/users/scality/received_events","type":"User","site_admin":false},"repo":{"id":19376602,"name":"ScalitySproxydSwift","full_name":"scality/ScalitySproxydSwift","owner":{"login":"scality","id":383812,"avatar_url":"https://avatars.githubusercontent.com/u/383812?v=3","gravatar_id":"","url":"https://api.github.com/users/scality","html_url":"https://github.com/scality","followers_url":"https://api.github.com/users/scality/followers","following_url":"https://api.github.com/users/scality/following{/other_user}","gists_url":"https://api.github.com/users/scality/gists{/gist_id}","starred_url":"https://api.github.com/users/scality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scality/subscriptions","organizations_url":"https://api.github.com/users/scality/orgs","repos_url":"https://api.github.com/users/scality/repos","events_url":"https://api.github.com/users/scality/events{/privacy}","received_events_url":"https://api.github.com/users/scality/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scality/ScalitySproxydSwift","description":"Scality sproxyd driver for OpenStack swift","fork":false,"url":"https://api.github.com/repos/scality/ScalitySproxydSwift","forks_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/forks","keys_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/teams","hooks_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/hooks","issue_events_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/issues/events{/number}","events_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/events","assignees_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/assignees{/user}","branches_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/branches{/branch}","tags_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/tags","blobs_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/git/refs{/sha}","trees_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/statuses/{sha}","languages_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/languages","stargazers_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/stargazers","contributors_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/contributors","subscribers_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/subscribers","subscription_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/subscription","commits_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/commits{/sha}","git_commits_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/git/commits{/sha}","comments_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/comments{/number}","issue_comment_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/issues/comments/{number}","contents_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/contents/{+path}","compare_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/merges","archive_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/downloads","issues_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/issues{/number}","pulls_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/pulls{/number}","milestones_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/milestones{/number}","notifications_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/labels{/name}","releases_url":"https://api.github.com/repos/scality/ScalitySproxydSwift/releases{/id}","created_at":"2014-05-02T13:48:16Z","updated_at":"2014-12-08T15:06:32Z","pushed_at":"2014-12-09T15:03:15Z","git_url":"git://github.com/scality/ScalitySproxydSwift.git","ssh_url":"git@github.com:scality/ScalitySproxydSwift.git","clone_url":"https://github.com/scality/ScalitySproxydSwift.git","svn_url":"https://github.com/scality/ScalitySproxydSwift","homepage":null,"size":16073,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scality/ScalitySproxydSwift/pulls/27"},"html":{"href":"https://github.com/scality/ScalitySproxydSwift/pull/27"},"issue":{"href":"https://api.github.com/repos/scality/ScalitySproxydSwift/issues/27"},"comments":{"href":"https://api.github.com/repos/scality/ScalitySproxydSwift/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/scality/ScalitySproxydSwift/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/scality/ScalitySproxydSwift/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/scality/ScalitySproxydSwift/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/scality/ScalitySproxydSwift/statuses/10510e07ceed0ef591042afd9fb998e3494f118e"}}}}