# Knife node & search information not being updated

**URL:** <https://discourse.chef.io/t/knife-node-search-information-not-being-updated/1900>\
**Category:** Chef Infra (archive)\
**Created:** [June 28, 2011, 7:14pm UTC](https://discourse.chef.io/t/knife-node-search-information-not-being-updated/1900 "2011-06-28T19:14:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Nuckolls](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/kevin_nuckolls/32/327_2.png) [@Kevin\_Nuckolls](https://discourse.chef.io/u/Kevin_Nuckolls)\
**Post date:** [June 28, 2011, 7:14pm UTC](https://discourse.chef.io/t/knife-node-search-information-not-being-updated/1900/1 "2011-06-28T19:14:43Z")

</div>

I got chef-server set up and a repository with a proper knife.rb file  
containing correct ec2 keys. I can communicate with the chef-server via  
knife. For example, the following works:

$ knife client list  
chef-validator  
chef-webui  
kevin  
ubuntu

I fired up a node with knife ec2 server create. It ran the run-list and I  
can log in and it works properly. The problem is that the knife node list  
does not seem to be updated.

knife node list -VVV \<ONE BLANK LINE\>

Additionally, it does not appear that the node’s information has been  
indexed in search:

$ knife search node “ec2:[\* TO \*]” -r  
0 items found

Any ideas?

---

<div class="post-metadata">

**Author:** ![Kevin\_Nuckolls](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/kevin_nuckolls/32/327_2.png) [@Kevin\_Nuckolls](https://discourse.chef.io/u/Kevin_Nuckolls)\
**Post date:** [June 28, 2011, 7:18pm UTC](https://discourse.chef.io/t/knife-node-search-information-not-being-updated/1900/2 "2011-06-28T19:18:01Z")

</div>

I misspoke. The knife node list shows:

knife node list -VVV  
DEBUG: Using configuration from /path/to/knife.rb  
DEBUG: Signing the request as kevin  
DEBUG: Sending HTTP Request via GET to chef-server.my.domain:4000/nodes

On Tue, Jun 28, 2011 at 2:14 PM, Kevin Nuckolls [kevin.nuckolls@gmail.com](mailto:kevin.nuckolls@gmail.com)wrote:

> I got chef-server set up and a repository with a proper knife.rb file  
> containing correct ec2 keys. I can communicate with the chef-server via  
> knife. For example, the following works:
> 
> $ knife client list  
> chef-validator  
> chef-webui  
> kevin  
> ubuntu
> 
> I fired up a node with knife ec2 server create. It ran the run-list and I  
> can log in and it works properly. The problem is that the knife node list  
> does not seem to be updated.
> 
> $ knife node list -VVV  
>   
> $
> 
> Additionally, it does not appear that the node's information has been  
> indexed in search:
> 
> $ knife search node "ec2:[\* TO \*]" -r  
> 0 items found
> 
> Any ideas?
