随意地,刀似乎挂了。我使用以下启动三个 ami。
warning: commands will be executed using /bin/sh
job 106 at Thu Apr 5 20:35:00 2012
knife ec2 server create -r "role[redis_server]" -N redis_singapore_development_1_1_1333629300 -E development --region ap-southeast-1 -Z ap-southeast-1a -I ami-c4622596 --flavor t1.micro -G redis -x ubuntu -S sg_development -i /home/ubuntu/.ec2/sg_development.pem > /tmp/redis_singapore_development_1_1_1333629300
warning: commands will be executed using /bin/sh
job 107 at Thu Apr 5 20:36:00 2012
knife ec2 server create -r "role[redis_server]" -N redis_singapore_development_1_2_1333629300 -E development --region ap-southeast-1 -Z ap-southeast-1a -I ami-c4622596 --flavor t1.micro -G redis -x ubuntu -S sg_development -i /home/ubuntu/.ec2/sg_development.pem > /tmp/redis_singapore_development_1_2_1333629300
warning: commands will be executed using /bin/sh
knife ec2 server create -r "role[nginx_server]" -N bidder_singapore_development_1_1_1333629300 -E development --region ap-southeast-1 -Z ap-southeast-1a -I ami-c4622596 --flavor t1.micro -G nginx -x ubuntu -S sg_development -i /home/ubuntu/.ec2/sg_development.pem > /tmp/bidder_singapore_development_1_1_1333629300job 108 at Thu Apr 5 20:37:00 2012
两个会完成,一个会卡住。下面是吊刀作业的输出。所有三个靴子将在大约 20% 的时间内工作。刀有知识问题吗?我什至尝试在执行命令之间等待 60 秒,但无济于事。
Waiting for server............
Public DNS Name: ec2-122-248-207-247.ap-southeast-1.compute.amazonaws.com
Public IP Address: 122.248.207.247
Private DNS Name: ip-10-131-22-222.ap-southeast-1.compute.internal
Private IP Address: 10.131.22.222
Waiting for sshd.done
Bootstrapping Chef on ec2-122-248-207-247.ap-southeast-1.compute.amazonaws.com