~]# chef-sync-ctl sync-log test
# Logfile created on 2014-10-28 14:26:03 +0000 by logger.rb/31641
I, [2014-10-28T14:29:04.881830 #15188] INFO -- : HTTP Request Returned 404 Not Found:
I, [2014-10-28T14:32:03.697880 #16173] INFO -- : Bootrapping started.
I, [2014-10-28T14:32:04.681163 #16173] INFO -- : HTTP Request Returned 401 Unauthorized: error
I, [2014-10-28T14:32:05.294182 #16173] INFO -- : HTTP Request Returned 401 Unauthorized: error
I, [2014-10-28T14:32:05.927196 #16173] INFO -- : HTTP Request Returned 401 Unauthorized: error
I, [2014-10-28T14:32:06.564459 #16173] INFO -- : HTTP Request Returned 401 Unauthorized: error
I, [2014-10-28T14:33:52.756533 #16938] INFO -- : Bootrapping started.
I, [2014-10-28T14:33:53.743989 #16938] INFO -- : HTTP Request Returned 401 Unauthorized: error
I, [2014-10-28T14:33:54.377393 #16938] INFO -- : HTTP Request Returned 401 Unauthorized: error
I, [2014-10-28T14:33:54.998467 #16938] INFO -- : HTTP Request Returned 401 Unauthorized: error
I, [2014-10-28T14:33:55.630469 #16938] INFO -- : HTTP Request Returned 401 Unauthorized: error
I, [2014-10-28T14:42:12.925787 #8098] INFO -- : Bootrapping started.
I, [2014-10-28T14:42:14.763716 #8098] INFO -- : HTTP Request Returned 401 Unauthorized: error
I, [2014-10-28T14:42:15.422438 #8098] INFO -- : HTTP Request Returned 401 Unauthorized: error
I, [2014-10-28T14:42:16.066673 #8098] INFO -- : HTTP Request Returned 401 Unauthorized: error
I, [2014-10-28T14:42:16.664576 #8098] INFO -- : HTTP Request Returned 401 Unauthorized: error
The /etc/chef-sync/ec_sync_user.pem is the same on both machines (generated on master "server1" copied to replica "server2"), and the command "chef-sync-ctl prepare-org test" was executed on both sides.
Also, the "show config" does not work, both in server1 or in server2:
~]# chef-sync-ctl show-config
Starting Chef Client, version 11.12.2
Compiling Cookbooks...
================================================================================
Recipe Compile Error
================================================================================
Chef::Exceptions::RecipeNotFound
--------------------------------
could not find recipe show_config for cookbook chef-sync
Running handlers:
Running handlers complete
[2014-10-28T14:59:08+00:00] FATAL: Stacktrace dumped to /opt/chef-sync/embedded/cookbooks/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 3.848546996 seconds
[2014-10-28T14:59:08+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Can you help me please?
Thanks a lot!
--
-- Tiago Cruz