Chef server bootstrap via chef-solo and startup


#1

Hi,
I have a chef server installed on an tiny EC2 instance which I am able
to run once, however on terminating/restarting I find that the
chef-expander process is in a die-restart loop.
The startup log suggests it is an issue around starting the database.
startup_log, startup_err, erl_crash.dump and rabbit.log are here:

I’m also seeing the following error periodically (about 50% of
occasions) when installing the Chef server via the chef-solo bootstrap
described on the opscode wiki/site:

Has anyone experienced this and have a solution, or can suggest what
might be the cause of this?

Best wishes.


πόλλ’ οἶδ ἀλώπηξ, ἀλλ’ ἐχῖνος ἓν μέγα
[The fox knows many things, but the hedgehog knows one big thing.]
Archilochus, Greek poet (c. 680 BC – c. 645 BC)
http://hedgehogshiatus.com


#2

On Sunday, June 26, 2011 at 5:24 AM, Hedge Hog wrote:

Hi,
I have a chef server installed on an tiny EC2 instance which I am able
to run once, however on terminating/restarting I find that the
chef-expander process is in a die-restart loop.
The startup log suggests it is an issue around starting the database.
startup_log, startup_err, erl_crash.dump and rabbit.log are here:
https://gist.github.com/1047284

I’m also seeing the following error periodically (about 50% of
occasions) when installing the Chef server via the chef-solo bootstrap
described on the opscode wiki/site:
https://gist.github.com/1047565

Has anyone experienced this and have a solution, or can suggest what
might be the cause of this?
No idea what the cause is. You can try clearing out rabbitmq’s database, I believe this will be in /var/lib/rabbitmq/mnesia/rabbit. You can simply rm the files/dirs in there.

After that, you’ll need to configure rabbitmq again, following the instructions here: http://wiki.opscode.com/display/chef/Manual+Chef+Server+Configuration#ManualChefServerConfiguration-ConfigureRabbitMQ

Best wishes.


πόλλ’ οἶδ ἀλώπηξ, ἀλλ’ ἐχῖνος ἓν μέγα
[The fox knows many things, but the hedgehog knows one big thing.]
Archilochus, Greek poet (c. 680 BC – c. 645 BC)
http://hedgehogshiatus.com


Dan DeLeo


#3

Hello,

On 26 June 2011 14:24, Hedge Hog hedgehogshiatus@gmail.com wrote:

Has anyone experienced this and have a solution, or can suggest what
might be the cause of this?

I experienced problems too with a Chef server installed via the
chef-server cookbook. What happens is that all the different services
needed for Chef to run should be started and running before Chef
itself, in the correct order. I was able to resolve it by changing the
boot order of the init.d processes. Have a look at my more elaborate
explanation in ticket CHEF-2318

http://tickets.opscode.com/browse/CHEF-2318

Hope this helps.

Ringo


#4

On Wed, Jun 29, 2011 at 8:37 PM, Ringo De Smet ringo.desmet@gmail.com wrote:

Hello,

On 26 June 2011 14:24, Hedge Hog hedgehogshiatus@gmail.com wrote:

Has anyone experienced this and have a solution, or can suggest what
might be the cause of this?

I experienced problems too with a Chef server installed via the
chef-server cookbook. What happens is that all the different services
needed for Chef to run should be started and running before Chef
itself, in the correct order. I was able to resolve it by changing the
boot order of the init.d processes. Have a look at my more elaborate
explanation in ticket CHEF-2318

http://tickets.opscode.com/browse/CHEF-2318

Thanks, I thought I was doing something wrong.

Hope this helps.

Ringo


πόλλ’ οἶδ ἀλώπηξ, ἀλλ’ ἐχῖνος ἓν μέγα
[The fox knows many things, but the hedgehog knows one big thing.]
Archilochus, Greek poet (c. 680 BC – c. 645 BC)
http://hedgehogshiatus.com