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


Chronological Thread 
  • From: Seif Attar < >
  • To:
  • Subject: [chef] Re: Re: Search not working on new OSS chef server install
  • Date: Mon, 10 Dec 2012 18:30:19 +0000

On 10 December 2012 17:42, Bryan McLellan < " target="_blank"> > wrote:
On Mon, Dec 10, 2012 at 10:48 AM, < "> > wrote:
>
> Just ran an install of chef server on ubuntu 12.10, things are generaly
> working, but the search is not returning results in some cases when searching
> from webui or knife.

What version of the Chef Server? How did you install it, e.g. using
gems or debs?

There are some general debugging steps here:

http://wiki.opscode.com/display/chef/Chef+Indexer#ChefIndexer-ChefExpander

Often issues with indexing Windows nodes surface the solr
maxFieldLength issue: http://tickets.opscode.com/browse/CHEF-2346


Thanks for the replies.

Installed using debian packages, with the apt line:

deb http://apt.opscode.com/ precise-0.10 main

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)

Which seems ok.

Checking queue status doesn't return any problems (there was a warning about the url for solr being of old format, which I have changed to http://localhost:8983/solr /etc/chef/solr.rb) but problem isnt sorted.

Only thing left to investigate is to read CHEF-2346 and comments for a solution, as it does sound like my problem.

Thanks again,
Seif



Archive powered by MHonArc 2.6.16.

§