-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
False
-
False
-
-
3
-
-
-
-
-
-
Testable
https://github.com/Jskud has created an issue in GitHub https://github.com/oamg/convert2rhel/issues/914
Title: convert2rhel silently hangs if too many (list too long) third-party packages
Description:
I'm converting from CentOS 7.9 to RHEL 7 using convert2rhel.
I had 568 third-party packages which generated an internal command line of over 25K characters.
Trying multiple times, each time the conversion process hung; with --debug, I got this traceback:
` [2023-09-13T13:29:41+0000] DEBUG - Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/convert2rhel/main.py", line 113, in main_locked
pre_conversion_results = actions.run_actions()
File "/usr/lib/python2.7/site-packages/convert2rhel/actions/_init_.py", line 707, in run_actions
results = system_checks.run()
File "/usr/lib/python2.7/site-packages/convert2rhel/actions/_init_.py", line 587, in run
successes, failures, skips = self.next_stage.run(successes, failures, skips)
File "/usr/lib/python2.7/site-packages/convert2rhel/actions/_init_.py", line 559, in run
action.run()
File "/usr/lib/python2.7/site-packages/convert2rhel/actions/pre_ponr_changes/handle_packages.py", line 40, in run
pkg_list = pkghandler.format_pkg_info(sorted(third_party_pkgs, key=self.extract_packages))
File "/usr/lib/python2.7/site-packages/convert2rhel/utils.py", line 242, in wrapper
process.join()
File "/usr/lib64/python2.7/multiprocessing/process.py", line 145, in join
res = self._popen.wait(timeout)
File "/usr/lib64/python2.7/multiprocessing/forking.py", line 154, in wait
return self.poll(0)
File "/usr/lib64/python2.7/multiprocessing/forking.py", line 135, in poll
pid, sts = os.waitpid(self.pid, flag)
KeyboardInterrupt
`
I managed to observe the troublesome command using *ps" – it was a very long repoquery command, which generates over 28K of output when run standalone.
When I cut my third-party packages way down and restarted the conversion process, it got past that Convert: List third-party packages point, and now underway.
- is related to
-
RHELC-1181 [Convert: List third-party packages] Unhandled exception was caught: u':ceph-mon-14.2.22-0.el7.x86_64'
- Closed
-
RHELC-1225 LIST_THIRD_PARTY_PACKAGES fails on u':v8-devel-9.4.146.26-1.16.18.1.3.el7.x86_64'
- Closed