{"action":"closed","number":17,"pull_request":{"url":"https://api.github.com/repos/xenserver/xen-api/pulls/17","id":32736044,"html_url":"https://github.com/xenserver/xen-api/pull/17","diff_url":"https://github.com/xenserver/xen-api/pull/17.diff","patch_url":"https://github.com/xenserver/xen-api/pull/17.patch","issue_url":"https://api.github.com/repos/xenserver/xen-api/issues/17","number":17,"state":"closed","locked":false,"title":"CA-165130: Xapi to notify xcp-rrdd to update its role","user":{"login":"ravippandey","id":5610558,"avatar_url":"https://avatars.githubusercontent.com/u/5610558?v=3","gravatar_id":"","url":"https://api.github.com/users/ravippandey","html_url":"https://github.com/ravippandey","followers_url":"https://api.github.com/users/ravippandey/followers","following_url":"https://api.github.com/users/ravippandey/following{/other_user}","gists_url":"https://api.github.com/users/ravippandey/gists{/gist_id}","starred_url":"https://api.github.com/users/ravippandey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravippandey/subscriptions","organizations_url":"https://api.github.com/users/ravippandey/orgs","repos_url":"https://api.github.com/users/ravippandey/repos","events_url":"https://api.github.com/users/ravippandey/events{/privacy}","received_events_url":"https://api.github.com/users/ravippandey/received_events","type":"User","site_admin":false},"body":"After a host joins to pool, the xapi restarts in slave mode. However,\r\nthe xcp-rrdd remains in master mode only.\r\nThis patch asks xapi to notify the xcp-rrdd to update its role after\r\npool-join.\r\n\r\nSigned-off-by: Ravi Pandey <ravi.pandey@citrix.com>","created_at":"2015-04-07T06:11:07Z","updated_at":"2015-05-14T17:08:37Z","closed_at":"2015-05-14T17:08:37Z","merged_at":null,"merge_commit_sha":"7604e0b541cb6c367705389652f7266709ee6f9d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xenserver/xen-api/pulls/17/commits","review_comments_url":"https://api.github.com/repos/xenserver/xen-api/pulls/17/comments","review_comment_url":"https://api.github.com/repos/xenserver/xen-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xenserver/xen-api/issues/17/comments","statuses_url":"https://api.github.com/repos/xenserver/xen-api/statuses/ba0831ec05351806bf73c88a0ffdbe9cd41b19d2","head":{"label":"ravippandey:ca-165130","ref":"ca-165130","sha":"ba0831ec05351806bf73c88a0ffdbe9cd41b19d2","user":{"login":"ravippandey","id":5610558,"avatar_url":"https://avatars.githubusercontent.com/u/5610558?v=3","gravatar_id":"","url":"https://api.github.com/users/ravippandey","html_url":"https://github.com/ravippandey","followers_url":"https://api.github.com/users/ravippandey/followers","following_url":"https://api.github.com/users/ravippandey/following{/other_user}","gists_url":"https://api.github.com/users/ravippandey/gists{/gist_id}","starred_url":"https://api.github.com/users/ravippandey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravippandey/subscriptions","organizations_url":"https://api.github.com/users/ravippandey/orgs","repos_url":"https://api.github.com/users/ravippandey/repos","events_url":"https://api.github.com/users/ravippandey/events{/privacy}","received_events_url":"https://api.github.com/users/ravippandey/received_events","type":"User","site_admin":false},"repo":{"id":13438196,"name":"xen-api","full_name":"ravippandey/xen-api","owner":{"login":"ravippandey","id":5610558,"avatar_url":"https://avatars.githubusercontent.com/u/5610558?v=3","gravatar_id":"","url":"https://api.github.com/users/ravippandey","html_url":"https://github.com/ravippandey","followers_url":"https://api.github.com/users/ravippandey/followers","following_url":"https://api.github.com/users/ravippandey/following{/other_user}","gists_url":"https://api.github.com/users/ravippandey/gists{/gist_id}","starred_url":"https://api.github.com/users/ravippandey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravippandey/subscriptions","organizations_url":"https://api.github.com/users/ravippandey/orgs","repos_url":"https://api.github.com/users/ravippandey/repos","events_url":"https://api.github.com/users/ravippandey/events{/privacy}","received_events_url":"https://api.github.com/users/ravippandey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ravippandey/xen-api","description":"The Xapi Project's XenAPI Server","fork":true,"url":"https://api.github.com/repos/ravippandey/xen-api","forks_url":"https://api.github.com/repos/ravippandey/xen-api/forks","keys_url":"https://api.github.com/repos/ravippandey/xen-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ravippandey/xen-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ravippandey/xen-api/teams","hooks_url":"https://api.github.com/repos/ravippandey/xen-api/hooks","issue_events_url":"https://api.github.com/repos/ravippandey/xen-api/issues/events{/number}","events_url":"https://api.github.com/repos/ravippandey/xen-api/events","assignees_url":"https://api.github.com/repos/ravippandey/xen-api/assignees{/user}","branches_url":"https://api.github.com/repos/ravippandey/xen-api/branches{/branch}","tags_url":"https://api.github.com/repos/ravippandey/xen-api/tags","blobs_url":"https://api.github.com/repos/ravippandey/xen-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ravippandey/xen-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ravippandey/xen-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/ravippandey/xen-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ravippandey/xen-api/statuses/{sha}","languages_url":"https://api.github.com/repos/ravippandey/xen-api/languages","stargazers_url":"https://api.github.com/repos/ravippandey/xen-api/stargazers","contributors_url":"https://api.github.com/repos/ravippandey/xen-api/contributors","subscribers_url":"https://api.github.com/repos/ravippandey/xen-api/subscribers","subscription_url":"https://api.github.com/repos/ravippandey/xen-api/subscription","commits_url":"https://api.github.com/repos/ravippandey/xen-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/ravippandey/xen-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/ravippandey/xen-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/ravippandey/xen-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/ravippandey/xen-api/contents/{+path}","compare_url":"https://api.github.com/repos/ravippandey/xen-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ravippandey/xen-api/merges","archive_url":"https://api.github.com/repos/ravippandey/xen-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ravippandey/xen-api/downloads","issues_url":"https://api.github.com/repos/ravippandey/xen-api/issues{/number}","pulls_url":"https://api.github.com/repos/ravippandey/xen-api/pulls{/number}","milestones_url":"https://api.github.com/repos/ravippandey/xen-api/milestones{/number}","notifications_url":"https://api.github.com/repos/ravippandey/xen-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ravippandey/xen-api/labels{/name}","releases_url":"https://api.github.com/repos/ravippandey/xen-api/releases{/id}","created_at":"2013-10-09T09:26:38Z","updated_at":"2014-06-18T08:21:34Z","pushed_at":"2015-04-29T11:20:44Z","git_url":"git://github.com/ravippandey/xen-api.git","ssh_url":"git@github.com:ravippandey/xen-api.git","clone_url":"https://github.com/ravippandey/xen-api.git","svn_url":"https://github.com/ravippandey/xen-api","homepage":"http://xenproject.org/developers/teams/xapi.html","size":24299,"stargazers_count":0,"watchers_count":0,"language":"OCaml","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xenserver:creedence-bugfix","ref":"creedence-bugfix","sha":"a4e5d967dc9eaba09348d572c5fb88bd3fd47476","user":{"login":"xenserver","id":4669806,"avatar_url":"https://avatars.githubusercontent.com/u/4669806?v=3","gravatar_id":"","url":"https://api.github.com/users/xenserver","html_url":"https://github.com/xenserver","followers_url":"https://api.github.com/users/xenserver/followers","following_url":"https://api.github.com/users/xenserver/following{/other_user}","gists_url":"https://api.github.com/users/xenserver/gists{/gist_id}","starred_url":"https://api.github.com/users/xenserver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xenserver/subscriptions","organizations_url":"https://api.github.com/users/xenserver/orgs","repos_url":"https://api.github.com/users/xenserver/repos","events_url":"https://api.github.com/users/xenserver/events{/privacy}","received_events_url":"https://api.github.com/users/xenserver/received_events","type":"Organization","site_admin":false},"repo":{"id":31328267,"name":"xen-api","full_name":"xenserver/xen-api","owner":{"login":"xenserver","id":4669806,"avatar_url":"https://avatars.githubusercontent.com/u/4669806?v=3","gravatar_id":"","url":"https://api.github.com/users/xenserver","html_url":"https://github.com/xenserver","followers_url":"https://api.github.com/users/xenserver/followers","following_url":"https://api.github.com/users/xenserver/following{/other_user}","gists_url":"https://api.github.com/users/xenserver/gists{/gist_id}","starred_url":"https://api.github.com/users/xenserver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xenserver/subscriptions","organizations_url":"https://api.github.com/users/xenserver/orgs","repos_url":"https://api.github.com/users/xenserver/repos","events_url":"https://api.github.com/users/xenserver/events{/privacy}","received_events_url":"https://api.github.com/users/xenserver/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xenserver/xen-api","description":"The Xapi Project's XenAPI Server","fork":true,"url":"https://api.github.com/repos/xenserver/xen-api","forks_url":"https://api.github.com/repos/xenserver/xen-api/forks","keys_url":"https://api.github.com/repos/xenserver/xen-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xenserver/xen-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xenserver/xen-api/teams","hooks_url":"https://api.github.com/repos/xenserver/xen-api/hooks","issue_events_url":"https://api.github.com/repos/xenserver/xen-api/issues/events{/number}","events_url":"https://api.github.com/repos/xenserver/xen-api/events","assignees_url":"https://api.github.com/repos/xenserver/xen-api/assignees{/user}","branches_url":"https://api.github.com/repos/xenserver/xen-api/branches{/branch}","tags_url":"https://api.github.com/repos/xenserver/xen-api/tags","blobs_url":"https://api.github.com/repos/xenserver/xen-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xenserver/xen-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xenserver/xen-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/xenserver/xen-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xenserver/xen-api/statuses/{sha}","languages_url":"https://api.github.com/repos/xenserver/xen-api/languages","stargazers_url":"https://api.github.com/repos/xenserver/xen-api/stargazers","contributors_url":"https://api.github.com/repos/xenserver/xen-api/contributors","subscribers_url":"https://api.github.com/repos/xenserver/xen-api/subscribers","subscription_url":"https://api.github.com/repos/xenserver/xen-api/subscription","commits_url":"https://api.github.com/repos/xenserver/xen-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/xenserver/xen-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/xenserver/xen-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/xenserver/xen-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/xenserver/xen-api/contents/{+path}","compare_url":"https://api.github.com/repos/xenserver/xen-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xenserver/xen-api/merges","archive_url":"https://api.github.com/repos/xenserver/xen-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xenserver/xen-api/downloads","issues_url":"https://api.github.com/repos/xenserver/xen-api/issues{/number}","pulls_url":"https://api.github.com/repos/xenserver/xen-api/pulls{/number}","milestones_url":"https://api.github.com/repos/xenserver/xen-api/milestones{/number}","notifications_url":"https://api.github.com/repos/xenserver/xen-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xenserver/xen-api/labels{/name}","releases_url":"https://api.github.com/repos/xenserver/xen-api/releases{/id}","created_at":"2015-02-25T18:12:10Z","updated_at":"2015-02-25T18:12:13Z","pushed_at":"2015-05-14T16:56:38Z","git_url":"git://github.com/xenserver/xen-api.git","ssh_url":"git@github.com:xenserver/xen-api.git","clone_url":"https://github.com/xenserver/xen-api.git","svn_url":"https://github.com/xenserver/xen-api","homepage":"http://xenproject.org/developers/teams/xapi.html","size":18402,"stargazers_count":0,"watchers_count":0,"language":"OCaml","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"README"}},"_links":{"self":{"href":"https://api.github.com/repos/xenserver/xen-api/pulls/17"},"html":{"href":"https://github.com/xenserver/xen-api/pull/17"},"issue":{"href":"https://api.github.com/repos/xenserver/xen-api/issues/17"},"comments":{"href":"https://api.github.com/repos/xenserver/xen-api/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/xenserver/xen-api/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/xenserver/xen-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xenserver/xen-api/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/xenserver/xen-api/statuses/ba0831ec05351806bf73c88a0ffdbe9cd41b19d2"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":14,"deletions":0,"changed_files":5}}