[chef] Re: Re: Re: Re: Search not working on new OSS chef server install


Chronological Thread 
  • From: Kevin Huynh < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Search not working on new OSS chef server install
  • Date: Mon, 10 Dec 2012 11:15:05 -0800

Hi,

I had a chef search problem as well just last week.  Turned out to be a rabbitmq issue, as it wasn't properly delivering the messages between the expander and solr.  Here is the thread: http://comments.gmane.org/gmane.comp.sysutils.chef.user/7305

The last comment are my steps to fix.  Hope this turns out to work for you.  

Kevin


On Mon, Dec 10, 2012 at 10:51 AM, Gourav Shah < " target="_blank"> > wrote:

chef expander is running, couldn't get the command Gourav pasted to work, but "ps aux | grep chef-expander" returns:

root      2828  0.0  0.3  83016 16132 ?        S    16:17   0:00 /usr/bin/ruby1.8 /usr/bin/chef-expander -d -c /etc/chef/solr.rb -P /var/run/chef/expander.pid -L /var/lo               .log -n 1 -i 1
root      2829  2.4  1.2 123248 51720 ?        S    16:17   2:57 chef-expander worker #1 (vnodes 0-1023)

ok. the problem I had with chef server on ubuntu 12.04 was two versions of eventmachine gem which were conflicting and not letting chef-expander start.  This was causing serarch to return zero results. 

you could check the eventmachine versions with  
gem list eventmachine 

I had two of those installed, 0.12.10 and 1.0.0. Uninstalling the later using following command, and restarting chef-expander resolved my problem. 

        sudo gem uninstall eventmachine --version 1.0.0 

Thanks
Gourav






Archive powered by MHonArc 2.6.16.

§