-
Notifications
You must be signed in to change notification settings - Fork 85
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.