rcbops-qe / monster

Deployment/Orchestration Engine
Apache License 2.0
4 stars 8 forks source link

Orchestrator merge apr 21 #179

Closed jcourtois closed 10 years ago

jcourtois commented 10 years ago

Includes Julian's #178.

jacobwagner commented 10 years ago

Hey fix the merge conflicts so i can finish the review and merge

jcourtois commented 10 years ago

under test

jcourtois commented 10 years ago

I'm having trouble with chef authentication. I don't know if I broke something or not.

The problem starts here:

2014-04-24 15:36:13,808 - monster.server_helper - INFO - Reading state information... 2014-04-24 15:36:14,051 - monster.server_helper - INFO - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2014-04-24 15:36:14,055 - monster.nodes.base_node_wrapper - DEBUG - Node feature: pre-configure: remote 2014-04-24 15:36:14,055 - monster.nodes.base_node_wrapper - INFO - Running: knife bootstrap 23.253.104.174 -u root -P 3rkWhdUDpAQB --bootstrap-version 11.08.0 on james138-chefserver 2014-04-24 15:36:15,264 - monster.server_helper - INFO - Bootstrapping Chef on 23.253.104.174 2014-04-24 15:36:16,597 - monster.server_helper - INFO - 23.253.104.174 Starting Chef Client, version 11.8.0 2014-04-24 15:36:17,658 - monster.server_helper - INFO - 23.253.104.174 2014-04-24 15:36:17,659 - monster.server_helper - INFO - 23.253.104.174 ================================================================================ 2014-04-24 15:36:17,659 - monster.server_helper - INFO - 23.253.104.174 2014-04-24 15:36:17,660 - monster.server_helper - INFO - 23.253.104.174 Chef encountered an error attempting to load the node data for "james138-controller" 2014-04-24 15:36:17,660 - monster.server_helper - INFO - 23.253.104.174 ================================================================================ 2014-04-24 15:36:17,661 - monster.server_helper - INFO - 23.253.104.174 2014-04-24 15:36:17,661 - monster.server_helper - INFO - 23.253.104.174 2014-04-24 15:36:17,661 - monster.server_helper - INFO - 23.253.104.174 Authentication Error: 2014-04-24 15:36:17,662 - monster.server_helper - INFO - 23.253.104.174 --------------------- 2014-04-24 15:36:17,662 - monster.server_helper - INFO - 23.253.104.174 Failed to authenticate to the chef server (http 401). 2014-04-24 15:36:17,663 - monster.server_helper - INFO - 23.253.104.174 2014-04-24 15:36:17,663 - monster.server_helper - INFO - 23.253.104.174 2014-04-24 15:36:17,663 - monster.server_helper - INFO - 23.253.104.174 2014-04-24 15:36:17,664 - monster.server_helper - INFO - 23.253.104.174 Server Response: 2014-04-24 15:36:17,665 - monster.server_helper - INFO - 23.253.104.174 ---------------- 2014-04-24 15:36:17,665 - monster.server_helper - INFO - 23.253.104.174 Failed to authenticate as 'james138-controller'. Ensure that your node_name and client key are correct. 2014-04-24 15:36:17,666 - monster.server_helper - INFO - 23.253.104.174 2014-04-24 15:36:17,666 - monster.server_helper - INFO - 23.253.104.174 2014-04-24 15:36:17,667 - monster.server_helper - INFO - 23.253.104.174 Relevant Config Settings: 2014-04-24 15:36:17,667 - monster.server_helper - INFO - 23.253.104.174 ------------------------- 2014-04-24 15:36:17,667 - monster.server_helper - INFO - 23.253.104.174 chef_server_url "https://23.253.104.18:443" 2014-04-24 15:36:17,668 - monster.server_helper - INFO - 23.253.104.174 node_name "james138-controller" 2014-04-24 15:36:17,668 - monster.server_helper - INFO - 23.253.104.174 client_key "/etc/chef/client.pem" 2014-04-24 15:36:17,669 - monster.server_helper - INFO - 23.253.104.174 2014-04-24 15:36:17,669 - monster.server_helper - INFO - 23.253.104.174 If these settings are correct, your client_key may be invalid. 2014-04-24 15:36:17,671 - monster.server_helper - INFO - 23.253.104.174 2014-04-24 15:36:17,671 - monster.server_helper - INFO - 23.253.104.174 2014-04-24 15:36:17,672 - monster.server_helper - INFO - 23.253.104.174 2014-04-24 15:36:17,672 - monster.server_helper - INFO - 23.253.104.174 [2014-04-24T15:36:02+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out 2014-04-24 15:36:17,673 - monster.server_helper - INFO - 23.253.104.174 Chef Client failed. 0 resources updated 2014-04-24 15:36:17,673 - monster.server_helper - INFO - 23.253.104.174 [2014-04-24T15:36:02+00:00] ERROR: 401 "Unauthorized" 2014-04-24 15:36:17,723 - monster.server_helper - INFO - 23.253.104.174 [2014-04-24T15:36:02+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) 2014-04-24 15:36:19,476 - monster.server_helper - INFO - Bootstrapping Chef on 23.253.104.174

...ect....

Here's the full build output:

https://gist.github.com/jcourtois/77633a7a022367fb3340

jcourtois commented 10 years ago

It's good now

jacobwagner commented 10 years ago

also you commited a binary file

jacobwagner commented 10 years ago

.DS-Store is still commited, its a binary please remove it or add it to .gitignore

jcourtois commented 10 years ago

ok

On Mon, Apr 28, 2014 at 9:41 AM, Jacob Wagner notifications@github.comwrote:

.DS-Store is still commited, its a binary please remove it or add it to .gitignore

Reply to this email directly or view it on GitHubhttps://github.com/rcbops-qa/monster/pull/179#issuecomment-41566217 .