- From: Kelly Goedert <
>
- To:
- Subject: [chef] bootstraping a new client authorization error
- Date: Fri, 13 Jan 2012 10:50:23 -0200
Hi,
I'm trying to bootstrap a new chef client on a newly installed
machine. I'm using the following command:
knife bootstrap -x kelly -P changeme -d ubuntu10.04-gems -N
kelly15 --sudo -r 'role[developer]' 10.1.1.15
The installation seem to go ok, but this message appears
[Fri, 13 Jan 2012 10:42:53 -0200] INFO: *** Chef 0.10.8 ***
10.1.1.15
10.1.1.15 [Fri, 13 Jan 2012 10:42:54 -0200] INFO: HTTP Request
Returned 401 Unauthorized: Failed to authenticate. Ensure that your
client key is valid.
10.1.1.15
10.1.1.15 [Fri, 13 Jan 2012 10:42:54 -0200] FATAL: Stacktrace dumped
to /var/chef/cache/chef-stacktrace.out
10.1.1.15
10.1.1.15 [Fri, 13 Jan 2012 10:42:54 -0200] FATAL:
Net::HTTPServerException: 401 "Unauthorized"
Do I have to create the client on chef server first?
Thanks
Kelly
- [chef] bootstraping a new client authorization error, Kelly Goedert, 01/13/2012
Archive powered by MHonArc 2.6.16.