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 668814

Summary: firstboot and subscription-manager display "network error" on server 500
Product: Red Hat Enterprise Linux 6 Reporter: Chris Duryee <cduryee>
Component: subscription-managerAssignee: Chris Duryee <cduryee>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: low Docs Contact:
Priority: low    
Version: 6.1CC: jmolet
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 13:38:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 639436    

Description Chris Duryee 2011-01-11 17:22:16 UTC
Description of problem:

During firstboot, if there is a server-side issue with subscriptions.rhn.redhat.com, the user will be presented with a "network error" message. This can lead to the user digging through network issues on their end, when in reality their only recourse is to simply wait for the issue to be fixed.


Version-Release number of selected component (if applicable):

python-rhsm-0.94.12-1.el6.noarch
subscription-manager-0.93.10-1.el6.x86_64

How reproducible:

every time


Steps to Reproduce:
1. induce a 500 error (either take down QA candlepin for a minute, or alter rhsm.conf to point to a page with a 500 error)
2. run subscription-manager or firstboot, click through as normal using any user

  
Actual results:

user gets a "network error" message

Expected results:

user gets a message saying "We are unable to process your request at this time. Please try again later" (or something to that effect).


Additional info:

There probably just needs to be a new exception put into client/python-rhsm/src/rhsm/connection.py, alongside NetworkException, and then appropriate handlers in the higher-level app code.

Comment 4 J.C. Molet 2011-01-20 16:58:34 UTC
Introducing an apache error causes a "RemoteServerException" now instead of the generic NetworkException.

Tested by changing the prefix in the rhsm.conf to a bogus value.

tested working in:
python-rhsm-0.94.15-1.git.0.b738ea1.el6.noarch
subscription-manager-0.93.13-1.git.4.769efa1.el6.x86_64
subscription-manager-firstboot-0.93.13-1.git.4.769efa1.el6.x86_64
subscription-manager-gnome-0.93.13-1.git.4.769efa1.el6.x86_64

Comment 5 errata-xmlrpc 2011-05-19 13:38:48 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0611.html