{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/openshift-tools/pulls/comments/41638127","id":41638127,"diff_hunk":"@@ -0,0 +1,10 @@\n+#!/bin/bash","path":"scripts/monitoring/cron-send-user-running-pod-count.sh","position":1,"original_position":1,"commit_id":"74e2606afe46350cc052f30a74db29eca80b0965","original_commit_id":"74e2606afe46350cc052f30a74db29eca80b0965","user":{"login":"twiest","id":732867,"avatar_url":"https://avatars.githubusercontent.com/u/732867?v=3","gravatar_id":"","url":"https://api.github.com/users/twiest","html_url":"https://github.com/twiest","followers_url":"https://api.github.com/users/twiest/followers","following_url":"https://api.github.com/users/twiest/following{/other_user}","gists_url":"https://api.github.com/users/twiest/gists{/gist_id}","starred_url":"https://api.github.com/users/twiest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twiest/subscriptions","organizations_url":"https://api.github.com/users/twiest/orgs","repos_url":"https://api.github.com/users/twiest/repos","events_url":"https://api.github.com/users/twiest/events{/privacy}","received_events_url":"https://api.github.com/users/twiest/received_events","type":"User","site_admin":false},"body":"I suggest you change this to this:\r\n```\r\n#!/bin/bash -e\r\n```\r\n\r\nThat way any errors will exit the script.\r\n\r\nThen, ops-runner can alert us to the failure. Otherwise, you may exit with an exit code of 0, even though the script failed.","created_at":"2015-10-09T14:49:20Z","updated_at":"2015-10-09T14:49:20Z","html_url":"https://github.com/openshift/openshift-tools/pull/133#discussion_r41638127","pull_request_url":"https://api.github.com/repos/openshift/openshift-tools/pulls/133","_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-tools/pulls/comments/41638127"},"html":{"href":"https://github.com/openshift/openshift-tools/pull/133#discussion_r41638127"},"pull_request":{"href":"https://api.github.com/repos/openshift/openshift-tools/pulls/133"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/openshift-tools/pulls/133","id":46028160,"html_url":"https://github.com/openshift/openshift-tools/pull/133","diff_url":"https://github.com/openshift/openshift-tools/pull/133.diff","patch_url":"https://github.com/openshift/openshift-tools/pull/133.patch","issue_url":"https://api.github.com/repos/openshift/openshift-tools/issues/133","number":133,"state":"open","locked":false,"title":"[wip] Get accurate count of total user pods in a cluster","user":{"login":"BlueShells","id":7278445,"avatar_url":"https://avatars.githubusercontent.com/u/7278445?v=3","gravatar_id":"","url":"https://api.github.com/users/BlueShells","html_url":"https://github.com/BlueShells","followers_url":"https://api.github.com/users/BlueShells/followers","following_url":"https://api.github.com/users/BlueShells/following{/other_user}","gists_url":"https://api.github.com/users/BlueShells/gists{/gist_id}","starred_url":"https://api.github.com/users/BlueShells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlueShells/subscriptions","organizations_url":"https://api.github.com/users/BlueShells/orgs","repos_url":"https://api.github.com/users/BlueShells/repos","events_url":"https://api.github.com/users/BlueShells/events{/privacy}","received_events_url":"https://api.github.com/users/BlueShells/received_events","type":"User","site_admin":false},"body":"someone please help me check if I missed something ,I can get the through a mock script from the zagg-client ,but after I rebuild the zagg-client ,the cron job has been added ,but the script can't be found in the /usr/bin/ ,so that means the line the openshift-tools-scripts.spec haven't work,I don't know why @twiest ","created_at":"2015-09-25T15:59:15Z","updated_at":"2015-10-09T14:49:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dfb2b83dc8c6bfc215c410da9043b89671d1a21f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openshift/openshift-tools/pulls/133/commits","review_comments_url":"https://api.github.com/repos/openshift/openshift-tools/pulls/133/comments","review_comment_url":"https://api.github.com/repos/openshift/openshift-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/openshift-tools/issues/133/comments","statuses_url":"https://api.github.com/repos/openshift/openshift-tools/statuses/74e2606afe46350cc052f30a74db29eca80b0965","head":{"label":"BlueShells:Countuser","ref":"Countuser","sha":"74e2606afe46350cc052f30a74db29eca80b0965","user":{"login":"BlueShells","id":7278445,"avatar_url":"https://avatars.githubusercontent.com/u/7278445?v=3","gravatar_id":"","url":"https://api.github.com/users/BlueShells","html_url":"https://github.com/BlueShells","followers_url":"https://api.github.com/users/BlueShells/followers","following_url":"https://api.github.com/users/BlueShells/following{/other_user}","gists_url":"https://api.github.com/users/BlueShells/gists{/gist_id}","starred_url":"https://api.github.com/users/BlueShells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlueShells/subscriptions","organizations_url":"https://api.github.com/users/BlueShells/orgs","repos_url":"https://api.github.com/users/BlueShells/repos","events_url":"https://api.github.com/users/BlueShells/events{/privacy}","received_events_url":"https://api.github.com/users/BlueShells/received_events","type":"User","site_admin":false},"repo":{"id":42150665,"name":"openshift-tools","full_name":"BlueShells/openshift-tools","owner":{"login":"BlueShells","id":7278445,"avatar_url":"https://avatars.githubusercontent.com/u/7278445?v=3","gravatar_id":"","url":"https://api.github.com/users/BlueShells","html_url":"https://github.com/BlueShells","followers_url":"https://api.github.com/users/BlueShells/followers","following_url":"https://api.github.com/users/BlueShells/following{/other_user}","gists_url":"https://api.github.com/users/BlueShells/gists{/gist_id}","starred_url":"https://api.github.com/users/BlueShells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlueShells/subscriptions","organizations_url":"https://api.github.com/users/BlueShells/orgs","repos_url":"https://api.github.com/users/BlueShells/repos","events_url":"https://api.github.com/users/BlueShells/events{/privacy}","received_events_url":"https://api.github.com/users/BlueShells/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BlueShells/openshift-tools","description":"A public repository of scripts used by OpenShift Operations for various purposes","fork":true,"url":"https://api.github.com/repos/BlueShells/openshift-tools","forks_url":"https://api.github.com/repos/BlueShells/openshift-tools/forks","keys_url":"https://api.github.com/repos/BlueShells/openshift-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BlueShells/openshift-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BlueShells/openshift-tools/teams","hooks_url":"https://api.github.com/repos/BlueShells/openshift-tools/hooks","issue_events_url":"https://api.github.com/repos/BlueShells/openshift-tools/issues/events{/number}","events_url":"https://api.github.com/repos/BlueShells/openshift-tools/events","assignees_url":"https://api.github.com/repos/BlueShells/openshift-tools/assignees{/user}","branches_url":"https://api.github.com/repos/BlueShells/openshift-tools/branches{/branch}","tags_url":"https://api.github.com/repos/BlueShells/openshift-tools/tags","blobs_url":"https://api.github.com/repos/BlueShells/openshift-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BlueShells/openshift-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BlueShells/openshift-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/BlueShells/openshift-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BlueShells/openshift-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/BlueShells/openshift-tools/languages","stargazers_url":"https://api.github.com/repos/BlueShells/openshift-tools/stargazers","contributors_url":"https://api.github.com/repos/BlueShells/openshift-tools/contributors","subscribers_url":"https://api.github.com/repos/BlueShells/openshift-tools/subscribers","subscription_url":"https://api.github.com/repos/BlueShells/openshift-tools/subscription","commits_url":"https://api.github.com/repos/BlueShells/openshift-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/BlueShells/openshift-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/BlueShells/openshift-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/BlueShells/openshift-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/BlueShells/openshift-tools/contents/{+path}","compare_url":"https://api.github.com/repos/BlueShells/openshift-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BlueShells/openshift-tools/merges","archive_url":"https://api.github.com/repos/BlueShells/openshift-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BlueShells/openshift-tools/downloads","issues_url":"https://api.github.com/repos/BlueShells/openshift-tools/issues{/number}","pulls_url":"https://api.github.com/repos/BlueShells/openshift-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/BlueShells/openshift-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/BlueShells/openshift-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BlueShells/openshift-tools/labels{/name}","releases_url":"https://api.github.com/repos/BlueShells/openshift-tools/releases{/id}","created_at":"2015-09-09T02:15:59Z","updated_at":"2015-09-09T02:16:00Z","pushed_at":"2015-10-09T14:43:49Z","git_url":"git://github.com/BlueShells/openshift-tools.git","ssh_url":"git@github.com:BlueShells/openshift-tools.git","clone_url":"https://github.com/BlueShells/openshift-tools.git","svn_url":"https://github.com/BlueShells/openshift-tools","homepage":null,"size":1720,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"openshift:master","ref":"master","sha":"3c1cf60f0574417c9f733f10a2396ad8e0df53f8","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":36827699,"name":"openshift-tools","full_name":"openshift/openshift-tools","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/openshift-tools","description":"A public repository of scripts used by OpenShift Operations for various purposes","fork":false,"url":"https://api.github.com/repos/openshift/openshift-tools","forks_url":"https://api.github.com/repos/openshift/openshift-tools/forks","keys_url":"https://api.github.com/repos/openshift/openshift-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/openshift-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/openshift-tools/teams","hooks_url":"https://api.github.com/repos/openshift/openshift-tools/hooks","issue_events_url":"https://api.github.com/repos/openshift/openshift-tools/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/openshift-tools/events","assignees_url":"https://api.github.com/repos/openshift/openshift-tools/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/openshift-tools/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/openshift-tools/tags","blobs_url":"https://api.github.com/repos/openshift/openshift-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/openshift-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/openshift-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/openshift-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/openshift-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/openshift-tools/languages","stargazers_url":"https://api.github.com/repos/openshift/openshift-tools/stargazers","contributors_url":"https://api.github.com/repos/openshift/openshift-tools/contributors","subscribers_url":"https://api.github.com/repos/openshift/openshift-tools/subscribers","subscription_url":"https://api.github.com/repos/openshift/openshift-tools/subscription","commits_url":"https://api.github.com/repos/openshift/openshift-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/openshift-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/openshift-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/openshift-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/openshift-tools/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/openshift-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/openshift-tools/merges","archive_url":"https://api.github.com/repos/openshift/openshift-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/openshift-tools/downloads","issues_url":"https://api.github.com/repos/openshift/openshift-tools/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/openshift-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/openshift-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/openshift-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/openshift-tools/labels{/name}","releases_url":"https://api.github.com/repos/openshift/openshift-tools/releases{/id}","created_at":"2015-06-03T20:09:22Z","updated_at":"2015-09-06T20:02:58Z","pushed_at":"2015-10-09T14:43:50Z","git_url":"git://github.com/openshift/openshift-tools.git","ssh_url":"git@github.com:openshift/openshift-tools.git","clone_url":"https://github.com/openshift/openshift-tools.git","svn_url":"https://github.com/openshift/openshift-tools","homepage":null,"size":2672,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":4,"forks":15,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-tools/pulls/133"},"html":{"href":"https://github.com/openshift/openshift-tools/pull/133"},"issue":{"href":"https://api.github.com/repos/openshift/openshift-tools/issues/133"},"comments":{"href":"https://api.github.com/repos/openshift/openshift-tools/issues/133/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/openshift-tools/pulls/133/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/openshift-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/openshift-tools/pulls/133/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/openshift-tools/statuses/74e2606afe46350cc052f30a74db29eca80b0965"}}}}