cloudfoundry / cloudfoundry/bosh

When deploying bosh on Vsphere, Prompt Cleaning up rendered CPI jobs... Finished

Open
#2,463 26 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
2.1k
Forks
662
Avg merge
5h 25m
Merged PRs (30d)
2

Description

[root@localhost bosh-1]# bosh create-env bosh-deployment/bosh.yml \

--state=state.json \
--vars-store=creds.yml \
-o bosh-deployment/vsphere/cpi.yml \
-o bosh-deployment/vsphere/resource-pool.yml \
-v director_name=SQInternet \
-v internal_cidr=10.2.160.0/24 \
-v internal_gw=10.2.160.254 \
-v internal_ip=10.2.160.1 \
-v network_name="VM-Network-2" \
-v vcenter_dc=Datacenter \
-v vcenter_ds=Datastore_nfs \
-v vcenter_ip=10.2.161.10 \
-v vcenter_user=administrator@sqpass.local \
-v vcenter_password=sdsasus:6A4 \
-v vcenter_templates=SQInternet-templates \
-v vcenter_vms=SQInternet-vms \
-v vcenter_disks=SQInternet-disks \
-v vcenter_rp=ResourcePool \
-v vcenter_cluster=cluster

Deployment manifest: '/home/bosh-1/bosh-deployment/bosh.yml'
Deployment state: 'state.json'

Started validating
Downloading release 'bosh'... Finished (00:00:14)
Validating release 'bosh'... Finished (00:00:02)
Downloading release 'bpm'... Finished (00:00:14)
Validating release 'bpm'... Finished (00:00:01)
Downloading release 'bosh-vsphere-cpi'... Finished (00:00:38)
Validating release 'bosh-vsphere-cpi'... Finished (00:00:06)
Validating cpi release... Finished (00:00:00)
Validating deployment manifest... Finished (00:00:00)
Downloading stemcell... Finished (00:01:28)
Validating stemcell... Finished (00:00:17)
Finished validating (00:03:18)

Started installing CPI
Compiling package 'golang-1-darwin/a1cfad36b0071ef5a83ed91578b48ee30534f7054371bef8b54f3b5fa3034a88'... Finished (00:00:35)
Compiling package 'golang-1-linux/b09468ac73cd3350333a35eb09c980c6a06c5465be0e1ba430da62757dc10a04'... Finished (00:00:33)
Compiling package 'ruby-3.1/8b225e7cc2608305a7b784b5828b2b4b7c7adc3eb14af46e313d64a9e14a3ad6'... Finished (00:05:31)
Compiling package 'iso9660wrap/57da6c48c387379cc701856daa68f9f5269c2441d0195a0c5a735c93d6d2c489'... Finished (00:00:34)
Compiling package 'vsphere_cpi/0ed39dc9e020772257f07af9402ba9a4f8a62c7bd39f7e29e6ba99379398700e'... Finished (00:00:35)
Installing packages... Finished (00:00:12)
Rendering job templates... Finished (00:00:02)
Installing job 'vsphere_cpi'... Finished (00:00:00)
Finished installing CPI (00:08:05)

Uploading stemcell 'bosh-vsphere-esxi-ubuntu-jammy-go_agent/1.181'... Finished (00:04:12)

Started deploying
Creating VM for instance 'bosh/0' from stemcell 'sc-35792cdf-4377-440c-87e8-5af9aaa4b446'... Finished (00:00:25)
Waiting for the agent on VM 'vm-b46cf168-3d38-4683-a977-afe3ddc48111' to be ready... Finished (00:01:43)
Creating disk... Finished (00:00:10)
Attaching disk 'disk-a2189e85-869c-43ba-a151-c1e64ee6ba98' to VM 'vm-b46cf168-3d38-4683-a977-afe3ddc48111'... Finished (00:00:35)
Rendering job templates... Finished (00:00:14)
Compiling package 'golang-1-linux/29f2024e7d815be0694944c3c3c9512914a36a31d5fa1b2cbd2452c8d331ce90'... Skipped [Package already compiled] (00:00:01)
Compiling package 'director-ruby-3.2/84ee2f9d0485530a75822fa03e7fd0c73544aa4c2f6fe24aaebebe1757195efe'... Skipped [Package already compiled] (00:00:00)
Compiling package 'ruby-3.1/8b225e7cc2608305a7b784b5828b2b4b7c7adc3eb14af46e313d64a9e14a3ad6'... Finished (00:05:48)
Compiling package 'tini/3d7b02f3eeb480b9581bec4a0096dab9ebdfa4bc'... Skipped [Package already compiled] (00:00:00)
Compiling package 'bpm-runc/9f66395d85ace4b4d4908069742f7db27dc28d0a'... Skipped [Package already compiled] (00:00:00)
Compiling package 'mysql/67dc3882464cb721ac6f0c093a0b2aeb4d4f963a0c7cd6a8a6e5764f3e193293'... Skipped [Package already compiled] (00:00:00)
Compiling package 'libpq/b309a72768019e24e2c592f3f25ded2679e98cbb90f774c3a4d6b7745760079f'... Skipped [Package already compiled] (00:00:00)
Compiling package 'golang-1-darwin/a1cfad36b0071ef5a83ed91578b48ee30534f7054371bef8b54f3b5fa3034a88'... Finished (00:00:20)
Compiling package 'golang-1-linux/b09468ac73cd3350333a35eb09c980c6a06c5465be0e1ba430da62757dc10a04'... Finished (00:00:20)
Compiling package 'health_monitor/cd4d357a133796e0b6e330719d51b2368da8bf31e57d16d4e02287bf4ecef590'... Skipped [Package already compiled] (00:00:00)
Compiling package 'azure-storage-cli/069862c6e712ee894b1af3ef72a6cac5a03a83810df0cf7528786c12000f5008'... Skipped [Package already compiled] (00:00:00)
Compiling package 'davcli/c08e75b6a7335f5aee645b75cc35006674e7a0db2cd168229c5792f02d6d5d76'... Skipped [Package already compiled] (00:00:00)
Compiling package 's3cli/93ae9d812dcae6f1f924c60279365c53ddbda24b7e4bd8785b1fb9d5f9a57954'... Skipped [Package already compiled] (00:00:00)
Compiling package 'postgres-15/d60a5c68874e269beb9e2b03ea692912229bde7b0076d01f30203be6918323d2'... Skipped [Package already compiled] (00:00:00)
Compiling package 'vsphere_cpi/0ed39dc9e020772257f07af9402ba9a4f8a62c7bd39f7e29e6ba99379398700e'... Finished (00:00:29)
Compiling package 'nginx/ea3eadaa82bb9344018a8798a825b98315b1195bb1d495257f38421b0b7618a5'... Skipped [Package already compiled] (00:00:00)
Compiling package 'nats/91e42e9a8eb4420f55775f33ddcf58293481dccf1ebfe2a640992e063b02f5f1'... Skipped [Package already compiled] (00:00:00)
Compiling package 'verify_multidigest/e2cede15895902b58242b44023502380f68521af9ce68f1ed495158a97714327'... Skipped [Package already compiled] (00:00:00)
Compiling package 'bpm/a677a3b57b36b898c10f9709c9f9813da6d878f0'... Skipped [Package already compiled] (00:00:00)
Compiling package 'postgres-10/e3f2ed31116e1a0c929ae6fcdde983a9d6c000c25cafde8a784fd126e06400f9'... Skipped [Package already compiled] (00:00:00)
Compiling package 'bosh-gcscli/fc2b4b43a11fa3a6e4ac9f86ad4b750975f516371214ff04e01330f26e2a1222'... Skipped [Package already compiled] (00:00:00)
Compiling package 'postgres-13/fe1546f1a699070e23310d860d6c6ea6e61d086eb5cac3e50092cbb4368e8fa1'... Skipped [Package already compiled] (00:00:00)
Compiling package 'director/9da9955131180e1ee189d72ff5b98881706b2012bee63f78473bc513a943fec8'... Skipped [Package already compiled] (00:00:00)
Compiling package 'iso9660wrap/57da6c48c387379cc701856daa68f9f5269c2441d0195a0c5a735c93d6d2c489'... Finished (00:00:12)
Updating instance 'bosh/0'... Finished (00:00:16)
Waiting for instance 'bosh/0' to be running... Failed (00:05:03)
Failed deploying (00:15:46)

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

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

Exit code 1

Now I don't know how to deal with this problem, hope to get your help

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the bosh create-env command and the bosh-deployment/vsphere/cpi.yml and resource-pool.yml operations shown in the report. Reproduce the deployment and inspect why the bosh/0 instance reaches a failing state; done means the deployment completes with bosh/0 running rather than exiting with code 1.

Written by the indexing model from the issue text.

Assessment

Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.