Problem starting a salt-proxy

186 views
Skip to first unread message

Heinz Meier

unread,
Dec 31, 2018, 11:10:23 AM12/31/18
to Salt-users
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

C. R. Oldham

unread,
Dec 31, 2018, 11:58:58 AM12/31/18
to salt-...@googlegroups.com
Good morning!

Is ‘top.sys’ a typo? It should be ‘top.sls’.

-- 
C. R. Oldham, Engineer, SaltStack
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/27df8c68-0376-4f2e-8590-d6e8fd9beea8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Heinz Meier

unread,
Jan 1, 2019, 4:43:28 AM1/1/19
to Salt-users
Yes, thanks. It was a typo.
Reply all
Reply to author
Forward
0 new messages