我正在尝试通过刀独奏配置一个新的 CentOS 6.5 x64 节点。但是当我运行时,knife solo prepare root@centos
我得到一个奇怪的错误。
Bootstrapping Chef...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15934 100 15934 0 0 36862 0 --:--:-- --:--:-- --:--:-- 95413
Downloading Chef 11.14.0.alpha.2 for el...
downloading https://www.opscode.com/chef/metadata?v=11.14.0.alpha.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64
to file /tmp/install.sh.1750/metadata.txt
trying curl...
ERROR 404
Unable to retrieve a valid package!
Please file a bug report at http://tickets.opscode.com
Project: Chef
Component: Packages
Label: Omnibus
Version: 11.14.0.alpha.2
Please detail your operating system type, version and any other relevant details
Metadata URL: https://www.opscode.com/chef/metadata?v=11.14.0.alpha.2&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64
当我尝试调试那个东西并运行时,knife solo prepare -VV root@centos
我得到了这个:https ://gist.github.com/Almaron/5709a69e09bad92f3475
我试图用谷歌搜索它,发现它可能是一个代理问题,但我还没有设置任何代理。
更新
尝试运行knife solo prepare root@centos--bootstrap-version 11.12.0
结果如下:https ://gist.github.com/Almaron/2f7987f314132c80b8ed