-
Notifications
You must be signed in to change notification settings - Fork 355
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
Sync subscription code from rhel 9 #5982
Merged
M4rtinK
merged 4 commits into
rhinstaller:rhel-10
from
M4rtinK:rhel-10-sync_subscription_code_from_rhel_9
Nov 11, 2024
Merged
Sync subscription code from rhel 9 #5982
M4rtinK
merged 4 commits into
rhinstaller:rhel-10
from
M4rtinK:rhel-10-sync_subscription_code_from_rhel_9
Nov 11, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
M4rtinK
force-pushed
the
rhel-10-sync_subscription_code_from_rhel_9
branch
from
November 5, 2024 17:28
f3b2dc7
to
da4164c
Compare
/kickstart-test --testtype smoke |
Make sure we have recent enough RHSM version so that the necessary baseline for Satellite support and other modern subscription features (and Anaconda relevant fixes) are in places. Resolves: RHEL-49661 Related: INSTALLER-3882 Related: INSTALLER-3063
M4rtinK
force-pushed
the
rhel-10-sync_subscription_code_from_rhel_9
branch
from
November 5, 2024 17:40
da4164c
to
85f0310
Compare
/kickstart-test --testtype smoke |
M4rtinK
force-pushed
the
rhel-10-sync_subscription_code_from_rhel_9
branch
from
November 6, 2024 10:15
85f0310
to
5185281
Compare
/kickstart-test --testtype smoke |
/kickstart-test --skip-testtypes whatever |
rvykydal
reviewed
Nov 7, 2024
M4rtinK
force-pushed
the
rhel-10-sync_subscription_code_from_rhel_9
branch
from
November 8, 2024 09:39
5185281
to
9d6efd8
Compare
rvykydal
approved these changes
Nov 8, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
I was able to find just a few harmless typos.
tests/unit_tests/pyanaconda_tests/modules/subscription/test_subscription_tasks.py
Outdated
Show resolved
Hide resolved
This commit contains basically 3 things: * Satellite support ported for the RHEL 9 branch, adjusted for changes done in upstream since RHEL 9 has been branched * all Satellite support & subscription code fixes from the RHEL 9 branch * removal of entitlement support as entitlements are no longer supported in RHEL 10 & Simple Content Access (SCA) is always used instead Resolves: RHEL-49661 Related: INSTALLER-3882 Related: INSTALLER-3903
Adjust the GTK GUI for the Subscription code changes: - reflect Satellite being used in the GUI - better UX when Simple Content Access (SCA) is used - drop support for displaying attached entitlements (support for entitlements has been dropped in RHEL 10 system-wide) Resolves: RHEL-49661 Related: INSTALLER-3882 Related: INSTALLER-3903
Adjust to Satellite support being added & entitlement support being dropped. There were also some changes in how the registration tasks are structured internally & unit tests need to be adjusted for that as well. Resolves: RHEL-49661 Related: INSTALLER-3882 Related: INSTALLER-3903
M4rtinK
force-pushed
the
rhel-10-sync_subscription_code_from_rhel_9
branch
from
November 8, 2024 11:27
9d6efd8
to
7a151a5
Compare
/kickstart-test --testtype smoke |
M4rtinK
added
the
ready to merge
The PR can be merged. It should have all BZ flags required for releasing set (usually release+).
label
Nov 11, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ready to merge
The PR can be merged. It should have all BZ flags required for releasing set (usually release+).
rhel-10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR syncs the RHEL 9 subscription code, which includes:
Also as entitlement support has been dropped in RHEL 10, with only SCA being supported going forward, the PR also drops code related to parsing and displaying entitlements.
While this PR is targeting RHEL 10 first, my intention is to open an upstream PR once this one is merged, to avoid any further de-sync of the subscription support codebase going forward.