{"action":"created","comment":{"url":"https://api.github.com/repos/openebs/litmus/pulls/comments/235607115","pull_request_review_id":177510313,"id":235607115,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTYwNzExNQ==","diff_hunk":"@@ -0,0 +1,41 @@\n+---\n+# This util derives the cstor pool pods corresponding to the PVC. The input parameters required are\n+#\n+#         - {{ pvc }} - Name of PVC.\n+#         - {{ namespace }} - Namespaces where application is deployed.\n+#         - {{ operator_namespace }} - Namespace where openebs is deployed.\n+#\n+- name: Derive PV name from PVC.\n+  shell: >\n+     kubectl get pvc {{ pvc }} -n {{ namespace }}\n+     --no-headers -o custom-columns=:spec.volumeName\n+  args:\n+    executable: /bin/bash\n+  register: pv\n+\n+- name: Obtaining the pool deployments from cvr.","path":"common/utils/fetch_cstor_pool_pods.yml","position":null,"original_position":16,"commit_id":"c782bf41e41da54c593cb0638048112e2cc70ee5","original_commit_id":"72d657d1779622efea50505517a3839033e5cfb9","user":{"login":"gprasath","id":32255588,"node_id":"MDQ6VXNlcjMyMjU1NTg4","avatar_url":"https://avatars0.githubusercontent.com/u/32255588?v=4","gravatar_id":"","url":"https://api.github.com/users/gprasath","html_url":"https://github.com/gprasath","followers_url":"https://api.github.com/users/gprasath/followers","following_url":"https://api.github.com/users/gprasath/following{/other_user}","gists_url":"https://api.github.com/users/gprasath/gists{/gist_id}","starred_url":"https://api.github.com/users/gprasath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gprasath/subscriptions","organizations_url":"https://api.github.com/users/gprasath/orgs","repos_url":"https://api.github.com/users/gprasath/repos","events_url":"https://api.github.com/users/gprasath/events{/privacy}","received_events_url":"https://api.github.com/users/gprasath/received_events","type":"User","site_admin":false},"body":"Moved inside openebs directory @ksatchit . Thanks","created_at":"2018-11-22T05:41:39Z","updated_at":"2018-11-22T05:41:39Z","html_url":"https://github.com/openebs/litmus/pull/387#discussion_r235607115","pull_request_url":"https://api.github.com/repos/openebs/litmus/pulls/387","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/openebs/litmus/pulls/comments/235607115"},"html":{"href":"https://github.com/openebs/litmus/pull/387#discussion_r235607115"},"pull_request":{"href":"https://api.github.com/repos/openebs/litmus/pulls/387"}},"in_reply_to_id":235605592},"pull_request":{"url":"https://api.github.com/repos/openebs/litmus/pulls/387","id":232641308,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNjQxMzA4","html_url":"https://github.com/openebs/litmus/pull/387","diff_url":"https://github.com/openebs/litmus/pull/387.diff","patch_url":"https://github.com/openebs/litmus/pull/387.patch","issue_url":"https://api.github.com/repos/openebs/litmus/issues/387","number":387,"state":"open","locked":false,"title":"Implemented utility which fetches pool pods corresponding to pvc.","user":{"login":"gprasath","id":32255588,"node_id":"MDQ6VXNlcjMyMjU1NTg4","avatar_url":"https://avatars0.githubusercontent.com/u/32255588?v=4","gravatar_id":"","url":"https://api.github.com/users/gprasath","html_url":"https://github.com/gprasath","followers_url":"https://api.github.com/users/gprasath/followers","following_url":"https://api.github.com/users/gprasath/following{/other_user}","gists_url":"https://api.github.com/users/gprasath/gists{/gist_id}","starred_url":"https://api.github.com/users/gprasath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gprasath/subscriptions","organizations_url":"https://api.github.com/users/gprasath/orgs","repos_url":"https://api.github.com/users/gprasath/repos","events_url":"https://api.github.com/users/gprasath/events{/privacy}","received_events_url":"https://api.github.com/users/gprasath/received_events","type":"User","site_admin":false},"body":"Signed-off-by: gprasath <giridhara.prasad@cloudbyte.com>\r\n\r\n**What this PR does / why we need it**:\r\n\r\n- This utility obtains the pool pods corresponding to the provided pvc.\r\n- Through PVC, obtaining its pv. Using PV, obtaining the pool deployments and its replicasets.\r\n- Finally obtaining the pool pods using replicasets.\r\n\r\nThis util can be used in litmusbooks wherever we need to obtain pool pods.","created_at":"2018-11-21T12:11:34Z","updated_at":"2018-11-22T05:41:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b8fec733b8f69c08f7c8a6f3b36f4c97a40555a4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openebs/litmus/pulls/387/commits","review_comments_url":"https://api.github.com/repos/openebs/litmus/pulls/387/comments","review_comment_url":"https://api.github.com/repos/openebs/litmus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openebs/litmus/issues/387/comments","statuses_url":"https://api.github.com/repos/openebs/litmus/statuses/c782bf41e41da54c593cb0638048112e2cc70ee5","head":{"label":"gprasath:pool_util","ref":"pool_util","sha":"c782bf41e41da54c593cb0638048112e2cc70ee5","user":{"login":"gprasath","id":32255588,"node_id":"MDQ6VXNlcjMyMjU1NTg4","avatar_url":"https://avatars0.githubusercontent.com/u/32255588?v=4","gravatar_id":"","url":"https://api.github.com/users/gprasath","html_url":"https://github.com/gprasath","followers_url":"https://api.github.com/users/gprasath/followers","following_url":"https://api.github.com/users/gprasath/following{/other_user}","gists_url":"https://api.github.com/users/gprasath/gists{/gist_id}","starred_url":"https://api.github.com/users/gprasath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gprasath/subscriptions","organizations_url":"https://api.github.com/users/gprasath/orgs","repos_url":"https://api.github.com/users/gprasath/repos","events_url":"https://api.github.com/users/gprasath/events{/privacy}","received_events_url":"https://api.github.com/users/gprasath/received_events","type":"User","site_admin":false},"repo":{"id":145690775,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU2OTA3NzU=","name":"litmus","full_name":"gprasath/litmus","private":false,"owner":{"login":"gprasath","id":32255588,"node_id":"MDQ6VXNlcjMyMjU1NTg4","avatar_url":"https://avatars0.githubusercontent.com/u/32255588?v=4","gravatar_id":"","url":"https://api.github.com/users/gprasath","html_url":"https://github.com/gprasath","followers_url":"https://api.github.com/users/gprasath/followers","following_url":"https://api.github.com/users/gprasath/following{/other_user}","gists_url":"https://api.github.com/users/gprasath/gists{/gist_id}","starred_url":"https://api.github.com/users/gprasath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gprasath/subscriptions","organizations_url":"https://api.github.com/users/gprasath/orgs","repos_url":"https://api.github.com/users/gprasath/repos","events_url":"https://api.github.com/users/gprasath/events{/privacy}","received_events_url":"https://api.github.com/users/gprasath/received_events","type":"User","site_admin":false},"html_url":"https://github.com/gprasath/litmus","description":"Litmus is chaos engineering for stateful workloads on Kubernetes, hopefully without learning curves","fork":true,"url":"https://api.github.com/repos/gprasath/litmus","forks_url":"https://api.github.com/repos/gprasath/litmus/forks","keys_url":"https://api.github.com/repos/gprasath/litmus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gprasath/litmus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gprasath/litmus/teams","hooks_url":"https://api.github.com/repos/gprasath/litmus/hooks","issue_events_url":"https://api.github.com/repos/gprasath/litmus/issues/events{/number}","events_url":"https://api.github.com/repos/gprasath/litmus/events","assignees_url":"https://api.github.com/repos/gprasath/litmus/assignees{/user}","branches_url":"https://api.github.com/repos/gprasath/litmus/branches{/branch}","tags_url":"https://api.github.com/repos/gprasath/litmus/tags","blobs_url":"https://api.github.com/repos/gprasath/litmus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gprasath/litmus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gprasath/litmus/git/refs{/sha}","trees_url":"https://api.github.com/repos/gprasath/litmus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gprasath/litmus/statuses/{sha}","languages_url":"https://api.github.com/repos/gprasath/litmus/languages","stargazers_url":"https://api.github.com/repos/gprasath/litmus/stargazers","contributors_url":"https://api.github.com/repos/gprasath/litmus/contributors","subscribers_url":"https://api.github.com/repos/gprasath/litmus/subscribers","subscription_url":"https://api.github.com/repos/gprasath/litmus/subscription","commits_url":"https://api.github.com/repos/gprasath/litmus/commits{/sha}","git_commits_url":"https://api.github.com/repos/gprasath/litmus/git/commits{/sha}","comments_url":"https://api.github.com/repos/gprasath/litmus/comments{/number}","issue_comment_url":"https://api.github.com/repos/gprasath/litmus/issues/comments{/number}","contents_url":"https://api.github.com/repos/gprasath/litmus/contents/{+path}","compare_url":"https://api.github.com/repos/gprasath/litmus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gprasath/litmus/merges","archive_url":"https://api.github.com/repos/gprasath/litmus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gprasath/litmus/downloads","issues_url":"https://api.github.com/repos/gprasath/litmus/issues{/number}","pulls_url":"https://api.github.com/repos/gprasath/litmus/pulls{/number}","milestones_url":"https://api.github.com/repos/gprasath/litmus/milestones{/number}","notifications_url":"https://api.github.com/repos/gprasath/litmus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gprasath/litmus/labels{/name}","releases_url":"https://api.github.com/repos/gprasath/litmus/releases{/id}","deployments_url":"https://api.github.com/repos/gprasath/litmus/deployments","created_at":"2018-08-22T10:01:15Z","updated_at":"2018-10-30T06:07:09Z","pushed_at":"2018-11-22T05:41:05Z","git_url":"git://github.com/gprasath/litmus.git","ssh_url":"git@github.com:gprasath/litmus.git","clone_url":"https://github.com/gprasath/litmus.git","svn_url":"https://github.com/gprasath/litmus","homepage":"https://www.openebs.io/litmus","size":11482,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openebs:master","ref":"master","sha":"7b8875bcfaeb6544667419d477be682c0540bf52","user":{"login":"openebs","id":20769039,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNzY5MDM5","avatar_url":"https://avatars0.githubusercontent.com/u/20769039?v=4","gravatar_id":"","url":"https://api.github.com/users/openebs","html_url":"https://github.com/openebs","followers_url":"https://api.github.com/users/openebs/followers","following_url":"https://api.github.com/users/openebs/following{/other_user}","gists_url":"https://api.github.com/users/openebs/gists{/gist_id}","starred_url":"https://api.github.com/users/openebs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openebs/subscriptions","organizations_url":"https://api.github.com/users/openebs/orgs","repos_url":"https://api.github.com/users/openebs/repos","events_url":"https://api.github.com/users/openebs/events{/privacy}","received_events_url":"https://api.github.com/users/openebs/received_events","type":"Organization","site_admin":false},"repo":{"id":85039965,"node_id":"MDEwOlJlcG9zaXRvcnk4NTAzOTk2NQ==","name":"litmus","full_name":"openebs/litmus","private":false,"owner":{"login":"openebs","id":20769039,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNzY5MDM5","avatar_url":"https://avatars0.githubusercontent.com/u/20769039?v=4","gravatar_id":"","url":"https://api.github.com/users/openebs","html_url":"https://github.com/openebs","followers_url":"https://api.github.com/users/openebs/followers","following_url":"https://api.github.com/users/openebs/following{/other_user}","gists_url":"https://api.github.com/users/openebs/gists{/gist_id}","starred_url":"https://api.github.com/users/openebs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openebs/subscriptions","organizations_url":"https://api.github.com/users/openebs/orgs","repos_url":"https://api.github.com/users/openebs/repos","events_url":"https://api.github.com/users/openebs/events{/privacy}","received_events_url":"https://api.github.com/users/openebs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/openebs/litmus","description":"Litmus is chaos engineering for stateful workloads on Kubernetes, hopefully without learning curves","fork":false,"url":"https://api.github.com/repos/openebs/litmus","forks_url":"https://api.github.com/repos/openebs/litmus/forks","keys_url":"https://api.github.com/repos/openebs/litmus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openebs/litmus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openebs/litmus/teams","hooks_url":"https://api.github.com/repos/openebs/litmus/hooks","issue_events_url":"https://api.github.com/repos/openebs/litmus/issues/events{/number}","events_url":"https://api.github.com/repos/openebs/litmus/events","assignees_url":"https://api.github.com/repos/openebs/litmus/assignees{/user}","branches_url":"https://api.github.com/repos/openebs/litmus/branches{/branch}","tags_url":"https://api.github.com/repos/openebs/litmus/tags","blobs_url":"https://api.github.com/repos/openebs/litmus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openebs/litmus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openebs/litmus/git/refs{/sha}","trees_url":"https://api.github.com/repos/openebs/litmus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openebs/litmus/statuses/{sha}","languages_url":"https://api.github.com/repos/openebs/litmus/languages","stargazers_url":"https://api.github.com/repos/openebs/litmus/stargazers","contributors_url":"https://api.github.com/repos/openebs/litmus/contributors","subscribers_url":"https://api.github.com/repos/openebs/litmus/subscribers","subscription_url":"https://api.github.com/repos/openebs/litmus/subscription","commits_url":"https://api.github.com/repos/openebs/litmus/commits{/sha}","git_commits_url":"https://api.github.com/repos/openebs/litmus/git/commits{/sha}","comments_url":"https://api.github.com/repos/openebs/litmus/comments{/number}","issue_comment_url":"https://api.github.com/repos/openebs/litmus/issues/comments{/number}","contents_url":"https://api.github.com/repos/openebs/litmus/contents/{+path}","compare_url":"https://api.github.com/repos/openebs/litmus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openebs/litmus/merges","archive_url":"https://api.github.com/repos/openebs/litmus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openebs/litmus/downloads","issues_url":"https://api.github.com/repos/openebs/litmus/issues{/number}","pulls_url":"https://api.github.com/repos/openebs/litmus/pulls{/number}","milestones_url":"https://api.github.com/repos/openebs/litmus/milestones{/number}","notifications_url":"https://api.github.com/repos/openebs/litmus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openebs/litmus/labels{/name}","releases_url":"https://api.github.com/repos/openebs/litmus/releases{/id}","deployments_url":"https://api.github.com/repos/openebs/litmus/deployments","created_at":"2017-03-15T07:02:59Z","updated_at":"2018-11-21T08:52:56Z","pushed_at":"2018-11-22T05:41:07Z","git_url":"git://github.com/openebs/litmus.git","ssh_url":"git@github.com:openebs/litmus.git","clone_url":"https://github.com/openebs/litmus.git","svn_url":"https://github.com/openebs/litmus","homepage":"https://www.openebs.io/litmus","size":11452,"stargazers_count":118,"watchers_count":118,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":80,"mirror_url":null,"archived":false,"open_issues_count":49,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":80,"open_issues":49,"watchers":118,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openebs/litmus/pulls/387"},"html":{"href":"https://github.com/openebs/litmus/pull/387"},"issue":{"href":"https://api.github.com/repos/openebs/litmus/issues/387"},"comments":{"href":"https://api.github.com/repos/openebs/litmus/issues/387/comments"},"review_comments":{"href":"https://api.github.com/repos/openebs/litmus/pulls/387/comments"},"review_comment":{"href":"https://api.github.com/repos/openebs/litmus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openebs/litmus/pulls/387/commits"},"statuses":{"href":"https://api.github.com/repos/openebs/litmus/statuses/c782bf41e41da54c593cb0638048112e2cc70ee5"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"gprasath"}}