Error filling in template `hbase.hbase-site.xml.erb' for `opentsdb/0

48 views
Skip to first unread message

chenl...@gmail.com

unread,
Jan 11, 2013, 10:27:29 AM1/11/13
to bosh-...@cloudfoundry.org
Preparing deployment
binding deployment (00:00:00)
binding releases (00:00:00)
binding existing deployment (00:00:01)
binding resource pools (00:00:00)
binding stemcells (00:00:00)
binding templates (00:00:00)
binding properties (00:00:00)
binding unallocated VMs (00:00:00)
binding instance networks (00:00:00)
Done 9/9 00:00:01

Preparing package compilation
finding packages to compile (00:00:00)
Done 1/1 00:00:00

Preparing DNS
binding DNS (00:00:00)
Done 1/1 00:00:00

Preparing configuration
binding configuration: Error filling in template `hbase.hbase-site.xml.erb' for `opentsdb/0' (line 6: undefined method `address' for nil:NilClass) (00:00:00)
Error 1/1 00:00:00

Martin Englund

unread,
Jan 11, 2013, 10:42:39 AM1/11/13
to bosh-...@cloudfoundry.org
Since there isn't a question in the email, just output from "bosh deploy", I assume you want to know why you get "undefined method ...".

You haven't provided a value for a property the template needs. Take a look at the template and you'll see what properties you need to set in your deployment manifest...

cheers,
/Martin
--
Martin Englund, Staff Engineer, Cloud Foundry, VMware Inc.
"The question is not if you are paranoid, it is if you are paranoid enough."

Dr Nic Williams

unread,
Jan 11, 2013, 10:52:09 AM1/11/13
to bosh-users
Alternately, disable the opentsdb job (rather, don't include the job in your manifest). Its an internal time series backend for an internal monitoring job - which I can't remember what its called.

chenl...@gmail.com

unread,
Jan 11, 2013, 4:36:35 PM1/11/13
to bosh-...@cloudfoundry.org
That's very kind of you, my question is indeed the one you pointed, next time I will explain my question more clearly.

This output is generated by "bosh deploy", as the error message shows "address" is nil, I assume in my manifest lack the parameter "address", but after I check my cf.yml, I found it doesn't:

in the resource pool section:
- name: opentsdb
  template: opentsdb
  instances: 1
  resource_pool: infrastructure
  persistent_disk: 8192
  networks:
  - name: default
    static_ips:
    - 172.16.6.27 # Enter a static IP

in the properties section:

  opentsdb:
    address: 172.16.6.27   # Change this IP address
    port: 4242

I found I have defined the address property, but the message still shown the "address" is nil, could there any way to check the template's necessary properties?

thank you.

chenl...@gmail.com

unread,
Jan 11, 2013, 4:45:19 PM1/11/13
to bosh-...@cloudfoundry.org
After I disabled the opentsdb service, the another problem raise again:
Preparing configuration
  binding configuration: Error filling in template `config.yml.erb' for `collector/0' (line 9: undefined method `address' for nil:NilClass) (00:00:00)
Error                   1/1 00:00:00                                                                

Error 80006: Error filling in template `config.yml.erb' for `collector/0' (line 9: undefined method `address' for nil:NilClass)

should I disable the collector next?

In my manifest file, the collector is only defined in the resource pool:

- name: collector
  template: collector
  instances: 1
  resource_pool: infrastructure
  networks:
  - name: default # No static IP required here

chenl...@gmail.com

unread,
Jan 12, 2013, 6:51:25 PM1/12/13
to bosh-...@cloudfoundry.org
Could anybody help? I have been stopped on deploy the cf-release with appcloud126 or 106 (the version as the tour document)

The error is the same:

Preparing configuration
  binding configuration: Error filling in template `hbase.hbase-site.xml.erb' for `opentsdb/0' (line 6: undefined method `address' for nil:NilClass) (00:00:00)
Error                 1/1 00:00:00

Error 80006: Error filling in template `hbase.hbase-site.xml.erb' for `opentsdb/0' (line 6: undefined method `address' for nil:NilClass)

if I disabled the opentsdb, the another component will report error for other, even the dashboard and the controller, I just wonder how to solve this, thank you.

mik...@gmail.com

unread,
Jan 15, 2013, 7:19:59 PM1/15/13
to bosh-...@cloudfoundry.org
We commented out the hbase_master, hbase_slave, opentsdb, and collector jobs to get the cf-release code to install with BOSH.  These seem to only be used by the dashboard, so it doesn't seem to affect the operation of cloudfoundry.
We haven't tried to get the dashboard working, so not sure what functionality is lost by commenting out these jobs.

Dr Nic Williams

unread,
Jan 15, 2013, 9:04:42 PM1/15/13
to bosh-...@cloudfoundry.org
dashboard is an internal monitoring tool I think

Matthew Kocher

unread,
Jan 16, 2013, 12:11:46 AM1/16/13
to bosh-...@cloudfoundry.org
Yes, the dashboard is what's used to see graphs of what's happening in cloudfoundry.  It's not the simplest thing to get set up or modify.  Everything should function just fine without a dashboard deployed, so you should be able to skip all those jobs.
Reply all
Reply to author
Forward
0 new messages