Chef infra 厨师在谷歌云上引导一个节点

Chef infra 厨师在谷歌云上引导一个节点,chef-infra,Chef Infra,试图在谷歌云引擎上引导一个节点,但我所有的尝试都以失败告终 代码 结果: ** ** 我无数次地重新安装chefserver并将密钥下载到clinet,但仍然没有用我也遇到了类似的错误,对我来说有效的方法是告诉gcloud配置~/.ssh/config,因此我不需要在刀命令中指定标识文件。像这样: C:\Users\...\Google\Cloud SDK>gcloud compute config-ssh You should now be able to use ssh/scp wit

试图在谷歌云引擎上引导一个节点,但我所有的尝试都以失败告终 代码

结果: **

**


我无数次地重新安装chefserver并将密钥下载到clinet,但仍然没有用

我也遇到了类似的错误,对我来说有效的方法是告诉
gcloud
配置
~/.ssh/config
,因此我不需要在
命令中指定标识文件。像这样:

C:\Users\...\Google\Cloud SDK>gcloud compute config-ssh
You should now be able to use ssh/scp with your instances.
For example, try running:

  $ ssh instance-2.us-west1-c.myproject-145353
然后,我可以使用以下命令引导节点:

knife bootstrap --ssh-user MyRemoteUser --sudo instance-2.us-west1-c.myproject-145353 --node-name node15-ubuntu --run-list 'recipe[learn_chef_apache2]'
注意,我没有指定连接的IP或标识文件,因为使用了
~/.ssh/config
中的文件

C:\Users\...\Google\Cloud SDK>gcloud compute config-ssh
You should now be able to use ssh/scp with your instances.
For example, try running:

  $ ssh instance-2.us-west1-c.myproject-145353
knife bootstrap --ssh-user MyRemoteUser --sudo instance-2.us-west1-c.myproject-145353 --node-name node15-ubuntu --run-list 'recipe[learn_chef_apache2]'