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.
DescriptionShwetha Kallesh
2016-03-08 07:44:36 UTC
Description of problem:
No network is thrown when you try to remove a subscription on the system with no network
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.Register and attach subscriptions
2.Launch GUI and bring the network on the system down
3.Now try to remove a subscription in the My Subscriptions Tab
Actual results:
No error is thrown , a traceback on the console
Expected results:
Network error should be thrown to the user
Additional info:
Traceback:
[root@dhcp35-224 ~]# subscription-manager-gui
/usr/share/rhsm/subscription_manager/gui/widgets.py:336: GtkWarning: gtk_tree_store_get_value: assertion `VALID_ITER (iter, tree_store)' failed
return self.model.get_value(self.tree_iter, self.store[key])
Traceback (most recent call last):
File "/usr/share/rhsm/subscription_manager/gui/mysubstab.py", line 134, in _handle_unbind_exception
(selection['subscription'], selection['serial']), self.parent_win, format_msg=False)
File "/usr/share/rhsm/subscription_manager/gui/widgets.py", line 336, in __getitem__
return self.model.get_value(self.tree_iter, self.store[key])
TypeError: unknown type (null)
Fix should be in master as of the commit info below
commit 7814c7494f9b554f69a95fc4a9217f531c762798
Author: William Poteat <wpoteat>
Date: Fri Mar 18 13:06:28 2016 -0400
1315591: Catches exception and allows process to continue
Ends up in odd state where the previous selection is not reachable.
Now the proper window with lack of connection information is
displayed.
NOTE:
Even after this fix there is a strange GTK warning that is popping up. I believe that if anyone thinks this is an issue it should be addressed in a separate BZ.
Leaving a paste of the warning message here for future reference:
"""
`/usr/share/rhsm/subscription_manager/gui/widgets.py:337: GtkWarning: gtk_tree_store_get_value: assertion `VALID_ITER (iter, tree_store)' failed
return self.model.get_value(self.tree_iter, self.store[key])`
"""
Created attachment 1158654[details]
See an dialogue popping up saying "Network Error"
See network error when tried to unsubscribe on a system with no network
[root@dhcp35-45 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: Unknown
subscription management rules: Unknown
subscription-manager: 1.17.6-1.el7
python-rhsm: 1.17.2-1.el7
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/RHSA-2017-0698.html
Description of problem: No network is thrown when you try to remove a subscription on the system with no network Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.Register and attach subscriptions 2.Launch GUI and bring the network on the system down 3.Now try to remove a subscription in the My Subscriptions Tab Actual results: No error is thrown , a traceback on the console Expected results: Network error should be thrown to the user Additional info: Traceback: [root@dhcp35-224 ~]# subscription-manager-gui /usr/share/rhsm/subscription_manager/gui/widgets.py:336: GtkWarning: gtk_tree_store_get_value: assertion `VALID_ITER (iter, tree_store)' failed return self.model.get_value(self.tree_iter, self.store[key]) Traceback (most recent call last): File "/usr/share/rhsm/subscription_manager/gui/mysubstab.py", line 134, in _handle_unbind_exception (selection['subscription'], selection['serial']), self.parent_win, format_msg=False) File "/usr/share/rhsm/subscription_manager/gui/widgets.py", line 336, in __getitem__ return self.model.get_value(self.tree_iter, self.store[key]) TypeError: unknown type (null)