Hi Sean,
Yes, the bootstrap finishes with no errors, it just doesn't add the run list or perform a chef run. The client.rb file is written properly, except it didn't set the proxy options. Also, sometimes bootstrap fails to start the chef-client daemon. I did this twice for confirmation--the second I reverted to a clean snapshot of the VM. This is the command that produced the aforementioned behavior and the following client.rb: knife bootstrap 10.116.27.100 -x root -N uscheflabext001.field.jw.org --bootstrap-proxy http://proxy.ourdomain.net:8080 -r 'role[base]' -s https://usmgmtext016.ourdomain.net -d ubuntu10.04-apt -VV log_level :info log_location STDOUT ssl_verify_mode :verify_none chef_server_url "https://usmgmtext016.field.jw.org" file_cache_path "/var/cache/chef" file_backup_path "/var/lib/chef/backup" pid_file "/var/run/chef/client.pid" cache_options({ :path => "/var/cache/chef/checksums", :skip_expires => true}) signing_ca_user "chef" Mixlib::Log::Formatter.show_time = true node_name "uscheflabext001.field.jw.org" Ian D. Rossi CD - Server Infrastructure Phone 23834 From: sean escriva
Sent: Tuesday, March 27, 2012 2:41 PM To: Subject: [chef] Re: knife bootstrap Command Not Applying the Run List Hi Ian,
On Mar 27, 2012, at 5:11 AM, <
" target="_blank">
> <
" target="_blank">
> wrote:
So the bootstrap completes successfully? Have you verified the client.rb is written correctly? Namely, if you're using a proxy I would image that knife[:bootstrap_proxy] should be properly set.
as far as this is concerned, verify that the contents of first-boot.jason is something like:
{"run_list":["role[base]"]}
You can create this file yourself if it doesn't exist.
|
Archive powered by MHonArc 2.6.16.