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.
Bug 1051373 - In rhsm GUI "All Available Subscription" tab, the Subscription table not update right after remove a attached subscription
Summary: In rhsm GUI "All Available Subscription" tab, the Subscription table not upda...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel71
TreeView+ depends on / blocked
 
Reported: 2014-01-10 07:50 UTC by xingge
Modified: 2016-09-20 02:28 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-13 18:56:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description xingge 2014-01-10 07:50:54 UTC
Description of problem:
In rhsm GUI "All Available Subscription" tab, the Subscription table not update right after remove a attached subscription

Version-Release number of selected component (if applicable):
subscription-manager-firstboot-1.10.10-1.el7.x86_64
subscription-manager-1.10.10-1.el7.x86_64
subscription-manager-gui-1.10.10-1.el7.x86_64
python-rhsm-1.10.10-1.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1.Register the system and attach some subscriptions. In my case my system attached 1 subscription called "RHEL7 HTB".

2.Open subscription-manager-gui and go to "All Available Subscriptions" tab.

3.Open the "Filter Options" window by click "Filters" button. Then un-select all the filters.

4.Press Update button and all the available subscription will show, include the attached subscriptions.

5.Remember the "Available" value of the attached subscription. In my case the "RHEL7 HTB" 's value is 643.

6.Remove the system's attached subscription.

7.Go to the "All Available Subscriptions" tab again and check the subscriptions Available number.

Actual results:
The "Available" value of "RHEL7 THB" is still 643.

Expected results:
The "Available" value of "RHEL7 THB" should be 644 cause I remove the subscripiton my system attached.

Additional info:
If I press the "Update" buttom or attached another subscription, then the "Available" value of "RHEL7 THB" will change to 644 which is right.

Comment 1 Carter Kozak 2014-01-23 16:35:31 UTC
Refreshing available pools takes a while to run.  If we refresh all available entitlements every time we remove one from the system, there will be a lot of extra network activity, and we're not even sure that the user is going to open the available subscriptions tab again.

Wiping the available list isn't particularly helpful either, because a user could be going between attached and available subs windows attaching different pools.  The vast majority of subscription info will be correct, and if one is removed, chances are that it isn't being re-attached immediately.

If we can get all of our network activity to run async in the background, perhaps this will be worth a revisit, as it will no longer block a user from using the gui while it refreshes.

Deferring in the meantime.

Comment 2 John Sefler 2014-01-23 17:53:48 UTC
(In reply to xingge from comment #0)
> Additional info:
> If I press the "Update" button or attached another subscription, then the
> "Available" value of "RHEL7 HTB" will change to 644 which is right.

This refreshing of available subscriptions on the "All Available Subscriptions" tab has never been automatic.  It is the reason why the manual "Update" button was added.

Comment 4 William Poteat 2014-05-13 18:56:14 UTC
As per comments above. An automatic refresh would unnecessarily increase traffic when the update button can suffice.


Note You need to log in before you can comment on or make changes to this bug.