FS#78441 - [salt] 3006.1 missing python deps (looseversion, psutil, jmespath)

Attached to Project: Community Packages
Opened by Pascal Bryner (Veldora) - Monday, 08 May 2023, 06:40 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 14 June 2023, 22:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Johannes Löthberg (demize)
Morten Linderud (Foxboron)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 11
Private No

Details

Description:
Since salt 3006.1, it requires `python-looseversion` as a dependency, which is only available in the AUR:
https://aur.archlinux.org/packages?O=0&K=python-looseversion

Please somehow either package `python-looseversion` and put it in the official repos or make a note for others, that `python-looseversion` from the AUR is required.

Additional info:
* package version(s): 3006.1
* config and/or log files etc.: https://paste.gg/p/anonymous/25a4b71798b042deb667649a00f866a2

Steps to reproduce:
* Install salt from the repos
* Execute `salt.highstate`
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 14 June 2023, 22:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  salt 3006.1-2
Comment by Doc Bone (dr-bone) - Monday, 08 May 2023, 14:35 GMT
Can confirm.
Install salt on a plain arch lxc container and try to start salt-minion.service.
=> dies with ModuleNotFoundError: No module named 'looseversion'

Worakround: instal python-looseversion from aur

Sidenote: I rolled back to salt 3005 as 3006 also had issues running "check_cmd: /usr/sbin/visudo -c -f" always failing for a file.uncomment in /etc/sudoers
Comment by Jared Johnstone (ipaq) - Tuesday, 09 May 2023, 23:13 GMT
Same issue - latest salt package breaks salt with `ModuleNotFoundError: No module named 'looseversion'`
Comment by Jared Johnstone (ipaq) - Sunday, 21 May 2023, 08:48 GMT
Salt still entirely unusable on a fleet of machines without rolling back and holding back the Salt package.

Building python-looseversion into our repos has worked around this problem for now however isn't listed as a dependency and must be self managed.
Comment by Jared Johnstone (ipaq) - Sunday, 21 May 2023, 14:15 GMT
The package appears to have vanished from archlinux.org/packages/community/any/salt and only extra/any/salt can be found - despite this not matching up with current mirrors. This is making it difficult to track these problems.
Comment by Morten Linderud (Foxboron) - Sunday, 21 May 2023, 14:55 GMT
Please read the news post on our website.
Comment by Jared Johnstone (ipaq) - Sunday, 21 May 2023, 15:55 GMT
Ah ok, that change has only just happened today. Congrats on the move

I've made a new task #78564 regarding issues for the new extra/salt package
Comment by Toolybird (Toolybird) - Sunday, 21 May 2023, 20:47 GMT
> I've made a new task #78564 regarding issues for the new extra/salt package

Thanks, but that wasn't necessary. It's still the same pkg. While the repo's have had a reorg, the bug tracker is still on the legacy layout (for the time being).
Comment by Jared Johnstone (ipaq) - Monday, 22 May 2023, 00:09 GMT
Yeah I gotcha - Please understand that from my point of view it looked like this entire package and its associated bugs had been wiped off the face of the earth. There were no indexed links to the package and thus this discussion which didn't 404 anymore.

To bring the keynotes from that issue here for visibility for others who bump into this reading the most unrelated and misleading errors of their life: I cannot use Salt 3006.1 minions in any capacity until `python-looseversion`, `community/python-psutil` & `python-jmespath` are installed. After that it can run modules such as test.ping and call salt states once more.
Comment by Toolybird (Toolybird) - Tuesday, 23 May 2023, 03:30 GMT
Dupes  FS#78576   FS#78564   FS#78640   FS#78688   FS#78689 
Comment by jab416171 (jab416171) - Friday, 02 June 2023, 22:04 GMT
Can we at least add python-psutil & python-jmespath to the dependencies on salt to get those taken care of, while the fate of looseversion is decided?
Comment by Jared Johnstone (ipaq) - Thursday, 08 June 2023, 02:27 GMT
Looks like 3006.1-1 also depends on python-packaging which doesn't get installed either.

Every salted Archlinux host I've had to provision this past month has been an utter trainwreck. Salt flat out DOES NOT WORK on Archlinux with this latest release.

When will this complete inability to use Salt on archlinux without a load of manual tinkering be taken seriously?
Comment by Morten Linderud (Foxboron) - Thursday, 08 June 2023, 08:23 GMT
I have some ambitions to try get some work done on this the upcoming days. Have had to prioritize other work the past month.
Comment by Jared Johnstone (ipaq) - Thursday, 08 June 2023, 08:42 GMT
Sorry for the trouble I wish I could help get this sorted. My whole stack is Salt & Arch so it's taken care of locally, but a new install straight from archiso has trouble which I occasionally have to invoke. Probably experiencing this issue more than others.
Comment by Morten Linderud (Foxboron) - Thursday, 08 June 2023, 08:43 GMT
It will be easier in the future. Packages have been migrated to git and at some point there will be merge requests available.

https://gitlab.archlinux.org/archlinux/packaging/packages/salt
Comment by Morten Linderud (Foxboron) - Sunday, 11 June 2023, 13:55 GMT
Should be fixed with 3006.1-2

Loading...