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 #35382 - Add rake task to refresh repos on all pulp proxies #10242

Merged
merged 1 commit into from Aug 24, 2022

Conversation

chris1984
Copy link
Member

Co-authored-by: Joniel Pasqualetto jpasqual@redhat.com

What are the changes introduced in this pull request?

  • When changing the certs from self installed certs to ones signed by a custom CA, the problem is that the ca_cert on the remote (inside pulp3) does not get updated after changing the certificate.
  • Added a rake task to loop through the proxies and katello to refresh the repos

Considerations taken when implementing this change?

  • N/A

What are the testing steps for this pull request?

  • Check out PR
  • Try running the rake task and see if you see the task get generated in the UI/logs
  • Bonus if you have a smart proxy attached to your devel box to make sure it hits that.

@theforeman-bot
Copy link

Issues: #35382

lib/katello/tasks/refresh_repos.rake Outdated Show resolved Hide resolved
lib/katello/tasks/refresh_repos.rake Outdated Show resolved Hide resolved
lib/katello/tasks/refresh_repos.rake Outdated Show resolved Hide resolved
lib/katello/tasks/refresh_repos.rake Show resolved Hide resolved
Co-authored-by: Joniel Pasqualetto jpasqual@redhat.com
@chris1984
Copy link
Member Author

@sjha4 updated

@chris1984 chris1984 requested a review from sjha4 August 24, 2022 16:07
Copy link
Member

@sjha4 sjha4 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 and works as expected. Adds and runs tasks on smart proxies to refresh repos.
Ack 👍🏼

@chris1984 chris1984 merged commit 21107ca into Katello:master Aug 24, 2022
sjha4 pushed a commit to sjha4/katello that referenced this pull request Aug 29, 2022
…tello#10242)

Co-authored-by: Joniel Pasqualetto jpasqual@redhat.com
(cherry picked from commit 21107ca)
sjha4 added a commit that referenced this pull request Aug 29, 2022
* Fixes #35336 - System purpose card should not show when host is unregistered (#10224)

* Fixes #35336 - System purpose card should not show when host is unregistered

* Refs #35336 - fix tests

* Refs #35336 - also hide HW Properties card

(cherry picked from commit 64d5fb7)

* Fixes #35290 - Katello rpm search via nvra also (#10214)

Add scoped_search on nvra. This helps user experience when filename does
not follow NVRA pattern.

Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
(cherry picked from commit d4188e5)

* Fixes #35295 - Details tab cards - Switch to masonry card layout instead of square grid (#10216)

(cherry picked from commit bc1304b)

* Fixes #35367 - Add legacy ch host ui button to new host page (#10235)

(cherry picked from commit dc10b82)

* Fixes #35369 - Moved the syncable repo exports to a different cv (#10237)

Whenever we do an export repository or library we would
1) Find or Create the associated repo/library cv
2) Publish the version
3) Export the published version in a syncable format

With the addition of syncable format we do the same.
This has some unintended consequences
For example
1) Export the repository in an importable format
2) Update the repository contents
3) Now export the same repo in syncable format
4) Finally do an incremental export of the same repo
Notice that it has 0 content to export. That is because it is
incrementally exporting between the repo state in 3 and 4 instead of 1
and 4

This commit fixes this by making the syncable exports happen in an
entirely different content view, so that syncable and non syncable
exports are not mixed.

(cherry picked from commit 7195abf)

* Fixes #35247 - Can Import/Export docker content (#10204)

(cherry picked from commit 877546b)

* Fixes #35368 - Prevent multiple envs in host registration (#10236)

(cherry picked from commit bb5d05d)

* Fixes #35382 - Add rake task to refresh repos on all pulp proxies (#10242)

Co-authored-by: Joniel Pasqualetto jpasqual@redhat.com
(cherry picked from commit 21107ca)

* Fixes #35341 - Unpin faraday (#10226)

This reverts commit 64b10e9. The
individual pulp gems have Faraday pins and makes this redundant. It only
hinders updating to Faraday.

(cherry picked from commit 9558eb9)

* Update release to 4.6.rc2

* Update Changelog

Co-authored-by: Jeremy Lenz <jlenz@redhat.com>
Co-authored-by: Pavel Moravec <pmoravec@redhat.com>
Co-authored-by: Chris Roberts <chrobert@redhat.com>
Co-authored-by: Partha Aji <paji@redhat.com>
Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants