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

Pulpcore upgrade #10949

Merged
merged 4 commits into from Apr 16, 2024
Merged

Pulpcore upgrade #10949

merged 4 commits into from Apr 16, 2024

Conversation

sjha4
Copy link
Member

@sjha4 sjha4 commented Mar 26, 2024

Related pulpcore upgrade PRs:

theforeman/foreman-packaging#10658
theforeman/pulpcore-packaging#931
theforeman/foreman-packaging#10667

What are the changes introduced in this pull request?

Update pulp bindings and VCRs

Considerations taken when implementing this change?

What are the testing steps for this pull request?

On a box with upgraded pulp packages, check this out and run through some smoke testing.

Copy link
Member

@ianballou ianballou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just need to wait to merge until the packaging PRs (like theforeman/foreman-packaging#10658) are ready.

@sjha4
Copy link
Member Author

sjha4 commented Apr 3, 2024

Added teardown code to some of our tests which didn't have those. Also added code path to look up dangling distributions during orphan cleanup and version deletion to resolve this: https://projects.theforeman.org/issues/37314

Copy link
Member

@ianballou ianballou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found one bug where un-orphaned distributions were deleted, details below:

distribution_deletion_tasks = []
distro_hrefs = []
orphan_repository_versions.each do |api, version_hrefs|
next if api.repository_type.id == :deb
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there no workaround for Debian?

app/services/katello/pulp3/smart_proxy_repository.rb Outdated Show resolved Hide resolved
Copy link
Member

@ianballou ianballou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Just one question:

app/services/katello/pulp3/smart_proxy_repository.rb Outdated Show resolved Hide resolved
Copy link
Member

@ianballou ianballou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Acking again! Still needs to wait for the other packaging ones to be good to go to merge.

@sjha4 sjha4 merged commit ec0f7a2 into Katello:master Apr 16, 2024
19 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants