Hi,Could anyone please let me know what could be this issue. Do i have to override some specification? why it is saying me method missing?Regards,Dhruv KapilOn 31 January 2013 12:31, Dhruv Kapil <dhruv....@gmail.com> wrote:Hi Martin,I replaced the ssh private key & it has passed from that point. it has created the instance, created the volume & mounted the volume (as logs suggested). but now its failing at some other point, its not able to find one method. Below is the stack trace from the Console.ubuntu@ip-10-29-3-241:~/deployments$ bosh micro deploy ami-69dd6900Deploying new micro BOSH instance `aws/micro_bosh.yml' to `http://aws:25555' (type 'yes' to continue): yes
Deploy Micro BOSHusing existing stemcell (00:00:00)creating VM from ami-69dd6900 (00:00:46)waiting for the agent (00:03:06)create disk (00:01:18)mount disk (00:00:29)fetching apply spec (00:00:00)stopping agent services (00:00:01)Applying micro BOSH spec |ooooooooooooooo | 7/11 00:05:52 ETA: 00:03:04/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': failed to process configuration template 'director/director.yml.erb': line 78, error: undefined method `kernel_id' for nil:NilClass: [\"/var/vcap/bosh/agent/lib/agent/apply_plan/job.rb:228:in `install_failed'\", \"/var/vcap/bosh/agent/lib/agent/apply_plan/job.rb:114:in `rescue in block in bind_configuration'\", \"/var/vcap/bosh/agent/lib/agent/apply_plan/job.rb:106:in `block in bind_configuration'\", \"/var/vcap/bosh/agent/lib/agent/apply_plan/job.rb:97:in `each_pair'\", \"/var/vcap/bosh/agent/lib/agent/apply_plan/job.rb:97:in `bind_configuration'\", \"/var/vcap/bosh/agent/lib/agent/apply_plan/job.rb:41:in `install'\", \"/var/vcap/bosh/agent/lib/agent/apply_plan/plan.rb:59:in `install_job'\", \"/var/vcap/bosh/agent/lib/agent/message/apply.rb:112:in `apply_job'\", \"/var/vcap/bosh/agent/lib/agent/message/apply.rb:72:in `apply'\", \"/var/vcap/bosh/agent/lib/agent/message/apply.rb:10:in `process'\", \"/var/vcap/bosh/agent/lib/agent/handler.rb:274:in `process'\", \"/var/vcap/bosh/agent/lib/agent/handler.rb:259:in `process_long_running'\", \"/var/vcap/bosh/agent/lib/agent/handler.rb:181:in `block in process_in_thread'\", \"<internal:prelude>:10:in `synchronize'\", \"/var/vcap/bosh/agent/lib/agent/handler.rb:179:in `process_in_thread'\", \"/var/vcap/bosh/agent/lib/agent/handler.rb:160:in `block in handle_message'\"]", "backtrace"=>["/var/vcap/bosh/agent/lib/agent/message/apply.rb:78:in `rescue in apply'", "/var/vcap/bosh/agent/lib/agent/message/apply.rb:70:in `apply'", "/var/vcap/bosh/agent/lib/agent/message/apply.rb:10:in `process'", "/var/vcap/bosh/agent/lib/agent/handler.rb:274:in `process'", "/var/vcap/bosh/agent/lib/agent/handler.rb:259:in `process_long_running'", "/var/vcap/bosh/agent/lib/agent/handler.rb:181:in `block in process_in_thread'", "<internal:prelude>:10:in `synchronize'", "/var/vcap/bosh/agent/lib/agent/handler.rb:179:in `process_in_thread'", "/var/vcap/bosh/agent/lib/agent/handler.rb:160:in `block in handle_message'"]} (Bosh::Agent::HandlerError)from /usr/local/lib/ruby/gems/1.9.1/gems/agent_client-0.1.1/lib/agent_client/base.rb:10:in `run_task'from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/deployer/instance_manager.rb:352:in `block in apply'from /usr/local/lib/ruby/gems/1.9.1/gems/bosh_deployer-1.4.0/lib/de
---
name: aws
env:
bosh:
password: password
logging:
level: DEBUG
network:
type: dynamic
vip: IP
resources:
persistent_disk: 20000
cloud_properties:
instance_type: m1.small
availability_zone: us-east-1a
cloud:
plugin: aws
properties:
aws:
access_key_id: KEY
secret_access_key: SECRET
default_key_name: bosh
default_security_groups: ["bosh"]
ec2_private_key: ~/.ssh/bosh
ec2_endpoint: ec2.us-east-1.amazonaws.com
stemcell:
kernel_id: aki-8e5ea7e7
apply_spec:
agent:
blobstore:
address: IP
nats:
address: IP
properties:
aws_registry:
address: IP
Regards,
Dhruv Kapil
Show the output for
1. gem list
2. bosh help micro
- Pradeep
On Wednesday, January 30, 2013 3:54:29 AM UTC+5:30, Dhruv Kapil wrote:Hi All,I tried to install the micro bosh deployer by following the steps at the below link. but i am getting the below errors when trying to run any micro command, but other commands are working fine. In some commands, it is asking me to set the Director target. Please see below.I also tried to run "gem update --system" as well, but it says "Latest version currently installed. Aborting."ubuntu@ip-10-29-204-150:~/deployments$ bosh micro deployment aws
Cannot load plugins, please run `gem update --system' to update your RubyGems
Unknown command: micro deployment aws
--------------------------------------------------------------------------------------------------------------------------------ubuntu@ip-10-29-204-150:~/deployments$ gem update --systemLatest version currently installed. Aborting.--------------------------------------------------------------------------------------------------------------------------------
ubuntu@ip-10-29-204-150:~/deployments$ bosh status
Cannot load plugins, please run `gem update --system' to update your RubyGems
Directornot setDeploymentnot set--------------------------------------------------------------------------------------------------------------------------------ubuntu@ip-10-29-204-150:~/deployments$ bosh public stemcells
Cannot load plugins, please run `gem update --system' to update your RubyGems
+---------------------------------------+------------------------+| Name | Tags |+---------------------------------------+------------------------+| bosh-stemcell-aws-0.6.4.tgz | aws, stable || bosh-stemcell-vsphere-0.6.4.tgz | vsphere, stable || bosh-stemcell-vsphere-0.6.7.tgz | vsphere, stable || micro-bosh-stemcell-aws-0.6.4.tgz | aws, micro, stable || micro-bosh-stemcell-vsphere-0.6.4.tgz | vsphere, micro, stable |+---------------------------------------+------------------------+To download use `bosh download public stemcell <stemcell_name>'. For full url use --full.--------------------------------------------------------------------------------------------------------------------------------
Please let me know what could be the problem.