I’m getting in a strange problem just after upgrading from chef 0.10.18 to chef 0.11.
I had CHEF installed through Ubuntu 12.04 regular packages and updated to CHEF by installing the “chef-server_11.0.4-1.ubuntu.12.04_amd64.deb” package, stopping rabbitmq and then launching “chef-server-ctl reconfigure”.
I had at first problem with chef-server-webui as my 10.18 installation was running through Apache 2 and the DEB install runs NGINX.
But, then, the old configuration is lost : no more cookbooks, databags, roles, environments and nodes.
Is it a normal situation, and I have to re-create or import all those elements, or is there any other robust path to follow to upgrade my 10.18 CHEF to 11 ? Thanks in advance.
Regards,
Philippe Bérard
Administrateur Systèmes
Tel : +33 (0)1 39 23 31 17
Mob : +33 (0)6 01 27 87 86
Fax : +33 (0)1 39 55 47 56
58, Rue Pottier
78150 Le Chesnay
http://www.jalios.com www.jalios.com
JALIOS
P Afin de contribuer au respect de l'environnement, merci de n'imprimer ce message qu'en cas de nécessité.
De : Adam Leff [mailto:adam@leff.co]
Envoyé : mardi 5 février 2013 15:24
À : chef@lists.opscode.com
Cc : chef@lists.opscode.com
Objet : [chef] Re: RE: Re: Re: chef 11 install problem
Philippe-
I had a similar issue on CentOS 5.8. I haven't yet dug into the root cause (though I plan to) but I found that RabbitMQ was already running (outside of runit), so runit kept starting a second copy and failing. I killed off the processes and ran chef-server-ctl reconfigure and all was well.
Adam
On Feb 5, 2013, at 6:08, Philippe Bérard philippe.berard@jalios.com wrote:
Personally, I have some big problems updating Chef Server from 10.18.2 to 11.04-1 on Ubuntu server 12.04 LTS : RabbitMQ doesn't want to start.
Here is the end of the installation transcript :
-
service[rabbitmq] action nothing (up to date)
-
execute[/opt/chef-server/bin/chef-server-ctl start rabbitmq] action run
- execute /opt/chef-server/bin/chef-server-ctl start rabbitmq
-
execute[/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait / mailto:var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid] action run
================================================================================
Error executing action run
on resource 'execute[/opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait / mailto:var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
Expected process to exit with [0], but received '2'
---- Begin output of /opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait / mailto:var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid ----
STDOUT: Waiting for rabbit@localhost ...
pid is 17072 ...
STDERR: Error: process_not_running
---- End output of /opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait / mailto:var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid ----
Ran /opt/chef-server/embedded/bin/chpst -u chef_server -U chef_server /opt/chef-server/embedded/bin/rabbitmqctl wait / mailto:var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid var/opt/chef-server/rabbitmq/db/rabbit@localhost.pid returned 2
Regards,
-- Philippe Bérard
-----Message d'origine-----
De : Alex Vitola [mailto:alex.vitola@gmail.com]
Envoyé : mardi 5 février 2013 11:42
À : seth@opscode.com; chef@lists.opscode.com
Objet : [chef] Re: Re: chef 11 install problem
My environment is still in development, I believe the problem is not with version 11, but due to the tests I'm doing
2013/2/4 Seth Falcon < mailto:seth@opscode.com seth@opscode.com>:
On Feb 4, 2013, at 10:06 AM, Alex Vitola wrote:
I had to downgrade because I could not do any client connecting to
the server
If you'd like to provide some details on the trouble you encounted, perhaps we can help get you going with Chef 11.