{"action":"reopened","number":204,"pull_request":{"url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/pulls/204","id":172338431,"html_url":"https://github.com/cloudfoundry/bosh-deployment/pull/204","diff_url":"https://github.com/cloudfoundry/bosh-deployment/pull/204.diff","patch_url":"https://github.com/cloudfoundry/bosh-deployment/pull/204.patch","issue_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/issues/204","number":204,"state":"open","locked":false,"title":"Reserve 10.245.0.2-10.245.0.10 in docker cloud-config","user":{"login":"jqassar","id":4229461,"avatar_url":"https://avatars3.githubusercontent.com/u/4229461?v=4","gravatar_id":"","url":"https://api.github.com/users/jqassar","html_url":"https://github.com/jqassar","followers_url":"https://api.github.com/users/jqassar/followers","following_url":"https://api.github.com/users/jqassar/following{/other_user}","gists_url":"https://api.github.com/users/jqassar/gists{/gist_id}","starred_url":"https://api.github.com/users/jqassar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jqassar/subscriptions","organizations_url":"https://api.github.com/users/jqassar/orgs","repos_url":"https://api.github.com/users/jqassar/repos","events_url":"https://api.github.com/users/jqassar/events{/privacy}","received_events_url":"https://api.github.com/users/jqassar/received_events","type":"User","site_admin":false},"body":"When using the Docker BOSH CLI v2 container (bosh/cli2) to stand up a BOSH director and run through the Zookeeper deployment steps, the operator will run into the following issue:\r\n\r\n```\r\nTask 7 | 00:30:29 | Creating missing vms: zookeeper/eb92593f-e880-42f6-b696-31576ae5d613 (0)\r\nTask 7 | 00:30:29 | Creating missing vms: zookeeper/1442654d-9562-4e9c-84ba-1c389d225304 (3)\r\nTask 7 | 00:30:29 | Creating missing vms: zookeeper/39318440-d3c2-4997-b723-69259f51aaac (4)\r\nTask 7 | 00:30:29 | Creating missing vms: zookeeper/b52a5562-e6a2-4145-a96d-84b7cb532ba1 (1)\r\nTask 7 | 00:30:29 | Creating missing vms: zookeeper/c4c530be-3e36-4526-9bdb-bc4513b83a52 (2)\r\nTask 7 | 00:31:23 | Creating missing vms: zookeeper/1442654d-9562-4e9c-84ba-1c389d225304 (3) (00:00:54)\r\n                   L Error: CPI error 'Bosh::Clouds::CloudError' with message 'Creating VM with agent ID '{{803b7399-c39b-4cc1-bdb2-a55f2b3175\r\ned}}': Starting container: Error response from daemon: Address already in use' in 'create_vm' CPI method\r\nTask 7 | 00:32:07 | Creating missing vms: zookeeper/c4c530be-3e36-4526-9bdb-bc4513b83a52 (2) (00:01:38)\r\nTask 7 | 00:32:07 | Creating missing vms: zookeeper/b52a5562-e6a2-4145-a96d-84b7cb532ba1 (1) (00:01:38)\r\nTask 7 | 00:32:07 | Creating missing vms: zookeeper/39318440-d3c2-4997-b723-69259f51aaac (4) (00:01:38)\r\nTask 7 | 00:32:08 | Creating missing vms: zookeeper/eb92593f-e880-42f6-b696-31576ae5d613 (0) (00:01:39)\r\nTask 7 | 00:32:11 | Error: CPI error 'Bosh::Clouds::CloudError' with message 'Creating VM with agent ID '{{803b7399-c39b-4cc1-bdb2-a55f2b3175e\r\nd}}': Starting container: Error response from daemon: Address already in use' in 'create_vm' CPI method\r\n\r\nTask 7 Started  Thu Mar  1 00:22:20 UTC 2018\r\nTask 7 Finished Thu Mar  1 00:32:11 UTC 2018\r\nTask 7 Duration 00:09:51\r\nTask 7 error\r\n```\r\nThis occurs because the cli2 container binds 10.245.0.3 during bosh create-env.  The 'expected' Docker networking (seen in run_checks.sh and the Docker cloud-config.yml) sets up 10.245.0.0/16 with the Director on 10.245.0.10, but doesn't reserve the CLI address to prevent a later conflict.  The example of a manual network provided at https://bosh.io/docs/networks.html gives a template for how to fix the issue:\r\n\r\n```\r\n...\r\n    # IPs that will not be used for anything\r\n    reserved: [10.245.0.2-10.245.0.10]\r\n...","created_at":"2018-03-01T20:01:22Z","updated_at":"2018-03-01T20:55:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0bfad710e77449fd2a5bcf0735bf5988ddc94152","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/pulls/204/commits","review_comments_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/pulls/204/comments","review_comment_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/issues/204/comments","statuses_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/statuses/2217e69eafdfe3177cffd994c2cba66e47d48dfe","head":{"label":"jqassar:jqassar-reserve-docker-cli-ip","ref":"jqassar-reserve-docker-cli-ip","sha":"2217e69eafdfe3177cffd994c2cba66e47d48dfe","user":{"login":"jqassar","id":4229461,"avatar_url":"https://avatars3.githubusercontent.com/u/4229461?v=4","gravatar_id":"","url":"https://api.github.com/users/jqassar","html_url":"https://github.com/jqassar","followers_url":"https://api.github.com/users/jqassar/followers","following_url":"https://api.github.com/users/jqassar/following{/other_user}","gists_url":"https://api.github.com/users/jqassar/gists{/gist_id}","starred_url":"https://api.github.com/users/jqassar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jqassar/subscriptions","organizations_url":"https://api.github.com/users/jqassar/orgs","repos_url":"https://api.github.com/users/jqassar/repos","events_url":"https://api.github.com/users/jqassar/events{/privacy}","received_events_url":"https://api.github.com/users/jqassar/received_events","type":"User","site_admin":false},"repo":{"id":123482544,"name":"bosh-deployment","full_name":"jqassar/bosh-deployment","owner":{"login":"jqassar","id":4229461,"avatar_url":"https://avatars3.githubusercontent.com/u/4229461?v=4","gravatar_id":"","url":"https://api.github.com/users/jqassar","html_url":"https://github.com/jqassar","followers_url":"https://api.github.com/users/jqassar/followers","following_url":"https://api.github.com/users/jqassar/following{/other_user}","gists_url":"https://api.github.com/users/jqassar/gists{/gist_id}","starred_url":"https://api.github.com/users/jqassar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jqassar/subscriptions","organizations_url":"https://api.github.com/users/jqassar/orgs","repos_url":"https://api.github.com/users/jqassar/repos","events_url":"https://api.github.com/users/jqassar/events{/privacy}","received_events_url":"https://api.github.com/users/jqassar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jqassar/bosh-deployment","description":"Collection of BOSH manifests referenced by cloudfoundry/docs-bosh","fork":true,"url":"https://api.github.com/repos/jqassar/bosh-deployment","forks_url":"https://api.github.com/repos/jqassar/bosh-deployment/forks","keys_url":"https://api.github.com/repos/jqassar/bosh-deployment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jqassar/bosh-deployment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jqassar/bosh-deployment/teams","hooks_url":"https://api.github.com/repos/jqassar/bosh-deployment/hooks","issue_events_url":"https://api.github.com/repos/jqassar/bosh-deployment/issues/events{/number}","events_url":"https://api.github.com/repos/jqassar/bosh-deployment/events","assignees_url":"https://api.github.com/repos/jqassar/bosh-deployment/assignees{/user}","branches_url":"https://api.github.com/repos/jqassar/bosh-deployment/branches{/branch}","tags_url":"https://api.github.com/repos/jqassar/bosh-deployment/tags","blobs_url":"https://api.github.com/repos/jqassar/bosh-deployment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jqassar/bosh-deployment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jqassar/bosh-deployment/git/refs{/sha}","trees_url":"https://api.github.com/repos/jqassar/bosh-deployment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jqassar/bosh-deployment/statuses/{sha}","languages_url":"https://api.github.com/repos/jqassar/bosh-deployment/languages","stargazers_url":"https://api.github.com/repos/jqassar/bosh-deployment/stargazers","contributors_url":"https://api.github.com/repos/jqassar/bosh-deployment/contributors","subscribers_url":"https://api.github.com/repos/jqassar/bosh-deployment/subscribers","subscription_url":"https://api.github.com/repos/jqassar/bosh-deployment/subscription","commits_url":"https://api.github.com/repos/jqassar/bosh-deployment/commits{/sha}","git_commits_url":"https://api.github.com/repos/jqassar/bosh-deployment/git/commits{/sha}","comments_url":"https://api.github.com/repos/jqassar/bosh-deployment/comments{/number}","issue_comment_url":"https://api.github.com/repos/jqassar/bosh-deployment/issues/comments{/number}","contents_url":"https://api.github.com/repos/jqassar/bosh-deployment/contents/{+path}","compare_url":"https://api.github.com/repos/jqassar/bosh-deployment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jqassar/bosh-deployment/merges","archive_url":"https://api.github.com/repos/jqassar/bosh-deployment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jqassar/bosh-deployment/downloads","issues_url":"https://api.github.com/repos/jqassar/bosh-deployment/issues{/number}","pulls_url":"https://api.github.com/repos/jqassar/bosh-deployment/pulls{/number}","milestones_url":"https://api.github.com/repos/jqassar/bosh-deployment/milestones{/number}","notifications_url":"https://api.github.com/repos/jqassar/bosh-deployment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jqassar/bosh-deployment/labels{/name}","releases_url":"https://api.github.com/repos/jqassar/bosh-deployment/releases{/id}","deployments_url":"https://api.github.com/repos/jqassar/bosh-deployment/deployments","created_at":"2018-03-01T19:28:49Z","updated_at":"2018-03-01T19:28:51Z","pushed_at":"2018-03-01T19:58:58Z","git_url":"git://github.com/jqassar/bosh-deployment.git","ssh_url":"git@github.com:jqassar/bosh-deployment.git","clone_url":"https://github.com/jqassar/bosh-deployment.git","svn_url":"https://github.com/jqassar/bosh-deployment","homepage":null,"size":342,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cloudfoundry:master","ref":"master","sha":"b37a696baa170ea30a2e4478d7292bbcb614306f","user":{"login":"cloudfoundry","id":621746,"avatar_url":"https://avatars0.githubusercontent.com/u/621746?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudfoundry","html_url":"https://github.com/cloudfoundry","followers_url":"https://api.github.com/users/cloudfoundry/followers","following_url":"https://api.github.com/users/cloudfoundry/following{/other_user}","gists_url":"https://api.github.com/users/cloudfoundry/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfoundry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfoundry/subscriptions","organizations_url":"https://api.github.com/users/cloudfoundry/orgs","repos_url":"https://api.github.com/users/cloudfoundry/repos","events_url":"https://api.github.com/users/cloudfoundry/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfoundry/received_events","type":"Organization","site_admin":false},"repo":{"id":73522278,"name":"bosh-deployment","full_name":"cloudfoundry/bosh-deployment","owner":{"login":"cloudfoundry","id":621746,"avatar_url":"https://avatars0.githubusercontent.com/u/621746?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudfoundry","html_url":"https://github.com/cloudfoundry","followers_url":"https://api.github.com/users/cloudfoundry/followers","following_url":"https://api.github.com/users/cloudfoundry/following{/other_user}","gists_url":"https://api.github.com/users/cloudfoundry/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfoundry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfoundry/subscriptions","organizations_url":"https://api.github.com/users/cloudfoundry/orgs","repos_url":"https://api.github.com/users/cloudfoundry/repos","events_url":"https://api.github.com/users/cloudfoundry/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfoundry/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudfoundry/bosh-deployment","description":"Collection of BOSH manifests referenced by cloudfoundry/docs-bosh","fork":false,"url":"https://api.github.com/repos/cloudfoundry/bosh-deployment","forks_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/forks","keys_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/teams","hooks_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/hooks","issue_events_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/issues/events{/number}","events_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/events","assignees_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/assignees{/user}","branches_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/branches{/branch}","tags_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/tags","blobs_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/languages","stargazers_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/stargazers","contributors_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/contributors","subscribers_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/subscribers","subscription_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/subscription","commits_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/contents/{+path}","compare_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/merges","archive_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/downloads","issues_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/issues{/number}","pulls_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/labels{/name}","releases_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/releases{/id}","deployments_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/deployments","created_at":"2016-11-12T00:40:14Z","updated_at":"2018-03-01T15:33:55Z","pushed_at":"2018-03-01T20:01:23Z","git_url":"git://github.com/cloudfoundry/bosh-deployment.git","ssh_url":"git@github.com:cloudfoundry/bosh-deployment.git","clone_url":"https://github.com/cloudfoundry/bosh-deployment.git","svn_url":"https://github.com/cloudfoundry/bosh-deployment","homepage":null,"size":342,"stargazers_count":63,"watchers_count":63,"language":"Shell","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":112,"mirror_url":null,"archived":false,"open_issues_count":46,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":112,"open_issues":46,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudfoundry/bosh-deployment/pulls/204"},"html":{"href":"https://github.com/cloudfoundry/bosh-deployment/pull/204"},"issue":{"href":"https://api.github.com/repos/cloudfoundry/bosh-deployment/issues/204"},"comments":{"href":"https://api.github.com/repos/cloudfoundry/bosh-deployment/issues/204/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudfoundry/bosh-deployment/pulls/204/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudfoundry/bosh-deployment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudfoundry/bosh-deployment/pulls/204/commits"},"statuses":{"href":"https://api.github.com/repos/cloudfoundry/bosh-deployment/statuses/2217e69eafdfe3177cffd994c2cba66e47d48dfe"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":5,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":2,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"christopherclark"}}