{"action":"created","comment":{"url":"https://api.github.com/repos/cloudant/preflight/pulls/comments/38768988","id":38768988,"diff_hunk":"@@ -0,0 +1,47 @@\n+#!/bin/bash\n+# preflight for softlayer db nodes (XL2400)\n+\n+if [ -f \"$(dirname $0)/util.bash\" ]; then\n+    source \"$(dirname $0)/util.bash\"\n+else\n+    curl -s -O \"https://raw.githubusercontent.com/cloudant/preflight/master/util.bash\"\n+    source util.bash\n+    rm util.bash\n+fi\n+\n+# test raid\n+run_test \"RAID\"\n+\n+# test root disk\n+run_test \"disk_space\" \"/\" 10000000000\n+run_test \"filesystem_type\" \"/\" \"ext3\" \"ext4\"\n+\n+# test srv device\n+run_test \"device_size\" \"/dev/sdb\" 2390000000000\n+# check if /srv mounted\n+if mount | grep \"/srv\" > /dev/null; then\n+    run_test \"filesystem_type\" \"/srv\" \"ext4\"\n+fi\n+\n+# test total memory (MB)\n+run_test \"memory\" 16000","path":"softlayer-db-xl2400.bash","position":27,"original_position":27,"commit_id":"01ee02ed9b1595d66c817a2fcb033cc8bd6e30db","original_commit_id":"01ee02ed9b1595d66c817a2fcb033cc8bd6e30db","user":{"login":"mattwhite","id":176589,"avatar_url":"https://avatars.githubusercontent.com/u/176589?v=3","gravatar_id":"","url":"https://api.github.com/users/mattwhite","html_url":"https://github.com/mattwhite","followers_url":"https://api.github.com/users/mattwhite/followers","following_url":"https://api.github.com/users/mattwhite/following{/other_user}","gists_url":"https://api.github.com/users/mattwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/mattwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattwhite/subscriptions","organizations_url":"https://api.github.com/users/mattwhite/orgs","repos_url":"https://api.github.com/users/mattwhite/repos","events_url":"https://api.github.com/users/mattwhite/events{/privacy}","received_events_url":"https://api.github.com/users/mattwhite/received_events","type":"User","site_admin":false},"body":"This will need RAM/CPU the same as our regular db nodes.","created_at":"2015-09-04T16:27:31Z","updated_at":"2015-09-04T16:27:31Z","html_url":"https://github.com/cloudant/preflight/pull/15#discussion_r38768988","pull_request_url":"https://api.github.com/repos/cloudant/preflight/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/cloudant/preflight/pulls/comments/38768988"},"html":{"href":"https://github.com/cloudant/preflight/pull/15#discussion_r38768988"},"pull_request":{"href":"https://api.github.com/repos/cloudant/preflight/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/cloudant/preflight/pulls/15","id":44200272,"html_url":"https://github.com/cloudant/preflight/pull/15","diff_url":"https://github.com/cloudant/preflight/pull/15.diff","patch_url":"https://github.com/cloudant/preflight/pull/15.patch","issue_url":"https://api.github.com/repos/cloudant/preflight/issues/15","number":15,"state":"open","locked":false,"title":"Add preflight scripts for XL2400 cluster size","user":{"login":"cletomartin","id":835780,"avatar_url":"https://avatars.githubusercontent.com/u/835780?v=3","gravatar_id":"","url":"https://api.github.com/users/cletomartin","html_url":"https://github.com/cletomartin","followers_url":"https://api.github.com/users/cletomartin/followers","following_url":"https://api.github.com/users/cletomartin/following{/other_user}","gists_url":"https://api.github.com/users/cletomartin/gists{/gist_id}","starred_url":"https://api.github.com/users/cletomartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cletomartin/subscriptions","organizations_url":"https://api.github.com/users/cletomartin/orgs","repos_url":"https://api.github.com/users/cletomartin/repos","events_url":"https://api.github.com/users/cletomartin/events{/privacy}","received_events_url":"https://api.github.com/users/cletomartin/received_events","type":"User","site_admin":false},"body":"BugzId: 51622","created_at":"2015-09-04T09:50:16Z","updated_at":"2015-09-04T16:27:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"276e23d1ed30090759a499030b40a59953fbbe91","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudant/preflight/pulls/15/commits","review_comments_url":"https://api.github.com/repos/cloudant/preflight/pulls/15/comments","review_comment_url":"https://api.github.com/repos/cloudant/preflight/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudant/preflight/issues/15/comments","statuses_url":"https://api.github.com/repos/cloudant/preflight/statuses/01ee02ed9b1595d66c817a2fcb033cc8bd6e30db","head":{"label":"cloudant:xl2400-cluster-size","ref":"xl2400-cluster-size","sha":"01ee02ed9b1595d66c817a2fcb033cc8bd6e30db","user":{"login":"cloudant","id":44642,"avatar_url":"https://avatars.githubusercontent.com/u/44642?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudant","html_url":"https://github.com/cloudant","followers_url":"https://api.github.com/users/cloudant/followers","following_url":"https://api.github.com/users/cloudant/following{/other_user}","gists_url":"https://api.github.com/users/cloudant/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudant/subscriptions","organizations_url":"https://api.github.com/users/cloudant/orgs","repos_url":"https://api.github.com/users/cloudant/repos","events_url":"https://api.github.com/users/cloudant/events{/privacy}","received_events_url":"https://api.github.com/users/cloudant/received_events","type":"Organization","site_admin":false},"repo":{"id":10753832,"name":"preflight","full_name":"cloudant/preflight","owner":{"login":"cloudant","id":44642,"avatar_url":"https://avatars.githubusercontent.com/u/44642?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudant","html_url":"https://github.com/cloudant","followers_url":"https://api.github.com/users/cloudant/followers","following_url":"https://api.github.com/users/cloudant/following{/other_user}","gists_url":"https://api.github.com/users/cloudant/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudant/subscriptions","organizations_url":"https://api.github.com/users/cloudant/orgs","repos_url":"https://api.github.com/users/cloudant/repos","events_url":"https://api.github.com/users/cloudant/events{/privacy}","received_events_url":"https://api.github.com/users/cloudant/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudant/preflight","description":"Server testing to run pre-bootstrapping","fork":false,"url":"https://api.github.com/repos/cloudant/preflight","forks_url":"https://api.github.com/repos/cloudant/preflight/forks","keys_url":"https://api.github.com/repos/cloudant/preflight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudant/preflight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudant/preflight/teams","hooks_url":"https://api.github.com/repos/cloudant/preflight/hooks","issue_events_url":"https://api.github.com/repos/cloudant/preflight/issues/events{/number}","events_url":"https://api.github.com/repos/cloudant/preflight/events","assignees_url":"https://api.github.com/repos/cloudant/preflight/assignees{/user}","branches_url":"https://api.github.com/repos/cloudant/preflight/branches{/branch}","tags_url":"https://api.github.com/repos/cloudant/preflight/tags","blobs_url":"https://api.github.com/repos/cloudant/preflight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudant/preflight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudant/preflight/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudant/preflight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudant/preflight/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudant/preflight/languages","stargazers_url":"https://api.github.com/repos/cloudant/preflight/stargazers","contributors_url":"https://api.github.com/repos/cloudant/preflight/contributors","subscribers_url":"https://api.github.com/repos/cloudant/preflight/subscribers","subscription_url":"https://api.github.com/repos/cloudant/preflight/subscription","commits_url":"https://api.github.com/repos/cloudant/preflight/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudant/preflight/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudant/preflight/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudant/preflight/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudant/preflight/contents/{+path}","compare_url":"https://api.github.com/repos/cloudant/preflight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudant/preflight/merges","archive_url":"https://api.github.com/repos/cloudant/preflight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudant/preflight/downloads","issues_url":"https://api.github.com/repos/cloudant/preflight/issues{/number}","pulls_url":"https://api.github.com/repos/cloudant/preflight/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudant/preflight/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudant/preflight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudant/preflight/labels{/name}","releases_url":"https://api.github.com/repos/cloudant/preflight/releases{/id}","created_at":"2013-06-18T04:29:55Z","updated_at":"2015-02-16T19:08:00Z","pushed_at":"2015-09-04T09:50:16Z","git_url":"git://github.com/cloudant/preflight.git","ssh_url":"git@github.com:cloudant/preflight.git","clone_url":"https://github.com/cloudant/preflight.git","svn_url":"https://github.com/cloudant/preflight","homepage":"","size":724,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"cloudant:master","ref":"master","sha":"165220d13cd35aa11fb1084745415077f37e8805","user":{"login":"cloudant","id":44642,"avatar_url":"https://avatars.githubusercontent.com/u/44642?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudant","html_url":"https://github.com/cloudant","followers_url":"https://api.github.com/users/cloudant/followers","following_url":"https://api.github.com/users/cloudant/following{/other_user}","gists_url":"https://api.github.com/users/cloudant/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudant/subscriptions","organizations_url":"https://api.github.com/users/cloudant/orgs","repos_url":"https://api.github.com/users/cloudant/repos","events_url":"https://api.github.com/users/cloudant/events{/privacy}","received_events_url":"https://api.github.com/users/cloudant/received_events","type":"Organization","site_admin":false},"repo":{"id":10753832,"name":"preflight","full_name":"cloudant/preflight","owner":{"login":"cloudant","id":44642,"avatar_url":"https://avatars.githubusercontent.com/u/44642?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudant","html_url":"https://github.com/cloudant","followers_url":"https://api.github.com/users/cloudant/followers","following_url":"https://api.github.com/users/cloudant/following{/other_user}","gists_url":"https://api.github.com/users/cloudant/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudant/subscriptions","organizations_url":"https://api.github.com/users/cloudant/orgs","repos_url":"https://api.github.com/users/cloudant/repos","events_url":"https://api.github.com/users/cloudant/events{/privacy}","received_events_url":"https://api.github.com/users/cloudant/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudant/preflight","description":"Server testing to run pre-bootstrapping","fork":false,"url":"https://api.github.com/repos/cloudant/preflight","forks_url":"https://api.github.com/repos/cloudant/preflight/forks","keys_url":"https://api.github.com/repos/cloudant/preflight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudant/preflight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudant/preflight/teams","hooks_url":"https://api.github.com/repos/cloudant/preflight/hooks","issue_events_url":"https://api.github.com/repos/cloudant/preflight/issues/events{/number}","events_url":"https://api.github.com/repos/cloudant/preflight/events","assignees_url":"https://api.github.com/repos/cloudant/preflight/assignees{/user}","branches_url":"https://api.github.com/repos/cloudant/preflight/branches{/branch}","tags_url":"https://api.github.com/repos/cloudant/preflight/tags","blobs_url":"https://api.github.com/repos/cloudant/preflight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudant/preflight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudant/preflight/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudant/preflight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudant/preflight/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudant/preflight/languages","stargazers_url":"https://api.github.com/repos/cloudant/preflight/stargazers","contributors_url":"https://api.github.com/repos/cloudant/preflight/contributors","subscribers_url":"https://api.github.com/repos/cloudant/preflight/subscribers","subscription_url":"https://api.github.com/repos/cloudant/preflight/subscription","commits_url":"https://api.github.com/repos/cloudant/preflight/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudant/preflight/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudant/preflight/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudant/preflight/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudant/preflight/contents/{+path}","compare_url":"https://api.github.com/repos/cloudant/preflight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudant/preflight/merges","archive_url":"https://api.github.com/repos/cloudant/preflight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudant/preflight/downloads","issues_url":"https://api.github.com/repos/cloudant/preflight/issues{/number}","pulls_url":"https://api.github.com/repos/cloudant/preflight/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudant/preflight/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudant/preflight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudant/preflight/labels{/name}","releases_url":"https://api.github.com/repos/cloudant/preflight/releases{/id}","created_at":"2013-06-18T04:29:55Z","updated_at":"2015-02-16T19:08:00Z","pushed_at":"2015-09-04T09:50:16Z","git_url":"git://github.com/cloudant/preflight.git","ssh_url":"git@github.com:cloudant/preflight.git","clone_url":"https://github.com/cloudant/preflight.git","svn_url":"https://github.com/cloudant/preflight","homepage":"","size":724,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudant/preflight/pulls/15"},"html":{"href":"https://github.com/cloudant/preflight/pull/15"},"issue":{"href":"https://api.github.com/repos/cloudant/preflight/issues/15"},"comments":{"href":"https://api.github.com/repos/cloudant/preflight/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudant/preflight/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudant/preflight/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudant/preflight/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/cloudant/preflight/statuses/01ee02ed9b1595d66c817a2fcb033cc8bd6e30db"}}}}