[chef] Re: Re: Re: Chef 0.10.4 Released!


Chronological Thread 
  • From: Aaron Abramson < >
  • To:
  • Subject: [chef] Re: Re: Re: Chef 0.10.4 Released!
  • Date: Fri, 12 Aug 2011 12:45:45 -0500

That appeared to work...  (this is a vanilla Alestic Natty image (ami-06ad526f) with just chef-server installed.

$ sudo rabbitmqctl list_users
Listing users ...
chef false
guest true
...done.

$ sudo rabbitmqctl list_users | grep -x "^chef" 1>/dev/null ; echo $?
1

$ sudo rabbitmqctl delete_user chef
Deleting user "chef" ...
...done.

$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libjs-jquery-ui wwwconfig-common _javascript_-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up chef-solr (0.10.4-1) ...
Creating user "chef" ...
...done.
Setting permissions for user "chef" in vhost "/chef" ...
...done.
 * Starting chef-solr  chef-solr
   ...done.
Setting up chef-expander (0.10.4-1) ...
 * Starting chef-expander  chef-expander
[Fri, 12 Aug 2011 17:41:03 +0000] INFO: Chef Expander 0.10.4 starting cluster with 1 nodes
   ...done.
Setting up chef-server-api (0.10.4-1) ...
 * Starting chef-server 
 ~ In 10148
   ...done.
Setting up chef-server (0.10.4-1) ...
Setting up chef-server-webui (0.10.4-1) ...
 * Starting chef-server-webui 
 ~ In 10271
   ...done.



On Aug 12, 2011, at 12:30 PM, Bryan McLellan wrote:

On Fri, Aug 12, 2011 at 9:47 AM, Aaron Abramson < "> > wrote:
I just did an apt-get update / apt-get upgrade and it broke.

Is there a recommended way to upgrade from 0.10.2 to 0.10.4 when using the prescribed apt methods?

This should work.

Setting up chef-solr (0.10.4-1) ...
Creating user "chef" ...
Error: {user_already_exists,<<"chef">>}
dpkg: error processing chef-solr (--configure):
 subprocess installed post-installation script returned error exit status 2

This is http://tickets.opscode.com/browse/CHEF-2296, which should have
been fixed. I tested an upgrade myself and it worked okay.

Can you please run:

rabbitmqctl list_users
and
rabbitmqctl list_users | grep -x "^chef" 1>/dev/null ; echo $?

And provide the output?

The workaround is deleting the chef user in rabbitmq

sudo rabbitmqctl delete_user chef

Then continue apt with 'sudo apt-get install -f'




Archive powered by MHonArc 2.6.16.

§