Fedora Account System
Red Hat Associate
Red Hat Customer
Created attachment 2108521 [details] patch to prevent type mismatch on parsing 'tries' option Description of problem: using 'tries' with 'reposync' causes an error due to an underlying change in python. # cobbler reposync --no-fail --only epel9-x86_64 --tries=1 task started: 2025-10-04_133649_Reposync_18be927557aa4c8fb827703f663c56fd task started (id=Reposync, time=Sat Oct 4 13:36:49 2025) start_task(reposync); event_id(2025-10-04_133649_Reposync_18be927557aa4c8fb827703f663c56fd) reposync; ['epel9-x86_64'] hello, reposync run, reposync, run! Exception occurred: <class 'TypeError'> Exception value: can only concatenate str (not "int") to str Exception Info: !!! TASK FAILED !!! Version-Release number of selected component (if applicable): # rpm -qf /etc/issue /etc/cobbler/ rocky-release-9.6-1.3.el9.noarch cobbler-3.3.7-1.el9.noarch (reported first in cobbler 3.3.3) How reproducible: Trivially, every time, as used in various tools. Steps to Reproduce: 1. install cobbler - yum install 2. add common repo - any valid repo 3. invoke cobbler reposync with --tries=1 (any number) Actual results: Error. Expected results: Standard and normal repo sync. Additional info: https://github.com/cobbler/cobbler/issues/3377 https://github.com/cobbler/cobbler/pull/3378 - davejbax links this to a python 3.9+ change, and a change in input types. https://patch-diff.githubusercontent.com/raw/cobbler/cobbler/pull/3378.diff shows a potential fix but refactored for our setup looks like the trivial change in the attachment
Yep. Applying the patch shows an immediate improvement in behaviour.
FEDORA-2025-16260cc4de (cobbler-3.3.7-15.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2025-16260cc4de
FEDORA-2025-16260cc4de (cobbler-3.3.7-15.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2025-6728220371 (cobbler-3.3.7-15.el9) has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-6728220371
FEDORA-EPEL-2025-6728220371 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-6728220371 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2025-6728220371 (cobbler-3.3.7-15.el9) has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report.