cloudfoundry / bosh-vsphere-cpi-release

BOSH vSphere CPI
Apache License 2.0
32 stars 36 forks source link

adding persistent disk again and again and failed #122

Closed MuthuvelkumarS closed 6 years ago

MuthuvelkumarS commented 6 years ago

We are trying to set up an external concourse worker at a different vsphere datacenters where our bosh and existing concourse are running. We have successfully configured CPI.yml and cloudconfig.yml. When we tried to deploy, we are getting below error.

Failed to add disk scsi0:5

Concourse is using postgres and it requires persistent disk. Bosh while adding persistent disk to vm, it throws the above error. we logged into our vsphere data center using client and checked it. DB VM has been already added with the persistent disk and it is trying to add it again. We are getting same error even if we delete disk/VM etc and deploy again. Bosh version : 262.3.0. Please let us know if you have any questions.

medvedzver commented 6 years ago

@MuthuvelkumarS According to this This error typically occurs when persistent disk is being attached to a second VM while it is attached to another VM. That may happen when first VM was not properly deleted and BOSH is no longer aware of its existence.

Can you please provide the full error that you are having? You can do this by using bosh cli command bosh tasks NUMBER_OF_DEPLOY_TASK --debug. If possible, I would also looked at your cloud config and instance group section of your deployment manifest. Just make sure you throw away passwords and certs and keys.

If you haven't seen it already - check out our docs page on vshpere-cpi Quick googling on error you having shows this page. Maybe that could help.