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 #36908 - Creating an override with hammer for one repository should not override all repositories #10793

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

lfu
Copy link
Member

@lfu lfu commented Nov 9, 2023

What are the changes introduced in this pull request?

Issue happens only with Katello 4.7.

Considerations taken when implementing this change?

Backport fix #10387 to Katello 4.7.

What are the testing steps for this pull request?

  1. List enabled repositories for the client
    hammer host subscription product-content --content-access-mode-all=true --content-access-mode-env=true --host myhost.example.com
  2. Change one repo to be enabled
    hammer host subscription content-override --host myhost.example.com --content-label satellite-client-6-for-rhel-9-x86_64-rpms --enabled=true --value=true
  3. List enabled repositories for the client again
    hammer host subscription product-content --content-access-mode-all=true --content-access-mode-env=true --host myhost.example.com

@lfu
Copy link
Member Author

lfu commented Nov 9, 2023

When tested on a 4.7 branch locally, it passed.

@lfu
Copy link
Member Author

lfu commented Nov 17, 2023

4.7 branch is no longer active.

@lfu lfu closed this Nov 17, 2023
@lfu lfu reopened this Nov 17, 2023
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.

Works for me! The failing tests are unrelated.

@lfu lfu merged commit f09d760 into Katello:KATELLO-4.7 Nov 17, 2023
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants