-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
junos_syslog.py issue #126
Comments
Hi all. With a little update in the file: /usr/lib/python3/dist-packages/salt/engines/junos_syslog.py
It seems to look better
But there is no event reported on the Salt server when working with the vQFX switch with this configuration:
Thanks |
Hi, using tcpdump I have the syslog messages:
But using debug mode on salt master I can see one more error:
Trying
There is no messages... Regards |
@gmosiso Sorry for the delay, I will be looking into the issue. Will try to replicate it first. |
The root cause of this issue is the difference between the string implementation in Python2 and Python3. In Python3, strings are implemented as bytes. So, we would have to decode the input before trying to parse it. Change is required in the below line. salt/salt/engines/junos_syslog.py Line 302 in 04b366c
|
Thanks, I will follow your updates... |
Description of Issue/Question
Following the advice of Juniper team, I open this case here after I had opened it on the Salt GitHub: saltstack#53243
Errors when starting salt-master using junos_syslog.py.
Setup
/etc/salt/master
vQFX
set system syslog host 192.168.31.2 port 9999 any any
Steps to Reproduce Issue
Versions Report
Thanks
Regards
The text was updated successfully, but these errors were encountered: