Bug 1304680

Summary: When network is down, "auto-attach" button could say more detailed message
Product: Red Hat Enterprise Linux 6 Reporter: Jan Stavel <jstavel>
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED CURRENTRELEASE QA Contact: John Sefler <jsefler>
Severity: low Docs Contact:
Priority: low    
Version: 6.8CC: bcourt, skallesh, wpoteat
Target Milestone: rcKeywords: Reopened, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: subscription-manager-1.17.3-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-14 20:08:37 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
Error message none

Description Jan Stavel 2016-02-04 10:46:39 UTC
Created attachment 1121077 [details]
Error message

Description of problem:

When network is done, "auto-attach" button says 
  "Error subscribing".

Other button ("All available subscriptions" -> "Load") says 
  "Network problem, unable to connect to server, ...".

More specific message similar the above one could be helpfull.


Version-Release number of selected component (if applicable):
: Red Hat Enterprise Linux Client release 6.7 (Santiago)
: 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-1.el6
: python-rhsm                      1.16.6-1.el6


How reproducible:


Steps to Reproduce:
1. I register a system with success. 
2. I set wrong server.hostname.
   sed -i 's/^hostname[ \t]*=[ \t].*$/hostname = some.wrong/' /etc/rhsm/rhsm.conf;
3. I run subscription-manager-gui

When I click on "Auto-attach" button.
then I see message "Error subscribing"
 

Actual results:

I see message "Error subscribing".

Expected results:

The message is not wrong. But could be more detailed.
Similar to message that gives button "Load":
"Network error, unable to connect server, please see ...".

Additional info:

Comment 1 William Poteat 2016-03-02 16:06:52 UTC
master commit 4192f5f277a64b2b1f482d0549b04c1295a7e9c3

Comment 2 Mike McCune 2016-03-28 23:46:11 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 4 Jan Kurik 2017-12-06 12:10:42 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/