-
Bug
-
Resolution: Done
-
Undefined
-
2.0.0
-
None
Python raises RuntimeWarning right at the beginning of the conversion where we gather system information.
Reproducible on all following targets:
- AlmaLinux OS 9.4.20240509 x86_64
- OL9.3-x86_64-HVM-2024-02-02 (updated to 9.4)
- Rocky-9-EC2-Base-9.4-20240509.0.x86_64
I suspect this line being the culprit.
[2024-06-12T23:29:54+0000] TASK - [Prepare: Gather system information] ******************************* [2024-06-12T23:29:54+0000] DEBUG - Calling command 'uname -i' /usr/lib64/python3.9/subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used self.stdout = io.open(c2pread, 'rb', bufsize) Running the 'rpm -Va' command which can take several minutes. It can be disabled by using the --no-rpm-va option. [2024-06-12T23:29:54+0000] DEBUG - Calling command 'rpm -Va' /usr/lib64/python3.9/subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used self.stdout = io.open(c2pread, 'rb', bufsize) The 'rpm -Va' output has been stored in the /var/log/convert2rhel/rpm_va.log file. [2024-06-12T23:30:00+0000] DEBUG - Calling command 'uname -r' /usr/lib64/python3.9/subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used self.stdout = io.open(c2pread, 'rb', bufsize) [2024-06-12T23:30:00+0000] DEBUG - Booted kernel VRA (version, release, architecture): 5.14.0-427.20.1.el9_4.x86_64 [2024-06-12T23:30:00+0000] DEBUG - Calling command '/usr/bin/systemctl show -p ActiveState dbus' /usr/lib64/python3.9/subprocess.py:941: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used self.stdout = io.open(c2pread, 'rb', bufsize) Name: AlmaLinux OS version: 9.4 Architecture: x86_64 Config filename: almalinux-9-x86_64.cfg
- links to
-
RHEA-2024:137944 convert2rhel bug fix update
-
RHEA-2024:137945 convert2rhel bug fix update
-
RHEA-2024:139804 convert2rhel bug fix and enhancemet update