Issue with salt-minion
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: <https://ata-oxy-uyuni01.atass.com/docs/en/release-notes/release-notes-server.html> 2021.05 Simon Avery Linux Systems Administrator
What's the salt version on that client? rpm -qa|grep salt On martes, 22 de junio de 2021 15:34:35 (CEST) 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: <https://ata-oxy-uyuni01.atass.com/docs/en/release-notes/release-notes-serv er.html> 2021.05
Simon Avery Linux Systems Administrator
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
Hi Julio, [root@spt-oxy-pmm01 simon] # rpm -qa|grep salt salt-3000-36.2.uyuni.x86_64 salt-minion-3000-36.2.uyuni.x86_64 python3-salt-3000-36.2.uyuni.x86_64 (As per the uyuni-tools for C8) S -----Original Message----- From: Julio Gonzalez <jgonzalez@suse.com> Sent: 22 June 2021 14:51 To: uyuni-users@opensuse.org; users@lists.uyuni-project.org Cc: Simon Avery <Simon.Avery@atass-sports.co.uk> Subject: [EXTERNAL EMAIL] Re: Issue with salt-minion What's the salt version on that client? rpm -qa|grep salt On martes, 22 de junio de 2021 15:34:35 (CEST) 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: <https://ata-oxy-uyuni01.atass.com/docs/en/release-notes/release-notes -serv er.html> 2021.05
Simon Avery Linux Systems Administrator
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
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
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
Thanks Christian. I'll give that a try later. S -----Original Message----- From: Cristian Gherman <cristian.gherman@reea.net> Sent: 22 June 2021 15:06 To: users@lists.uyuni-project.org Subject: [EXTERNAL EMAIL] Re: Issue with salt-minion 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
participants (3)
-
Cristian Gherman
-
Julio Gonzalez
-
Simon Avery