Skip to content

Instantly share code, notes, and snippets.

@cunnie
Created August 10, 2016 04:09
Show Gist options
  • Save cunnie/23d04bc6fb264e82019f4d944f45fe8d to your computer and use it in GitHub Desktop.
Save cunnie/23d04bc6fb264e82019f4d944f45fe8d to your computer and use it in GitHub Desktop.
8 BOSH GCE Deploys
while ! bosh create-env bosh-gce.yml -l <(lpass show --note deployments); do sleep 30; done
Deployment manifest: '/Users/cunnie/workspace/deployments/bosh-gce.yml'
Deployment state: '/Users/cunnie/workspace/deployments/bosh-gce-state.json'
Started validating
Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh'... Finished (00:00:00)
Downloading release 'bosh-google-cpi'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh-google-cpi'... Finished (00:00:00)
Validating cpi release... Finished (00:00:00)
Validating deployment manifest... Finished (00:00:00)
Downloading stemcell... Skipped [Found in local cache] (00:00:00)
Validating stemcell... Finished (00:00:00)
Finished validating (00:00:01)
Started installing CPI
Compiling package 'golang/1ad977ce1c6fdbf21485a79567ef3d8d4d280110'... Finished (00:00:13)
Compiling package 'bosh-google-cpi/65cba3f8e6bde9653cc68fd2c9733826be9c0224'... Finished (00:00:10)
Installing packages... Finished (00:00:01)
Rendering job templates... Finished (00:00:00)
Installing job 'google_cpi'... Finished (00:00:00)
Finished installing CPI (00:00:27)
Starting registry... Finished (00:00:00)
Uploading stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3262.2'... Finished (00:01:04)
Started deploying
Creating VM for instance 'bosh/0' from stemcell 'stemcell-2ea7f248-9bd1-49f2-692a-91f4140871f4'... Finished (00:00:40)
Waiting for the agent on VM 'vm-47a8e0a6-c6cc-4a56-5b68-7bd3b6bcad19' to be ready... Failed (00:05:06)
Failed deploying (00:05:46)
Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)
Deploying:
Creating instance 'bosh/0':
Waiting until instance is ready:
Starting SSH tunnel:
Failed to connect to remote server:
ssh: handshake failed: read tcp 10.0.9.30:51430->104.154.39.128:22: read: connection reset by peer
Exit code 1
Deployment manifest: '/Users/cunnie/workspace/deployments/bosh-gce.yml'
Deployment state: '/Users/cunnie/workspace/deployments/bosh-gce-state.json'
Started validating
Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh'... Finished (00:00:00)
Downloading release 'bosh-google-cpi'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh-google-cpi'... Finished (00:00:00)
Validating cpi release... Finished (00:00:00)
Validating deployment manifest... Finished (00:00:00)
Downloading stemcell... Skipped [Found in local cache] (00:00:00)
Validating stemcell... Finished (00:00:00)
Finished validating (00:00:01)
Started installing CPI
Compiling package 'golang/1ad977ce1c6fdbf21485a79567ef3d8d4d280110'... Finished (00:00:00)
Compiling package 'bosh-google-cpi/65cba3f8e6bde9653cc68fd2c9733826be9c0224'... Finished (00:00:00)
Installing packages... Finished (00:00:02)
Rendering job templates... Finished (00:00:00)
Installing job 'google_cpi'... Finished (00:00:00)
Finished installing CPI (00:00:02)
Starting registry... Finished (00:00:00)
Uploading stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3262.2'... Skipped [Stemcell already uploaded] (00:00:00)
Started deploying
Waiting for the agent on VM 'vm-47a8e0a6-c6cc-4a56-5b68-7bd3b6bcad19'... Finished (00:00:00)
Stopping jobs on instance 'unknown/0'... Finished (00:00:00)
Deleting VM 'vm-47a8e0a6-c6cc-4a56-5b68-7bd3b6bcad19'... Finished (00:03:10)
Creating VM for instance 'bosh/0' from stemcell 'stemcell-2ea7f248-9bd1-49f2-692a-91f4140871f4'... Finished (00:00:39)
Waiting for the agent on VM 'vm-c4d045eb-38c0-4693-6dc8-43b0b5c2ea4b' to be ready... Failed (00:05:14)
Failed deploying (00:09:06)
Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)
Deploying:
Creating instance 'bosh/0':
Waiting until instance is ready:
Starting SSH tunnel:
Failed to connect to remote server:
ssh: handshake failed: read tcp 10.0.9.30:52240->104.154.39.128:22: read: connection reset by peer
Exit code 1
Deployment manifest: '/Users/cunnie/workspace/deployments/bosh-gce.yml'
Deployment state: '/Users/cunnie/workspace/deployments/bosh-gce-state.json'
Started validating
Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh'... Finished (00:00:00)
Downloading release 'bosh-google-cpi'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh-google-cpi'... Finished (00:00:00)
Validating cpi release... Finished (00:00:00)
Validating deployment manifest... Finished (00:00:00)
Downloading stemcell... Skipped [Found in local cache] (00:00:00)
Validating stemcell... Finished (00:00:00)
Finished validating (00:00:01)
Started installing CPI
Compiling package 'golang/1ad977ce1c6fdbf21485a79567ef3d8d4d280110'... Finished (00:00:00)
Compiling package 'bosh-google-cpi/65cba3f8e6bde9653cc68fd2c9733826be9c0224'... Finished (00:00:00)
Installing packages... Finished (00:00:02)
Rendering job templates... Finished (00:00:00)
Installing job 'google_cpi'... Finished (00:00:00)
Finished installing CPI (00:00:02)
Starting registry... Finished (00:00:00)
Uploading stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3262.2'... Skipped [Stemcell already uploaded] (00:00:00)
Started deploying
Waiting for the agent on VM 'vm-c4d045eb-38c0-4693-6dc8-43b0b5c2ea4b'... Finished (00:00:00)
Stopping jobs on instance 'unknown/0'... Finished (00:00:00)
Deleting VM 'vm-c4d045eb-38c0-4693-6dc8-43b0b5c2ea4b'... Finished (00:02:44)
Creating VM for instance 'bosh/0' from stemcell 'stemcell-2ea7f248-9bd1-49f2-692a-91f4140871f4'... Finished (00:00:40)
Waiting for the agent on VM 'vm-d257fa67-1d9c-4f49-65f6-7793278925d8' to be ready... Failed (00:05:07)
Failed deploying (00:08:33)
Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)
Deploying:
Creating instance 'bosh/0':
Waiting until instance is ready:
Starting SSH tunnel:
Failed to connect to remote server:
ssh: handshake failed: read tcp 10.0.9.30:52910->104.154.39.128:22: read: connection reset by peer
Exit code 1
Deployment manifest: '/Users/cunnie/workspace/deployments/bosh-gce.yml'
Deployment state: '/Users/cunnie/workspace/deployments/bosh-gce-state.json'
Started validating
Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh'... Finished (00:00:00)
Downloading release 'bosh-google-cpi'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh-google-cpi'... Finished (00:00:00)
Validating cpi release... Finished (00:00:00)
Validating deployment manifest... Finished (00:00:00)
Downloading stemcell... Skipped [Found in local cache] (00:00:00)
Validating stemcell... Finished (00:00:00)
Finished validating (00:00:01)
Started installing CPI
Compiling package 'golang/1ad977ce1c6fdbf21485a79567ef3d8d4d280110'... Finished (00:00:00)
Compiling package 'bosh-google-cpi/65cba3f8e6bde9653cc68fd2c9733826be9c0224'... Finished (00:00:00)
Installing packages... Finished (00:00:02)
Rendering job templates... Finished (00:00:00)
Installing job 'google_cpi'... Finished (00:00:00)
Finished installing CPI (00:00:02)
Starting registry... Finished (00:00:00)
Uploading stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3262.2'... Skipped [Stemcell already uploaded] (00:00:00)
Started deploying
Waiting for the agent on VM 'vm-d257fa67-1d9c-4f49-65f6-7793278925d8'... Finished (00:00:00)
Stopping jobs on instance 'unknown/0'... Finished (00:00:00)
Deleting VM 'vm-d257fa67-1d9c-4f49-65f6-7793278925d8'... Finished (00:02:35)
Creating VM for instance 'bosh/0' from stemcell 'stemcell-2ea7f248-9bd1-49f2-692a-91f4140871f4'... Finished (00:00:58)
Waiting for the agent on VM 'vm-fa8d07c0-7494-41f7-5aed-2c46add8b42a' to be ready... Failed (00:05:00)
Failed deploying (00:08:36)
Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)
Deploying:
Creating instance 'bosh/0':
Waiting until instance is ready:
Starting SSH tunnel:
Failed to connect to remote server:
ssh: handshake failed: EOF
Exit code 1
Deployment manifest: '/Users/cunnie/workspace/deployments/bosh-gce.yml'
Deployment state: '/Users/cunnie/workspace/deployments/bosh-gce-state.json'
Started validating
Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh'... Finished (00:00:00)
Downloading release 'bosh-google-cpi'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh-google-cpi'... Finished (00:00:00)
Validating cpi release... Finished (00:00:00)
Validating deployment manifest... Finished (00:00:00)
Downloading stemcell... Skipped [Found in local cache] (00:00:00)
Validating stemcell... Finished (00:00:00)
Finished validating (00:00:01)
Started installing CPI
Compiling package 'golang/1ad977ce1c6fdbf21485a79567ef3d8d4d280110'... Finished (00:00:00)
Compiling package 'bosh-google-cpi/65cba3f8e6bde9653cc68fd2c9733826be9c0224'... Finished (00:00:00)
Installing packages... Finished (00:00:02)
Rendering job templates... Finished (00:00:00)
Installing job 'google_cpi'... Finished (00:00:00)
Finished installing CPI (00:00:02)
Starting registry... Finished (00:00:00)
Uploading stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3262.2'... Skipped [Stemcell already uploaded] (00:00:00)
Started deploying
Waiting for the agent on VM 'vm-fa8d07c0-7494-41f7-5aed-2c46add8b42a'... Finished (00:00:00)
Stopping jobs on instance 'unknown/0'... Finished (00:00:00)
Deleting VM 'vm-fa8d07c0-7494-41f7-5aed-2c46add8b42a'... Finished (00:03:16)
Creating VM for instance 'bosh/0' from stemcell 'stemcell-2ea7f248-9bd1-49f2-692a-91f4140871f4'... Finished (00:01:13)
Waiting for the agent on VM 'vm-2163d3b2-ee3b-4346-7db8-fc78dec9a882' to be ready... Failed (00:05:12)
Failed deploying (00:09:44)
Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)
Deploying:
Creating instance 'bosh/0':
Waiting until instance is ready:
Starting SSH tunnel:
Failed to connect to remote server:
dial tcp 104.154.39.128:22: connect: network is down
Exit code 1
Deployment manifest: '/Users/cunnie/workspace/deployments/bosh-gce.yml'
Deployment state: '/Users/cunnie/workspace/deployments/bosh-gce-state.json'
Started validating
Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh'... Finished (00:00:00)
Downloading release 'bosh-google-cpi'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh-google-cpi'... Finished (00:00:00)
Validating cpi release... Finished (00:00:00)
Validating deployment manifest... Finished (00:00:00)
Downloading stemcell... Skipped [Found in local cache] (00:00:00)
Validating stemcell... Finished (00:00:00)
Finished validating (00:00:01)
Started installing CPI
Compiling package 'golang/1ad977ce1c6fdbf21485a79567ef3d8d4d280110'... Finished (00:00:00)
Compiling package 'bosh-google-cpi/65cba3f8e6bde9653cc68fd2c9733826be9c0224'... Finished (00:00:00)
Installing packages... Finished (00:00:02)
Rendering job templates... Finished (00:00:00)
Installing job 'google_cpi'... Finished (00:00:00)
Finished installing CPI (00:00:02)
Starting registry... Finished (00:00:00)
Uploading stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3262.2'... Skipped [Stemcell already uploaded] (00:00:00)
Started deploying
Waiting for the agent on VM 'vm-2163d3b2-ee3b-4346-7db8-fc78dec9a882'... Finished (00:00:00)
Stopping jobs on instance 'unknown/0'... Finished (00:00:00)
Deleting VM 'vm-2163d3b2-ee3b-4346-7db8-fc78dec9a882'... Finished (00:02:34)
Creating VM for instance 'bosh/0' from stemcell 'stemcell-2ea7f248-9bd1-49f2-692a-91f4140871f4'... Finished (00:01:04)
Waiting for the agent on VM 'vm-2e3260a4-8c2b-406d-66d7-c02c573e08cb' to be ready... Failed (00:05:00)
Failed deploying (00:08:40)
Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)
Deploying:
Creating instance 'bosh/0':
Waiting until instance is ready:
Starting SSH tunnel:
Failed to connect to remote server:
ssh: handshake failed: read tcp 10.0.9.30:54833->104.154.39.128:22: read: connection reset by peer
Exit code 1
Deployment manifest: '/Users/cunnie/workspace/deployments/bosh-gce.yml'
Deployment state: '/Users/cunnie/workspace/deployments/bosh-gce-state.json'
Started validating
Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh'... Finished (00:00:00)
Downloading release 'bosh-google-cpi'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh-google-cpi'... Finished (00:00:00)
Validating cpi release... Finished (00:00:00)
Validating deployment manifest... Finished (00:00:00)
Downloading stemcell... Skipped [Found in local cache] (00:00:00)
Validating stemcell... Finished (00:00:00)
Finished validating (00:00:01)
Started installing CPI
Compiling package 'golang/1ad977ce1c6fdbf21485a79567ef3d8d4d280110'... Finished (00:00:00)
Compiling package 'bosh-google-cpi/65cba3f8e6bde9653cc68fd2c9733826be9c0224'... Finished (00:00:00)
Installing packages... Finished (00:00:02)
Rendering job templates... Finished (00:00:00)
Installing job 'google_cpi'... Finished (00:00:00)
Finished installing CPI (00:00:02)
Starting registry... Finished (00:00:00)
Uploading stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3262.2'... Skipped [Stemcell already uploaded] (00:00:00)
Started deploying
Waiting for the agent on VM 'vm-2e3260a4-8c2b-406d-66d7-c02c573e08cb'... Finished (00:00:00)
Stopping jobs on instance 'unknown/0'... Finished (00:00:00)
Deleting VM 'vm-2e3260a4-8c2b-406d-66d7-c02c573e08cb'... Finished (00:02:31)
Creating VM for instance 'bosh/0' from stemcell 'stemcell-2ea7f248-9bd1-49f2-692a-91f4140871f4'... Finished (00:00:48)
Waiting for the agent on VM 'vm-7e20a222-6e88-446d-522b-97854c44f9a4' to be ready... Failed (00:05:06)
Failed deploying (00:08:28)
Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)
Deploying:
Creating instance 'bosh/0':
Waiting until instance is ready:
Starting SSH tunnel:
Failed to connect to remote server:
ssh: handshake failed: EOF
Exit code 1
Deployment manifest: '/Users/cunnie/workspace/deployments/bosh-gce.yml'
Deployment state: '/Users/cunnie/workspace/deployments/bosh-gce-state.json'
Started validating
Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh'... Finished (00:00:00)
Downloading release 'bosh-google-cpi'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh-google-cpi'... Finished (00:00:00)
Validating cpi release... Finished (00:00:00)
Validating deployment manifest... Finished (00:00:00)
Downloading stemcell... Skipped [Found in local cache] (00:00:00)
Validating stemcell... Finished (00:00:00)
Finished validating (00:00:01)
Started installing CPI
Compiling package 'golang/1ad977ce1c6fdbf21485a79567ef3d8d4d280110'... Finished (00:00:00)
Compiling package 'bosh-google-cpi/65cba3f8e6bde9653cc68fd2c9733826be9c0224'... Finished (00:00:00)
Installing packages... Finished (00:00:02)
Rendering job templates... Finished (00:00:00)
Installing job 'google_cpi'... Finished (00:00:00)
Finished installing CPI (00:00:02)
Starting registry... Finished (00:00:00)
Uploading stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3262.2'... Skipped [Stemcell already uploaded] (00:00:00)
Started deploying
Waiting for the agent on VM 'vm-7e20a222-6e88-446d-522b-97854c44f9a4'... Finished (00:00:00)
Stopping jobs on instance 'unknown/0'... Finished (00:00:00)
Deleting VM 'vm-7e20a222-6e88-446d-522b-97854c44f9a4'... Finished (00:02:39)
Creating VM for instance 'bosh/0' from stemcell 'stemcell-2ea7f248-9bd1-49f2-692a-91f4140871f4'... Finished (00:01:39)
Waiting for the agent on VM 'vm-a0ca4b78-93f0-4a11-61cd-e79603eda208' to be ready... Finished (00:00:00)
Creating disk... Finished (00:00:03)
Attaching disk 'disk-f2a75b5e-27d9-4d1c-4113-4b074e224995' to VM 'vm-a0ca4b78-93f0-4a11-61cd-e79603eda208'... Finished (00:00:22)
Rendering job templates... Finished (00:00:04)
Compiling package 'ruby/589d4b05b422ac6c92ee7094fc2a402db1f2d731'... Finished (00:08:31)
Compiling package 'mysql/b7e73acc0bfe05f1c6cbfd97bf92d39b0d3155d5'... Finished (00:01:59)
Compiling package 'libpq/09c8f60b87c9bd41b37b0f62159c9d77163f52b8'... Finished (00:00:42)
Compiling package 'golang/1ad977ce1c6fdbf21485a79567ef3d8d4d280110'... Finished (00:03:56)
Compiling package 's3cli/1c5a91f02feff8a0e3a506ac51c4a3140e86f049'... Finished (00:00:04)
Compiling package 'genisoimage/008d332ba1471bccf9d9aeb64c258fdd4bf76201'... Finished (00:00:19)
Compiling package 'registry/ed95450e34ff3eae080f27a576a19b3060b3f6c2'... Finished (00:04:42)
Compiling package 'postgres/4b9f6514001f7c3f7d4394920d6aced9435a3bbd'... Finished (00:11:52)
Compiling package 'health_monitor/62b635f04783c2d07b0e5a50eadcae5d48b2883c'... Finished (00:04:36)
Compiling package 'bosh-google-cpi/65cba3f8e6bde9653cc68fd2c9733826be9c0224'... Finished (00:01:57)
Compiling package 'nats/0155cf6be0305c9f98ba2e9e2503cd72da7c05c3'... Finished (00:01:11)
Compiling package 'nginx/21e909d27fa69b3b2be036cdf5b8b293c6800158'... Finished (00:03:32)
Compiling package 'powerdns/256336d00b1689138490c385c03ad3a8f54b4a9e'... Finished (00:00:08)
Compiling package 'director/63d986882df2533324e1611ba544ee3b02c25133'... Finished (00:06:00)
Updating instance 'bosh/0'... Finished (00:00:59)
Waiting for instance 'bosh/0' to be running... Finished (00:01:24)
Running the post-start scripts 'bosh/0'... Finished (00:00:00)
Finished deploying (00:56:55)
Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)
Succeeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment