Knife search note returning a node


#1

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

webtrendshttp://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo


#2

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 Tim.Smith@webtrends.com 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 http://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo


Cheers,

Peter Donald


#3

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

webtrendshttp://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo

From: Peter Donald <peter@realityforge.orgmailto:peter@realityforge.org>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Tuesday, May 29, 2012 6:32 PM
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] Re: Knife search note returning a node

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 <Tim.Smith@webtrends.commailto:Tim.Smith@webtrends.com> 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

webtrendshttp://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo


Cheers,

Peter Donald


#4

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.
matt@opscode.com | (512) 731-2218
Twitter, IRC, GitHub: mattray

On Tue, May 29, 2012 at 8:46 PM, Tim Smith Tim.Smith@webtrends.com 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 http://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo

From: Peter Donald peter@realityforge.org
Reply-To: "chef@lists.opscode.com" chef@lists.opscode.com
Date: Tuesday, May 29, 2012 6:32 PM
To: "chef@lists.opscode.com" chef@lists.opscode.com
Subject: [chef] Re: Knife search note returning a node

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 Tim.Smith@webtrends.comwrote:

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 http://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo


Cheers,

Peter Donald


#5

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” Tim.Smith@webtrends.com 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 http://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo

From: Peter Donald peter@realityforge.org
Reply-To: "chef@lists.opscode.com" chef@lists.opscode.com
Date: Tuesday, May 29, 2012 6:32 PM
To: "chef@lists.opscode.com" chef@lists.opscode.com
Subject: [chef] Re: Knife search note returning a node

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 Tim.Smith@webtrends.comwrote:

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 http://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo


Cheers,

Peter Donald


#6

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

webtrendshttp://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo

From: AJ Christensen <aj@junglist.gen.nzmailto:aj@junglist.gen.nz>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Tuesday, May 29, 2012 6:57 PM
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] Re: Re: Re: Knife search note returning a node

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” <Tim.Smith@webtrends.commailto:Tim.Smith@webtrends.com> 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

webtrendshttp://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo

From: Peter Donald <peter@realityforge.orgmailto:peter@realityforge.org>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Tuesday, May 29, 2012 6:32 PM
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] Re: Knife search note returning a node

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 <Tim.Smith@webtrends.commailto:Tim.Smith@webtrends.com> 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

webtrendshttp://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo


Cheers,

Peter Donald


#7

Take a look at http://wiki.opscode.com/display/chef/Disabling+Ohai+Plugins

Thanks,
Matt Ray
Senior Technical Evangelist | Opscode Inc.
matt@opscode.com | (512) 731-2218
Twitter, IRC, GitHub: mattray

On Tue, May 29, 2012 at 9:16 PM, Tim Smith Tim.Smith@webtrends.com 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 http://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo

From: AJ Christensen aj@junglist.gen.nz
Reply-To: "chef@lists.opscode.com" chef@lists.opscode.com
Date: Tuesday, May 29, 2012 6:57 PM
To: "chef@lists.opscode.com" chef@lists.opscode.com
Subject: [chef] Re: Re: Re: Knife search note returning a node

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” Tim.Smith@webtrends.com 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 http://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo

From: Peter Donald peter@realityforge.org
Reply-To: "chef@lists.opscode.com" chef@lists.opscode.com
Date: Tuesday, May 29, 2012 6:32 PM
To: "chef@lists.opscode.com" chef@lists.opscode.com
Subject: [chef] Re: Knife search note returning a node

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 Tim.Smith@webtrends.comwrote:

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 http://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo


Cheers,

Peter Donald


#8

Tim - I agree that it is odd that solr is shipped in a broken state. I am positive that there is at least one bug that documents this behavior, as I generally look it up to send any time this issues comes up on the newsgroup.

P

On May 29, 2012, at 7:17 PM, “Tim Smith” <Tim.Smith@Webtrends.commailto:Tim.Smith@Webtrends.com> 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

webtrendshttp://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo

From: AJ Christensen <aj@junglist.gen.nzmailto:aj@junglist.gen.nz>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Tuesday, May 29, 2012 6:57 PM
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] Re: Re: Re: Knife search note returning a node

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” <Tim.Smith@webtrends.commailto:Tim.Smith@webtrends.com> 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

webtrendshttp://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo

From: Peter Donald <peter@realityforge.orgmailto:peter@realityforge.org>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Tuesday, May 29, 2012 6:32 PM
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] Re: Knife search note returning a node

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 <Tim.Smith@webtrends.commailto:Tim.Smith@webtrends.com> 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

webtrendshttp://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo


Cheers,

Peter Donald


#9

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:

Take a look at http://wiki.opscode.com/display/chef/Disabling+Ohai+Plugins

Thanks,
Matt Ray
Senior Technical Evangelist | Opscode Inc.
matt@opscode.com mailto:matt@opscode.com | (512) 731-2218
Twitter, IRC, GitHub: mattray

On Tue, May 29, 2012 at 9:16 PM, Tim Smith <Tim.Smith@webtrends.com
mailto:Tim.Smith@webtrends.com> 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 <tel:707.738.8132>


*TW:*@tas50


*webtrends* <http://www.webtrends.com/>


Real-Time Relevance. Remarkable ROI.™


London | Portland | San Francisco | Melbourne | Tokyo


From: AJ Christensen <aj@junglist.gen.nz <mailto:aj@junglist.gen.nz>>
Reply-To: "chef@lists.opscode.com <mailto:chef@lists.opscode.com>"
<chef@lists.opscode.com <mailto:chef@lists.opscode.com>>
Date: Tuesday, May 29, 2012 6:57 PM
To: "chef@lists.opscode.com <mailto:chef@lists.opscode.com>"
<chef@lists.opscode.com <mailto:chef@lists.opscode.com>>
Subject: [chef] Re: Re: Re: Knife search note returning a node

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" <Tim.Smith@webtrends.com
<mailto:Tim.Smith@webtrends.com>> 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 <tel:707.738.8132>


    *TW:*@tas50


    *webtrends* <http://www.webtrends.com/>


    Real-Time Relevance. Remarkable ROI.™


    London | Portland | San Francisco | Melbourne | Tokyo


    From: Peter Donald <peter@realityforge.org
    <mailto:peter@realityforge.org>>
    Reply-To: "chef@lists.opscode.com
    <mailto:chef@lists.opscode.com>" <chef@lists.opscode.com
    <mailto:chef@lists.opscode.com>>
    Date: Tuesday, May 29, 2012 6:32 PM
    To: "chef@lists.opscode.com <mailto:chef@lists.opscode.com>"
    <chef@lists.opscode.com <mailto:chef@lists.opscode.com>>
    Subject: [chef] Re: Knife search note returning a node

    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
    <Tim.Smith@webtrends.com <mailto:Tim.Smith@webtrends.com>> 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 <tel:707.738.8132>


        *TW:*@tas50


        *webtrends* <http://www.webtrends.com/>


        Real-Time Relevance. Remarkable ROI.™


        London | Portland | San Francisco | Melbourne | Tokyo




    -- 
    Cheers,

    Peter Donald

#10

I was just about to reply with the same issue. I can’t disable this plugin. It contains data I would like to use in my environment for decision making. That being said it also contains an enormous amount of data that 99.99% of people would never care about and really should be broken up so it can be disabled.

Tim Smith

Operations Engineer

M: +1 707.738.8132

TW: @tas50

webtrendshttp://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo

From: Sascha Bates <sascha.bates@gmail.commailto:sascha.bates@gmail.com>
Reply-To: "sascha.bates@gmail.commailto:sascha.bates@gmail.com" <sascha.bates@gmail.commailto:sascha.bates@gmail.com>
Date: Tuesday, May 29, 2012 7:33 PM
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Cc: Matt Ray <matt@opscode.commailto:matt@opscode.com>
Subject: [chef] Re: Re: Re: Re: Re: Re: Knife search note returning a node

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:
Take a look at http://wiki.opscode.com/display/chef/Disabling+Ohai+Plugins

Thanks,
Matt Ray
Senior Technical Evangelist | Opscode Inc.
matt@opscode.commailto:matt@opscode.com | (512) 731-2218
Twitter, IRC, GitHub: mattray

On Tue, May 29, 2012 at 9:16 PM, Tim Smith <Tim.Smith@webtrends.commailto:Tim.Smith@webtrends.com> 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.8132tel:707.738.8132

TW: @tas50

webtrendshttp://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo

From: AJ Christensen <aj@junglist.gen.nzmailto:aj@junglist.gen.nz>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Tuesday, May 29, 2012 6:57 PM
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] Re: Re: Re: Knife search note returning a node

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” <Tim.Smith@webtrends.commailto:Tim.Smith@webtrends.com> 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.8132tel:707.738.8132

TW: @tas50

webtrendshttp://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo

From: Peter Donald <peter@realityforge.orgmailto:peter@realityforge.org>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Tuesday, May 29, 2012 6:32 PM
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] Re: Knife search note returning a node

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 <Tim.Smith@webtrends.commailto:Tim.Smith@webtrends.com> 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.8132tel:707.738.8132

TW: @tas50

webtrendshttp://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo


Cheers,

Peter Donald