Knife upload node and Search

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

Hi @avc ,

I have experienced the same.

chef-server-ctl reindex

did help in my case

Hi @simark, thanks for the reply.

I will try the same.

Regards,
A

That indeed works, thanks