[ERROR ] No proxy key found in pillar for id srx.

967 views
Skip to first unread message

Vladimir Hale

unread,
Jan 5, 2016, 11:44:09 AM1/5/16
to Salt-users
Hello,

I'm trying to configure a proxy minion for a junos device.

Here's the config of my files:

root@vladvm-u12:/srv/pillar# cat top.sls
base:
  'srx1':
    - srx


root@vladvm-u12:/srv/pillar# cat srx.sls
proxy:
  proxytype: junos
  host: 10.26.254.55
  username: root
  passwd: xxxxxx

This is the error that I'm getting when trying to start proxy minion.
...
[ERROR   ] No proxy key found in pillar for id srx.
[ERROR   ] Check your pillar configuration and contents.  Salt-proxy aborted.
[WARNING ] Stopping the Salt Proxy Minion
[ERROR   ] -1
[INFO    ] The proxy minion is shut down

Can anyone shed some light on this?

Thanks,

Vlad


C. R. Oldham

unread,
Jan 8, 2016, 6:46:03 PM1/8/16
to Salt-users
How did you start salt-proxy?

Vladimir Hale

unread,
Jan 11, 2016, 2:00:30 PM1/11/16
to salt-...@googlegroups.com
I managed to get it working. Thanks!

Vladimir

--
You received this message because you are subscribed to a topic in the Google Groups "Salt-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/salt-users/nYWl3sVxBxo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mircea Ulinic

unread,
Jan 13, 2016, 2:22:36 PM1/13/16
to Salt-users
Hi Vladimir,

I have a similar issue with salt-proxy. Could you please describe briefly what was the issue and how you managed to solve it?

Thank you,
Mircea 

Vladimir Hale

unread,
Jan 13, 2016, 3:31:45 PM1/13/16
to salt-...@googlegroups.com
Hi Mircea,

The following works for me:

Ubuntu 12.04.5 LTS
junos-eznc==1.3.0
salt 2015.8.3 (Beryllium)

This is what I have defined:

root@vladvm-u12:/srv/pillar# ls -l
total 12
-rw-r--r-- 1 root root 82 Jan  5 18:11 srx1.sls
-rw-r--r-- 1 root root 83 Jan  5 18:13 srx2.sls
-rw-r--r-- 1 root root 48 Jan  5 18:14 top.sls

root@vladvm-u12:/srv/pillar# more top.sls
base:
  'srx1':
    - srx1
  'srx2':
    - srx2

root@vladvm-u12:/srv/pillar# more srx2.sls
proxy:
  proxytype: junos
  host: 10.26.254.55
  username: xxxxx
  passwd: xxxxx



I've added the following lines in /etc/salt/proxy:

add_proxymodule_to_opts: False
master: localhost
multiprocessing: False



To start proxy minion:


root@vladvm-u12:/srv/pillar# salt-proxy --proxyid=srx2 -l debug


root@vladvm-u12:/srv/pillar# salt 'srx2' junos.cli 'show version'
srx2:
    ----------
    message:

        node0:
        --------------------------------------------------------------------------
        Hostname: TL-SB-SRX36-1
        Model: srx3600
        JUNOS Software Release [12.1X46-D25.7]

        node1:
        --------------------------------------------------------------------------
        Hostname: TL-SB-SRX36-2
        Model: srx3600
        JUNOS Software Release [12.1X46-D25.7]
    out:
        True
root@vladvm-u12:/srv/pillar#


Hope this helps.

Vlad











Mircea Ulinic

unread,
Jan 14, 2016, 12:35:01 PM1/14/16
to Salt-users
Hi Vladimir,

Thanks for your answer!

Plotnicu Sergiu

unread,
May 22, 2017, 12:13:17 PM5/22/17
to Salt-users
Hi,

not working for me. 

still receiving next ERROR message:

[DEBUG   ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[ERROR   ] No proxy key found in pillar for id test-mgmt-sw01.
[ERROR   ] Check your pillar configuration and contents.  Salt-proxy aborted.
[WARNING ] Stopping the Salt Proxy Minion
Reply all
Reply to author
Forward
0 new messages