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


Chronological Thread 
  • From: Sascha Bates < >
  • To:
  • Cc: Matt Ray < >
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Knife search note returning a node
  • Date: Tue, 29 May 2012 21:33:44 -0500

The Windows plugin that reports drivers is the windows::kernel plugin and actually can return a smidgen of useful information along with the flood of useless data. 

I said I'd break this up into separate plugins to make it easier to disable just parts, and I actually have written the code but I haven't entirely tested it yet.  I am cowering under a terrifying deadline for something else, but I will make the Windows plugin a priority as soon as I'm done this week.

Sascha

On 5/29/12 9:20 PM, Matt Ray wrote:
" type="cite">
Thanks,
Matt Ray
Senior Technical Evangelist | Opscode Inc.
" target="_blank"> | (512) 731-2218
Twitter, IRC, GitHub: mattray


On Tue, May 29, 2012 at 9:16 PM, Tim Smith < " target="_blank"> > wrote:
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" < " 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.

§