Red Hat Bugzilla – Bug 468239
Satellite Upgrade documentation needs to be updated on step 9 (rhn-satellite-5-upgrade-scenario-1b.txt)
Last modified: 2009-08-27 13:37:40 EDT
Description of problem:
9. Enable (or re-enable) monitoring and/or push functionality:
Should be changed to say If you had monitoring enabled before the the upgrade, do step 9 or else continue
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install the rhn-upgrade package
2. cat /etc/sysconfig/rhn/satellite-upgrade/rhn-satellite-5-upgrade-scenario-1b.txt
Running /usr/bin/perl rhn-enable-monitoring.pl --enable-scout fails on upgrade from 5.1 which did not have monitoring enabled.
[root@fjs-0-20 satellite-upgrade]# /usr/bin/perl rhn-enable-monitoring.pl --enable-scout
Setting up Monitoring backend
2008-10-23 13:27:52 Monitoring: Debug level = 0
2008-10-23 13:27:52 Monitoring: Switches: install
2008-10-23 13:27:52 Monitoring: Installing Monitoring for SysV startup in runlevels 2,3,5, start=84, stop=16
RHN::Exception: Attempt to get satellite_org_id on database with more than one org
RHN::DB::SatInstall /usr/lib/perl5/site_perl/5.8.5/RHN/DB/SatInstall.pm 373 RHN::Exception::throw
main rhn-enable-monitoring.pl 57 RHN::DB::SatInstall::get_satellite_org_id
The documentation should clearly state that do step 9 only if you had monitoring enabled pre upgrade.
Transmitting file data .
Committed revision 181434.
Note that the step in question is now Step 13, not 9.
In rhn-upgrade-220.127.116.11-1.el5sat.noarch.rpm, the rhn-satellite-5-upgrade-scenario-1b.txt says
12. Enable (or re-enable) monitoring and/or push functionality:
If you would like to enable monitoring:
# NOTE: You should attempt to enable monitoring only if your satellite
# installation you are upgrading from had monitoring enabled.
# NOTE: the --enable-scout option will enable the monitoring scout on
# your RHN Satellite
Note that the step in question is now Step 12, not 9, neither 13.
Marking as RELEASE_PENDING.
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.