On martes, 22 de junio de 2021 16:06:22 (CEST) Cristian Gherman wrote:
You need to hack a file salt/grains/core.py to add Rocky support:
https://github.com/saltstack/salt/commit/955d7304719b26ad6ab8dcff902f9692a91 9c280
Restart the minion and will work
True. Our salt team still needs to port this. This still will not be part of Uyuni 2021.06
Same for Almalinux: https://github.com/saltstack/salt/commit/e37abc76315ec4ab4c4cb3799d473155513 8eb7a
There should be no need. The support is already there since 2021.04 https://www.uyuni-project.org/doc/2021.05/release-notes-uyuni-server.html#_a...
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
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com