bosh deploy on vsphere: 'director.yml.erb.erb' error in binding configuration step

106 views
Skip to first unread message

Jean-Philippe Buttazzoni

unread,
Oct 17, 2014, 7:46:37 AM10/17/14
to bosh-...@cloudfoundry.org
Hi,

I am trying to install a Cloud Foundry platform on vSphere using MicroBOSH and BOSH
I succeeded to set up MicroBOSH but when I try to deploy BOSH components with the "bosh deploy" command, I get an error in binding configuration step:

Processing deployment manifest
------------------------------
Getting deployment properties from director...
Compiling deployment manifest...
Please review all changes carefully


Deploying
---------
Deployment name: `bosh.yml'
Director name: `
MicroBOSH01'
Are you sure you want to deploy? (type '
yes' to continue):
Director task 48
  Started preparing deployment
  Started preparing deployment > Binding deployment. Done (00:00:00)
  Started preparing deployment > Binding releases. Done (00:00:00)
  Started preparing deployment > Binding existing deployment. Done (00:00:01)
  Started preparing deployment > Binding resource pools. Done (00:00:00)
  Started preparing deployment > Binding stemcells. Done (00:00:00)
  Started preparing deployment > Binding templates. Done (00:00:00)
  Started preparing deployment > Binding properties. Done (00:00:00)
  Started preparing deployment > Binding unallocated VMs. Done (00:00:00)
  Started preparing deployment > Binding instance networks. Done (00:00:00)
     Done preparing deployment (00:00:01)


  Started preparing package compilation > Finding packages to compile. Done (00:00:00)


  Started preparing dns > Binding DNS. Done (00:00:01)


  Started preparing configuration > Binding configuration. Failed: Error filling in template `director.yml.erb.erb'
for `director/0' (line 351: Could not find cloud plugin) (00:00:00)


Error 100: Error filling in template `
director.yml.erb.erb' for `director/0' (line 351: Could not find cloud plugin)


Task 48 error


For a more detailed error report, run: bosh task 48 --debug

I have no idea how to fix this. Can somebody help me?

Fyi, some logs:
  • bosh deployments:
+------+------------+-------------------------------+
| Name | Release(s) | Stemcell(s)                   |
+------+------------+-------------------------------+
| bosh | bosh/111   | bosh-vsphere-esxi-ubuntu/2427 |
+------+------------+-------------------------------+


Deployments total: 1


  • bosh status:
Config
             
/home/psa1/.bosh_config


Director
 
Name       MicroBOSH01
  URL        https
://10.23.75.110:25555
 
Version    1.2745.0 (00000000)
 
User       cfadmin
  UUID      
03761369-fb86-472a-864f-d0683a9feb71
  CPI        vsphere
  dns        enabled
(domain_name: microbosh)
  compiled_package_cache disabled
  snapshots  disabled


Deployment
 
Manifest   /bosh/deployments/bosh/bosh.yml
  • bosh.yml:
---
name
: bosh
director_uuid
: 03761369-fb86-472a-864f-d0683a9feb71
release
:
  name
: bosh
  version
: 111


networks
:
# all of these settings depend on your own infrastructure setup
- name: default
  subnets
:
 
- range: 10.23.75.0/24
    reserved
:
   
- 10.23.75.2 - 10.23.75.110
   
static:
   
- 10.23.75.111 - 10.23.75.119
    gateway
: 10.23.75.1
    dns
:
   
- 10.23.75.4
    cloud_properties
:
      name
: VM Network


resource_pools
:
- name: small
  stemcell
:
    name
: bosh-vsphere-esxi-ubuntu
    version
: latest
  network
: default
  size
: 5
  cloud_properties
:
    ram
: 1024
    disk
: 2048
    cpu
: 1
- name: director
  stemcell
:
    name
: bosh-vsphere-esxi-ubuntu
    version
: latest
  network
: default
  size
: 1
  cloud_properties
:
    ram
: 2048
    disk
: 8192
    cpu
: 2


compilation
:
  workers
: 6
  network
: default
  cloud_properties
:
    ram
: 1024
    disk
: 4048
    cpu
: 1


update
:
  canaries
: 1
  canary_watch_time
: 60000
  update_watch_time
: 60000
  max_in_flight
: 1


jobs
:


- name: nats
 
template: nats
  instances
: 1
  resource_pool
: small
  networks
:
 
- name: default
    static_ips
:
   
- 10.23.75.112


- name: postgres
 
template: postgres
  instances
: 1
  resource_pool
: small
  persistent_disk
: 2048
  networks
:
 
- name: default
    static_ips
:
   
- 10.23.75.113


- name: redis
 
template: redis
  instances
: 1
  resource_pool
: small
  networks
:
 
- name: default
    static_ips
:
   
- 10.23.75.114


- name: director
 
template: director
  instances
: 1
  resource_pool
: director
  persistent_disk
: 2048
  networks
:
 
- name: default
    static_ips
:
   
- 10.23.75.115


- name: blobstore
 
template: blobstore
  instances
: 1
  resource_pool
: small
  persistent_disk
: 20480
  networks
:
 
- name: default
    static_ips
:
   
- 10.23.75.116


- name: health_monitor
 
template: health_monitor
  instances
: 1
  resource_pool
: small
  networks
:
 
- name: default
    static_ips
:
   
- 10.23.75.117


properties
:
  env
:


  blobstore
:
    address
: 10.23.75.116
    port
: 25251
    backend_port
: 25552
    agent
:
      user
: agent
      password
: mysecretpw
    director
:
      user
: director
      password
: mysecretpw


  networks
:
    apps
: default
    management
: default


  nats
:
    user
: nats
    password
: mysecretpw
    address
: 10.23.75.112
    port
: 4222


  postgres
:
    user
: bosh
    password
: mysecretpw
    address
: 10.23.75.113
    port
: 5432
    database
: bosh


  redis
:
    address
: 10.23.75.114
    port
: 25255
    password
: mysecretpw


  director
:
    name
: microBOSH-director
    address
: 10.23.75.115
    port
: 25555
    encryption
: false
    db
:
      user
: bosh
      password
: mysecretpw
      host
: 10.23.75.113


  hm
:
    http
:
      port
: 25923
      user
: admin #can be whatever
      password
: mysecretpw # can be whatever
    director_account
:
      user
: admin # can be whatever
      password
: mysecretpw # can be whatever
    intervals
:
      poll_director
: 60
      poll_grace_period
: 30
      log_stats
: 300
      analyze_agents
: 60
      agent_timeout
: 180
      rogue_agent_alert
: 180
    loglevel
: info
    email_notifications
: false # if this is false you don't need to worry about the smtp section below
    email_recipients
:
   
- kenny@kendrickcoleman.c0m
    smtp
:
     
from: kenny@kendrickcoleman.c0m
      host
: smtp.kendrickcoleman.c0m
      port
: 25
      auth
: plain
      user
: kenny
      password
: mysecretpw
      domain
: kendrickcoleman.c0m
    tsdb_enabled
: false # it this is false you don't have to worry about the tsdb settings. Plus you can't set it to true until you have a complete Cloud Foundry running.
    tsdb
:
      address
: 172.20.218.14 # opentsdb static IP from your Cloud Foundry deploy (optional)
      port
: 4242


  vcenter
:
    adress
: 10.23.75.107 # IP or FQDN of vCenter
    user
: Administrator@vsphere.local # user name provisioned for BOSH
    password
: Nexworld2014! # passowrd for BOSH
    datacenters
:
     
- name: CloudFoundry
        vm_folder
: bosh_vms
        template_folder
: bosh_templates
        disk_path
: bosh_disk_storage
        datastore_pattern
: datastore1
        persistent_datastore_pattern
: datastore1
        allow_mixed_datastores
: true
        clusters
:
       
- Cluster BOSH:
            resource_pool
: bosh

Regards,
Jean-Philippe


bosh_deploy.log
bosh_task_debug.log

Dmitriy Kalinin

unread,
Oct 17, 2014, 12:21:21 PM10/17/14
to bosh-...@cloudfoundry.org
There is a typo in vcenter address key.

Jean-Philippe Buttazzoni

unread,
Oct 17, 2014, 12:45:48 PM10/17/14
to bosh-...@cloudfoundry.org
That's it! Thanks a lot!
Reply all
Reply to author
Forward
0 new messages