Pillar targeting broken
See original GitHub issueDescribe the bug A Minion cant be targeted by using pillars.
Steps To Reproduce A Minion has the role “core” assigned.
# salt-sproxy cr-edge* pillar.get role
cr-edge01.mydomain.com:
core
But it cant be targeted using -I parameter of salt-sproxy.
# salt-sproxy --preview-target -I "role:core"
No devices matched your target. Please review your tgt / tgt_type arguments, or the Roster data source
# salt-sproxy -I "role:core" test.ping
No devices matched your target. Please review your tgt / tgt_type arguments, or the Roster data source
Expected behavior The minion responds with “True”.
Versions Report
# salt-sproxy -V
Salt Version:
Salt: 3001.1
Salt SProxy: 2020.7.0
Dependency Versions:
Ansible: Not Installed
cffi: 1.14.2
dateutil: 2.7.3
docker-py: Not Installed
gitdb: 2.0.5
gitpython: 2.1.11
Jinja2: 2.10
junos-eznc: 2.5.3
jxmlease: Not Installed
libgit2: 0.27.7
M2Crypto: Not Installed
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.5.6
NAPALM: 3.1.0
ncclient: 0.6.9
Netmiko: 3.2.0
paramiko: 2.7.2
pycparser: 2.19
pycrypto: 2.6.1
pycryptodome: 3.6.1
pyeapi: 0.8.3
pygit2: 0.27.4
PyNetBox: Not Installed
PyNSO: Not Installed
Python: 3.7.3 (default, Jul 25 2020, 13:03:44)
python-gnupg: Not Installed
PyYAML: 3.13
PyZMQ: 17.1.2
scp: 0.13.2
smmap: 2.0.5
textfsm: 1.1.0
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.3.1
System Versions:
dist: debian 10 buster
locale: UTF-8
machine: x86_64
release: 4.19.0-10-amd64
system: Linux
version: Debian GNU/Linux 10 buster
Additional context Pillar targeting is also not mentioned here: https://salt-sproxy.readthedocs.io/en/latest/targeting.html
But its part of the “salt-proxy -h” help. Is it generally supported?
Issue Analytics
- State:
- Created 3 years ago
- Comments:21 (11 by maintainers)
Top Results From Across the Web
Spell targeting broken? :: Pillars of Eternity General Discussions
Spell targeting broken? New to the game. Casting an AOE spell on a creature directly targets the ground where the creature was when...
Read more >Targeting using Pillar - Salt Project Documentation
To start using Pillar targeting it is required to make a Pillar data cache on Salt Master for each Minion via following commands:...
Read more >Fire Staff Pillar of Fire is Completely Broken Now - Bug Reports
Pillar of Fire is completely broken, the area of effect is now about the size of your targetting reticle now and if you...
Read more >Georgia Guidestones monument, target of satanism ... - NPR
The Georgia Guidestones monument near Elberton was damaged by an explosive device, the Georgia Bureau of Investigation said, and later knocked ...
Read more >Targeting | League of Legends Wiki - Fandom
Targeting input refers to the information relevant to casting active ... Pillar of Flame at the target location. ... Riven's · Riven Broken...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That appears to have done it.
Added another test pillar:
and the new data shows up without having to delete the cache:
The command does not work.
Im using salt-sproxy only with the following roster.
I had to specify the grains-section to get “salt-sproxy -G” working. But thats a different topic, just clarifying why its in there 😃