set setting reset

インフラ関連の小ネタと備忘録

Error Syncing Cookbooks:

環境

OS S/C version
cenots 6.5 chef-server 11.16.0
windows server 2012 R2 chef-client 11.16.0

エラー

[chef-server]$ bundle exec knife winrm -m 10.0.0.10 -x administartor -P password "c:¥opscode¥chef¥bin¥chef-client"


================================================================================
Error Syncing Cookbooks:
================================================================================

Networking Error:
-----------------
Error connecting to https://chef-server/bookshelf/organization-略 - getaddrinfo: ??????????????

Your chef_server_url may be misconfigured, or the network could be down.

Relevant Config Settings:
-------------------------
chef_server_url  "https://10.0.0.10"

ERROR: Running exception handlers
ERROR: Exception handlers complete
FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out
FATAL: SocketError: Error connecting to https://chef-server/bookshelf/organization-略 - getaddrinfo: ??????????????

hosts に追記でとりあえず通った

chef-server 10.0.0.10

chef 12 系ではこうはいかなさそう