Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Version-Release number of selected component (if applicable):
subscription-manager-gui-1.12.14-7.el6.x86_64
How reproducible:
Steps to Reproduce:
1. sudo subscription-manager-gui
2. goto Manage/Repositories (Ctrl + s)
3. Enable few repositories (in my case rhel-6-workstation-optional-rpms
Actual results:
Enabled checbox is checked several seconds after clicking (up to 10).
I understand that (un)checking it after (un)registering channel solves issues with e.g. click and close
Expected results:
Check immidiatelly or with minimal delay.
Additional info:
It's a really unpleasant user experience with mentioned delay.
Sometimes you check it twice since nothing happens and ... result is 10seconds until checked and another 10 seconds to uncheck it :-) ... you know customers will try and do that.
Will be tough to fix but seems worthwhile. Probably need to lock the UI and show a progress bar to prevent things getting weird, async server communication would be nice but will get error prone and very weird here if the requests start failing.
It looks like one of the bottlenecks here is that we check the consumer systems overrides and it's systems 'release' every time we toggle a repo enabled.
We also completely regenerate the redhat.repo file before returning.
So each time we toggle 'enabled', we:
1) ask the server for override info
2) ask the server for the latest system release
3) regenerate the redhat.repo applying overrides
(and spin off threads to write out the client side offline caches)
Using the cached release here would help some.
Better use of the event loop as well, and some sort of progress indicator
to indicate the wait time. So we'd flip the check box instantly, and flip on the progress, and flip it off when it completes and we've done the steps mentioned above.
The network stuff would need to get switched to AsyncBackend which that screen isn't currently using.
As a normal user of things, I would expect the state of the checkboxes to be saved in memory until I hit the 'Close' button (should be renamed 'Save' in my scenario), and only then would it consult with candlepin and rewrite the redhat.repo.
In upstream master and the latest builds of subman for RHEL 6.8.
Setting version to 6.8 and moving to the MODIFIED status in order to add this BZ to the errata.
Retested on ,
subscription management server: 0.9.51.14-1
subscription management rules: 5.15.1
subscription-manager: 1.16.7-1.el6
python-rhsm: 1.16.5-1.el6
Tried to enable/disable the multiple repo from subscription-manager-gui , checkbox are checked/unchecked without any delay. Marking the bug to verified.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2016-0797.html