[chef] Re: Re: Chef Search Broken


Chronological Thread 
  • From: Kevin Huynh < >
  • To:
  • Subject: [chef] Re: Re: Chef Search Broken
  • Date: Tue, 4 Dec 2012 13:39:12 -0800

Thanks for tips.  I've tried "knife index build" to no avail.  Running that command outputs this to /var/log/chef/solr.log: INFO: [] webapp=/solr path=/update params={} status=0 QTime=5 

Solr is listening on port 8983 and doesn't log an error when trying to rebuild the index, so I assume it's accepting connections.

I have a suspicion that this is related to chef-expander though.  Nothing gets logged to "chef-expanderctl log-level debug" when I'm rebuilding.


On Tue, Dec 4, 2012 at 12:57 PM, Brian Hatfield < " target="_blank"> > wrote:
Some thoughts:

Try "knife index rebuild" to generate a solr index.

Ensure that the solr URL in your chef configuration is pointing to the correct solr process (and ensure that said process is accepting connections)


On Tue, Dec 4, 2012 at 3:55 PM, Kevin Huynh < " target="_blank"> > wrote:
Hi guys,

I am currently getting 0 items returned for any kind of knife search task.

'knife node list' returns a list of nodes but 'knife search node "*:*"' returns
0 items.

Solr and Expander is up.  I've also updated the maxFieldLength to be 100000 as
recommended by this open issue: http://tickets.opscode.com/browse/CHEF-2346

Any ideas?

Thanks





Archive powered by MHonArc 2.6.16.

§