When configuring salt-minion on a vyos router, it never connects to the master.
set service salt-minion master ‘192.168.128.201’
Checking in /var/log/messages there is a significant output from the python exception engine, the first line being:
vyos-v14-LON-LAB-1a salt-minion[104559]: [ERROR ] ‘PathDistribution’ object has no attribute ‘_normalized_name’
Further searching for this error finds an issue in salt when using python3.10 or greater.
There is patch for this:
I manually applied the patch to
/usr/lib/python3/dist-packages/salt/_compat.py
and retested.
The salt-minion connected to my master, I was able to authenticate it’s key, and then able to issue salt commands successfully.
As i’m new to vyos, I don’t know if this is an issue with an upstream debian package, or a local vyos package.