[chef] Re: Re: authentication error when indexing nodes


Chronological Thread 
  • From: Andrey Klochkov < >
  • To:
  • Cc: Daniel DeLeo < >
  • Subject: [chef] Re: Re: authentication error when indexing nodes
  • Date: Mon, 28 Feb 2011 15:05:24 +0300

Daniel,

Thanks, found it - yes, it's part of our monitoring system which just performs GET request to Chef Server root url to check it's alive (401 is Ok in this case). These errors have nothing to do with our registration problems, you're right. 

On Sun, Feb 27, 2011 at 11:10 PM, Daniel DeLeo < "> > wrote:

On Sunday, February 27, 2011 at 12:03 PM, Andrey Klochkov wrote:

Hey Chefs,

Please help to find the root cause of the problem -- sometimes when registering/updating nodes the indexing phase fails due to strange authentication error. This happens not often but the influence is very unpleasant for our system. We're using Chef 0.9.8. 

Thanks!

The error from server.log:

merb : chef-server (api) : worker (port 4000) ~ Started request handling: Sun Feb 27 19:58:36 +0000 2011
merb : chef-server (api) : worker (port 4000) ~ Routed to: {"action"=>"index", "controller"=>"main"}
merb : chef-server (api) : worker (port 4000) ~ Params: {"action"=>"index", "controller"=>"main"}
merb : chef-server (api) : worker (port 4000) ~ Mixlib::Authentication::MissingAuthenticationHeader: missing required a
uthentication header(s) 'X_OPS_SIGN', 'X_OPS_USERID', 'X_OPS_TIMESTAMP', 'X_OPS_CONTENT_HASH' - (Merb::ControllerExcept
ions::Unauthorized)

This request is completely unsigned. Also, it's hitting the root URL (i.e., http://HOSTNAME/ ) which is strange since there's nothing there. Can you show us the client log and the code that is making this request (assuming it's something in your recipe)?

Is it possible that this request is from a monitoring system and the server log for your error is something else?

-- 
Dan DeLeo
 




--
Andrew Klochkov
Grid Dynamics
+7 495 640 4944 ext 257 office
Skype: aklochkov_gd
www.griddynamics.com
" target="_blank">



Archive powered by MHonArc 2.6.16.

§