[chef] Chef Client .... not doing anything.


Chronological Thread 
  • From: Douglas Garstang < >
  • To:
  • Subject: [chef] Chef Client .... not doing anything.
  • Date: Fri, 5 Dec 2014 09:49:18 -0800

This is chef version chef-12.0.0-1.

My client.rb contains:

ssl_verify_mode         :verify_peer
log_level               :debug
log_location            STDOUT
chef_server_url         'https://chef01.prod.slicetest.com:443'
validation_client_name  'chef-validator'
validation_key           "/etc/chef/validator-chef01.prod.slicetest.com.pem"

Running the chef-client service gets me a process that looks like:

root      2405     1  0 17:39 ?        00:00:00 /opt/chef/embedded/bin/ruby /usr/bin/chef-client -d -c /etc/chef/client.rb -L /var/log/chef/client.log -P /var/run/chef/client.pid -i 1800 -s 300

And the pièce de résistance is this in /var/log/chef/client.log:

# Logfile created on 2014-12-05 17:39:28 +0000 by logger.rb/44203
[2014-12-05T17:39:28+00:00] INFO: Daemonizing..
[2014-12-05T17:39:28+00:00] INFO: Forked, in 2405. Privileges: 0 0
[2014-12-05T17:45:24+00:00] FATAL: SIGTERM received, stopping
[2014-12-05T17:45:30+00:00] INFO: Daemonizing..
[2014-12-05T17:45:30+00:00] INFO: Forked, in 2577. Privileges: 0 0
[2014-12-05T17:45:30+00:00] DEBUG: Sleeping for 1970 seconds


Wut? Why did chef run, do nothing and then decide to sleep for 1970 seconds???

Doug



Archive powered by MHonArc 2.6.16.

§