There’s my problem (why chef-expander doen’t run).
$ chef-expander -n1
activate': can't activate eventmachine (~> 0.12.10, runtime) for ["chef-expander-10.16.0"], already activated eventmachine-1.0.0 for ["amqp-0.6.7", "chef-expander-10.16.0"] (Gem::LoadError) from /usr/lib/ruby/1.8/rubygems.rb:249:inactivate’
each' from /usr/lib/ruby/1.8/rubygems.rb:248:inactivate’
from /usr/lib/ruby/1.8/rubygems.rb:1082:in `gem’
Anyone knows how to fix this?
Madhurranjan, I didn’t get that far…
On Wed, Oct 24, 2012 at 2:57 PM, Ran Tavory email@example.com wrote:
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
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
On Wed, Oct 24, 2012 at 2:34 PM, Mike firstname.lastname@example.org wrote:
Have you tried “knife index rebuild” ? See
On Wed, Oct 24, 2012 at 5:31 AM, Ran Tavory email@example.com wrote:
Hi, I installed chef server using the following cloud formation
which I found linked to on the site
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
have from all these groups)
- verified that the following processes are running: chef-server,
chef-server-webui, couchdb, rabbitmq, chef-solr, see
- looked at solr at http://chef:8983/solr/admin/stats.jsp and the
that there are zero indexed documents.
So I guess solr doesn’t get the input. But now what? How do I debug