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


Chronological Thread 
  • From: Tim Smith < >
  • To: " " < >
  • Subject: [chef] Re: Re: Re: Re: Knife search note returning a node
  • Date: Wed, 30 May 2012 02:16:54 +0000
  • Accept-language: en-US

Is there any documentation on how to disable that Ohai plugin?  It really kills our node runtime as well.  I'd love to give it the boot.

Tim Smith

Operations Engineer

M: +1 707.738.8132

TW: @tas50

webtrends

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo



You can disable whatever ohai plugin that stores the entire windows drivers  registry as node data for a pote:ntial fix before tweaking Solr, too.

Cheers,

AJ

On May 30, 2012 1:47 PM, "Tim Smith" < "> > 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.

§