Knife upload node and Search


#1

Hi,

I have a chef server from which I am migrating to another. One of the cookbooks does a search through the nodes and gets a OHAI data. Is it possible to upload a JSON node definition and then get the property from Knife search ?

I did upload the json, but search using recipes criteria doesn't return the node.

Regards,

A


#2

Hi @avc ,

I have experienced the same.

chef-server-ctl reindex

did help in my case


#3

Hi @simark, thanks for the reply.

I will try the same.

Regards,
A


#4

That indeed works, thanks