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
Fix CDN button visibility (Backport to RHEL to fix CentOS stream) #3020
Fix CDN button visibility (Backport to RHEL to fix CentOS stream) #3020
Conversation
@jcpunk Please create a RHEL 8 bug describing the issues CentOS Stream has with the CDN button & let me know the bug number. I'll handle the rest after that. Thanks! :) |
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.
LGTM!
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.
I am not sure why we are doing this since CentOS already uses a patch with a fix. I think that the point of #3015 was to make sure that this bug is fixed in upstream.
4b9c2dc
to
c29802a
Compare
@jcpunk Thanks! I've updated the PR to reference the bug number with take it from there process wise. :)
@poncovka So I think this is the patch CentOS is using at the moment: I guess that works, but I think backporting #2850 is simple enough that it could be better to just include it in our RHEL 8 branch so that CentOS (and possibly other community rebuilds) don't need to carry a patch for this themselves. Also this way the downstream patches can't break if we do some changes in the Subscription spoke. |
When reasonable, I prefer to patches 'upstream'. In theory it prevents folks downstream from rehashing solved problems. |
I just checked anaconda-33.16.5.2-1, and every patch CentOS has been applying has been included except this one. Any chance this can be merged for the next tag? |
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. Thank you!
Still working fine on latest RHEL 8 as far as I can tell. :) |
Only show the Red Hat CDN button if the Subscription module appears to be running. To achieve that, we do the same thing as with the HMC button - the CDN button invisible by default. And enable it only if it looks like the Subscription module is running. (cherry picked from commit: aca2975) Resolves: rhbz#1903178
c29802a
to
81f2437
Compare
I did some more testing & rebased the commit on top of latest RHEL 8 branch and it should be merged shortly. :) |
/kickstart-test --testtype smoke |
Only show the Red Hat CDN button if the Subscription
module appears to be running. To achieve that, we do
the same thing as with the HMC button - the CDN
button invisible by default. And enable it only if it
looks like the Subscription module is running.