[chef] Re: chef-server-ctl reindex with nodes?


Chronological Thread 
  • From: Seth Falcon < >
  • To:
  • Subject: [chef] Re: chef-server-ctl reindex with nodes?
  • Date: Fri, 9 Aug 2013 09:42:33 -0700

Hi there,


 writes:
> So I restarted the whole server, and ran chef-server-ctl reindex.
>
> After a few minutes everything was there *except* for the nodes
>
> Nodes, it seems, only show up in search when chef client runs on them.
>
> And that happens overnight.
>
> And some of my recipes depend on the results of search.
>
> Any ideas? Any command I can run to push at least what is in the pg db for
> the nodes into solr?

So the way reindex works in Chef 11 Server is that it fetches all
objects out of the db and puts them on the queue to be indexed.

Can you confirm that your nodes are in the db? For example `knife node
list` shows all the nodes you're expecting to see?

Might then be worth looking at some logs of expander and solr. Do you
see logs indicating the reindexing happened? Can you find node data
there or confirm no node data?

How long did you wait? Is it possible that you're expander is working
through the backlog?

+ seth

-- 
Seth Falcon | Development Lead | Opscode | @sfalcon



Archive powered by MHonArc 2.6.16.

§