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

Failed: No such file or directory - /var/vcap/jobs/powerdns/bin/powerdns_ctl #109

Open chrisrana opened 7 years ago

chrisrana commented 7 years ago

I am using bosh-init,bosh-257.9.tgz and cf-233 .Stemcell 3262.2.I get this error when I do bosh -n deploy

I get this error when i comment out powerdns from bosh-init.yml file.

`<% load 'bosh-init/bosh-init.rb' %>

name: <%= $os_tenant %>

releases:

resource_pools:

disk_pools:

networks:

jobs:

cloud_provider: template: {name: openstack_cpi, release: bosh-openstack-cpi}

ssh_tunnel: host: <%=$bosh_director_ip %> # <--- Replace with a floating IP port: 22 user: vcap private_key: <%= $key_file %> # Path relative to this manifest file

mbus: "https://mbus:mbus-password@<%=$bosh_director_ip %>:6868" # <--- Replace with a floating IP

properties: openstack: openstack agent: {mbus: "https://mbus:mbus-password@0.0.0.0:6868"} blobstore: {provider: local, path: /var/vcap/micro_bosh/data/cache} ntp: ntp `

dpb587-pivotal commented 7 years ago

If you want to remove the powerdns job, you'll need to set dns to false (currently you have address, domain_name, and db set). Otherwise it appears to the director that it should be talking to dns during your deployments.

Also, for easier readability of snippets, please consider using code fences or a separate gist...

name: <%= $os_tenant %> releases:

chrisrana commented 7 years ago

Thanks for quick response.I will take care snippets using code fences . by the way how to set it false

dns: false

is it ?

dpb587-pivotal commented 7 years ago

Yes; should be placed inside your jobs[0].properties section - by default it's expecting dns to be used.