Hi,
I want to set up a salt-proxy for my network devices. I tried to stick to the docs I found in the Internet. But when I start the salt-proxy it keeps on telling me:
[ERROR ] No proxy key found in pillar or opts for id switch03. Check your pillar/opts configuration and contents. Salt-proxy aborted.
The master config:
/etc/salt/master
file_roots:
base:
- /srv/salt
- /srv/pillar
pillar_roots:
base:
- /srv/pillar
/srv/pillar/top.sys
base:
'switch03':
- switch03
/srv/pillar/switch03.sls
proxy:
proxytype: napalm
driver: junos
host: 192.168.88.240
username: root
password: XXXX
/etc/salt/proxy
master: 127.0.0.1
proxy_merge_grains_in_module: True
multiprocessing: False
The logs from starting the proxy are:
# salt-proxy -l debug --proxyid 'switch03'
(...)
[DEBUG ] Trying to connect to: tcp://
127.0.0.1:4506[DEBUG ] salt.crypt.get_rsa_key: Loading private key
[DEBUG ] Loaded minion key: /etc/salt/pki/proxy/minion.pem
[ERROR ] No proxy key found in pillar or opts for id switch03. Check your pillar/opts configuration and contents. Salt-proxy aborted.
[INFO ] Proxy Minion Stopping the Salt ProxyMinion
I found four other posts that describe the same probem. I checked their solutions and it still does not work for me.
Any further ideas?
Michael Schwartzkopff