[chef] Re: Re: Re: recipe[mysql::server] error on centos -- (grant/access denied)


Chronological Thread 
  • From: Joshua Timberman < >
  • To:
  • Subject: [chef] Re: Re: Re: recipe[mysql::server] error on centos -- (grant/access denied)
  • Date: Thu, 30 Dec 2010 18:33:51 -0700

Try,

git status

Your git repository is probably 'dirty'. You can also run the knife
command again with -l debug appended and it will show the full output
from the error.

On Thu, Dec 30, 2010 at 4:13 PM, E Camden Fisher 
< >
 wrote:
> Note: replied directly to Seth by accident, replying to list
>
> chef-repo fish$  knife cookbook site vendor mysql
> INFO: Downloading mysql from the cookbooks site at version 0.24.3
> INFO: Cookbook saved: /Users/fish/tmp/chef-repo/cookbooks/mysql.tar.gz
> INFO: Checking out the master branch.
> INFO: Checking the status of the vendor branch.
> INFO: Vendor branch found.
> /Library/Ruby/Gems/1.8/gems/chef-0.9.12/lib/chef/mixin/command.rb:184:in
> `handle_command_failures': git checkout chef-vendor-mysql returned 1, 
> expected
> 0 (Chef::Exceptions::Exec)
>        from
> /Library/Ruby/Gems/1.8/gems/chef-0.9.12/lib/chef/mixin/command.rb:131:in
> `run_command'
>        from
> /Library/Ruby/Gems/1.8/gems/chef-0.9.12/lib/chef/knife/cookbook_site_vendor.rb:70:in
> `run'
>        from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/lib/chef/knife.rb:127:in
> `run'
>        from
> /Library/Ruby/Gems/1.8/gems/chef-0.9.12/lib/chef/application/knife.rb:121:in
> `run'
>        from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/bin/knife:25
>        from /usr/bin/knife:19:in `load'
>        from /usr/bin/knife:19
>
>
> I was able to get it done by:
>
>  rm -Rf cookbooks/mysql{,.tar.gz}
>  knife cookbook site vendor -d mysql
>  cd cookbooks
>  tar -zxvf mysql.tar.gz
>
> What did I miss?  Shouldn't I be able to just upgrade it?
>



-- 
Opscode, Inc
Joshua Timberman, Technical Evangelist
IRC, Skype, Twitter, Github: jtimberman



Archive powered by MHonArc 2.6.16.

§