When you create the node object you will actually need to put all the useful information required that you would like to be able to search. Alternative approach might be to call node.save at the start of your first recipe. I believe that would save all your role/environment attributes right away to the server (searchable after the Solr indexes).
Daniel, { "name": "test01.dev.slicetest.com", "chef_environment": "dev", "json_class": "Chef::Node", "automatic": { }, "normal": { }, "chef_type": "node", "default": { }, "override": { }, "run_list": [ "role[zookeeper]" ] } I've been doing a knife search repeatedly over the past 15 minutes, and all I get each time for the nodes is this: Node Name: test01.dev.slicetest.com Environment: dev FQDN: IP: Run List: role[zookeeper] Roles: Recipes: Platform: Tags: How long should I need to wait? The chef_environment is immediately populated. Why not the role? That comes from the run list and should be available immediately, just like the chef_environment. I need _at least_ the environment and the role to be able to do a useful search. It does not take an instance 15 minutes to boot. Therefore, by the time the client runs, the data won't be available. Can I reduce the solr refresh frequency down to a useful value? Douglas. On Sun, Jun 14, 2015 at 11:48 AM, Daniel DeLeo <
" target="_blank">
> wrote: On Saturday, June 13, 2015 at 2:03 PM, Douglas Garstang wrote: Regards,
Douglas Garstang http://www.linkedin.com/in/garstang Email: " target="_blank"> Cell: +1-805-340-5627 |
Archive powered by MHonArc 2.6.16.