gpt4 book ai didi

amazon-web-services - 同步 Recipe 时出错

转载 作者:行者123 更新时间:2023-12-03 03:06:41 26 4
gpt4 key购买 nike

命令

knife ec2 server create -r "role[test1]" -I ami-axxxxxe --flavor t1.micro -x ubuntu --ssh-key JP_Key --availability-zone us-east-1c -p 22 --tags Name=test_knife2 --iam test-role --subnet subnet-cxxxxx8 --associate-eip 5x.xx.xx.x -g sg-xxxx

错误:

10.220.15.110 Synchronizing Cookbooks:
================================================================================
10.220.15.110 Error Syncing Cookbooks:
================================================================================

https://mychefserver.example.com/bookshelf/organization00000000000000000000000000000000/
chcksum-d7c3b4577ca3ce35e757fb4a72c895f2?&Expires=1386685120&Signature=%2BaZMqKMbCxiBS5JuuaDgGO0HSRo%3D - getaddrinfo: Name or service not known

Your chef_server_url may be misconfigured

当我在服务器输出中执行knife client list时,是 Chef 客户端的实例ID这里的问题是客户端无法从服务器获取 Recipe 。

最佳答案

当我过去遇到这个问题时,这是由于新机器无法解析 ChefServer 的 DNS 问题。对于 AWS/EC2,请确保 DHCP 分发的默认 DNS 服务器能够正确解析您的chefserver.example.com 域名。

关于amazon-web-services - 同步 Recipe 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20496001/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com