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.

Bug 1312367

Summary: GUI : Trying to override the repo on a system with no network , "Updating Repository overrides" progress bar runs continuosly
Product: Red Hat Enterprise Linux 6 Reporter: Shwetha Kallesh <skallesh>
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: high Docs Contact:
Priority: high    
Version: 6.8CC: bcourt, csnyder, wpoteat
Target Milestone: rcKeywords: Regression, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-10 20:40:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Network error in the manage repos dialog none

Description Shwetha Kallesh 2016-02-26 14:40:28 UTC
Created attachment 1130840 [details]
Network error in the manage repos dialog

Description of problem:
GUI : Trying to override the repo on a system with no network , "Updating Repository overrides" progress bar runs continuosly

Version-Release number of selected component (if applicable):
[root@dhcp35-29 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.9.51.15-1
subscription management rules: 5.15.1
subscription-manager: 1.16.8-3.el6
python-rhsm: 1.16.6-1.el6


How reproducible:


Steps to Reproduce:
a) Register the client and attach the subscriptions
b) Launch GUI and go to systems ----> Manage repositories 
c) Now bring the network on the system down
d) Try overriding any repo and click on apply button

Actual results:

Dialog pops up saying network error and upon closing that dialog , "Updating Repository overrides" progress bar runs continuosly

Expected results:
Dialogue should pop up saying network error and after you click on the Ok button the dialog , no progress bar should been seen

Additional info:

[root@dhcp35-29 ~]# tail -f /var/log/rhsm/rhsm.log 
2016-02-26 09:28:35,079 [DEBUG] subscription-manager-gui:30497 @connection.py:557 - Making request: GET /subscription/consumers/d6461b29-0500-4e5e-b356-fcf1dc2da373/content_overrides
2016-02-26 09:28:36,584 [DEBUG] subscription-manager-gui:30497 @connection.py:589 - Response: status=200, requestUuid=6f0dd531-330c-4d4c-a3b6-c1a26f16de78
2016-02-26 09:28:36,585 [DEBUG] subscription-manager-gui:30497 @cache.py:289 - Started thread to write cache: /var/lib/rhsm/cache/content_overrides.json
2016-02-26 09:28:36,590 [DEBUG] subscription-manager-gui:30497 @cache.py:110 - Wrote cache: /var/lib/rhsm/cache/content_overrides.json
2016-02-26 09:28:36,594 [DEBUG] subscription-manager-gui:30497 @__init__.py:85 - Searching for content of type: yum
2016-02-26 09:28:36,597 [DEBUG] subscription-manager-gui:30497 @connection.py:509 - Loaded CA certificates from /etc/rhsm/ca/: redhat-uep.pem
2016-02-26 09:28:36,598 [DEBUG] subscription-manager-gui:30497 @connection.py:557 - Making request: GET /subscription/consumers/d6461b29-0500-4e5e-b356-fcf1dc2da373/release
2016-02-26 09:28:38,130 [DEBUG] subscription-manager-gui:30497 @connection.py:589 - Response: status=200, requestUuid=79b20ca9-7220-40fc-8259-80a07197dd57
2016-02-26 09:28:38,131 [DEBUG] subscription-manager-gui:30497 @cache.py:289 - Started thread to write cache: /var/lib/rhsm/cache/releasever.json
2016-02-26 09:28:38,137 [DEBUG] subscription-manager-gui:30497 @cache.py:110 - Wrote cache: /var/lib/rhsm/cache/releasever.json
2016-02-26 09:29:34,483 [DEBUG] subscription-manager-gui:30497 @connection.py:509 - Loaded CA certificates from /etc/rhsm/ca/: redhat-uep.pem
2016-02-26 09:29:34,486 [DEBUG] subscription-manager-gui:30497 @connection.py:557 - Making request: PUT /subscription/consumers/d6461b29-0500-4e5e-b356-fcf1dc2da373/content_overrides
2016-02-26 09:29:34,500 [ERROR] subscription-manager-gui:30497 @utils.py:72 - [Errno -3] Temporary failure in name resolution
Traceback (most recent call last):
  File "/usr/sbin/subscription-manager-gui", line 51, in <module>
    logging.captureWarnings(True)
AttributeError: 'module' object has no attribute 'captureWarnings'

Comment 3 William Poteat 2016-03-02 16:09:43 UTC
master commit 74fa313f2899b0a97bb6b0badb5192fcb96b7e5b

Comment 4 Chris Snyder 2016-03-05 07:18:51 UTC
Added to the internal branch for rhel 6.8: 

commit 13589d237619b9a04b39dcbcfc66baf6e6fee548
Author: William Poteat <wpoteat>
Date:   Fri Feb 26 11:48:08 2016 -0500

    1312367: Progress bar needs to go away on repo update connection fail

Comment 6 Shwetha Kallesh 2016-03-07 08:24:49 UTC
Marking verified as "Updating Repository overrides" progress bar doesnot appear

[root@dhcp35-224 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.51.15-1
subscription management rules: 5.15.1
subscription-manager: 1.16.8-4.el6
python-rhsm: 1.16.6-1.el6

Comment 8 errata-xmlrpc 2016-05-10 20:40:48 UTC
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