1
我想用knife-ec2引導我的第一臺服務器,但它需要永遠。如果我查看AWS管理控制檯,則新實例已啓動並正在運行。看着Opscode的廚師服務器,該節點還沒有。刀ec2 bootstrap需要永久
任何想法會發生什麼?
這裏是我的控制檯的快照:
~$ knife ec2 server create -r "role[base-server]" -G default -N server01 -S keypair.pem
Instance ID: i-90ad818f
Flavor: t1.micro
Image: ami-b03590ad
Region: sa-east-1
Availability Zone: sa-east-1a
Security Groups: default
Tags: Name: webserver01
SSH Key: myfreepair
Waiting for instance............
Private DNS Name: ip-172-31-20-139.sa-east-1.compute.internal
Private IP Address: 172.31.20.139
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
..............................................................................................
您是否檢查過主廚客戶端是否已安裝? /etc/chef/client.rb?接下來檢查廚師日誌,看看是否有一個長時間運行的進程阻止執行。長長的廚師一開始並不罕見,因爲這些通常會安裝所有軟件。 –