[chef] Re: Re: Re: Knife search note returning a node


Chronological Thread 
  • From: Matt Ray < >
  • To:
  • Subject: [chef] Re: Re: Re: Knife search note returning a node
  • Date: Tue, 29 May 2012 20:48:35 -0500

Are you using Hosted Chef or your own installation of Open Source Chef Server? The suggested fix is for the stock Solr installation included with the Open Source installation. If you're using Hosted Chef then this is a different issue.

Thanks,
Matt Ray
Senior Technical Evangelist | Opscode Inc.
" target="_blank"> | (512) 731-2218
Twitter, IRC, GitHub: mattray


On Tue, May 29, 2012 at 8:46 PM, Tim Smith < " target="_blank"> > wrote:
Any reason it doesn't ship like this out of the box?  Seems a bit odd that search doesn't work on Windows boxes without tweaking the install

Tim Smith

Operations Engineer

M: +1 707.738.8132

TW: @tas50

webtrends

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo



Hi,

You have run into solr on your chef-server not being able to index all the node data on your widows hosts. So it will never return windows nodes. Tof fix it search for the maxFieldLength in the solr config file (solr-config.xml???) and increase the value. Watch out if you are doing this under ubuntu as it seems to have two copies of this file installed.

On Wed, May 30, 2012 at 11:27 AM, Tim Smith < " target="_blank"> > wrote:
I have a large number of Linux nodes and just a few Windows nodes.  I'm noticing that my Windows nodes don't show up in basic searches.  Is there something wrong with my query or is this a pretty major bug?

knife search node role:wt_cam

0 items found

There should be 1 result.  Chef-client has run on this box without issues.  I can run that exact same style query for any other role on a Linux box without issue.



Tim Smith

Operations Engineer

M: +1 707.738.8132

TW: @tas50

webtrends

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo




--
Cheers,

Peter Donald




Archive powered by MHonArc 2.6.16.

§