[chef] problem with search


Chronological Thread 
  • From: Grzegorz Marszałek < >
  • To:
  • Subject: [chef] problem with search
  • Date: Fri, 18 Mar 2011 20:41:58 +0100

Hello!

I've got following problem with searching:

I've got node called 0001-ewpol_SUBIEKT, which I edited via knife node edit. 
Now it's json (part of) look like this:

 "normal": {
   "dfclient": {
     "checks": {
       "dfclient_ssh": true,
       "dfclient_vnc": true
     },
     "mac": "F4:CE:46:98:77:3A",
     "ip": "10.0.4.8"
   },
   "tags": [

   ]
 },


When I do search (knife search node "dfclient_ip:[* TO *]") this node is not 
found!

More - I've got another host, with ip set to 10.0.4.22. When I do knife 
search like above, this node is found. But when I try this:

knife search node 'dfclient_ip:10.0.4.22' 

nothing is found!

Where problem could be?


---
Grzegorz Marszałek






Archive powered by MHonArc 2.6.16.

§