infochimps/cluster_chef — Issue #88: "knife cluster launch <clustername> --bootstrap" failing because clients already created before bootstrap registration; Using version_3
Author: redbeard
Created: 2011-12-21 05:17:17+00:00
State: open

Results in 409 error when the bootstrap script tries to register the client.

[Wed, 21 Dec 2011 05:13:45 +0000] INFO: *** Chef 0.10.8 ***
DEBUG: received packet nr 410 type 94 len 124
INFO: channel_data: 0 102b
[Wed, 21 Dec 2011 05:13:45 +0000] INFO: Client key /etc/chef/client.pem is not present - registering
DEBUG: read 148 bytes
DEBUG: received packet nr 411 type 94 len 124
INFO: channel_data: 0 100b
[Wed, 21 Dec 2011 05:13:46 +0000] INFO: HTTP Request Returned 409 Conflict: Client already exists.
DEBUG: read 340 bytes
DEBUG: received packet nr 412 type 94 len 316
INFO: channel_data: 0 299b
[Wed, 21 Dec 2011 05:13:46 +0000] INFO: HTTP Request Returned 403 Forbidden: Merb::ControllerExceptions::Forbidden
[Wed, 21 Dec 2011 05:13:46 +0000] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[Wed, 21 Dec 2011 05:13:46 +0000] FATAL: Net::HTTPServerException: 403 "Forbidden"

Unless I'm missing some custom bootstrap that needs to be somewhere (my homebase is based on infochimps-labs/cluster_chef-homebase )