Error 190012: Can't find template `route_registrar' while deploying CF on AWS


Remi Tassing
 

Hi,
After following the tutorials "Deploying MicroBOSH to AWS" and "Configuring AWS for Cloud Foundry" (http://bosh.io/docs/deploy-microbosh-to-aws.html and https://docs.cloudfoundry.org/deploying/ec2/configure_aws_cf.html, respectively), I've started the instructions on "Deploying Cloud Foundry on AWS" (https://docs.cloudfoundry.org/deploying/ec2/deploy_aws_cf.html) but I get stuck at "bosh deploy". It gives "Error 190012: Can't find template `route_registrar'". I'm using the following stemcell:
bosh-aws-xen-ubuntu-trusty-go_agent | ubuntu-trusty | 3091* | ami-ab4007ce light |

Here is a snippet of the debug output:

D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Binding template `nats_stream_forwarder'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Bound template `nats_stream_forwarder'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Binding template `metron_agent'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Bound template `metron_agent'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Binding template `etcd'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Bound template `etcd'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Binding template `etcd_metrics_server'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Bound template `etcd_metrics_server'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Binding template `debian_nfs_server'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Bound template `debian_nfs_server'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Binding template `postgres'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Bound template `postgres'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Binding template `cloud_controller_ng'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Bound template `cloud_controller_ng'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Binding template `cloud_controller_worker'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Bound template `cloud_controller_worker'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Binding template `cloud_controller_clock'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Bound template `cloud_controller_clock'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Binding template `nfs_mounter'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Bound template `nfs_mounter'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Binding template `route_registrar'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Deleting lock: lock:deployment:cf
D, [2015-10-03 05:41:16 #7230] [] DEBUG -- DirectorJobRunner: Lock renewal thread exiting
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: Deleted lock: lock:deployment:cf
I, [2015-10-03 05:41:16 #7230] [task:20] INFO -- DirectorJobRunner: sending update deployment error event
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: SENT: hm.director.alert {"id":"9f55fef4-1982-40bd-a684-b66a9067642a","severity":3,"title":"director - error during update deployment","summary":"Error during update deployment for 'cf' against Director 'd7b831a0-b373-4881-b6a4-1af31e602e10': #<Bosh::Director::DeploymentUnknownTemplate: Can't find template `route_registrar'>","created_at":1443850876}
E, [2015-10-03 05:41:16 #7230] [task:20] ERROR -- DirectorJobRunner: Can't find template `route_registrar'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/deployment_plan/template.rb:29:in `bind_models'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/deployment_plan/release_version.rb:62:in `block in bind_templates'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/deployment_plan/release_version.rb:60:in `each_value'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/deployment_plan/release_version.rb:60:in `bind_templates'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/deployment_plan/assembler.rb:283:in `block in bind_templates'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/deployment_plan/assembler.rb:282:in `each'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/deployment_plan/assembler.rb:282:in `bind_templates'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/deployment_plan/planner_factory.rb:176:in `block in run_prepare_step'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/deployment_plan/planner_factory.rb:195:in `block in track_and_log'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/event_log.rb:97:in `call'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/event_log.rb:97:in `advance_and_track'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/event_log.rb:50:in `track'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/deployment_plan/planner_factory.rb:193:in `track_and_log'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/deployment_plan/planner_factory.rb:175:in `run_prepare_step'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/deployment_plan/planner_factory.rb:96:in `bind_vms'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/deployment_plan/planner_factory.rb:39:in `planner'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/jobs/update_deployment.rb:31:in `block in perform'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/lock_helper.rb:13:in `block in with_deployment_lock'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/lock.rb:56:in `lock'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/lock_helper.rb:13:in `with_deployment_lock'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/jobs/update_deployment.rb:25:in `perform'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/job_runner.rb:108:in `perform_job'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/job_runner.rb:31:in `block in run'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_common-1.3091.0/lib/common/thread_formatter.rb:49:in `with_thread_name'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/job_runner.rb:31:in `run'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/lib/bosh/director/jobs/base_job.rb:10:in `perform'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/job.rb:227:in `perform'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/worker.rb:250:in `perform'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/worker.rb:189:in `block in work'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/worker.rb:166:in `loop'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/worker.rb:166:in `work'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3091.0/bin/bosh-director-worker:75:in `<top (required)>'
/var/vcap/packages/director/bin/bosh-director-worker:16:in `load'
/var/vcap/packages/director/bin/bosh-director-worker:16:in `<main>'
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: (0.000134s) SELECT NULL
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: (0.000089s) BEGIN
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: (0.000236s) UPDATE "tasks" SET "state" = 'error', "timestamp" = '2015-10-03 05:41:16.214655+0000', "description" = 'create deployment', "result" = 'Can''t find template `route_registrar''', "output" = '/var/vcap/store/director/tasks/20', "checkpoint_time" = '2015-10-03 05:41:11.154001+0000', "type" = 'update_deployment', "username" = 'admin' WHERE ("id" = 20)
D, [2015-10-03 05:41:16 #7230] [task:20] DEBUG -- DirectorJobRunner: (0.001887s) COMMIT
I, [2015-10-03 05:41:16 #7230] [] INFO -- DirectorJobRunner: Task took 5.065988999 seconds to process.

Task 20 error
----------------------------------------------
Any help will be much appreciated thanks!
Remi

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.