- From: Miquel Torres <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: trying to get solo working and almost there.
- Date: Mon, 5 Dec 2011 20:53:47 +0100
Makes sense, yes.
How would you like us to contribute it?
2011/12/5 Adam Jacob
<
>:
>
We should consider adding this functionality to core, eh?
>
>
Adam
>
>
---
>
Opscode, Inc.
>
Adam Jacob, Chief Customer Officer
>
T: (206) 619-7151 E:
>
>
>
On Dec 5, 2011, at 8:55 AM, Miquel Torres wrote:
>
>
> Actually, data bag support for chef-solo was added with Chef 0.10.4
>
> The user cookbook though uses search, which may be what triggers that
>
> client.pem error.
>
>
>
> If you want to use with chef-solo a cookbook that uses search, you
>
> will need this lib:
>
> https://github.com/edelight/chef-solo-search
>
>
>
> Just add it to your deployed cookbooks and search will work.
>
>
>
> Cheers
>
> Miquel
>
>
>
>
>
> 2011/12/5 Daniel DeLeo
>
> <
>:
>
>>
>
>>
>
>> On Monday, December 5, 2011 at 7:24 AM, Adam Jacob wrote:
>
>>
>
>>> Looks like you are running chef-client rather than solo?
>
>>> ---
>
>>> Opscode, Inc.
>
>>> Adam Jacob, Chief Customer Officer
>
>>> T: (206) 619-7151 E:
>
>>>
>
>>>
>
>>> (mailto:
)
>
>>>
>
>>> On Dec 5, 2011, at 1:47 AM, Tim Uckun wrote:
>
>>>
>
>>>> I am trying to get chef solo going. I have set up a script to rsync
>
>>>> the files to the server and run chef solo but I get this error.
>
>>>>
>
>>>>
>
>>>> Starting Chef Run for ubuntuvm1
>
>>>> [Mon, 05 Dec 2011 22:36:20 +1300] WARN: Failed to read the private key
>
>>>> /etc/chef/client.pem: #<Errno::ENOENT: No such file or directory -
>
>>>> /etc/chef/client.pem>
>
>>>> [Mon, 05 Dec 2011 22:36:20 +1300] ERROR: Running exception handlers
>
>>>> [Mon, 05 Dec 2011 22:36:20 +1300] ERROR: Exception handlers complete
>
>>>> [Mon, 05 Dec 2011 22:36:20 +1300] FATAL: Stacktrace dumped to
>
>>>> /root/chef_solo/chef-stacktrace.out
>
>>>> [Mon, 05 Dec 2011 22:36:20 +1300] FATAL:
>
>>>> Chef::Exceptions::PrivateKeyMissing: I cannot read
>
>>>> /etc/chef/client.pem, which you told me to use to sign requests!
>
>>>>
>
>>>> It's happening when I attempt to use the users::sysadmins recipe.
>
>> That recipe is probably trying to load users from data bags.
>
>>
>
>> There is data bag support for chef-solo in 0.10.6 which is still in the
>
>> RC phase; you can get it with `gem install chef --pre`. I'm not sure
>
>> exactly where chef-solo will be looking for the data bag items so you'll
>
>> have to play with it a bit.
>
>>
>
>> --
>
>> Dan DeLeo
>
>>
>
>>
>
>>
>
Archive powered by MHonArc 2.6.16.