{"action":"created","comment":{"url":"https://api.github.com/repos/openebs/litmus/pulls/comments/209157593","pull_request_review_id":145118128,"id":209157593,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTE1NzU5Mw==","diff_hunk":"@@ -46,7 +46,7 @@ def checkCluster(node_count):\n     while True:\n         try:\n             count = get_node_status(node_count)\n-            if count == int(node_count) + 1: # +1 master node\n+            if count == int(node_count):","path":"k8s/utils/health/cluster_health_check.py","position":null,"original_position":14,"commit_id":"aa74cc97b7f270ef59df592a1ee5feee50c54059","original_commit_id":"aa74cc97b7f270ef59df592a1ee5feee50c54059","user":{"login":"ksatchit","id":21166217,"node_id":"MDQ6VXNlcjIxMTY2MjE3","avatar_url":"https://avatars0.githubusercontent.com/u/21166217?v=4","gravatar_id":"","url":"https://api.github.com/users/ksatchit","html_url":"https://github.com/ksatchit","followers_url":"https://api.github.com/users/ksatchit/followers","following_url":"https://api.github.com/users/ksatchit/following{/other_user}","gists_url":"https://api.github.com/users/ksatchit/gists{/gist_id}","starred_url":"https://api.github.com/users/ksatchit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksatchit/subscriptions","organizations_url":"https://api.github.com/users/ksatchit/orgs","repos_url":"https://api.github.com/users/ksatchit/repos","events_url":"https://api.github.com/users/ksatchit/events{/privacy}","received_events_url":"https://api.github.com/users/ksatchit/received_events","type":"User","site_admin":false},"body":"IMO, should be good to get a fairly accurate count of nodes/state of cluster. The client APIs going through - itself in a way is indicative of availability of *master* (in both cases where master(s) are present or *masterless* clusters like GKE )","created_at":"2018-08-10T06:37:54Z","updated_at":"2018-08-10T06:37:54Z","html_url":"https://github.com/openebs/litmus/pull/82#discussion_r209157593","pull_request_url":"https://api.github.com/repos/openebs/litmus/pulls/82","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/openebs/litmus/pulls/comments/209157593"},"html":{"href":"https://github.com/openebs/litmus/pull/82#discussion_r209157593"},"pull_request":{"href":"https://api.github.com/repos/openebs/litmus/pulls/82"}}},"pull_request":{"url":"https://api.github.com/repos/openebs/litmus/pulls/82","id":205815724,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1ODE1NzI0","html_url":"https://github.com/openebs/litmus/pull/82","diff_url":"https://github.com/openebs/litmus/pull/82.diff","patch_url":"https://github.com/openebs/litmus/pull/82.patch","issue_url":"https://api.github.com/repos/openebs/litmus/issues/82","number":82,"state":"open","locked":false,"title":"Add cluster liveliness check in create-k8s-cluster.yml","user":{"login":"harshvkarn","id":18168330,"node_id":"MDQ6VXNlcjE4MTY4MzMw","avatar_url":"https://avatars0.githubusercontent.com/u/18168330?v=4","gravatar_id":"","url":"https://api.github.com/users/harshvkarn","html_url":"https://github.com/harshvkarn","followers_url":"https://api.github.com/users/harshvkarn/followers","following_url":"https://api.github.com/users/harshvkarn/following{/other_user}","gists_url":"https://api.github.com/users/harshvkarn/gists{/gist_id}","starred_url":"https://api.github.com/users/harshvkarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshvkarn/subscriptions","organizations_url":"https://api.github.com/users/harshvkarn/orgs","repos_url":"https://api.github.com/users/harshvkarn/repos","events_url":"https://api.github.com/users/harshvkarn/events{/privacy}","received_events_url":"https://api.github.com/users/harshvkarn/received_events","type":"User","site_admin":false},"body":"- Add `cluster_health_check.py` file, that halts the playbook until cluster is ready to use\r\n- Add this check at the end of creating cluster in the playbook\r\n- Move all common files used by all platforms to common directory, i.e. `k8s/utils/`\r\n\r\nSigned-off-by: harshvkarn <harshvkarn54@gmail.com>\r\n","created_at":"2018-08-02T18:00:47Z","updated_at":"2018-08-10T06:37:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6fe9eebffc535a5e14a7cb17d673620326f05fbe","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openebs/litmus/pulls/82/commits","review_comments_url":"https://api.github.com/repos/openebs/litmus/pulls/82/comments","review_comment_url":"https://api.github.com/repos/openebs/litmus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openebs/litmus/issues/82/comments","statuses_url":"https://api.github.com/repos/openebs/litmus/statuses/aa74cc97b7f270ef59df592a1ee5feee50c54059","head":{"label":"harshvkarn:gcp-k8s","ref":"gcp-k8s","sha":"aa74cc97b7f270ef59df592a1ee5feee50c54059","user":{"login":"harshvkarn","id":18168330,"node_id":"MDQ6VXNlcjE4MTY4MzMw","avatar_url":"https://avatars0.githubusercontent.com/u/18168330?v=4","gravatar_id":"","url":"https://api.github.com/users/harshvkarn","html_url":"https://github.com/harshvkarn","followers_url":"https://api.github.com/users/harshvkarn/followers","following_url":"https://api.github.com/users/harshvkarn/following{/other_user}","gists_url":"https://api.github.com/users/harshvkarn/gists{/gist_id}","starred_url":"https://api.github.com/users/harshvkarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshvkarn/subscriptions","organizations_url":"https://api.github.com/users/harshvkarn/orgs","repos_url":"https://api.github.com/users/harshvkarn/repos","events_url":"https://api.github.com/users/harshvkarn/events{/privacy}","received_events_url":"https://api.github.com/users/harshvkarn/received_events","type":"User","site_admin":false},"repo":{"id":142133478,"node_id":"MDEwOlJlcG9zaXRvcnkxNDIxMzM0Nzg=","name":"litmus","full_name":"harshvkarn/litmus","owner":{"login":"harshvkarn","id":18168330,"node_id":"MDQ6VXNlcjE4MTY4MzMw","avatar_url":"https://avatars0.githubusercontent.com/u/18168330?v=4","gravatar_id":"","url":"https://api.github.com/users/harshvkarn","html_url":"https://github.com/harshvkarn","followers_url":"https://api.github.com/users/harshvkarn/followers","following_url":"https://api.github.com/users/harshvkarn/following{/other_user}","gists_url":"https://api.github.com/users/harshvkarn/gists{/gist_id}","starred_url":"https://api.github.com/users/harshvkarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshvkarn/subscriptions","organizations_url":"https://api.github.com/users/harshvkarn/orgs","repos_url":"https://api.github.com/users/harshvkarn/repos","events_url":"https://api.github.com/users/harshvkarn/events{/privacy}","received_events_url":"https://api.github.com/users/harshvkarn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/harshvkarn/litmus","description":"Litmus is chaos engineering for stateful workloads on Kubernetes, hopefully without learning curves","fork":true,"url":"https://api.github.com/repos/harshvkarn/litmus","forks_url":"https://api.github.com/repos/harshvkarn/litmus/forks","keys_url":"https://api.github.com/repos/harshvkarn/litmus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/harshvkarn/litmus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/harshvkarn/litmus/teams","hooks_url":"https://api.github.com/repos/harshvkarn/litmus/hooks","issue_events_url":"https://api.github.com/repos/harshvkarn/litmus/issues/events{/number}","events_url":"https://api.github.com/repos/harshvkarn/litmus/events","assignees_url":"https://api.github.com/repos/harshvkarn/litmus/assignees{/user}","branches_url":"https://api.github.com/repos/harshvkarn/litmus/branches{/branch}","tags_url":"https://api.github.com/repos/harshvkarn/litmus/tags","blobs_url":"https://api.github.com/repos/harshvkarn/litmus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/harshvkarn/litmus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/harshvkarn/litmus/git/refs{/sha}","trees_url":"https://api.github.com/repos/harshvkarn/litmus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/harshvkarn/litmus/statuses/{sha}","languages_url":"https://api.github.com/repos/harshvkarn/litmus/languages","stargazers_url":"https://api.github.com/repos/harshvkarn/litmus/stargazers","contributors_url":"https://api.github.com/repos/harshvkarn/litmus/contributors","subscribers_url":"https://api.github.com/repos/harshvkarn/litmus/subscribers","subscription_url":"https://api.github.com/repos/harshvkarn/litmus/subscription","commits_url":"https://api.github.com/repos/harshvkarn/litmus/commits{/sha}","git_commits_url":"https://api.github.com/repos/harshvkarn/litmus/git/commits{/sha}","comments_url":"https://api.github.com/repos/harshvkarn/litmus/comments{/number}","issue_comment_url":"https://api.github.com/repos/harshvkarn/litmus/issues/comments{/number}","contents_url":"https://api.github.com/repos/harshvkarn/litmus/contents/{+path}","compare_url":"https://api.github.com/repos/harshvkarn/litmus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/harshvkarn/litmus/merges","archive_url":"https://api.github.com/repos/harshvkarn/litmus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/harshvkarn/litmus/downloads","issues_url":"https://api.github.com/repos/harshvkarn/litmus/issues{/number}","pulls_url":"https://api.github.com/repos/harshvkarn/litmus/pulls{/number}","milestones_url":"https://api.github.com/repos/harshvkarn/litmus/milestones{/number}","notifications_url":"https://api.github.com/repos/harshvkarn/litmus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/harshvkarn/litmus/labels{/name}","releases_url":"https://api.github.com/repos/harshvkarn/litmus/releases{/id}","deployments_url":"https://api.github.com/repos/harshvkarn/litmus/deployments","created_at":"2018-07-24T09:07:16Z","updated_at":"2018-07-31T06:34:27Z","pushed_at":"2018-08-07T06:59:43Z","git_url":"git://github.com/harshvkarn/litmus.git","ssh_url":"git@github.com:harshvkarn/litmus.git","clone_url":"https://github.com/harshvkarn/litmus.git","svn_url":"https://github.com/harshvkarn/litmus","homepage":"https://www.openebs.io/litmus","size":10808,"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":"d628886ccf4b8063102b7d041ff2d134bb569e67","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","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},"private":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-08-10T03:44:39Z","pushed_at":"2018-08-10T03:44:37Z","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":10825,"stargazers_count":68,"watchers_count":68,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":29,"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":21,"open_issues":29,"watchers":68,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openebs/litmus/pulls/82"},"html":{"href":"https://github.com/openebs/litmus/pull/82"},"issue":{"href":"https://api.github.com/repos/openebs/litmus/issues/82"},"comments":{"href":"https://api.github.com/repos/openebs/litmus/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/openebs/litmus/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/openebs/litmus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openebs/litmus/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/openebs/litmus/statuses/aa74cc97b7f270ef59df592a1ee5feee50c54059"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"ksatchit"}}