Bug 1391870 - when RHSM registration or subscription fails, we should provide at least name of the log where to investigate
Summary: when RHSM registration or subscription fails, we should provide at least name...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Installer
Version: 580
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Gennadii Altukhov
QA Contact: Ales Dujicek
URL:
Whiteboard:
Depends On:
Blocks: sat580-low
TreeView+ depends on / blocked
 
Reported: 2016-11-04 09:43 UTC by Jan Hutař
Modified: 2017-06-21 12:14 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-21 12:14:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2016-11-04 09:43:24 UTC
Description of problem:
When RHSM registration or subscription fails, we should provide at least name of the log where to investigate or othervise be more user friendly.

In my case I have provided wrong username in answers.txt and installer failed with just:

  * RHSM Registration.
  There was a problem registering the satellite.  Exit code: 70


Version-Release number of selected component (if applicable):
Compose from Thu Nov  3 11:00:56 EDT 2016


How reproducible:
always


Steps to Reproduce:
1. Run installer from answers.txt with incorrect rhsm username specified there


Actual results:
# /tmp/media.mnt-TucEaz/install.pl --answer-file=.../answers.txt --non-interactive --run-updater
* Starting Red Hat Satellite installer.
* Loading answer file: .../install/answers.txt.
* Performing pre-install checks.
* Pre-install checks complete.  Beginning installation.
* RHSM Registration.
There was a problem registering the satellite.  Exit code: 70


Expected results:
We should point to /var/log/rhsm/rhsm.log or /var/log/rhn/rhn_installation.log if it contains more info


Additional info:
IMO this "user friendliness" might be important because with this some admins might be hitting RHSM space for the first time.

Comment 3 Gennadii Altukhov 2017-02-22 16:05:49 UTC
add the commit to satellite-5-extra-file repo satellite-5.8-rhel-6:
c3a51ac4ae1b4f1f98cfec00733f5f00ce8f4050


Note You need to log in before you can comment on or make changes to this bug.