Bug 1173837

Summary: ./install.pl --upgrade: it is not clear if I should use "--external-postgresql" when upgrading Satellite with external PostgreSQL
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: UpgradesAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED CURRENTRELEASE QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 570CC: lhellebr, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhn-upgrade-5.7.0.21-1-sat Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-20 11:18:17 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: 1128174    

Description Jan Hutař 2014-12-13 12:52:59 UTC
Description of problem:
When I was upgrading 5.6.0 @ RHEL6 with external PostgreSQL to 5.7.0 @ RHEL6 with external PostgreSQL (no OS upgrade, no DB upgrade, using satellite-upgrade-postgresql.txt). In first step with `./install.pl --upgrade` it is not clear if I should use "--external-postgresql" option as well.


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


How reproducible:
always


Steps to Reproduce:
1. Check satellite-upgrade-postgresql.txt, step 1 with eyes of customer
   doing in-place upgrade of Satellite with external PostgreSQL 


Actual results:
1. Mount the Red Hat Satellite ISO and make sure the mounted ISO matches
the operating system and architecture of the server you are installing it on.

Perform the command-line portion of the Red Hat Satellite 5.7 upgrade. Run
the install.pl command located in the root of the ISO.

    ./install.pl --upgrade

For managed and external PostgreSQL database, add the following switch:

    --external-postgresql

For disconnected Satellites, add the following switch:

    --disconnected


Expected results:
Maybe change "For managed and external PostgreSQL database, add the following switch:" to something like "If you are migrating your database to managed or external PostgreSQL option, add the following switch:"

Comment 3 Lukáš Hellebrandt 2014-12-18 12:34:53 UTC
FailedQA

1) The /etc/sysconfig/rhn/satellite-upgrade/doc/satellite-upgrade-postgresql.txt file didn't change at all

2) The /etc/sysconfig/rhn/satellite-upgrade/doc/satellite-and-os-upgrade-postgresql.txt file doesn't really make sense to me. The fix seems partly unrelated to the bug and partly it added the good formulation, but failed to remove the bad one:

"For managed and external PostgreSQL database, add the following switch:

    --external-postgresql

For disconnected Satellites, add the following switch:

    --disconnected

For Satellites with external PostgreSQL database, add the following switch:

    --external-postgresql"

Comment 4 Tomas Lestach 2014-12-18 14:28:07 UTC
The 2nd part should be covered by Bug 1175609.

Comment 7 Clifford Perry 2015-01-13 11:06:47 UTC
NOTE: With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug /
feature is resolved. This bug was not verified (moved to RELEASE_PENDING)
prior to release. As such, over the next week or so we plan to confirm the
valiation that this was indeed fixed as part of the release and then move to
Closed Current Release. 

The Satellite 5.7 GA Errata:
 - https://rhn.redhat.com/errata/RHSA-2015-0033.html 

Satellite 5.7 Release Notes:
 -
https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html

Satellite Customer Portal Blog announcement for release:
 - https://access.redhat.com/blogs/1169563/posts/1315743 

Cliff