Closed rhavenn closed 5 years ago
Hello @rhavenn , It seems like https://github.com/saltstack/salt/issues/51934 (grains targeting)
Have you tried with develop version ?
Doing a build from 2019.2 branch this morning and it seems to be fixed. Grains and Pillar targeting works.
Thanks.
thanks for checking that. Since this will be fixed in the 2019.2.1 release I will go ahead and close
I used to store a bunch of stuff in custom grains.conf, some of which was host specific, and I switched it all over to pillars. I used to be able to target that data via grains, but when I try to target via
salt -I var:value
it times out (test.ping
andstate.apply test=true
) and the minion doesn't return even though it picks the correct minions to talk to. My sole remaining 2018 minion does return either thetest.ping
orstate.apply test=true
The pillars do work for pulling data into my .sls files. It's just the targeting that's not functioning.
Setup
My pillars look like:
Steps to Reproduce Issue
I run:
salt "*" saltutil.refresh_pillar
and it updates all minions.salt "*" pillar.itmes
shows all the data it's supposed to for all minions.salt -I "owner:bob" test.ping
only works for my one minion running 2018.The exact error message is:
Minion did not return. [Not connected]
No error messages in the minion logs on the minions.
Versions Report
Master and most minions:
My 2018 one: