Description of problem:
When enabling Satellite Managed DB repository fails, there is nothing in the install log
Version-Release number of selected component (if applicable):
Beta candidate: Satellite-5.8-RHEL-6-20170118.0-Satellite-x86_64-dvd1.iso
Steps to Reproduce:
1. # /mnt/tmp/install.pl --managed-db
Make sure Managed DB fails - how? No idea :)
2. # less /var/log/rhn/rhn_installation.log
# /mnt/tmp/install.pl --managed-db
* Starting Red Hat Satellite installer.
* Performing pre-install checks.
* Pre-install checks complete. Beginning installation.
* RHSM Registration.
RHSM Username? <user>
RHSM Password? <pass>
HTTP Proxy Hostname? <squid>
HTTP Proxy Port ? 3128
HTTP Proxy Username?
RHSM Profile Name [sat-mandb.example.com]?
* RHSM Subscriptions.
Successfully attached a subscription for: Red Hat Satellite Employee Subscription
** Subscriptions: Subscription providing 'Red Hat Satellite 5 Managed DB Beta' successfully attached.
** Subscriptions: Subscription providing 'Red Hat Enterprise Linux Server' already attached.
** Subscriptions: Disabling all RHSM repositories (rhel-ha-for-rhel-6-server-rpms, rhel-lb-for-rhel-6-server-rpms, rhel-6-server-rpms).
** Subscriptions: All repositories disabled.
** Subscriptions: Enabling RHEL repository.
** Subscriptions: RHEL repository enabled.
** Subscriptions: Enabling Managed DB repository.
** Subscriptions: Enabling Satellite Managed DB repository failed. Stopping installation.
# cat /var/log/rhn/rhn_installation.log
Installation log of Red Hat Satellite
Command: /mnt/tmp/install.pl --managed-db
The system has been registered with ID: 7d0e68d2-d507-4f21-84e3-4d1f9b8d3c97
There should be some error message logged in install log which would give me some clues on what was wrong.
The error should be logged in /var/log/rhsm/rhsm.log because we use subscription-manager to enable repos. But there is nothing about the error. Create BZ for subscription-manager 1426685
This is Satellite only bug and not affected upstream.
*** This bug has been marked as a duplicate of bug 1391874 ***
Reopening - this BZ is the one that has the fix-information in it, so I'm going to keep this one ON_QA and close 1391874 as the dup instead.
*** Bug 1391874 has been marked as a duplicate of this bug. ***