cloudfoundry / docs-deploying-cf

The docs repo for material on deploying Cloud Foundry
Apache License 2.0
15 stars 101 forks source link

Consistent failure starting creating bosh director #204

Closed sshariff01 closed 6 years ago

sshariff01 commented 6 years ago

I'm hitting a consistent failure when creating the bosh director using bbl plan and bbl up from https://github.com/cloudfoundry/docs-deploying-cf/blob/master/common/aws.html.md.erb#L153.

I am using the Domain Name created at https://github.com/cloudfoundry/docs-deploying-cf/blob/master/common/aws.html.md.erb#L44 in place of YOUR-SYSTEM-DOMAIN.

See bbl up output here:

Started installing CPI
  Compiling package 'ruby-2.4-r4/0cdc60ed7fdb326e605479e9275346200af30a25'... Finished (00:00:00)
  Compiling package 'bosh_aws_cpi/c30124fa3824bb5ac3549f879284f133954725ea'... Finished (00:00:00)
  Installing packages... Finished (00:00:00)
  Rendering job templates... Finished (00:00:00)
  Installing job 'aws_cpi'... Finished (00:00:00)
Finished installing CPI (00:00:01)

Starting registry... Finished (00:00:00)
Uploading stemcell 'bosh-aws-xen-hvm-ubuntu-trusty-go_agent/3586.24'... Skipped [Stemcell already uploaded] (00:00:00)

Started deploying
  Waiting for the agent on VM 'i-0a29807b7ff764571'... Finished (00:00:00)
  Stopping jobs on instance 'unknown/0'... Finished (00:00:00)
  Unmounting disk 'vol-02aa1ca1b07bbb37c'... Finished (00:00:04)
  Deleting VM 'i-0a29807b7ff764571'... Finished (00:00:37)
  Creating VM for instance 'bosh/0' from stemcell 'ami-ae025bd6'... Finished (00:01:27)
  Waiting for the agent on VM 'i-00e2fa92266f4fcb7' to be ready... Finished (00:00:23)
  Attaching disk 'vol-02aa1ca1b07bbb37c' to VM 'i-00e2fa92266f4fcb7'... Finished (00:00:21)
  Rendering job templates... Finished (00:00:11)
  Compiling package 'bpm-runc/c0b41921c5063378870a7c8867c6dc1aa84e7d85'... Skipped [Package already compiled] (00:00:01)
  Compiling package 'golang/e3ca1c9440c29ad576d633e9ef6a2f7805a5e8b7'... Skipped [Package already compiled] (00:00:26)
  Compiling package 'golang-1.9-linux/8d6c67abda8684ce454f0bc74050a213456573ff'... Skipped [Package already compiled] (00:00:21)
  Compiling package 'openjdk_1.8.0/c8846344bf802835ce8b1229de8fa2028d06f603'... Skipped [Package already compiled] (00:00:09)
  Compiling package 'ruby-2.4-r4/0cdc60ed7fdb326e605479e9275346200af30a25'... Finished (00:01:53)
  Compiling package 'ruby-2.4-r4/0cdc60ed7fdb326e605479e9275346200af30a25'... Skipped [Package already compiled] (00:00:01)
  Compiling package 'mysql/898f50dde093c366a644964ccb308a5281c226de'... Skipped [Package already compiled] (00:00:01)
  Compiling package 'libpq/e2414662250d0498c194c688679661e09ffaa66e'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'bpm/3fe49cfa0140be3ebd8da4bdcadfa6b84d847e87'... Skipped [Package already compiled] (00:00:01)
  Compiling package 'lunaclient/b922e045db5246ec742f0c4d1496844942d6167a'... Skipped [Package already compiled] (00:00:01)
  Compiling package 'configurator/0d632a3a9b06f3777bea07d61807ca06ece24dee'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'bosh-gcscli/fce60f2d82653ea7e08c768f077c9c4a738d0c39'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'uaa/87da0e8d38c63e84fda7069ce77285419399623d'... Skipped [Package already compiled] (00:00:32)
  Compiling package 'credhub/e3d60a289d5fd414e29ee06e7e5f1a6b3802c792'... Skipped [Package already compiled] (00:00:10)
  Compiling package 'davcli/f8a86e0b88dd22cb03dec04e42bdca86b07f79c3'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'nginx/d9f726bf0c5a38bad988e40cefb084c821e333cf'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'postgres-9.4/52b3a31d7b0282d342aa7a0d62d8b419358c6b6b'... Skipped [Package already compiled] (00:00:01)
  Compiling package 'bosh_aws_cpi/c30124fa3824bb5ac3549f879284f133954725ea'... Finished (00:00:04)
  Compiling package 'health_monitor/251915bca2d42f06f4bbb1f5395afd1ae73cf681'... Skipped [Package already compiled] (00:00:02)
  Compiling package 'registry/a6daac4743749c70c2ae15e58170adb6b41a3a76'... Skipped [Package already compiled] (00:00:03)
  Compiling package 'gonats/73ec55f11c24dd7c02288cdffa24446023678cc2'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'verify_multidigest/8fc5d654cebad7725c34bb08b3f60b912db7094a'... Skipped [Package already compiled] (00:00:00)
  Compiling package 'director/db07ae48ea2963a9cdec4938a9522f85f718e672'... Skipped [Package already compiled] (00:00:04)
  Compiling package 'uaa_utils/90097ea98715a560867052a2ff0916ec3460aabb'... Skipped [Package already compiled] (00:00:00)
  Compiling package 's3cli/3097f27cb9356172c9ae52de945821c4e338c87a'... Skipped [Package already compiled] (00:00:00)
  Updating instance 'bosh/0'...panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x106b4f3]

goroutine 1844 [running]:
io.copyBuffer(0x1bfdd00, 0xc420082140, 0x0, 0x0, 0xc42054e000, 0x8000, 0x8000, 0xc420082140, 0xc420082140, 0x19cb9c0)
    /usr/local/go/src/io/io.go:400 +0x143
io.Copy(0x1bfdd00, 0xc420082140, 0x0, 0x0, 0xc4202eeda0, 0xc420474901, 0xc4203b2200)
    /usr/local/go/src/io/io.go:362 +0x5a
net.genericReadFrom(0x1bfc140, 0xc4205f6000, 0x0, 0x0, 0xc4202eedc8, 0x1031b99, 0xc4204fcd80)
    /usr/local/go/src/net/net.go:597 +0x84
net.(*TCPConn).readFrom(0xc4205f6000, 0x0, 0x0, 0xc4202eee08, 0x100e04d, 0x1998080)
    /usr/local/go/src/net/tcpsock_posix.go:51 +0x4d
net.(*TCPConn).ReadFrom(0xc4205f6000, 0x0, 0x0, 0x2638030, 0xc4205f6000, 0xc42001c001)
    /usr/local/go/src/net/tcpsock.go:103 +0x5f
io.copyBuffer(0x1bfc140, 0xc4205f6000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1a9ff80, 0x1ad6a00, 0x1bfc140)
    /usr/local/go/src/io/io.go:386 +0x31a
io.Copy(0x1bfc140, 0xc4205f6000, 0x0, 0x0, 0x0, 0x0, 0xc4204fce08)
    /usr/local/go/src/io/io.go:362 +0x5a
github.com/cloudfoundry/bosh-cli/deployment/sshtunnel.(*sshTunnel).Start.func3(0x1c0bfa0, 0xc4205f6000, 0x0, 0x0, 0xc4206fc910, 0xc4200ad560)
    /tmp/build/a9832f70/gopath/src/github.com/cloudfoundry/bosh-cli/deployment/sshtunnel/ssh_tunnel.go:85 +0xc3
created by github.com/cloudfoundry/bosh-cli/deployment/sshtunnel.(*sshTunnel).Start
    /tmp/build/a9832f70/gopath/src/github.com/cloudfoundry/bosh-cli/deployment/sshtunnel/ssh_tunnel.go:84 +0x314

Create bosh director: Running /Users/shoabe/Documents/Workspace/cf-experiments/create-director.sh: exit status 2

Note: Running on Mac OS X 10.12.5 (Sierra).

cf-gitbot commented 6 years ago

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

pspinrad commented 6 years ago

Thank you for raising this issue. For help with open-source Cloud Foundry, please query one of the CF mailing lists or Stack Overflow.