Rendering template error Bosh-init


Jamie OMeara
 

Trying to Bosh-init install and getting the following error rendering the
director.yml.erb.erb file. What is the best way to troubleshoot rendering
issues?

Error filling in template
'/Users/jomeara/.bosh_init/installations/931295f1-e028-4bf2-59e4-74f7dc1565ca/tmp/bosh-init-release335269600/extracted_jobs/director/templates/director.yml.erb.erb'
for director/0 (line 134: #<JSON::GeneratorError: only generation of JSON
objects or arrays allowed>) (RuntimeError)

*Jamie O'Meara*
Field Engineer
303.898.5437
jomeara(a)pivotal.io
www.pivotal.io


Dmitriy Kalinin
 

We currently have a problem rendering templates with default ruby installed - 1.9.x, because json gem changed some behavior. If you upgrade your ruby issue should go away.

Sent from my iPhone

On Sep 15, 2015, at 7:14 PM, Jamie OMeara <jomeara(a)pivotal.io> wrote:

Trying to Bosh-init install and getting the following error rendering the director.yml.erb.erb file. What is the best way to troubleshoot rendering issues?

Error filling in template '/Users/jomeara/.bosh_init/installations/931295f1-e028-4bf2-59e4-74f7dc1565ca/tmp/bosh-init-release335269600/extracted_jobs/director/templates/director.yml.erb.erb' for director/0 (line 134: #<JSON::GeneratorError: only generation of JSON objects or arrays allowed>) (RuntimeError)

Jamie O'Meara
Field Engineer
303.898.5437
jomeara(a)pivotal.io
www.pivotal.io