[chef] Chef-expander not working / search problem


Chronological Thread 
  • From: Nanuk Krinner < >
  • To:
  • Subject: [chef] Chef-expander not working / search problem
  • Date: Tue, 11 Sep 2012 16:45:45 +0200

Hi all,

I have a problem with my Chef 10.12.0 installation as 'knife search' gives no results. I think it is connected to chef-expander.

Here is what I have done so far:

I start chef-expander with
>  # chef-expander  -n 1 -i 1 -l debug
and chef-solr with
>  # chef-solr -l debug

The console output can be seen here: http://pastebin.com/QX8bUppv

chef-expander and a worker are running:
>  # ps aux | grep expander
> root     16510  0.1  0.1 150860 18672 pts/0    Sl   13:55   0:00
> /usr/bin/ruby1.9 /usr/bin/chef-expander -n 1 -i 1 -l debug
> root     16515  0.1  0.1 153924 19484 pts/0    Sl   13:55   0:00
> chef-expander worker #1 (vnodes 0-1023)


But when I look at the node status, I get the following output:
-------------------------
> # chef-expanderctl node-status
> Collecting status info from the cluster...done
>
> Host    PID     GUID    Vnodes
>
--------------------------
No entries. I think this wrong and there should be something, right?

All the other chef-expanderctl commands like queue-depth or queue-status just do nothing and I have to kill them by myself with Ctrl-C. There is also nothing in the logs which you can see here: http://pastebin.com/vV8ppMJ4 . I expected it to have more entries. That I ran chef-expanderctl queue-depth is not visible in the log.

Also all searches done with 'knife search' always gve zero results. I already adjusted maxFieldLength though.

Any clues where my problem is? I would especially like to know what you think abut the output of 'chef-serverctl node-status'.

Thanks in advance.

Regards,
Nanuk










Archive powered by MHonArc 2.6.16.

§