cloudfoundry-attic / cfdev

A fast and easy local Cloud Foundry experience on native hypervisors, powered by LinuxKit with VPNKit
Apache License 2.0
227 stars 64 forks source link

`cf dev start` got an error. #110

Closed tosone closed 5 years ago

tosone commented 5 years ago

cf dev start got an error:

Progress: |====================>| 100.0%
Setting State...
Creating the VM...
Starting the VM...
Fetching VM Address...
Waiting for the VM...
Deploying the BOSH Director...
FAILED
cf dev start: Failed to deploy the BOSH Director: Process exited with status 1

cat .cfdev/log/deploy-bosh.log got this:

scp: protocol error: unexpected <newline>
scp: protocol error: unexpected <newline>
scp: protocol error: unexpected <newline>
Deployment manifest: '/root/director.yml'
Deployment state: 'state.json'

Started validating
  Validating release 'bosh'... Finished (00:00:13)
  Validating release 'bpm'... Finished (00:00:19)
  Validating release 'os-conf'... Finished (00:00:00)
  Validating release 'bosh-runc-cpi'... Finished (00:00:04)
  Validating cpi release... Finished (00:00:00)
  Validating deployment manifest... Finished (00:00:09)
  Validating stemcell... Finished (00:01:08)
Finished validating (00:02:15)

Started installing CPI
  Compiling package 'runc-cpi/14cee2d6256a9def3f8ce1cb00dabc6484aca9cb'... Finished (00:00:09)
  Installing packages... Finished (00:00:02)
  Rendering job templates... Finished (00:00:08)
  Installing job 'runc_cpi'... Finished (00:00:00)
Finished installing CPI (00:00:20)

Starting registry... Finished (00:00:00)
Uploading stemcell 'bosh-warden-boshlite-ubuntu-xenial-go_agent/170.16'... Skipped [Stemcell already uploaded] (00:00:00)

Started deploying
  Deleting VM '5e1c3f12-c299-4b53-8f07-e1cedbc4ace9'... Finished (00:00:40)
  Creating VM for instance 'bosh/0' from stemcell '16744a3a-827a-4bb4-8572-c1ca2ade7d83'... Finished (00:00:09)
  Waiting for the agent on VM '47048737-f362-450c-a4ac-4e003bf0dde7' to be ready... Finished (00:00:17)
  Attaching disk 'd392c6f7-db47-4b61-8bf5-bd6553ffd366' to VM '47048737-f362-450c-a4ac-4e003bf0dde7'... Finished (00:00:23)
  Rendering job templates... Finished (00:03:11)
  Compiling package 'bpm-runc/c0b41921c5063378870a7c8867c6dc1aa84e7d85'... Skipped [Package already compiled] (00:00:02)
  Compiling package 'golang/27413c6b5a88ea20a24a9eed74d4b090b7b88331'... Skipped [Package already compiled] (00:01:00)
  Compiling package 'ruby-2.4-r4/0cdc60ed7fdb326e605479e9275346200af30a25'... Skipped [Package already compiled] (00:00:08)
  Compiling package 'mysql/898f50dde093c366a644964ccb308a5281c226de'... Skipped [Package already compiled] (00:00:03)
  Compiling package 'libpq/0d118c5dd7928f8c057de40b5f8f2d7dde48f6c7'... Skipped [Package already compiled] (00:00:01)
  Compiling package 'verify_multidigest/8fc5d654cebad7725c34bb08b3f60b912db7094a'... Skipped [Package already compiled] (00:00:01)
  Compiling package 'bosh-gcscli/fce60f2d82653ea7e08c768f077c9c4a738d0c39'... Skipped [Package already compiled] (00:00:04)
  Compiling package 'davcli/f8a86e0b88dd22cb03dec04e42bdca86b07f79c3'... Skipped [Package already compiled] (00:00:02)
  Compiling package 's3cli/3097f27cb9356172c9ae52de945821c4e338c87a'... Skipped [Package already compiled] (00:00:02)
  Compiling package 'runc-cpi/14cee2d6256a9def3f8ce1cb00dabc6484aca9cb'... Finished (00:00:19)
  Compiling package 'bpm/d139b63561eaa3893976416be9668dea539bf17d'... Skipped [Package already compiled] (00:00:03)
  Compiling package 'director/c10bed194a653255948f31345bcfbfb87c1d1339'... Skipped [Package already compiled] (00:00:12)
  Compiling package 'health_monitor/c5a852ce964ec9a288577ec50f2092c42efe880f'... Skipped [Package already compiled] (00:00:07)
  Compiling package 'gonats/73ec55f11c24dd7c02288cdffa24446023678cc2'... Skipped [Package already compiled] (00:00:02)
  Compiling package 'nginx/5a68865452a3bdcc233867edbbb59c1e18658f6b'... Skipped [Package already compiled] (00:00:02)
  Compiling package 'postgres-9.4/b34d67da70e0295c09e4f4122e312f64e50896eb'... Skipped [Package already compiled] (00:00:05)
  Updating instance 'bosh/0'... Finished (00:03:17)
  Waiting for instance 'bosh/0' to be running... Failed (00:10:06)
Failed deploying (00:20:30)

Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)

Deploying:
  Received non-running job state: 'failing'

Exit code 1
cf-gitbot commented 5 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/167800567

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