Bug 2250197

Summary: Salt master-initiated jobs do not work on F39/Python3.12
Product: [Fedora] Fedora Reporter: Hans Ulrich Niedermann <rhbugs>
Component: saltAssignee: Robby Callicotte <rcallicotte>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 39CC: chad.schroeder, cheimes, david-dm.murphy, derek, gwync, jeffclay, kp, kyle, mark, rcallicotte
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-27 22:05:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2251816    
Bug Blocks:    

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.

Comment 11 Aoife Moloney 2024-11-13 10:05:38 UTC
This message is a reminder that Fedora Linux 39 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '39'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 39 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 12 Aoife Moloney 2024-11-27 22:05:47 UTC
Fedora Linux 39 entered end-of-life (EOL) status on 2024-11-26.

Fedora Linux 39 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.