Support for Excluded Yum Repositories in /etc/yum/pluginconf.d/fastestmirror.conf
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- devops, operating-systems
Hướng nghiên cứu
Start by tracing the migration's /usr/bin/leapp upgrade --nowarn entry point and how it handles /etc/yum/pluginconf.d/fastestmirror.conf. Determine where excluded repositories are read or passed into the migration, then verify that listed repositories are not selected and that migrations can proceed without them.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is your feature request related to a problem? Please describe.
Yes, the problem occurs when the tool does not account for the yum repositories that have been added as exclusions in /etc/yum/pluginconf.d/fastestmirror.conf. These exclusions were added due to recurring issues with specific repositories. As a result, the tool selects these problematic repositories, which leads to errors during migrations. This has caused us to restart migrations multiple times, hoping that a different repository will be chosen.
Describe the solution you'd like
We would like the tool to recognize and respect the excluded yum repositories listed in /etc/yum/pluginconf.d/fastestmirror.conf.
By doing so, the tool can avoid these problematic repositories and proceed with the migration process more reliably.
Describe alternatives you've considered
One alternative we've tried is manually restarting the migration process multiple times to force the tool to choose a different repository. However, this approach is inefficient and time-consuming.
Additional context
The error message we frequently encounter is as follows:
2024-12-12 21:31:10,421 - INFO - stdout: [MIRROR] alt-python27-raven-6.3.0-1.el8.noarch.rpm: Status code: 500 for https://cl-mirror.versio.nl/XMLRPC//GET-REQ/cloudlinux-x86_64-server-8/alt-python27-raven-6.3.0-1.el8.noarch.rpm (IP: 62.221.251.201)
2024-12-12 21:31:10,421 - INFO - stdout: [MIRROR] alt-python27-repoze-lru-0.6-1.el8.noarch.rpm: Status code: 500 for https://cl-mirror.versio.nl/XMLRPC//GET-REQ/cloudlinux-x86_64-server-8/alt-python27-repoze-lru-0.6-1.el8.noarch.rpm (IP: 62.221.251.201)
2024-12-12 21:31:10,421 - INFO - stdout: [MIRROR] alt-python27-requests-2.19.1-1.el8.noarch.rpm: Status code: 500 for https://cl-mirror.versio.nl/XMLRPC//GET-REQ/cloudlinux-x86_64-server-8/alt-python27-requests-2.19.1-1.el8.noarch.rpm (IP: 62.221.251.201)
2024-12-12 21:31:10,421 - INFO - stdout: [MIRROR] alt-python27-repoze-lru-0.6-1.el8.noarch.rpm: Status code: 500 for https://cl-mirror.versio.nl/XMLRPC//GET-REQ/cloudlinux-x86_64-server-8/alt-python27-repoze-lru-0.6-1.el8.noarch.rpm (IP: 62.221.251.201)
2024-12-12 21:31:10,421 - INFO - stdout: [FAILED] alt-python27-repoze-lru-0.6-1.el8.noarch.rpm: No more mirrors to try - All mirrors were already tried without success
2024-12-12 21:31:10,421 - INFO - stdout:
2024-12-12 21:31:10,422 - INFO - stdout: The downloaded packages were saved in cache until the next successful transaction.
2024-12-12 21:31:10,422 - INFO - stdout: You can remove cached packages by executing 'dnf clean packages'.
2024-12-12 21:31:10,422 - INFO - stdout:
2024-12-12 21:31:10,422 - INFO - stdout: STDERR:
2024-12-12 21:31:10,422 - INFO - stdout: Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system
2024-12-12 21:31:10,422 - INFO - stdout: Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system
2024-12-12 21:31:10,422 - INFO - stdout: No matches found for the following disable plugin patterns: subscription-manager
2024-12-12 21:31:10,422 - INFO - stdout: Warning: Package marked by Leapp to upgrade not found in repositories metadata: leapp-upgrade-el7toel8 gpg-pubkey
2024-12-12 21:31:10,422 - INFO - stdout: Error: Error downloading packages:
2024-12-12 21:31:10,422 - INFO - stdout: alt-python27-repoze-lru-0.6-1.el8.noarch: Cannot download, all mirrors were already tried without success
2024-12-12 21:31:10,448 - ERROR - Command ['/usr/bin/leapp', 'upgrade', '--nowarn'] failed with return code 1
2024-12-12 21:31:10,448 - ERROR - Failed: doing the conversion. The reason: Command '['/usr/bin/leapp', 'upgrade', '--nowarn']' returned non-zero exit status 1.
2024-12-12 21:31:10,482 - DEBUG - Going to write json '/usr/local/psa/var/cloudlinux7to8/actions.json' with new data
2024-12-12 21:31:10,624 - DEBUG - Sent error report
2024-12-12 21:31:10,632 - DEBUG - Trying to send status of conversion by report-update utility '/var/cache/parallels_installer/report-update'
2024-12-12 21:31:11,180 - ERROR - cloudlinux7to8 process has failed. Error: Failed: doing the conversion. The reason: Command '['/usr/bin/leapp', 'upgrade', '--nowarn']' returned non-zero exit status 1.
- Ngôn ngữ chính
- Python
- Star
- 7
- Fork
- 5
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của plesk/cloudlinux7to8
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 45/100
plesk/cloudlinux7to8#145 ·
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 55/100
plesk/cloudlinux7to8#144 ·
-
Legacy GRUB 0.97 system passes precheck; leapp system_facts crashes on missing /boot/grub2/grub.cfgĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
plesk/cloudlinux7to8#143 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
plesk/cloudlinux7to8#142 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
plesk/cloudlinux7to8#141 ·
Tất cả issue của plesk/cloudlinux7to8
Issue tương tự
-
backlog
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
EchoTools/nevr-runtime#1108 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
parse names a key after a top-level multi() threshold Bitcoin Core v31.1 refuses as not validĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
btclib-org/btclib-wallet#587 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Judgment-Pack/judgment-pack-spec#275 ·
Maintainer thường phản hồi trong vòng 1 ngày