Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Troubleshooting Connection Errors When Using Salt to Manage Devices Running Junos OS



After starting the proxy minion process for a device running Junos OS and accepting the key on the Salt master, the Junos proxy (for Salt) fails to connect to the device, and the proxy log file on the proxy minion server includes an error regarding missing init() or shutdown() functions. For example:


The Junos proxy minion server must have the Juniper Network’s Junos PyEZ library (junos-eznc) and jxmlease Python module as well as the yamlordereddictloader Python module installed on the server in order to use Salt to manage devices running Junos OS.


Install Junos PyEZ and the jxmlease and yamlordereddictloader Python modules on the Junos proxy minion server under the same version of Python that Salt is installed. For example:

After the dependencies are installed, start the proxy minion process for that device on the proxy minion server and accept the new Salt key on the Salt master.