Bug 2250197 - Salt master-initiated jobs do not work on F39/Python3.12
Summary: Salt master-initiated jobs do not work on F39/Python3.12
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: salt
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Robby Callicotte
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2251816
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-16 23:12 UTC by Hans Ulrich Niedermann
Modified: 2024-05-22 00:12 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github saltstack salt issues 65360 0 None open [BUG] Salt master-initiated jobs no longer work after master upgraded to Fedora 39/Python 3.12 2023-11-16 23:13:26 UTC

Description Hans Ulrich Niedermann 2023-11-16 23:12:27 UTC
A salt-master running on F39 does not distribute any tasks to minions.

For example, not even

    salt '*' test.ping

ever reaches any minion.

Affected package version is at least:

    salt-master-3006.4-1.fc39.noarch


Reproducible: Always

Steps to Reproduce:
1. Install salt-master on F39
2. Connect any salt-minion to that salt-master, be it on the same machine or a different one, even with another OS.
3. Run "salt '*' test.ping" on the salt-master machine.
Actual Results:  
<minion-id>:
    Minion did not return. [No response]
    The minions may not have all finished running and any remaining minions will return upon completion. To look up the return data for this job later, run the following command:
    
    salt-run jobs.lookup_jid 20231116123456123456
ERROR: Minions returned with non-zero exit code


Expected Results:  
<minion-id>:
    True


Upstream has this as https://github.com/saltstack/salt/issues/65360 but the Fedora package needs a tracking bug - I was looking for Fedora salt bugs and found nothing for a few days, so I did not find out about the actual bug.

Comment 1 Fedora Admin user for bugzilla script actions 2023-11-19 00:35:05 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Gwyn Ciesla 2023-12-14 15:06:36 UTC
New behaviour in 3006.5: There is no current event loop in thread 'Thread-2 (_target)'.

Comment 3 jeff 2023-12-28 01:35:21 UTC
Hi, is there a work-around for this? Any help needed in testing or resolving the issue? Also, what tests or other items can be implemented to prevent distro package specific issues from making it to production installs in the future?

Comment 4 Gwyn Ciesla 2024-01-03 17:05:46 UTC
Not so far. I personally as the maintainer will be doing much more rigorous testing on my own environment before building new releases for Fedora.

Comment 5 jeff 2024-01-03 17:49:48 UTC
I wonder if setting python 3.10 as a dependency and patching the python references in salt to use 3.10 would work and be a viable option?

Comment 6 Gwyn Ciesla 2024-01-04 21:27:56 UTC
It did work on 3.11, but that's not really practical, as we'd need 3.11 builds of all required modules.

For the record, it seems that scheduled runs work, as does salt-call on the client nodes.

Comment 7 Chad 2024-03-20 20:37:32 UTC
Are there any updates on 3007.0 progress for FC40, etc.?

Comment 8 Gwyn Ciesla 2024-03-20 20:46:47 UTC
python-cryptography needs an update first. https://bugzilla.redhat.com/show_bug.cgi?id=2251816

Comment 9 Christian Heimes 2024-03-21 10:47:15 UTC
python-cryptography 42.0 does not build in F39. Build dependencies like python-setuptools-rust and several Rust crates are too old.

Comment 10 Fedora Admin user for bugzilla script actions 2024-05-22 00:12:54 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.


Note You need to log in before you can comment on or make changes to this bug.