{"action":"created","comment":{"url":"https://api.github.com/repos/heketi/heketi/pulls/comments/102658290","pull_request_review_id":23418081,"id":102658290,"diff_hunk":"@@ -228,3 +228,101 @@ func (s *SshExecutor) checkForSnapshots(host, volume string) error {\n \n \treturn nil\n }\n+\n+func (s *SshExecutor) VolumeInfo(host string, volume string) (*executors.SingleVolumeInfo, error) {","path":"executors/sshexec/volume.go","position":37,"original_position":37,"commit_id":"cca2ac5858af6b52413afed5b4fd4752858ac70a","original_commit_id":"cca2ac5858af6b52413afed5b4fd4752858ac70a","user":{"login":"raghavendra-talur","id":1446375,"avatar_url":"https://avatars.githubusercontent.com/u/1446375?v=3","gravatar_id":"","url":"https://api.github.com/users/raghavendra-talur","html_url":"https://github.com/raghavendra-talur","followers_url":"https://api.github.com/users/raghavendra-talur/followers","following_url":"https://api.github.com/users/raghavendra-talur/following{/other_user}","gists_url":"https://api.github.com/users/raghavendra-talur/gists{/gist_id}","starred_url":"https://api.github.com/users/raghavendra-talur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raghavendra-talur/subscriptions","organizations_url":"https://api.github.com/users/raghavendra-talur/orgs","repos_url":"https://api.github.com/users/raghavendra-talur/repos","events_url":"https://api.github.com/users/raghavendra-talur/events{/privacy}","received_events_url":"https://api.github.com/users/raghavendra-talur/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2017-02-23T08:11:25Z","updated_at":"2017-02-23T08:11:25Z","html_url":"https://github.com/heketi/heketi/pull/676#discussion_r102658290","pull_request_url":"https://api.github.com/repos/heketi/heketi/pulls/676","_links":{"self":{"href":"https://api.github.com/repos/heketi/heketi/pulls/comments/102658290"},"html":{"href":"https://github.com/heketi/heketi/pull/676#discussion_r102658290"},"pull_request":{"href":"https://api.github.com/repos/heketi/heketi/pulls/676"}}},"pull_request":{"url":"https://api.github.com/repos/heketi/heketi/pulls/676","id":106073759,"html_url":"https://github.com/heketi/heketi/pull/676","diff_url":"https://github.com/heketi/heketi/pull/676.diff","patch_url":"https://github.com/heketi/heketi/pull/676.patch","issue_url":"https://api.github.com/repos/heketi/heketi/issues/676","number":676,"state":"open","locked":false,"title":"Remove Device: Used to distribute all the bricks from device to other devices","user":{"login":"MohamedAshiqrh","id":11404465,"avatar_url":"https://avatars.githubusercontent.com/u/11404465?v=3","gravatar_id":"","url":"https://api.github.com/users/MohamedAshiqrh","html_url":"https://github.com/MohamedAshiqrh","followers_url":"https://api.github.com/users/MohamedAshiqrh/followers","following_url":"https://api.github.com/users/MohamedAshiqrh/following{/other_user}","gists_url":"https://api.github.com/users/MohamedAshiqrh/gists{/gist_id}","starred_url":"https://api.github.com/users/MohamedAshiqrh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MohamedAshiqrh/subscriptions","organizations_url":"https://api.github.com/users/MohamedAshiqrh/orgs","repos_url":"https://api.github.com/users/MohamedAshiqrh/repos","events_url":"https://api.github.com/users/MohamedAshiqrh/events{/privacy}","received_events_url":"https://api.github.com/users/MohamedAshiqrh/received_events","type":"User","site_admin":false},"body":"Important:\r\nWe only support this feature for Replicate and Distribute Replicate Volume.\r\nRefer: https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Managing%20Volumes/#replace-brick\r\n\r\nRemoves all the brick from the device and start these bricks on other\r\ndevices based on allocator. Heal is triggered automatially for replicate volumes\r\non replace brick.\r\n\r\nAllocate and create new brick to replace.\r\nIt stops the brick to be replaced, If it is not already down(kill the brick process).\r\nThen gluster replace brick which will replace the brick with new one and also starts the heals.\r\n\r\nIf other nodes does not have sufficient storage then this command should fail.\r\n\r\nPair-Programmed-With: Mohamed Ashiq Liyazudeen mliyazud@redhat.com\r\n\r\nSigned-off-by: Mohamed Ashiq Liyazudeen mliyazud@redhat.com\r\nSigned-off-by: Raghavendra Talur rtalur@redhat.com","created_at":"2017-02-14T10:17:38Z","updated_at":"2017-02-23T08:11:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7aa5a672537c3a14efddba982068233f206b72ec","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/heketi/heketi/pulls/676/commits","review_comments_url":"https://api.github.com/repos/heketi/heketi/pulls/676/comments","review_comment_url":"https://api.github.com/repos/heketi/heketi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/heketi/heketi/issues/676/comments","statuses_url":"https://api.github.com/repos/heketi/heketi/statuses/cca2ac5858af6b52413afed5b4fd4752858ac70a","head":{"label":"MohamedAshiqrh:manage-vol","ref":"manage-vol","sha":"cca2ac5858af6b52413afed5b4fd4752858ac70a","user":{"login":"MohamedAshiqrh","id":11404465,"avatar_url":"https://avatars.githubusercontent.com/u/11404465?v=3","gravatar_id":"","url":"https://api.github.com/users/MohamedAshiqrh","html_url":"https://github.com/MohamedAshiqrh","followers_url":"https://api.github.com/users/MohamedAshiqrh/followers","following_url":"https://api.github.com/users/MohamedAshiqrh/following{/other_user}","gists_url":"https://api.github.com/users/MohamedAshiqrh/gists{/gist_id}","starred_url":"https://api.github.com/users/MohamedAshiqrh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MohamedAshiqrh/subscriptions","organizations_url":"https://api.github.com/users/MohamedAshiqrh/orgs","repos_url":"https://api.github.com/users/MohamedAshiqrh/repos","events_url":"https://api.github.com/users/MohamedAshiqrh/events{/privacy}","received_events_url":"https://api.github.com/users/MohamedAshiqrh/received_events","type":"User","site_admin":false},"repo":{"id":55206914,"name":"heketi","full_name":"MohamedAshiqrh/heketi","owner":{"login":"MohamedAshiqrh","id":11404465,"avatar_url":"https://avatars.githubusercontent.com/u/11404465?v=3","gravatar_id":"","url":"https://api.github.com/users/MohamedAshiqrh","html_url":"https://github.com/MohamedAshiqrh","followers_url":"https://api.github.com/users/MohamedAshiqrh/followers","following_url":"https://api.github.com/users/MohamedAshiqrh/following{/other_user}","gists_url":"https://api.github.com/users/MohamedAshiqrh/gists{/gist_id}","starred_url":"https://api.github.com/users/MohamedAshiqrh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MohamedAshiqrh/subscriptions","organizations_url":"https://api.github.com/users/MohamedAshiqrh/orgs","repos_url":"https://api.github.com/users/MohamedAshiqrh/repos","events_url":"https://api.github.com/users/MohamedAshiqrh/events{/privacy}","received_events_url":"https://api.github.com/users/MohamedAshiqrh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MohamedAshiqrh/heketi","description":"RESTful based volume management framework for GlusterFS","fork":true,"url":"https://api.github.com/repos/MohamedAshiqrh/heketi","forks_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/forks","keys_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/teams","hooks_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/hooks","issue_events_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/issues/events{/number}","events_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/events","assignees_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/assignees{/user}","branches_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/branches{/branch}","tags_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/tags","blobs_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/git/refs{/sha}","trees_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/statuses/{sha}","languages_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/languages","stargazers_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/stargazers","contributors_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/contributors","subscribers_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/subscribers","subscription_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/subscription","commits_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/commits{/sha}","git_commits_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/git/commits{/sha}","comments_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/comments{/number}","issue_comment_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/issues/comments{/number}","contents_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/contents/{+path}","compare_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/merges","archive_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/downloads","issues_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/issues{/number}","pulls_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/pulls{/number}","milestones_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/milestones{/number}","notifications_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/labels{/name}","releases_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/releases{/id}","deployments_url":"https://api.github.com/repos/MohamedAshiqrh/heketi/deployments","created_at":"2016-04-01T05:47:06Z","updated_at":"2016-04-01T05:47:07Z","pushed_at":"2017-02-22T10:33:30Z","git_url":"git://github.com/MohamedAshiqrh/heketi.git","ssh_url":"git@github.com:MohamedAshiqrh/heketi.git","clone_url":"https://github.com/MohamedAshiqrh/heketi.git","svn_url":"https://github.com/MohamedAshiqrh/heketi","homepage":"","size":10340,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"master"}},"base":{"label":"heketi:master","ref":"master","sha":"5d702fe45b1b53f7a078ef67033521cf185fc3ae","user":{"login":"heketi","id":12890374,"avatar_url":"https://avatars.githubusercontent.com/u/12890374?v=3","gravatar_id":"","url":"https://api.github.com/users/heketi","html_url":"https://github.com/heketi","followers_url":"https://api.github.com/users/heketi/followers","following_url":"https://api.github.com/users/heketi/following{/other_user}","gists_url":"https://api.github.com/users/heketi/gists{/gist_id}","starred_url":"https://api.github.com/users/heketi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heketi/subscriptions","organizations_url":"https://api.github.com/users/heketi/orgs","repos_url":"https://api.github.com/users/heketi/repos","events_url":"https://api.github.com/users/heketi/events{/privacy}","received_events_url":"https://api.github.com/users/heketi/received_events","type":"Organization","site_admin":false},"repo":{"id":37446835,"name":"heketi","full_name":"heketi/heketi","owner":{"login":"heketi","id":12890374,"avatar_url":"https://avatars.githubusercontent.com/u/12890374?v=3","gravatar_id":"","url":"https://api.github.com/users/heketi","html_url":"https://github.com/heketi","followers_url":"https://api.github.com/users/heketi/followers","following_url":"https://api.github.com/users/heketi/following{/other_user}","gists_url":"https://api.github.com/users/heketi/gists{/gist_id}","starred_url":"https://api.github.com/users/heketi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heketi/subscriptions","organizations_url":"https://api.github.com/users/heketi/orgs","repos_url":"https://api.github.com/users/heketi/repos","events_url":"https://api.github.com/users/heketi/events{/privacy}","received_events_url":"https://api.github.com/users/heketi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/heketi/heketi","description":"RESTful based volume management framework for GlusterFS","fork":false,"url":"https://api.github.com/repos/heketi/heketi","forks_url":"https://api.github.com/repos/heketi/heketi/forks","keys_url":"https://api.github.com/repos/heketi/heketi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heketi/heketi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heketi/heketi/teams","hooks_url":"https://api.github.com/repos/heketi/heketi/hooks","issue_events_url":"https://api.github.com/repos/heketi/heketi/issues/events{/number}","events_url":"https://api.github.com/repos/heketi/heketi/events","assignees_url":"https://api.github.com/repos/heketi/heketi/assignees{/user}","branches_url":"https://api.github.com/repos/heketi/heketi/branches{/branch}","tags_url":"https://api.github.com/repos/heketi/heketi/tags","blobs_url":"https://api.github.com/repos/heketi/heketi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heketi/heketi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heketi/heketi/git/refs{/sha}","trees_url":"https://api.github.com/repos/heketi/heketi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heketi/heketi/statuses/{sha}","languages_url":"https://api.github.com/repos/heketi/heketi/languages","stargazers_url":"https://api.github.com/repos/heketi/heketi/stargazers","contributors_url":"https://api.github.com/repos/heketi/heketi/contributors","subscribers_url":"https://api.github.com/repos/heketi/heketi/subscribers","subscription_url":"https://api.github.com/repos/heketi/heketi/subscription","commits_url":"https://api.github.com/repos/heketi/heketi/commits{/sha}","git_commits_url":"https://api.github.com/repos/heketi/heketi/git/commits{/sha}","comments_url":"https://api.github.com/repos/heketi/heketi/comments{/number}","issue_comment_url":"https://api.github.com/repos/heketi/heketi/issues/comments{/number}","contents_url":"https://api.github.com/repos/heketi/heketi/contents/{+path}","compare_url":"https://api.github.com/repos/heketi/heketi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heketi/heketi/merges","archive_url":"https://api.github.com/repos/heketi/heketi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heketi/heketi/downloads","issues_url":"https://api.github.com/repos/heketi/heketi/issues{/number}","pulls_url":"https://api.github.com/repos/heketi/heketi/pulls{/number}","milestones_url":"https://api.github.com/repos/heketi/heketi/milestones{/number}","notifications_url":"https://api.github.com/repos/heketi/heketi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heketi/heketi/labels{/name}","releases_url":"https://api.github.com/repos/heketi/heketi/releases{/id}","deployments_url":"https://api.github.com/repos/heketi/heketi/deployments","created_at":"2015-06-15T06:10:11Z","updated_at":"2017-02-22T11:01:41Z","pushed_at":"2017-02-23T02:59:43Z","git_url":"git://github.com/heketi/heketi.git","ssh_url":"git@github.com:heketi/heketi.git","clone_url":"https://github.com/heketi/heketi.git","svn_url":"https://github.com/heketi/heketi","homepage":"","size":10285,"stargazers_count":152,"watchers_count":152,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":51,"mirror_url":null,"open_issues_count":77,"forks":51,"open_issues":77,"watchers":152,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/heketi/heketi/pulls/676"},"html":{"href":"https://github.com/heketi/heketi/pull/676"},"issue":{"href":"https://api.github.com/repos/heketi/heketi/issues/676"},"comments":{"href":"https://api.github.com/repos/heketi/heketi/issues/676/comments"},"review_comments":{"href":"https://api.github.com/repos/heketi/heketi/pulls/676/comments"},"review_comment":{"href":"https://api.github.com/repos/heketi/heketi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/heketi/heketi/pulls/676/commits"},"statuses":{"href":"https://api.github.com/repos/heketi/heketi/statuses/cca2ac5858af6b52413afed5b4fd4752858ac70a"}}}}
{"actor":{"display_login":"raghavendra-talur"}}