Bug 1392709

Summary: GUI : opening the repositories dialog with invalid proxy , error dialog with message "proxy connection failed, unable to load repositories" should pop up
Product: Red Hat Enterprise Linux 6 Reporter: Shwetha Kallesh <skallesh>
Component: subscription-managerAssignee: Jiri Hnidek <jhnidek>
Status: CLOSED CURRENTRELEASE QA Contact: John Sefler <jsefler>
Severity: low Docs Contact:
Priority: medium    
Version: 6.9CC: csnyder, jhnidek, jstavel, khowell, redakkan, skallesh, vrjain
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: subscription-manager-1.20.1-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-14 20:26:42 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:
Attachments:
Description Flags
Unable to load repository
none
Now the error is proxy specific none

Description Shwetha Kallesh 2016-11-08 04:27:33 UTC
Created attachment 1218373 [details]
Unable to load repository

Description of problem:
GUI : opening the repositories dialog with invalid proxy , error dialog with message "proxy connection failed, unable to load repositories" should pop up, instead message "unable to load repositories" is thrown to user which doesnot convey anything about invalid proxy connection

Version-Release number of selected component (if applicable):
[root@dhcp35-71 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: Unknown
subscription management rules: Unknown
subscription-manager: 1.18.3-1.el6
python-rhsm: 1.18.4-1.el6


How reproducible:


Steps to Reproduce:
1.Register the system , attach the subscriptions
2.Launch GUI and go to , system ---> repositories , close the repo window
3.system -----> configure proxy ----> with invalid proxy details
4.system ---> repositories 

Actual results:
Dialog pops up with error message "Unable to load repositories"

Expected results:
Dialog  with error message "proxy connection failed ,Unable to load repositories"

Additional info:

Comment 4 Jiri Hnidek 2017-05-31 07:39:53 UTC
Note: this is not specific for RHEL 6. It is present at RHEL 7 too.

Comment 5 Shwetha Kallesh 2017-10-11 07:41:49 UTC
Created attachment 1337028 [details]
Now the error is proxy specific

Preliminary Verification:
[root@hp-dl160g8-1 subscription_manager]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.0.40-1
subscription management rules: 5.24.1
subscription-manager: 1.20.2-1.el7
python-rhsm: 1.20.2-1.el7