-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] salt-ssh fails with TypeError: '>' not supported between instances of 'NoneType' and 'int'
#64575
Comments
This regression was also reproduced during an integration test of another PR: https://github.com/saltstack/salt/actions/runs/5409628303/jobs/9831926259?pr=64542 Since this report references a salt/salt/client/ssh/__init__.py Lines 555 to 559 in c463c94
The logs of the failing integration test above suggest the
|
Drop patches included upstream already. Fix for saltstack/salt#64575 was just merged upstream, but isn't included in 3006.4 yet, so keep it here. QubesOS/qubes-issues#7993
Drop patches included upstream already. Fix for saltstack/salt#64575 was just merged upstream, but isn't included in 3006.4 yet, so keep it here. QubesOS/qubes-issues#7993
Closing as fixed per #65067 (comment) |
Description
Sometimes (haven't figured out when) salt-ssh fails with
TypeError: '>' not supported between instances of 'NoneType' and 'int'
. This seems to be a regression caused by #64515.Setup
The state files used are at https://github.com/QubesOS/openqa-tests-qubesos/tree/main/extra-files (
system-tests
andupdate
subdirs, all enabled). But I do not believe the issue is specific to some states.Please be as specific as possible and give set-up details.
Steps to Reproduce the behavior
Call
salt-ssh remote-host state.highstate
.Expected behavior
No exception, instead a normal state output. I suspect some of the states (or the whole
state.highstate
) failed here, but unfortunately I have no further logs, due to this exception.Screenshots
If applicable, add screenshots to help explain your problem.
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)This is 3006.1 on Fedora 38, custom package with #64515 backported.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: