[chef] Re: Re: mysql gem problem


Chronological Thread 
  • From: Roberto < >
  • To:
  • Subject: [chef] Re: Re: mysql gem problem
  • Date: Wed, 25 May 2011 10:53:23 +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; b=xSK6Ym721ZvTYxiaTxViX47TyNhR+q18nB7aK43ZNUqNdYMv1V6PVBuvQ+sCJSmds+ kohF9l+XPHnP6QvcUXrxOMVfPqOB6jyZdLF0zC0JmclfOfQzhpdEqVivI02ii7jif+ol Ooh1ndqmwde6mbjFFE+dR1blIutc7lgx2iSQc=

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



Archive powered by MHonArc 2.6.16.

§