[chef] Re: Re: search doesn't work on the chef server


Chronological Thread 
  • From: Ran Tavory < >
  • To:
  • Subject: [chef] Re: Re: search doesn't work on the chef server
  • Date: Wed, 24 Oct 2012 14:57:49 +0200

oh hi mike, thanks.

yes, I tried that, it runs smoothly but the index is still empty...

$ knife index rebuild
This operation is destructive. Rebuilding the index may take some time. You sure? (yes/no): yes
Chef::ApiClient:    success
Chef::DataBag:      success
Chef::Environment:  success
Chef::Node:         success
Chef::Role:         success


I think I'm missing the chef-expander process.
$ ps aux | grep expander
ubuntu    6540  0.0  0.0   7800   640 pts/3    S+   12:57   0:00 grep --color=auto expander


On Wed, Oct 24, 2012 at 2:34 PM, Mike < " target="_blank"> > wrote:
Have you tried "knife index rebuild" ? See
http://wiki.opscode.com/display/chef/Chef+Indexer

On Wed, Oct 24, 2012 at 5:31 AM, Ran Tavory < "> > wrote:
> Hi, I installed chef server using the following cloud formation
> configuration
> https://s3.amazonaws.com/cloudformation-templates-us-east-1/chef-server-ubuntu-configuration.template
> which I found linked to on the site
> http://aws.amazon.com/cloudformation/aws-cloudformation-templates/
>
> This mostly worked out of the box, except for the search functionality,
> which simply always returns zero results.
>
> Where should I dig to fixed it?
>
> Here's what I did:
> - tried searching for nodes, clients, rols, nothing brings up data (and I
> have from all these groups)
> - verified that the following processes are running:  chef-server,
> chef-server-webui, couchdb, rabbitmq, chef-solr, see
> https://gist.github.com/3945810
> - looked at solr at http://chef:8983/solr/admin/stats.jsp and the stats show
> that there are zero indexed documents.
>
> So I guess solr doesn't get the input. But now what? How do I debug this?
>
> thanks!




Archive powered by MHonArc 2.6.16.

§