I'm trying to run a cloud with AppScale, and I'm using the run instances command to achieve that. Everything runs nice during security group creation and instance creation, but while it waits for bootup to finish, I get an exception and it breaks. Then I can't upload an app to the cloud, and need to remove the security group and the newly created instance in order to be able to try to create the cloud again. Here is the output (Removed parts pointing to our other instances):
appscale-run-instances --file . --table cassandra -v --instance_type m1.large --machine ami-d3f133ba --iaas --keyname courrier
About to start AppScale over a cloud environment with the euca tools with instance type m1.large.
Warning: Your application is large enough that it may take a while to upload.
Creating security group appscale
GROUP appscale appscale
Security group appscale in place
GROUP appscale
PERMISSION
appscale
ALLOWS
udp
1
65535
FROM
CIDR
0.0.0.0/0
GROUP appscale
PERMISSION
appscale
ALLOWS
tcp
1
65535
FROM
CIDR
0.0.0.0/0
GROUP appscale
PERMISSION
appscale
ALLOWS
icmp
-1
-1
FROM
CIDR
0.0.0.0/0
Ports set for security group appscale
RESERVATION r-d7895cb5 847473613530 appscale
INSTANCE i-a91cf3cf ami-d3f133ba terminated notification2 0 m1.large 2012-05-03T15:32:53.000Z us-east-1a aki-da37ddb3
Reported Public IPs: []
Reported Private IPs: []
euca-run-instances -k courrier -n 1 --instance-type m1.large ami-d3f133ba --group appscale
(OTHER INSTANCES STRIPPED OUT)
run_instances: [RESERVATION r-41b96c23 847473613530 appscale
INSTANCE i-cd6986ab ami-d3f133ba pending courrier 0 m1.large 2012-05-03T15:43:27.000Z us-east-1a aki-da37ddb3
]
Run instances message sent successfully. Waiting for the image to start up.
[Thu May 03 10:43:28 -0500 2012] 2699.999967 seconds left until timeout...
(OTHER INSTANCES STRIPPED OUT)
RESERVATION r-d7895cb5 847473613530 appscale
INSTANCE i-a91cf3cf ami-d3f133ba terminated notification2 0 m1.large 2012-05-03T15:32:53.000Z us-east-1a aki-da37ddb3
RESERVATION r-41b96c23 847473613530 appscale
INSTANCE i-cd6986ab ami-d3f133ba pending courrier 0 m1.large 2012-05-03T15:43:27.000Z us-east-1a aki-da37ddb3
Reported Public IPs: []
Reported Private IPs: []
[Thu May 03 10:43:48 -0500 2012] 2679.608587 seconds left until timeout...
(OTHER INSTANCES STRIPPED OUT)
INSTANCE i-a91cf3cf ami-d3f133ba terminated notification2 0 m1.large 2012-05-03T15:32:53.000Z us-east-1a aki-da37ddb3
RESERVATION r-41b96c23 847473613530 appscale
Reported Private IPs: [ip-10-80-171-171.ec2.internal]
Please wait for your instance to complete the bootup process.
/usr/lib/ruby/1.8/timeout.rb:60:in `sleep': time interval must be positive (ArgumentError)
from /usr/lib/ruby/1.8/timeout.rb:60:in `timeout'
from /usr/lib/ruby/1.8/timeout.rb:58:in `start'
from /usr/lib/ruby/1.8/timeout.rb:58:in `timeout'
from /usr/local/appscale-tools/bin/../lib/common_functions.rb:283:in `scp_file'
from /usr/local/appscale-tools/bin/../lib/vm_tools.rb:302:in `spawn_head_node_via_cloud'
from /usr/local/appscale-tools/bin/../lib/vm_tools.rb:277:in `spawn_head_node'
from /usr/local/appscale-tools/bin/appscale-run-instances:174
Any Ideas?
--
Adriano Monteiro Marques
http://www.openmonitor.org