Description of problem: rhn-satellite-5-upgrade-scenario-1b.txt 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): satellite 5.2 rhn-upgrade-5.2.0-22.el4 How reproducible: Steps to Reproduce: 1. Install the rhn-upgrade package 2. cat /etc/sysconfig/rhn/satellite-upgrade/rhn-satellite-5-upgrade-scenario-1b.txt 3. Actual results: 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 Expected results: The documentation should clearly state that do step 9 only if you had monitoring enabled pre upgrade. Additional info:
Sending satellite-upgrade/rhn-satellite-5-upgrade-scenario-1b.txt Transmitting file data . Committed revision 181434.
Built rhn-upgrade-5.3.0-5
Verified. Note that the step in question is now Step 13, not 9.
In rhn-upgrade-5.3.0.21-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 /usr/share/spacewalk/setup/upgrade/rhn-enable-monitoring.pl --enable-scout 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. http://rhn.redhat.com/errata/RHEA-2009-1235.html