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-manager | Assignee: | William Poteat <wpoteat> | ||||
| Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.8 | CC: | bcourt, csnyder, wpoteat | ||||
| Target Milestone: | rc | Keywords: | 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: |
|
||||||
master commit 74fa313f2899b0a97bb6b0badb5192fcb96b7e5b 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
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 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 |
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'