{"action":"closed","number":368,"pull_request":{"url":"https://api.github.com/repos/storj/storj/pulls/368","id":217001569,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3MDAxNTY5","html_url":"https://github.com/storj/storj/pull/368","diff_url":"https://github.com/storj/storj/pull/368.diff","patch_url":"https://github.com/storj/storj/pull/368.patch","issue_url":"https://api.github.com/repos/storj/storj/issues/368","number":368,"state":"closed","locked":false,"title":"storage node quick check and startup validation","user":{"login":"aligeti","id":34487396,"node_id":"MDQ6VXNlcjM0NDg3Mzk2","avatar_url":"https://avatars0.githubusercontent.com/u/34487396?v=4","gravatar_id":"","url":"https://api.github.com/users/aligeti","html_url":"https://github.com/aligeti","followers_url":"https://api.github.com/users/aligeti/followers","following_url":"https://api.github.com/users/aligeti/following{/other_user}","gists_url":"https://api.github.com/users/aligeti/gists{/gist_id}","starred_url":"https://api.github.com/users/aligeti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aligeti/subscriptions","organizations_url":"https://api.github.com/users/aligeti/orgs","repos_url":"https://api.github.com/users/aligeti/repos","events_url":"https://api.github.com/users/aligeti/events{/privacy}","received_events_url":"https://api.github.com/users/aligeti/received_events","type":"User","site_admin":false},"body":"On initial startup of storage node server\r\n\r\nFollowing changes are made.\r\nOn First time setup as a storage node server\r\n================================\r\n1. The storage node server will run without putting any warnings or errors,  if available free hard drive disk space is greater than or equal to allocated storage node\r\n2. The storage node server will exit with error \"Not enough space\" , if available free hard drive space is less allocated storage node\r\n\r\nAlready setup as a storage node, but restarted \r\n=================================\r\n1. The storage node server will run without any warnings, or errors, if the free hard drive disk space is  greater than remaining allocated storage node space ( which is difference of Allocated Space - Total used space)\r\n2. The storage node server will run with warning \"Warning!!! Used more space than allocated\" if the total used space by storage node has exceeded the allocated space, may be the last time it uploaded a pieceID just went above the allocated limits. Probability of happening this scenario is very low, as the satellite will never use this node when its space is limited. Just in case if it happens, the server will still run but will issue a warning.  \r\n3. The storage node server will run with warning \"Warning!!! Disk space is less than remaining allocated space\",  if the remaining hard drive disk space is less than remaining allocated storage node space","created_at":"2018-09-20T14:51:04Z","updated_at":"2018-09-25T16:49:56Z","closed_at":"2018-09-25T16:49:56Z","merged_at":"2018-09-25T16:49:56Z","merge_commit_sha":"97cbacb299b5a23cbacb235321426b7d8b27f8ef","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":982933521,"node_id":"MDU6TGFiZWw5ODI5MzM1MjE=","url":"https://api.github.com/repos/storj/storj/labels/cla-signed","name":"cla-signed","color":"ededed","default":false},{"id":927863284,"node_id":"MDU6TGFiZWw5Mjc4NjMyODQ=","url":"https://api.github.com/repos/storj/storj/labels/wip","name":"wip","color":"dd66dd","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/storj/storj/pulls/368/commits","review_comments_url":"https://api.github.com/repos/storj/storj/pulls/368/comments","review_comment_url":"https://api.github.com/repos/storj/storj/pulls/comments{/number}","comments_url":"https://api.github.com/repos/storj/storj/issues/368/comments","statuses_url":"https://api.github.com/repos/storj/storj/statuses/ae863eaf729770f7b81d01dfbb3e10d213978e61","head":{"label":"storj:startup_validation","ref":"startup_validation","sha":"ae863eaf729770f7b81d01dfbb3e10d213978e61","user":{"login":"storj","id":6308081,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzMDgwODE=","avatar_url":"https://avatars3.githubusercontent.com/u/6308081?v=4","gravatar_id":"","url":"https://api.github.com/users/storj","html_url":"https://github.com/storj","followers_url":"https://api.github.com/users/storj/followers","following_url":"https://api.github.com/users/storj/following{/other_user}","gists_url":"https://api.github.com/users/storj/gists{/gist_id}","starred_url":"https://api.github.com/users/storj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/storj/subscriptions","organizations_url":"https://api.github.com/users/storj/orgs","repos_url":"https://api.github.com/users/storj/repos","events_url":"https://api.github.com/users/storj/events{/privacy}","received_events_url":"https://api.github.com/users/storj/received_events","type":"Organization","site_admin":false},"repo":{"id":128089774,"node_id":"MDEwOlJlcG9zaXRvcnkxMjgwODk3NzQ=","name":"storj","full_name":"storj/storj","private":false,"owner":{"login":"storj","id":6308081,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzMDgwODE=","avatar_url":"https://avatars3.githubusercontent.com/u/6308081?v=4","gravatar_id":"","url":"https://api.github.com/users/storj","html_url":"https://github.com/storj","followers_url":"https://api.github.com/users/storj/followers","following_url":"https://api.github.com/users/storj/following{/other_user}","gists_url":"https://api.github.com/users/storj/gists{/gist_id}","starred_url":"https://api.github.com/users/storj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/storj/subscriptions","organizations_url":"https://api.github.com/users/storj/orgs","repos_url":"https://api.github.com/users/storj/repos","events_url":"https://api.github.com/users/storj/events{/privacy}","received_events_url":"https://api.github.com/users/storj/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/storj/storj","description":"Ongoing Storj v3 development. Decentralized cloud object storage that is affordable, easy to use, private, and secure.","fork":false,"url":"https://api.github.com/repos/storj/storj","forks_url":"https://api.github.com/repos/storj/storj/forks","keys_url":"https://api.github.com/repos/storj/storj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/storj/storj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/storj/storj/teams","hooks_url":"https://api.github.com/repos/storj/storj/hooks","issue_events_url":"https://api.github.com/repos/storj/storj/issues/events{/number}","events_url":"https://api.github.com/repos/storj/storj/events","assignees_url":"https://api.github.com/repos/storj/storj/assignees{/user}","branches_url":"https://api.github.com/repos/storj/storj/branches{/branch}","tags_url":"https://api.github.com/repos/storj/storj/tags","blobs_url":"https://api.github.com/repos/storj/storj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/storj/storj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/storj/storj/git/refs{/sha}","trees_url":"https://api.github.com/repos/storj/storj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/storj/storj/statuses/{sha}","languages_url":"https://api.github.com/repos/storj/storj/languages","stargazers_url":"https://api.github.com/repos/storj/storj/stargazers","contributors_url":"https://api.github.com/repos/storj/storj/contributors","subscribers_url":"https://api.github.com/repos/storj/storj/subscribers","subscription_url":"https://api.github.com/repos/storj/storj/subscription","commits_url":"https://api.github.com/repos/storj/storj/commits{/sha}","git_commits_url":"https://api.github.com/repos/storj/storj/git/commits{/sha}","comments_url":"https://api.github.com/repos/storj/storj/comments{/number}","issue_comment_url":"https://api.github.com/repos/storj/storj/issues/comments{/number}","contents_url":"https://api.github.com/repos/storj/storj/contents/{+path}","compare_url":"https://api.github.com/repos/storj/storj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/storj/storj/merges","archive_url":"https://api.github.com/repos/storj/storj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/storj/storj/downloads","issues_url":"https://api.github.com/repos/storj/storj/issues{/number}","pulls_url":"https://api.github.com/repos/storj/storj/pulls{/number}","milestones_url":"https://api.github.com/repos/storj/storj/milestones{/number}","notifications_url":"https://api.github.com/repos/storj/storj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/storj/storj/labels{/name}","releases_url":"https://api.github.com/repos/storj/storj/releases{/id}","deployments_url":"https://api.github.com/repos/storj/storj/deployments","created_at":"2018-04-04T16:27:18Z","updated_at":"2018-09-25T15:38:42Z","pushed_at":"2018-09-25T16:49:56Z","git_url":"git://github.com/storj/storj.git","ssh_url":"git@github.com:storj/storj.git","clone_url":"https://github.com/storj/storj.git","svn_url":"https://github.com/storj/storj","homepage":"https://storj.io","size":61146,"stargazers_count":224,"watchers_count":224,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":46,"open_issues":13,"watchers":224,"default_branch":"master"}},"base":{"label":"storj:master","ref":"master","sha":"f1a82e588c81a42dcce280b98f900c4821150fee","user":{"login":"storj","id":6308081,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzMDgwODE=","avatar_url":"https://avatars3.githubusercontent.com/u/6308081?v=4","gravatar_id":"","url":"https://api.github.com/users/storj","html_url":"https://github.com/storj","followers_url":"https://api.github.com/users/storj/followers","following_url":"https://api.github.com/users/storj/following{/other_user}","gists_url":"https://api.github.com/users/storj/gists{/gist_id}","starred_url":"https://api.github.com/users/storj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/storj/subscriptions","organizations_url":"https://api.github.com/users/storj/orgs","repos_url":"https://api.github.com/users/storj/repos","events_url":"https://api.github.com/users/storj/events{/privacy}","received_events_url":"https://api.github.com/users/storj/received_events","type":"Organization","site_admin":false},"repo":{"id":128089774,"node_id":"MDEwOlJlcG9zaXRvcnkxMjgwODk3NzQ=","name":"storj","full_name":"storj/storj","private":false,"owner":{"login":"storj","id":6308081,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzMDgwODE=","avatar_url":"https://avatars3.githubusercontent.com/u/6308081?v=4","gravatar_id":"","url":"https://api.github.com/users/storj","html_url":"https://github.com/storj","followers_url":"https://api.github.com/users/storj/followers","following_url":"https://api.github.com/users/storj/following{/other_user}","gists_url":"https://api.github.com/users/storj/gists{/gist_id}","starred_url":"https://api.github.com/users/storj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/storj/subscriptions","organizations_url":"https://api.github.com/users/storj/orgs","repos_url":"https://api.github.com/users/storj/repos","events_url":"https://api.github.com/users/storj/events{/privacy}","received_events_url":"https://api.github.com/users/storj/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/storj/storj","description":"Ongoing Storj v3 development. Decentralized cloud object storage that is affordable, easy to use, private, and secure.","fork":false,"url":"https://api.github.com/repos/storj/storj","forks_url":"https://api.github.com/repos/storj/storj/forks","keys_url":"https://api.github.com/repos/storj/storj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/storj/storj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/storj/storj/teams","hooks_url":"https://api.github.com/repos/storj/storj/hooks","issue_events_url":"https://api.github.com/repos/storj/storj/issues/events{/number}","events_url":"https://api.github.com/repos/storj/storj/events","assignees_url":"https://api.github.com/repos/storj/storj/assignees{/user}","branches_url":"https://api.github.com/repos/storj/storj/branches{/branch}","tags_url":"https://api.github.com/repos/storj/storj/tags","blobs_url":"https://api.github.com/repos/storj/storj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/storj/storj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/storj/storj/git/refs{/sha}","trees_url":"https://api.github.com/repos/storj/storj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/storj/storj/statuses/{sha}","languages_url":"https://api.github.com/repos/storj/storj/languages","stargazers_url":"https://api.github.com/repos/storj/storj/stargazers","contributors_url":"https://api.github.com/repos/storj/storj/contributors","subscribers_url":"https://api.github.com/repos/storj/storj/subscribers","subscription_url":"https://api.github.com/repos/storj/storj/subscription","commits_url":"https://api.github.com/repos/storj/storj/commits{/sha}","git_commits_url":"https://api.github.com/repos/storj/storj/git/commits{/sha}","comments_url":"https://api.github.com/repos/storj/storj/comments{/number}","issue_comment_url":"https://api.github.com/repos/storj/storj/issues/comments{/number}","contents_url":"https://api.github.com/repos/storj/storj/contents/{+path}","compare_url":"https://api.github.com/repos/storj/storj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/storj/storj/merges","archive_url":"https://api.github.com/repos/storj/storj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/storj/storj/downloads","issues_url":"https://api.github.com/repos/storj/storj/issues{/number}","pulls_url":"https://api.github.com/repos/storj/storj/pulls{/number}","milestones_url":"https://api.github.com/repos/storj/storj/milestones{/number}","notifications_url":"https://api.github.com/repos/storj/storj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/storj/storj/labels{/name}","releases_url":"https://api.github.com/repos/storj/storj/releases{/id}","deployments_url":"https://api.github.com/repos/storj/storj/deployments","created_at":"2018-04-04T16:27:18Z","updated_at":"2018-09-25T15:38:42Z","pushed_at":"2018-09-25T16:49:56Z","git_url":"git://github.com/storj/storj.git","ssh_url":"git@github.com:storj/storj.git","clone_url":"https://github.com/storj/storj.git","svn_url":"https://github.com/storj/storj","homepage":"https://storj.io","size":61146,"stargazers_count":224,"watchers_count":224,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":46,"open_issues":13,"watchers":224,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/storj/storj/pulls/368"},"html":{"href":"https://github.com/storj/storj/pull/368"},"issue":{"href":"https://api.github.com/repos/storj/storj/issues/368"},"comments":{"href":"https://api.github.com/repos/storj/storj/issues/368/comments"},"review_comments":{"href":"https://api.github.com/repos/storj/storj/pulls/368/comments"},"review_comment":{"href":"https://api.github.com/repos/storj/storj/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/storj/storj/pulls/368/commits"},"statuses":{"href":"https://api.github.com/repos/storj/storj/statuses/ae863eaf729770f7b81d01dfbb3e10d213978e61"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"aligeti","id":34487396,"node_id":"MDQ6VXNlcjM0NDg3Mzk2","avatar_url":"https://avatars0.githubusercontent.com/u/34487396?v=4","gravatar_id":"","url":"https://api.github.com/users/aligeti","html_url":"https://github.com/aligeti","followers_url":"https://api.github.com/users/aligeti/followers","following_url":"https://api.github.com/users/aligeti/following{/other_user}","gists_url":"https://api.github.com/users/aligeti/gists{/gist_id}","starred_url":"https://api.github.com/users/aligeti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aligeti/subscriptions","organizations_url":"https://api.github.com/users/aligeti/orgs","repos_url":"https://api.github.com/users/aligeti/repos","events_url":"https://api.github.com/users/aligeti/events{/privacy}","received_events_url":"https://api.github.com/users/aligeti/received_events","type":"User","site_admin":false},"comments":0,"review_comments":17,"maintainer_can_modify":false,"commits":28,"additions":124,"deletions":28,"changed_files":7}}
{"actor":{"display_login":"aligeti"}}