Manually index a node


#1

This is again regarding search of nodes using knife.

I am able to search only one node of mine using knife search,no other nodes
are appearing in the search.

Is there any way to manually,forcefully make chef-solr index my node so
that they become searchable??

Moreover i dont see any misbehaviour in the logs,how can i find out whether
my nodes are indexed,if no,why?if yes,dan wht they are not returned in
search


Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in
the mind


#2

Dear team,

Please do the needful

http://www.opscode.com/hosted-chef/

–AJ

On 22 June 2012 18:38, meenakshi agrawal minmini17@gmail.com wrote:

This is again regarding search of nodes using knife.

I am able to search only one node of mine using knife search,no other nodes
are appearing in the search.

Is there any way to manually,forcefully make chef-solr index my node so that
they become searchable??

Moreover i dont see any misbehaviour in the logs,how can i find out whether
my nodes are indexed,if no,why?if yes,dan wht they are not returned in
search


Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in
the mind


#3

If they don’t show up under a wildcard search or knife node list or knife client list then they probably aren’t registered with the server.

On 22 Jun 2012, at 07:38, meenakshi agrawal wrote:

This is again regarding search of nodes using knife.

I am able to search only one node of mine using knife search,no other nodes are appearing in the search.

Is there any way to manually,forcefully make chef-solr index my node so that they become searchable??

Moreover i dont see any misbehaviour in the logs,how can i find out whether my nodes are indexed,if no,why?if yes,dan wht they are not returned in search


Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in the mind


#4

Knife node list and knife client list shows me the results,its only search
which is not giving all the nodes.

On Fri, Jun 22, 2012 at 2:08 PM, Ash Berlin ash_opscode@firemirror.comwrote:

If they don’t show up under a wildcard search or knife node list or
knife client list then they probably aren’t registered with the server.

On 22 Jun 2012, at 07:38, meenakshi agrawal wrote:

This is again regarding search of nodes using knife.

I am able to search only one node of mine using knife search,no other
nodes are appearing in the search.

Is there any way to manually,forcefully make chef-solr index my node so
that they become searchable??

Moreover i dont see any misbehaviour in the logs,how can i find out
whether my nodes are indexed,if no,why?if yes,dan wht they are not returned
in search


Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome
in the mind


Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in
the mind


#5

Meenakshi,
Maybe you already explained and I missed, but what kind of search are you
doing (show an example) can you give more info about the case, also check
http://wiki.opscode.com/display/chef/Search for problems and solutions


Jorge Espada

On Fri, Jun 22, 2012 at 6:30 AM, meenakshi agrawal minmini17@gmail.comwrote:

Knife node list and knife client list shows me the results,its only search
which is not giving all the nodes.

On Fri, Jun 22, 2012 at 2:08 PM, Ash Berlin ash_opscode@firemirror.comwrote:

If they don’t show up under a wildcard search or knife node list or
knife client list then they probably aren’t registered with the server.

On 22 Jun 2012, at 07:38, meenakshi agrawal wrote:

This is again regarding search of nodes using knife.

I am able to search only one node of mine using knife search,no other
nodes are appearing in the search.

Is there any way to manually,forcefully make chef-solr index my node so
that they become searchable??

Moreover i dont see any misbehaviour in the logs,how can i find out
whether my nodes are indexed,if no,why?if yes,dan wht they are not returned
in search


Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome
in the mind


Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in
the mind


#6

Jorge,

Am trying to do a node search

knife search node ‘name:idm’

I get 0 items found

On Fri, Jun 22, 2012 at 5:25 PM, Jorge Espada espada.jorge@gmail.comwrote:

Meenakshi,
Maybe you already explained and I missed, but what kind of search are you
doing (show an example) can you give more info about the case, also check
http://wiki.opscode.com/display/chef/Search for problems and solutions


Jorge Espada

On Fri, Jun 22, 2012 at 6:30 AM, meenakshi agrawal minmini17@gmail.comwrote:

Knife node list and knife client list shows me the results,its only
search which is not giving all the nodes.

On Fri, Jun 22, 2012 at 2:08 PM, Ash Berlin ash_opscode@firemirror.comwrote:

If they don’t show up under a wildcard search or knife node list or
knife client list then they probably aren’t registered with the server.

On 22 Jun 2012, at 07:38, meenakshi agrawal wrote:

This is again regarding search of nodes using knife.

I am able to search only one node of mine using knife search,no other
nodes are appearing in the search.

Is there any way to manually,forcefully make chef-solr index my node
so that they become searchable??

Moreover i dont see any misbehaviour in the logs,how can i find out
whether my nodes are indexed,if no,why?if yes,dan wht they are not returned
in search


Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome
in the mind


Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in
the mind


Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in
the mind


#7

On Fri, Jun 22, 2012 at 8:11 AM, meenakshi agrawal minmini17@gmail.com wrote:

knife search node ‘name:idm’

Does ‘knife node show idm’ return the expected results?


#8

if you have nodes registered on your chef server, something like: knife
search node ‘name:*’ must return something


Jorge Espada

On Sat, Jun 23, 2012 at 10:25 AM, Brian Akins brian@akins.org wrote:

On Fri, Jun 22, 2012 at 8:11 AM, meenakshi agrawal minmini17@gmail.com
wrote:

knife search node ‘name:idm’

Does ‘knife node show idm’ return the expected results?


#9

Hello,

Your nodes are not indexed therefore not searchable.

Please index your nodes before attempting to search for them – as
other users have suggested, you need to make sure that the Node
actually exists before it is indexed.

You can force an index rebuild with knife: ‘knife index rebuild’

Have you considered using Chef Solo to learn, Hosted Chef [0] to proof
of concept data-bags, search and environments (and then, once you are
familiar…) Chef Server internally? In the order I’ve suggested, you
would gain an understanding of the core framework, the server-side
components (from a client side API perspective) and then of course
hopefully (or not!) be able to operate the server side components
(FOSS versions) yourself.

Opscode offers public training, private training and all of the course
material (CC licensed) too – may be relevant to your interests. [1]

I’m also aware of a number of development operations / systems
engineering consultancy organizations who may or may not be willing to
assist you – many of them whom frequent this list.

Regards,

–AJ

[0] http://www.opscode.com/hosted-chef/
[1] http://www.opscode.com/training/

On 24 June 2012 10:46, Jorge Espada espada.jorge@gmail.com wrote:

if you have nodes registered on your chef server, something like: knife
search node ‘name:*’ must return something


Jorge Espada

On Sat, Jun 23, 2012 at 10:25 AM, Brian Akins brian@akins.org wrote:

On Fri, Jun 22, 2012 at 8:11 AM, meenakshi agrawal minmini17@gmail.com
wrote:

knife search node ‘name:idm’

Does ‘knife node show idm’ return the expected results?