[chef] New errors after upgrading Chef clients to 11.6


Chronological Thread 
  • From: Russell Bateman < >
  • To:
  • Subject: [chef] New errors after upgrading Chef clients to 11.6
  • Date: Wed, 04 Sep 2013 21:34:46 -0600

I've upgraded to 11.6 and am getting the following out of chef-client. I though I'd paste the whole thing since it's short. I did try it with :debug in client.rb, but I didn't see anything different. It's trying to contact a URL on the Chef server that's not found. I'm not sure why it's trying http://chef/bookshelf instead of https://192.168.0.24.

(Note that, on another node, I'm getting a "Missing Cookbooks" error, which is perfect since the cookbook is missing, but running chef-client on that node appears to be working.)

Has anyone a suggestion? I see this unresolved ticket: https://tickets.opscode.com/browse/CHEF-4069.

Many thanks.



:/etc/chef# dpkg --list | grep chef
ii  chef                             11.6.0-1.ubuntu.12.04        The full stack of chef

:/etc/chef# cat client.rb
log_level        :info
log_location     STDOUT
chef_server_url  'https://192.168.0.24:443'
validation_client_name 'chef-validator'

:/etc/chef# chef-client
[2013-09-04T21:08:01-06:00] INFO: Forking chef instance to converge...
Starting Chef Client, version 11.6.0
[2013-09-04T21:08:01-06:00] INFO: *** Chef 11.6.0 ***
[2013-09-04T21:08:02-06:00] INFO: Run List is [recipe[apt], recipe[mongodb::replica], role[install-database], role[install-replica]]
[2013-09-04T21:08:02-06:00] INFO: Run List expands to [apt, mongodb::replica, mongodb]
[2013-09-04T21:08:02-06:00] INFO: Starting Chef Run for db-1
[2013-09-04T21:08:02-06:00] INFO: Running start handlers
[2013-09-04T21:08:02-06:00] INFO: Start handlers complete.
resolving cookbooks for run list: ["apt", "mongodb::replica", "mongodb"]
[2013-09-04T21:08:02-06:00] INFO: Loading cookbooks [apt, mongodb, mongodb-10gen]
Synchronizing Cookbooks:

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

Networking Error:
-----------------
Error connecting to https://chef/bookshelf/organization-00000000000000000000000000000000/checksum-6b7eab5f2d0d2fcfc27536c2f7372e88?AWSAccessKeyId=e30390185df9b3263bec503c5af5cf1873922cdf&Expires=1378351380&Signature=MNR9N44JeEKH8rczpTVZB5loUb0%3D - getaddrinfo: Name or service not known

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


Relevant Config Settings:
-------------------------
chef_server_url  "https://192.168.0.24:443"


[2013-09-04T21:08:02-06:00] ERROR: Running exception handlers
[2013-09-04T21:08:02-06:00] ERROR: Exception handlers complete
[2013-09-04T21:08:02-06:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated
[2013-09-04T21:08:02-06:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

:/etc/chef# ping 192.168.0.24
PING 192.168.0.24 (192.168.0.24) 56(84) bytes of data.
64 bytes from 192.168.0.24: icmp_req=1 ttl=64 time=0.141 ms
64 bytes from 192.168.0.24: icmp_req=2 ttl=64 time=0.165 ms
64 bytes from 192.168.0.24: icmp_req=3 ttl=64 time=0.168 ms
^C
--- 192.168.0.24 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.141/0.158/0.168/0.012 ms
:/etc/chef# telnet 192.168.0.24 443
Trying 192.168.0.24...
Connected to 192.168.0.24.
Escape character is '^]'.
^C
Connection closed by foreign host.





Archive powered by MHonArc 2.6.16.

§