我正在使用以下版本的厨师环境
操作系统和版本详细信息如下:
我在初次运行时安装chef gem所配置的节点上运行chef-client失败,并出现以下错误。
检查后,它无法连接到ruby站点以安装gem,但是我的服务器具有有效的Internet连接。我从Bundle Install Not Working]中获得了这些详细信息
安装食谱宝石:
Running handlers: [2019-10-17T19:09:35+08:00] ERROR: Running exception handlers Running handlers complete [2019-10-17T19:09:35+08:00] ERROR: Exception handlers complete Chef Client failed. 0 resources updated in 05 minutes 13 seconds [2019-10-17T19:09:35+08:00] INFO: Sending resource update report (run-id: 942e7eaa-14c0-487d-8a6c-6d96a49c99ff) [2019-10-17T19:09:36+08:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out [2019-10-17T19:09:36+08:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report [2019-10-17T19:09:36+08:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '17' ---- Begin output of bundle install ---- STDOUT: Fetching source index from https://www.rubygems.org/ Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch specs from https://www.rubygems.org/ Retrying fetcher due to error (3/4): Bundler::HTTPError Could not fetch specs from https://www.rubygems.org/ Retrying fetcher due to error (4/4): Bundler::HTTPError Could not fetch specs from https://www.rubygems.org/ Could not fetch specs from https://www.rubygems.org/ STDERR: ---- End output of bundle install ---- Ran bundle install returned 17
可以是DNS问题吗?我有来自服务器的有效互联网连接,可以手动登陆红宝石网站。
有没有办法我可以手动安装ruby / cookbook gem?
我正在使用以下版本的OS进行厨师环境,并且版本详细信息如下:Chef Server-RHEL7 Chef Workstation-Windows 7 Professional Chef节点:Windows 2016 Server ...
可以是DNS问题吗?我有来自服务器的有效互联网连接,可以手动登陆红宝石网站。