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

Fixes #34781 - Add rake script to push all repos from katello to pulp2/3 #10077

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

phess
Copy link
Contributor

@phess phess commented Apr 26, 2022

This rake script was motivated by some events where we could not ascertain that pulp was hosting all repositories and content views that katello knew about. In these cases, the existing katello:correct_pulp_repositories rake script would sometimes end up removing from katello the repositories that were missing from pulp, instead of pushing those repos from katello to pulp.

This rake script here triggers a repo creation task on the local pulp/pulp3 for every repository known to katello. Existing repositories will usually succeed immediately or fail silently -- both these outcomes are OK.

This rake script can optionally target an individual Lifecycle Env or a CV or a repo as a way to narrow down the contents to be pushed to pulp in case one knows exactly which repos are missing on pulp.

I look forward to this team's feedback.

@theforeman-bot
Copy link

Can one of the admins verify this patch?

@theforeman-bot
Copy link

Issues: #34781

@chris1984
Copy link
Member

@phess looks like there are some rubocop failures

@phess
Copy link
Contributor Author

phess commented Jan 5, 2023

@phess looks like there are some rubocop failures

@chris1984 , thank you for the warning. I can't view which rubocop tests failed, or why they failed. Is there a way to re-run the failed tests so I can view their output?

Update: I certainly can see the errors and I can work on them shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants