Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Excluded Yum Repositories in /etc/yum/pluginconf.d/fastestmirror.conf #55

Open
cloud86robb3rt opened this issue Dec 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cloud86robb3rt
Copy link

cloud86robb3rt commented Dec 13, 2024

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.
@cloud86robb3rt cloud86robb3rt added the enhancement New feature or request label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant