[chef] problem with search


Chronological Thread 
  • From: Steve Jang < >
  • To:
  • Subject: [chef] problem with search
  • Date: Wed, 11 Jan 2012 19:29:54 -0800

Hi, Folks,

I have always had bad luck with knife search... it seems to omit some nodes that should be listed. (I am running chef server 0.10.4)

Here I can see my apps1.auto.hulu.com node using knife command:

$ knife node show apps1.auto.hulu.com
Node Name:   apps1.auto.hulu.com
Environment: automation
FQDN:        apps1.auto.hulu.com
IP:          10.16.254.127
Run List:    role[rjs-server]
Roles:       hulu-common, rjs-server
Recipes:     hulu-accounts, hulu-common, runit, rjs-server
Platform:    centos 5.7

As you can see it has role[rjs-server] in the run list. But if I search for it as follows, it does not return it.

$ knife search node "role:rjs-server"
1 items found

Node Name:   apps2.auto.hulu.com
Environment: automation
FQDN:        
IP:          
Run List:    role[rjs-server]
Roles:       
Recipes:     
Platform:     

Am I missing something basic here?
Thanks,

-Steve




Archive powered by MHonArc 2.6.16.

§