{"action":"created","comment":{"url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/pulls/comments/203466931","pull_request_review_id":138360700,"id":203466931,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzQ2NjkzMQ==","diff_hunk":"@@ -1,73 +1,108 @@\n # vi: set ft=ruby :\n \n require 'etc'\n+require 'socket'\n+\n+if ENV['JENKINS'] == 'true'\n+  ci_cluster = true\n+  fqdn = Socket.gethostname\n+  dot = fqdn.index('.')\n+  hostname = fqdn[0..dot - 1]\n+  domain = fqdn[dot + 1..-1]\n+  mach_num = hostname[hostname.index(\"-\") + 1..-1]\n+  cluster_num = 0\n+  if cluster_num == 0","path":"Vagrantfile","position":14,"original_position":14,"commit_id":"4605d0ace38e16fda5ed0c60ce85f08f468f4a9e","original_commit_id":"3743d1f9507570d8ede1089062331541ff366129","user":{"login":"johnsonw","id":1100657,"node_id":"MDQ6VXNlcjExMDA2NTc=","avatar_url":"https://avatars0.githubusercontent.com/u/1100657?v=4","gravatar_id":"","url":"https://api.github.com/users/johnsonw","html_url":"https://github.com/johnsonw","followers_url":"https://api.github.com/users/johnsonw/followers","following_url":"https://api.github.com/users/johnsonw/following{/other_user}","gists_url":"https://api.github.com/users/johnsonw/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsonw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsonw/subscriptions","organizations_url":"https://api.github.com/users/johnsonw/orgs","repos_url":"https://api.github.com/users/johnsonw/repos","events_url":"https://api.github.com/users/johnsonw/events{/privacy}","received_events_url":"https://api.github.com/users/johnsonw/received_events","type":"User","site_admin":false},"body":"Isn't cluster_num always 0? ","created_at":"2018-07-18T17:35:26Z","updated_at":"2018-07-18T17:40:03Z","html_url":"https://github.com/whamcloud/integrated-manager-for-lustre/pull/684#discussion_r203466931","pull_request_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/pulls/684","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/pulls/comments/203466931"},"html":{"href":"https://github.com/whamcloud/integrated-manager-for-lustre/pull/684#discussion_r203466931"},"pull_request":{"href":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/pulls/684"}}},"pull_request":{"url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/pulls/684","id":201137607,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxMTM3NjA3","html_url":"https://github.com/whamcloud/integrated-manager-for-lustre/pull/684","diff_url":"https://github.com/whamcloud/integrated-manager-for-lustre/pull/684.diff","patch_url":"https://github.com/whamcloud/integrated-manager-for-lustre/pull/684.patch","issue_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/issues/684","number":684,"state":"open","locked":false,"title":"Vagrant provisioning rebased","user":{"login":"jgrund","id":458717,"node_id":"MDQ6VXNlcjQ1ODcxNw==","avatar_url":"https://avatars0.githubusercontent.com/u/458717?v=4","gravatar_id":"","url":"https://api.github.com/users/jgrund","html_url":"https://github.com/jgrund","followers_url":"https://api.github.com/users/jgrund/followers","following_url":"https://api.github.com/users/jgrund/following{/other_user}","gists_url":"https://api.github.com/users/jgrund/gists{/gist_id}","starred_url":"https://api.github.com/users/jgrund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgrund/subscriptions","organizations_url":"https://api.github.com/users/jgrund/orgs","repos_url":"https://api.github.com/users/jgrund/repos","events_url":"https://api.github.com/users/jgrund/events{/privacy}","received_events_url":"https://api.github.com/users/jgrund/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-12T22:00:09Z","updated_at":"2018-07-18T17:40:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1286a274edfd606c08f8d8024d820bca92418fd1","assignee":{"login":"brianjmurrell","id":559317,"node_id":"MDQ6VXNlcjU1OTMxNw==","avatar_url":"https://avatars3.githubusercontent.com/u/559317?v=4","gravatar_id":"","url":"https://api.github.com/users/brianjmurrell","html_url":"https://github.com/brianjmurrell","followers_url":"https://api.github.com/users/brianjmurrell/followers","following_url":"https://api.github.com/users/brianjmurrell/following{/other_user}","gists_url":"https://api.github.com/users/brianjmurrell/gists{/gist_id}","starred_url":"https://api.github.com/users/brianjmurrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianjmurrell/subscriptions","organizations_url":"https://api.github.com/users/brianjmurrell/orgs","repos_url":"https://api.github.com/users/brianjmurrell/repos","events_url":"https://api.github.com/users/brianjmurrell/events{/privacy}","received_events_url":"https://api.github.com/users/brianjmurrell/received_events","type":"User","site_admin":false},"assignees":[{"login":"brianjmurrell","id":559317,"node_id":"MDQ6VXNlcjU1OTMxNw==","avatar_url":"https://avatars3.githubusercontent.com/u/559317?v=4","gravatar_id":"","url":"https://api.github.com/users/brianjmurrell","html_url":"https://github.com/brianjmurrell","followers_url":"https://api.github.com/users/brianjmurrell/followers","following_url":"https://api.github.com/users/brianjmurrell/following{/other_user}","gists_url":"https://api.github.com/users/brianjmurrell/gists{/gist_id}","starred_url":"https://api.github.com/users/brianjmurrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianjmurrell/subscriptions","organizations_url":"https://api.github.com/users/brianjmurrell/orgs","repos_url":"https://api.github.com/users/brianjmurrell/repos","events_url":"https://api.github.com/users/brianjmurrell/events{/privacy}","received_events_url":"https://api.github.com/users/brianjmurrell/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/pulls/684/commits","review_comments_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/pulls/684/comments","review_comment_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/pulls/comments{/number}","comments_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/issues/684/comments","statuses_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/statuses/4605d0ace38e16fda5ed0c60ce85f08f468f4a9e","head":{"label":"whamcloud:vagrant-provisioning-ssi","ref":"vagrant-provisioning-ssi","sha":"4605d0ace38e16fda5ed0c60ce85f08f468f4a9e","user":{"login":"whamcloud","id":20727479,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNzI3NDc5","avatar_url":"https://avatars3.githubusercontent.com/u/20727479?v=4","gravatar_id":"","url":"https://api.github.com/users/whamcloud","html_url":"https://github.com/whamcloud","followers_url":"https://api.github.com/users/whamcloud/followers","following_url":"https://api.github.com/users/whamcloud/following{/other_user}","gists_url":"https://api.github.com/users/whamcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/whamcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whamcloud/subscriptions","organizations_url":"https://api.github.com/users/whamcloud/orgs","repos_url":"https://api.github.com/users/whamcloud/repos","events_url":"https://api.github.com/users/whamcloud/events{/privacy}","received_events_url":"https://api.github.com/users/whamcloud/received_events","type":"Organization","site_admin":false},"repo":{"id":89255289,"node_id":"MDEwOlJlcG9zaXRvcnk4OTI1NTI4OQ==","name":"integrated-manager-for-lustre","full_name":"whamcloud/integrated-manager-for-lustre","owner":{"login":"whamcloud","id":20727479,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNzI3NDc5","avatar_url":"https://avatars3.githubusercontent.com/u/20727479?v=4","gravatar_id":"","url":"https://api.github.com/users/whamcloud","html_url":"https://github.com/whamcloud","followers_url":"https://api.github.com/users/whamcloud/followers","following_url":"https://api.github.com/users/whamcloud/following{/other_user}","gists_url":"https://api.github.com/users/whamcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/whamcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whamcloud/subscriptions","organizations_url":"https://api.github.com/users/whamcloud/orgs","repos_url":"https://api.github.com/users/whamcloud/repos","events_url":"https://api.github.com/users/whamcloud/events{/privacy}","received_events_url":"https://api.github.com/users/whamcloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/whamcloud/integrated-manager-for-lustre","description":"Integrated Manager for Lustre","fork":false,"url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre","forks_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/forks","keys_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/teams","hooks_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/hooks","issue_events_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/issues/events{/number}","events_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/events","assignees_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/assignees{/user}","branches_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/branches{/branch}","tags_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/tags","blobs_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/git/refs{/sha}","trees_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/statuses/{sha}","languages_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/languages","stargazers_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/stargazers","contributors_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/contributors","subscribers_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/subscribers","subscription_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/subscription","commits_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/commits{/sha}","git_commits_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/git/commits{/sha}","comments_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/comments{/number}","issue_comment_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/issues/comments{/number}","contents_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/contents/{+path}","compare_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/merges","archive_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/downloads","issues_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/issues{/number}","pulls_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/pulls{/number}","milestones_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/milestones{/number}","notifications_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/labels{/name}","releases_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/releases{/id}","deployments_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/deployments","created_at":"2017-04-24T15:12:54Z","updated_at":"2018-07-17T16:19:37Z","pushed_at":"2018-07-18T17:32:39Z","git_url":"git://github.com/whamcloud/integrated-manager-for-lustre.git","ssh_url":"git@github.com:whamcloud/integrated-manager-for-lustre.git","clone_url":"https://github.com/whamcloud/integrated-manager-for-lustre.git","svn_url":"https://github.com/whamcloud/integrated-manager-for-lustre","homepage":"https://whamcloud.github.io/Online-Help/","size":74086,"stargazers_count":23,"watchers_count":23,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":93,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":18,"open_issues":93,"watchers":23,"default_branch":"master"}},"base":{"label":"whamcloud:master","ref":"master","sha":"5f9f2bd4edaee897740a5b428fdbcdac2b72d3ba","user":{"login":"whamcloud","id":20727479,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNzI3NDc5","avatar_url":"https://avatars3.githubusercontent.com/u/20727479?v=4","gravatar_id":"","url":"https://api.github.com/users/whamcloud","html_url":"https://github.com/whamcloud","followers_url":"https://api.github.com/users/whamcloud/followers","following_url":"https://api.github.com/users/whamcloud/following{/other_user}","gists_url":"https://api.github.com/users/whamcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/whamcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whamcloud/subscriptions","organizations_url":"https://api.github.com/users/whamcloud/orgs","repos_url":"https://api.github.com/users/whamcloud/repos","events_url":"https://api.github.com/users/whamcloud/events{/privacy}","received_events_url":"https://api.github.com/users/whamcloud/received_events","type":"Organization","site_admin":false},"repo":{"id":89255289,"node_id":"MDEwOlJlcG9zaXRvcnk4OTI1NTI4OQ==","name":"integrated-manager-for-lustre","full_name":"whamcloud/integrated-manager-for-lustre","owner":{"login":"whamcloud","id":20727479,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNzI3NDc5","avatar_url":"https://avatars3.githubusercontent.com/u/20727479?v=4","gravatar_id":"","url":"https://api.github.com/users/whamcloud","html_url":"https://github.com/whamcloud","followers_url":"https://api.github.com/users/whamcloud/followers","following_url":"https://api.github.com/users/whamcloud/following{/other_user}","gists_url":"https://api.github.com/users/whamcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/whamcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whamcloud/subscriptions","organizations_url":"https://api.github.com/users/whamcloud/orgs","repos_url":"https://api.github.com/users/whamcloud/repos","events_url":"https://api.github.com/users/whamcloud/events{/privacy}","received_events_url":"https://api.github.com/users/whamcloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/whamcloud/integrated-manager-for-lustre","description":"Integrated Manager for Lustre","fork":false,"url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre","forks_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/forks","keys_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/teams","hooks_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/hooks","issue_events_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/issues/events{/number}","events_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/events","assignees_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/assignees{/user}","branches_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/branches{/branch}","tags_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/tags","blobs_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/git/refs{/sha}","trees_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/statuses/{sha}","languages_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/languages","stargazers_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/stargazers","contributors_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/contributors","subscribers_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/subscribers","subscription_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/subscription","commits_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/commits{/sha}","git_commits_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/git/commits{/sha}","comments_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/comments{/number}","issue_comment_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/issues/comments{/number}","contents_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/contents/{+path}","compare_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/merges","archive_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/downloads","issues_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/issues{/number}","pulls_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/pulls{/number}","milestones_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/milestones{/number}","notifications_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/labels{/name}","releases_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/releases{/id}","deployments_url":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/deployments","created_at":"2017-04-24T15:12:54Z","updated_at":"2018-07-17T16:19:37Z","pushed_at":"2018-07-18T17:32:39Z","git_url":"git://github.com/whamcloud/integrated-manager-for-lustre.git","ssh_url":"git@github.com:whamcloud/integrated-manager-for-lustre.git","clone_url":"https://github.com/whamcloud/integrated-manager-for-lustre.git","svn_url":"https://github.com/whamcloud/integrated-manager-for-lustre","homepage":"https://whamcloud.github.io/Online-Help/","size":74086,"stargazers_count":23,"watchers_count":23,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":93,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":18,"open_issues":93,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/pulls/684"},"html":{"href":"https://github.com/whamcloud/integrated-manager-for-lustre/pull/684"},"issue":{"href":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/issues/684"},"comments":{"href":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/issues/684/comments"},"review_comments":{"href":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/pulls/684/comments"},"review_comment":{"href":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/pulls/684/commits"},"statuses":{"href":"https://api.github.com/repos/whamcloud/integrated-manager-for-lustre/statuses/4605d0ace38e16fda5ed0c60ce85f08f468f4a9e"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"johnsonw"}}