Bug 1402430

Summary: update rhn-upgrade documentation due to 5.8 changes
Product: Red Hat Satellite 5 Reporter: Ales Dujicek <adujicek>
Component: UpgradesAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED CURRENTRELEASE QA Contact: Patrik Segedy <psegedy>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 580CC: dyordano, ggainey, jdobes, lhellebr, mmraka, psegedy, pstudeni, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhn-upgrade-5.8.0.8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-21 12:18:40 UTC Type: Bug
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: 1393921, 1400201    

Description Ales Dujicek 2016-12-07 14:37:37 UTC
Description of problem:

in 5.8 activation was changed
from rhn-satellite-activate --rhn-cert 
to ... --manifest

Version-Release number of selected component (if applicable):
rhn-upgrade-5.8.0.2-1.el6sat.noarch

How reproducible:
always

Steps to Reproduce:
1. yum install rhn-upgrade
2. grep -A3 -r rhn-satellite-activate /etc/sysconfig/rhn/satellite-upgrade/


Actual results:
docs include
--rhn-cert <ABSOLUTE PATH TO *NEW* SATELLITE CERT> 

Expected results:
rhn-satellite-activate --manifest

Comment 1 Ales Dujicek 2016-12-13 09:19:52 UTC
And there are still re-enable monitoring steps in upgrade docs

# grep monitoring /etc/sysconfig/rhn/satellite-upgrade/ -r -i
/etc/sysconfig/rhn/satellite-upgrade/doc/satellite-upgrade-oracle.txt: 6. Enable (or re-enable) monitoring (and monitoring scout).
/etc/sysconfig/rhn/satellite-upgrade/doc/satellite-upgrade-oracle.txt:6. Enable (or re-enable) monitoring (and monitoring scout):
/etc/sysconfig/rhn/satellite-upgrade/doc/satellite-upgrade-oracle.txt:If you wish to enable (or re-enable) monitoring without enabling monitoring
...

Comment 3 Ales Dujicek 2016-12-19 09:52:09 UTC
more Monitoring related instructions..

> doc/preparations.txt:

If you are upgrading both Red Hat Satellite and the underlying operating system,
it is required to backup SSH private and public key pair of nocpulse user

SSH keys can be found in ~nocpulse/.ssh
and are named as

    ~nocpulse/.ssh/nocpulse-identity
    ~nocpulse/.ssh/nocpulse-identity.pub


> doc/verification.txt

2. Monitoring.

Login and Push Scout Configs for probes to continue to work:
- Login to the Satellite Web site
- Click "Monitoring"
- Click "Scout Config Push" on left side menu bar
- Select all configured scouts
- Click "Push Scout Configs"

Comment 6 Ales Dujicek 2016-12-21 13:39:16 UTC
references to old postgres version

# grep sql92 -r
doc/managed-db-and-os-upgrade.txt:postgresql92-postgresql-upgrade located on the Satellite 5.8 beta ISO and its
doc/managed-db-and-os-upgrade.txt:    service postgresql92-postgresql status
doc/managed-db-installation.txt:    service postgresql92-postgresql status
doc/preparations.txt:    /opt/rh/postgresql92/root/var/lib/pgsql
doc/satellite-and-os-upgrade-postgresql.txt:postgresql92-postgresql-upgrade located on the Satellite 5.8 beta ISO and its dependencies).

Comment 7 Ales Dujicek 2017-01-02 14:38:56 UTC
there is satellite-sync --list-channels in doc/verification.txt
should be cdn-sync

Comment 8 Tomáš Kašpárek 2017-01-03 09:07:50 UTC
Add steps how to get report of Solaris systems before proceeding with upgrade.

Comment 11 Tomáš Kašpárek 2017-01-05 12:09:11 UTC
*** Bug 1409765 has been marked as a duplicate of this bug. ***

Comment 14 Patrik Segedy 2017-01-23 12:58:07 UTC
Steps to verify with rhn-upgrade-5.8.0.9-1.el6sat.noarch:
1. grep -A3 -r rhn-satellite-activate /etc/sysconfig/rhn/satellite-upgrade/
   - docs include --manifest
2. grep monitoring /etc/sysconfig/rhn/satellite-upgrade/ -r -i
   - output is empty
3. Monitoring related instructions in doc/preparations.txt and doc/verification.txt are deleted
4. In doc/verification.txt is now:
   3. cdn-sync / satellite-sync

   If connected, make sure live synchronization is working:

       cdn-sync --list-channels

   If disconnected and have channel dump iso available:

       satellite-sync -m <CHANNEL ISOs DUMPPOINT> --list-channels
5. # grep sql92 -r
   doc/preparations.txt:    df -h /opt/rh/postgresql92/root/var/lib/pgsql
   - this is OK. It's how to get rough estimate about size needed when upgrading Satellite 5.7
6. There are added steps how to get report of Solaris systems in doc/preparations.txt 

VERIFIED