You need to hack a file salt/grains/core.py to add Rocky support: https://github.com/saltstack/salt/commit/955d7304719b26ad6ab8dcff902f9692a91... Restart the minion and will work Same for Almalinux: https://github.com/saltstack/salt/commit/e37abc76315ec4ab4c4cb3799d473155513... Cristian Gherman On 6/22/21 4:34 PM, Simon Avery wrote:
Hello
I’ve hit an issue since migrating a few machines from Centos 8.4 to Rocky 8.4. Still using the C8 Uyuni Tools.
Remote-commands work fine, but I’m unable to change Software Channels on the amended machines, which were fine before.
/var/log/salt/minion reports this
salt.exceptions.SaltRenderError: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'pkg.version'
Re-bootstrapping the machines doesn’t help.
Is this due to the old version of salt-minion that’s been mentioned in recent community hours, and is the upcoming release likely to fix it?
Thanks
Uyuni Current: 2021.05
Simon Avery
Linux Systems Administrator