infochimps/cluster_chef — Issue #99: Launch error with cluster_chef-3.0.12
Author: Cindia-blue
Created: 2012-01-27 04:25:11+00:00
State: open

I download and installed it from cluster_chef-homebase to my chef server running in a Ubuntu instance of ec2. After installation, I execute cluster launch function but got below error log, your suggestions are appreciated:

root@ip-10-116-250-11:~/chef-repo/homebase# knife cluster -VV launch hadoop_demo master
DEBUG: Using configuration from /root/.chef/knife.rb
Inventorying servers in hadoop_demo cluster, master facet, all servers
INFO: Loading cluster /root/chef-repo/homebase/clusters/hadoop_demo.rb
DEBUG: Signing the request as ubuntu
DEBUG: Sending HTTP Request via GET to ip-10-116-250-11.ec2.internal:4000/search/client
DEBUG: Signing the request as ubuntu
DEBUG: Sending HTTP Request via GET to ip-10-116-250-11.ec2.internal:4000/search/node
DEBUG: Using fog to catalog all servers
DEBUG: Using fog to catalog all volumes
+------------+----------------------+----+------------+---------+------------+------------+-------+-------------+-------------+--------+-----------+
| Elastic IP | Name | AZ | Created At | Volumes | Private IP | InstanceID | Image | State | launchable? | Flavor | Public IP |
+------------+----------------------+----+------------+---------+------------+------------+-------+-------------+-------------+--------+-----------+
| | hadoop_demo-master-0 | | | | | | | not running | true | | |
+------------+----------------------+----+------------+---------+------------+------------+-------+-------------+-------------+--------+-----------+
Sync'ing to chef and cloud
hadoop_demo slice:	ensuring keypairs exist
DEBUG: Using fog to catalog all keypairs
hadoop_demo slice:	ensuring security groups exist and are correct
group hadoop_demo:	authorizing access from all machines in hadoop_demo to hadoop_demo
WARNING: InvalidPermission.Duplicate => The permission '18877178-1-1-65535' has already been authorized on the specified group
hadoop_demo-master-0:	Syncing to cloud
hadoop_demo slice:	syncing cluster and facet roles
DEBUG: Signing the request as ubuntu
DEBUG: Sending HTTP Request via PUT to ip-10-116-250-11.ec2.internal:4000/roles/hadoop_demo_cluster
DEBUG: Signing the request as ubuntu
DEBUG: Sending HTTP Request via PUT to ip-10-116-250-11.ec2.internal:4000/roles/hadoop_demo_master
hadoop_demo-master-0:	Syncing to chef server
hadoop_demo-master-0:	syncing chef node using the server's key
DEBUG: Signing the request as ubuntu
DEBUG: Sending HTTP Request via GET to ip-10-116-250-11.ec2.internal:4000/nodes/hadoop_demo-master-0
INFO: HTTP Request Returned 404 Not Found: Cannot load node hadoop_demo-master-0
DEBUG: Swallowing a 404 response in hadoop_demo-master-0: 404 "Not Found"
hadoop_demo-master-0:	ensuring chef client exists
hadoop_demo-master-0:	creating chef client
DEBUG: Signing the request as ubuntu
DEBUG: Sending HTTP Request via POST to ip-10-116-250-11.ec2.internal:4000/clients
key client-hadoop_demo-master-0 - writing to /tmp/client_keys/client-hadoop_demo-master-0.pem
hadoop_demo-master-0:	creating chef node
hadoop_demo-master-0:	setting node runlist and essential attributes
DEBUG: Signing the request as hadoop_demo-master-0
DEBUG: Sending HTTP Request via POST to ip-10-116-250-11.ec2.internal:4000/nodes
Launching machines
hadoop_demo-master-0:	creating cloud server
DEBUG: {
"user_data": "{\n \"facet_index\": 0,\n \"client_key\": \"-----BEGIN RSA PRIVATE KEY-----\\nMIIEowIBAAKCAQEAmghW6I4goxtQh77QAMmFzumMrUQyGbRo6e9ybv1ekP8yO17V\\n4uByxklgN6fLnrQnZt7UpSJGS/M6fKcDEFCJ2PpEViEq+20FgtB4IRgCBijtQtuo\\nA+4WAsLHlWWzWgWLUAOv1q2oGF2SVTqs0Ecei19DjYaVgiTmit9cfHTYpMEXjvqt\\nAjKb0F9YztMciOl320ASUblqoevbGbDk/+OlriCwJL8oVFxI9lpq/Z3uVSBFNCcB\\nw4tVcbrndDY/K2LGQNGXIk0egsm9jLCdC4N5VHT6fgxnvgxTkP3q5KzeibIMDZWm\\nnaNASrtEmsDd0M3HVsABWS4hURdM/F423WIOmwIDAQABAoIBAEa5xY4KlJnQFO3/\\ng2qZHcOgIWP9iDOdTv77X0PvOtjBFMOGDBecj5bUYkWr2icI+X6WmnUog7aj/Br4\\nZMO8906Vu4MAv8eqi3lBV6d6apOBf0/PpBoJ3DlwTkwe4ndXTFx1FOwx2Jk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aeh4szO2IVsjYgcJgvDFxJ7ZAXtV8r7NzoU4u95RgVRc+Aub3IL\\n-----END RSA PRIVATE KEY-----\\n\",\n \"validation_client_name\": \"chef-validator\",\n \"chef_server\": \"http://ip-10-116-250-11.ec2.internal:4000\",\n \"run_list\": [\n\n ],\n \"node_name\": \"hadoop_demo-master-0\",\n \"cluster_name\": \"hadoop_demo\",\n \"facet_name\": \"master\"\n}",
"tags": {
"cluster": "hadoop_demo",
"facet": "master",
"index": 0
},
"monitoring": null,
"block_device_mapping": [

],
"groups": [
"hadoop_demo-master",
"org_base",
"nfs_client",
"hadoop_demo",
"ssh"
],
"flavor_id": "t1.micro",
"image_id": "ami-fd589594",
"availability_zone": "us-east-1b",
"key_name": "chef"
}

+------------+----------------------+------------+-----------------+---------+------------+------------+--------------+---------+-------------+----------+-----------+
| Elastic IP | Name | AZ | Created At | Volumes | Private IP | InstanceID | Image | State | launchable? | Flavor | Public IP |
+------------+----------------------+------------+-----------------+---------+------------+------------+--------------+---------+-------------+----------+-----------+
| | hadoop_demo-master-0 | us-east-1b | 20120127-034744 | | | i-d321e5b6 | ami-fd589594 | pending | - | t1.micro | |
+------------+----------------------+------------+-----------------+---------+------------+------------+--------------+---------+-------------+----------+-----------+
Waiting for servers:
1/1 |**************************************************| 0:33
/usr/lib/ruby/gems/1.8/gems/cluster_chef-knife-3.0.12/lib/chef/knife/cluster_launch.rb:125:in `initialize': No route to host - connect(2) (Errno::EHOSTUNREACH)
from /usr/lib/ruby/gems/1.8/gems/cluster_chef-knife-3.0.12/lib/chef/knife/cluster_launch.rb:125:in `join'
from /usr/lib/ruby/gems/1.8/gems/cluster_chef-knife-3.0.12/lib/chef/knife/cluster_launch.rb:125:in `to_proc'
from /usr/lib/ruby/gems/1.8/gems/cluster_chef-knife-3.0.12/lib/chef/knife/knife_common.rb:107:in `each'
from /usr/lib/ruby/gems/1.8/gems/cluster_chef-knife-3.0.12/lib/chef/knife/knife_common.rb:107:in `progressbar_for_threads'
from /usr/lib/ruby/gems/1.8/gems/cluster_chef-knife-3.0.12/lib/chef/knife/cluster_launch.rb:91:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.8/lib/chef/knife.rb:391:in `run_with_pretty_exceptions'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.8/lib/chef/knife.rb:166:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.8/lib/chef/application/knife.rb:128:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.10.8/bin/knife:25
from /usr/bin/knife:19:in `load'
from /usr/bin/knife:19