Skip to content
This repository

Can latest 1.5.0.pre2 micrbosh work with public gems? #56

Closed
drnic opened this Issue February 24, 2013 · 3 comments

3 participants

Dr Nic Williams Alex Jackson Ferran Rodenas
Dr Nic Williams

Raised at cloudfoundry-community/bosh-bootstrap#115.

I am using the latest public gems and when I try to deploy microbosh I get:

Stemcell info
-------------
Name:    micro-bosh-stemcell
Version: 1.5.0.pre2


Deploy Micro BOSH
  unpacking stemcell (00:00:15)                                                 
  uploading stemcell (00:12:42)                                                 
  creating VM from ami-f2e5779b (00:00:29)                                      
  waiting for the agent (00:01:56)                                              
  create disk (00:02:38)                                                        
  mount disk (00:00:14)                                                         
  stopping agent services (00:00:01)                                            
Applying micro BOSH spec     |oooooooooooo       | 7/11 00:18:26  ETA: 00:10:18/usr/local/lib/ruby/gems/1.9.1/gems/agent_client-0.1.1/lib/agent_client/base.rb:19:in `method_missing': {"message"=>"Failed to install job 'micro_aws.micro_aws': failed to process configuration template 'director/director.yml.erb': line 172, error: Could not find cloud plugin: [\"/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/apply_plan/job.rb:241:in `install_failed'\", \"/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/apply_plan/job.rb:126:in `rescue in block in bind_configuration'\", \"/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/apply_plan/job.rb:117:in `block in bind_configuration'\", \"/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/apply_plan/job.rb:107:in `each_pair'\", \"/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/apply_plan/job.rb:107:in `bind_configuration'\", \"/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/apply_plan/job.rb:51:in `install'\", \"/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/apply_plan/plan.rb:73:in `block in install_jobs'\", \"/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/apply_plan/plan.rb:72:in `each'\", \"/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/apply_plan/plan.rb:72:in `install_jobs'\", \"/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/message/apply.rb:117:in `apply_job'\", \"/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/message/apply.rb:77:in `apply'\", \"/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/message/apply.rb:10:in `process'\", \"/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/handler.rb:274:in `process'\", \"/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/handler.rb:259:in `process_long_running'\", \"/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/handler.rb:181:in `block in process_in_thread'\", \"<internal:prelude>:10:in `synchronize'\", \"/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/handler.rb:179:in `process_in_thread'\", \"/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/handler.rb:160:in `block in handle_message'\"]", "backtrace"=>["/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/message/apply.rb:83:in `rescue in apply'", "/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/message/apply.rb:75:in `apply'", "/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/message/apply.rb:10:in `process'", "/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/handler.rb:274:in `process'", "/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/handler.rb:259:in `process_long_running'", "/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/handler.rb:181:in `block in process_in_thread'", "<internal:prelude>:10:in `synchronize'", "/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/handler.rb:179:in `process_in_thread'", "/var/vcap/bosh/lib/ruby/gems/1.9.1/gems/bosh_agent-1.5.0.pre2/lib/bosh_agent/handler.rb:160:in `block in handle_message'"]} (Bosh::Agent::HandlerError)

What does failed to process configuration template 'director/director.yml.erb': line 172, error: Could not find cloud plugin mean? Did the micro_bosh.yml schema change? Does this stemcell only work with bosh_deployer built from master/HEAD?

Dr Nic Williams drnic referenced this issue in cloudfoundry-community/bosh-cloudfoundry February 24, 2013
Closed

Final release 129 available!! Can now switch to master branch again #120

Dr Nic Williams drnic referenced this issue in cloudfoundry-community/bosh-bootstrap February 24, 2013
Closed

Lookup latest stemcell if using edge deployer #117

Ferran Rodenas
Collaborator

Director.yml.erb has been changed to use the new style properties (08cccdd). I guess there's now some new mandatory property, so if it's not filled then it doesn't detect that cpi plugin should be aws. The only thing it has been changed it's the region. Can you please confirm that you've a region property on the micro_bosh.yml aws credentials.

Dr Nic Williams

There is a cloud.properties.aws.region field in my micro_cloud.yml:

cloud:
  plugin: aws
  properties:
    aws:
      access_key_id: XXX
      secret_access_key: YYY
      region: us-east-1
      ec2_endpoint: ec2.us-east-1.amazonaws.com
      default_security_groups:
      - microbosh-aws-us-east-1
      default_key_name: microbosh-aws-us-east-1
      ec2_private_key: /home/vcap/.ssh/microbosh-aws-us-east-1.pem
Alex Jackson
Owner

The latest stemcells should be used with the pre-released gems. The public gems are not tested with the 1.5.0.pre2 stemcells so your mileage may vary.

Alex Jackson ajackson closed this April 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.