cloudfoundry-attic / bosh-init

bosh-init is a tool used to create and update the Director VM
Apache License 2.0
31 stars 33 forks source link

CPI 'create_stemcell' method responded with error #125

Closed shivamvarma closed 6 years ago

shivamvarma commented 7 years ago

I am trying to setup bosh CPI environment on vsphere and I am getting the following error:- creating stemcell (bosh-vsphere-esxi-ubuntu-trusty-go_agent 3421.9): CPI 'create_stemcell' method responded with error: CmdError{"type":"Unknown","message":"getaddrinfo: Name or service not known (esxi-18.test.hytrust.com:443)","ok_to_retry":false} please let know how do I fix it.

mssh2001 commented 6 years ago

exact same problem for me

prashantgnet commented 6 years ago

same issue for me as well

prashantgnet commented 6 years ago

Issue solved after changing dns entry under bosh.yml to local DNS server.

dpb587-pivotal commented 6 years ago

This error usually means DNS has not been correctly configured. If using bosh-deployment, you can use the misc/dns.yml ops file to specify your own internal DNS servers.

bosh create-env bosh.yml -o misc/dns.yml -v internal_dns=[10.0.0.10,10.0.10.10] ...

To investigate and verify further, you could connect to the failing VM and manually verify connectivity with dig/curl.