- From: Jeff Blaine <
>
- To:
- Subject: [chef] Re: Intermittent failures with server 12.0.8?
- Date: Sat, 30 May 2015 11:45:52 -0400
On 5/29/2015 9:08 PM, Jeff Blaine wrote:
>
We run all of our chef clients every 60 minutes.
>
>
Throughout the day, we're seeing clients, both 11.18.0-1 and 12.3.0-1,
>
report intermittent 403 authorization errors against Chef Server 12.0.8.
I meant 401 error. More info below.
>
Is anyone else seeing this?
Here's one of the hourly cron jobs that failed with 401.
99% of its hourly runs work fine, for over a year. The hour after this
run, it worked fine too, and the next = ... intermittent.
===================================================================
Authentication Error:
---------------------
Failed to authenticate to the chef server (http 401).
Server Response:
----------------
An error occurred while trying to find 'neon'. Please contact support.
Relevant Config Settings:
-------------------------
chef_server_url "
https://cm.our.org"
node_name "neon"
client_key "/etc/chef/client.pem"
If these settings are correct, your client_key may be invalid.
===================================================================
ws% knife client show neon
admin: false
chef_type: client
json_class: Chef::ApiClient
name: neon
public_key: -----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQ...snip
===================================================================
% ssh neon sudo /opt/chef/bin/chef-client
[ works fine! ]
%
--
Jeff Blaine
kickflop.net
PGP/GnuPG Key ID: 0x0C8EDD02
Archive powered by MHonArc 2.6.16.