Any idea why this knife bootstrap is failing?? Below is the debug log. I
just upgraded the chef-server to 12.
INFO: Using configuration from /home/user/.chef/knife.rb
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
DEBUG: Signing the request as jenkins
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
DEBUG: Chef::HTTP calling
Chef::HTTP::ValidateContentLength#handle_request
DEBUG: Initiating GET to
XXX Sex - Free Porn Videos at XXX.com
https://ngdc-chef.houston.hp.com/organizations/123ows_epc-dev/nodes/
DEBUG: ---- HTTP Request Header Data: ----
DEBUG: Accept: application/json
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.0;
DEBUG: X-OPS-USERID: jenkins
DEBUG: X-OPS-TIMESTAMP: 2015-04-11T00:16:57Z
DEBUG: X-OPS-CONTENT-HASH: 2jmj7l5rSw0yVb/vlWAYkK/YBwk=
DEBUG: X-OPS-AUTHORIZATION-1:
kJgcCnRswWvpfW/6YxLU/QUZXGUHFt4WcjRL2JGJQWKLIL5YdsqDIkRphkKC
DEBUG: X-OPS-AUTHORIZATION-2:
vuEPQWVYEJi35b3/osgcVXOiVfyO+XQLLyyDdljizYEwU6uHZCA5PT1K5Jmw
DEBUG: X-OPS-AUTHORIZATION-3:
rkSMAcGU/9qWGccuFcSDF8Zq3CmmIKZU6zB06SFNSThTtE0lz0l+RZnC+pFb
DEBUG: X-OPS-AUTHORIZATION-4:
LHTsgNZ5RZbBFAc4sR03qA0Oh5BNRiKI6kUi+vRXxZkExXoB52e57F+uKnBE
DEBUG: X-OPS-AUTHORIZATION-5:
zSlJsUa3PJwcGK16ULzcwQVoWAMCbcQq+2KTvMjVc8+5XvJ3z866UpZM0AMp
DEBUG: X-OPS-AUTHORIZATION-6:
uKrDGoYQZs91yYifqikcp8q1noihxKWrP4+QXj0i+g==
DEBUG: HOST: XXX.com:443
DEBUG: X-REMOTE-REQUEST-ID: e3dbc5d1-7fd8-4dce-bf25-17e42e410984
DEBUG: ---- End HTTP Request Header Data ----
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 200 OK
DEBUG: server: ngx_openresty/1.4.3.6
DEBUG: date: Sat, 11 Apr 2015 00:16:57 GMT
DEBUG: content-type: application/json
DEBUG: content-length: 2
DEBUG: connection: close
DEBUG: x-ops-api-info: flavor=cs;version=12.0.0;oc_erchef=1.5.0
DEBUG: ---- End HTTP Status/Header Data ----
DEBUG: Chef::HTTP calling
Chef::HTTP::ValidateContentLength#handle_response
DEBUG: Content-Length validated correctly.
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
DEBUG: Chef::HTTP calling
Chef::HTTP::JSONToModelOutput#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
Node exists, overwrite it? (Y/N) Y
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request
DEBUG: Signing the request as jenkins
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
DEBUG: Chef::HTTP calling
Chef::HTTP::ValidateContentLength#handle_request
DEBUG: Initiating DELETE to
XXX Sex - Free Porn Videos at XXX.com
https://ngdc-chef.houston.hp.com/organizations/123ows_epc-dev/nodes/
DEBUG: ---- HTTP Request Header Data: ----
DEBUG: Accept: application/json
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.0;
DEBUG: X-OPS-USERID: jenkins
DEBUG: X-OPS-TIMESTAMP: 2015-04-11T00:17:27Z
DEBUG: X-OPS-CONTENT-HASH: 2jmj7l5rSw0yVb/vlWAYkK/YBwk=
DEBUG: X-OPS-AUTHORIZATION-1:
o+5IUnQBuFzTjdUpRJvSxkDWXM57r5pji4zxtYOOrHa0HLb8kTLM/QJoMqay
DEBUG: X-OPS-AUTHORIZATION-2:
JaY1+Tri6jZNvTfOKruc7PHjJG/pjvONgjkH3kWMlP8ajLBjKsOvd7CI9LVl
DEBUG: X-OPS-AUTHORIZATION-3:
giMlYsRFkvU8+rc5Aw1WXx6tWB3KhBPe4NoKkoApDcpqpHlCQsXotaCQ1SGA
DEBUG: X-OPS-AUTHORIZATION-4:
EcCJOeUgHIIJORnL2vOwJGpTgGHLhPDKx5B53tHiFn3OvDzwVQn3IcxefVPS
DEBUG: X-OPS-AUTHORIZATION-5:
AtyR2Cuml+gBqcd5Mxz4arEJOj/xniw0tPyGis7xdT0YXRcKrcBAkHubGF9a
DEBUG: X-OPS-AUTHORIZATION-6:
GjXHACFEGeS0D7VPvc1eNQr/eH1J3+dJVsNeu/CfRA==
DEBUG: HOST: XXX.com:443
DEBUG: X-REMOTE-REQUEST-ID: e3dbc5d1-7fd8-4dce-bf25-17e42e410984
DEBUG: ---- End HTTP Request Header Data ----
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 405 Method Not Allowed
DEBUG: server: ngx_openresty/1.4.3.6
DEBUG: date: Sat, 11 Apr 2015 00:17:28 GMT
DEBUG: content-type: text/html
DEBUG: content-length: 177
DEBUG: connection: close
DEBUG: x-ops-api-info: flavor=cs;version=12.0.0;oc_erchef=1.5.0
DEBUG: allow: GET, POST
DEBUG: ---- End HTTP Status/Header Data ----
DEBUG: ---- HTTP Response Body ----
DEBUG: 405 Method Not
Allowed
Method Not Allowed
Method Not
Allowed
mochiweb+webmachine web
server
DEBUG: ---- End HTTP Response Body -----
DEBUG: Chef::HTTP calling
Chef::HTTP::ValidateContentLength#handle_response
DEBUG: Content-Length validated correctly.
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
DEBUG: Chef::HTTP calling
Chef::HTTP::JSONToModelOutput#handle_response
DEBUG: Expected JSON response, but got content-type 'text/html'
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
INFO: HTTP Request Returned 405 Method Not Allowed:
/home/user/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/http/response.rb:119:in
`error!': 405 "Method Not Allowed" (Net::HTTPServerException)
from
/home/user/.rvm/gems/ruby-2.1.1@project-name/gems/chef-12.2.1/lib/chef/http.rb:144:in
</home/brainy/.rvm/gems/ruby-2.1.1@123ows-epc/gems/chef-12.2.1/lib/chef/http.rb:144:in>
`request'
from
/home/user/.rvm/gems/ruby-2.1.1@project-name/gems/chef-12.2.1/lib/chef/http.rb:133:in
</home/brainy/.rvm/gems/ruby-2.1.1@123ows-epc/gems/chef-12.2.1/lib/chef/http.rb:133:in>
`delete'
from
/home/user/.rvm/gems/ruby-2.1.1@project-name/gems/chef-12.2.1/lib/chef/knife/bootstrap/client_builder.rb:157:in
</home/brainy/.rvm/gems/ruby-2.1.1@123ows-epc/gems/chef-12.2.1/lib/chef/knife/bootstrap/client_builder.rb:157:in>
`sanity_check'
from
/home/user/.rvm/gems/ruby-2.1.1@project-name/gems/chef-12.2.1/lib/chef/knife/bootstrap/client_builder.rb:49:in
</home/brainy/.rvm/gems/ruby-2.1.1@123ows-epc/gems/chef-12.2.1/lib/chef/knife/bootstrap/client_builder.rb:49:in>
`run'
from
/home/user/.rvm/gems/ruby-2.1.1@project-name/gems/chef-12.2.1/lib/chef/knife/bootstrap.rb:319:in
</home/brainy/.rvm/gems/ruby-2.1.1@123ows-epc/gems/chef-12.2.1/lib/chef/knife/bootstrap.rb:319:in>
`run'
from
/home/user/.rvm/gems/ruby-2.1.1@project-name/gems/knife-solo-0.4.2/lib/chef/knife/bootstrap_solo.rb:25:in
</home/brainy/.rvm/gems/ruby-2.1.1@123ows-epc/gems/knife-solo-0.4.2/lib/chef/knife/bootstrap_solo.rb:25:in>
`run'
from
/home/user/.rvm/gems/ruby-2.1.1@project-name/gems/chef-12.2.1/lib/chef/knife.rb:419:in
</home/brainy/.rvm/gems/ruby-2.1.1@123ows-epc/gems/chef-12.2.1/lib/chef/knife.rb:419:in>
`block
in run_with_pretty_exceptions'
from
/home/user/.rvm/gems/ruby-2.1.1@project-name/gems/chef-12.2.1/lib/chef/local_mode.rb:38:in
</home/brainy/.rvm/gems/ruby-2.1.1@123ows-epc/gems/chef-12.2.1/lib/chef/local_mode.rb:38:in>
`with_server_connectivity'
from
/home/user/.rvm/gems/ruby-2.1.1@project-name/gems/chef-12.2.1/lib/chef/knife.rb:418:in
</home/brainy/.rvm/gems/ruby-2.1.1@123ows-epc/gems/chef-12.2.1/lib/chef/knife.rb:418:in>
`run_with_pretty_exceptions'
from
/home/user/.rvm/gems/ruby-2.1.1@project-name/gems/chef-12.2.1/lib/chef/knife.rb:214:in
</home/brainy/.rvm/gems/ruby-2.1.1@123ows-epc/gems/chef-12.2.1/lib/chef/knife.rb:214:in>
`run'
from
/home/user/.rvm/gems/ruby-2.1.1@project-name/gems/chef-12.2.1/lib/chef/application/knife.rb:138:in
</home/brainy/.rvm/gems/ruby-2.1.1@123ows-epc/gems/chef-12.2.1/lib/chef/application/knife.rb:138:in>
`run'
from
/home/user/.rvm/gems/ruby-2.1.1@project-name/gems/chef-12.2.1/bin/knife:25:in
</home/brainy/.rvm/gems/ruby-2.1.1@123ows-epc/gems/chef-12.2.1/bin/knife:25:in>
`<top
(required)>'
from /home/user/.rvm/gems/ruby-2.1.1@project-name/bin/knife:23:in
</home/brainy/.rvm/gems/ruby-2.1.1@123ows-epc/bin/knife:23:in> `load'
from /home/user/.rvm/gems/ruby-2.1.1@project-name/bin/knife:23:in
</home/brainy/.rvm/gems/ruby-2.1.1@123ows-epc/bin/knife:23:in> `'
from
/home/user/.rvm/gems/ruby-2.1.1@project-name/bin/ruby_executable_hooks:15:in
</home/brainy/.rvm/gems/ruby-2.1.1@123ows-epc/bin/ruby_executable_hooks:15:in>
`eval'
from
/home/user/.rvm/gems/ruby-2.1.1@project-name/bin/ruby_executable_hooks:15:in
</home/brainy/.rvm/gems/ruby-2.1.1@123ows-epc/bin/ruby_executable_hooks:15:in>
`'