- From: Roberto <
>
- To:
- Subject: [chef] Re: Re: mysql gem problem
- Date: Wed, 25 May 2011 12:31:41 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=DjW9Ru8ZncUAGgyoarTIK5Z2/cv/Eohd7qH7h9x1UTAf42gXRF/ZkLlubK/K2LsAy/ IRcuytSHZqYg5CPTyD+yJA+jtaCQpcgfgqUBmLQbie2FmHH1FNg38La8IwHuXteN9mZy lTrMD8dkeDmCNAneHo9AaPagCZEFS+tDZMLM4=
Ah! I'm not the only one suffering this issue. There's already a pull
request for this:
https://github.com/opscode/cookbooks/pull/64
Regards,
Roberto
On Wed, May 25, 2011 at 10:53 AM, Roberto
<
>
wrote:
>
Hi,
>
>
On Wed, May 25, 2011 at 2:24 AM, Seth Chisamore
>
<
>
>
wrote:
>
> Roberto,
>
> This bug has actually been fixed in version 0.8.0 of the wordpress
>
> cookbook which will be released later this week.
>
>
>
> If you would like to grab the changes early please take look at this
>
> commit:
>
> https://github.com/opscode/cookbooks/commit/ae5098cb65c7006f366605974cee526b49ad803b
>
>
Thanks, this seemed to solve the original issue. Using version 0.8.1,
>
though, I get the following:
>
>
[Wed, 25 May 2011 02:46:15 -0700] FATAL: Failed to read the private
>
key /etc/chef/client.pem:
>
...
>
[Wed, 25 May 2011 02:46:15 -0700] ERROR: execute[create wordpressdb
>
database] (/tmp/vagrant-chef/cookbooks-0/wordpress/recipes/default.rb:76:in
>
`from_file') had an error:
>
I cannot read /etc/chef/client.pem, which you told me to use to sign
>
requests!
>
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/rest/auth_credentials.rb:62:in
>
`load_signing_key'
>
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/rest/auth_credentials.rb:33:in
>
`initialize'
>
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/rest.rb:48: stdout
>
[default]
>
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/rest/auth_credentials.rb:62:in
>
`load_signing_key': stderr
>
[default] : : stderr
>
[default] I cannot read /etc/chef/client.pem, which you told me to use
>
to sign requests!: stderr
>
[default] (: stderr
>
[default] Chef::Exceptions::PrivateKeyMissing: stderr
>
[default] )
>
: stderr
>
[default] from
>
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/rest/auth_credentials.rb:33:in
>
`initialize'
>
: stderr
>
[default]
>
>
I'm a bit lost here, cause I'm using Chef Solo as provisioner and not
>
Chef Server. Could someone clarify me how this authentication is
>
supposed to work?
>
>
Thanks again,
>
>
Roberto
>
--
Roberto Aloi
---
Blog:
http://aloiroberto.wordpress.com
Twitter: @prof3ta
Archive powered by MHonArc 2.6.16.