Bug 1166366

Summary: "./install.pl --upgrade" produces "Single parameter system_debug [/usr/bin/spacewalk-upgrade-postgresql] not supported."
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: UpgradesAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hutař <jhutar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 570   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-setup-postgresql-2.3.0-11-sat Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-13 10:26:30 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-11-20 22:19:26 UTC
Description of problem:
"./install.pl --upgrade --run-updater" produces "Single parameter system_debug [/usr/bin/spacewalk-upgrade-postgresql] not supported."


Version-Release number of selected component (if applicable):
Running on updated Satellite 5.6.0
Running from Satellite-5.7.0-RHEL6-re20141119.0-x86_64
Running with rhn-upgrade-5.7.0.5-1.el6sat.noarch


How reproducible:
1 of 1 attempts


Steps to Reproduce:
1. Mount 5.7.0 ISO and run `./install.pl --upgrade --run-updater`


Actual results:
# ./install.pl --upgrade --run-updater
* Starting Red Hat Satellite installer.
* Performing pre-install checks.
* Pre-install checks complete.  Beginning installation.
* RHN Registration.
** Registration: System is already registered with RHN.  Not re-registering.
* Upgrade flag passed.  Stopping necessary services.
* Purging conflicting packages.
* Checking for uninstalled prerequisites.
There are some packages from Red Hat Enterprise Linux that are not part
of the @base group that Satellite will require to be installed on this
system. The installer will try resolve the dependencies automatically.
* Installing RHN packages.
* Now running spacewalk-setup.
* Setting up SELinux..
** Database: Setting up database connection for PostgreSQL backend.
*** Upgrading embedded database.
Single parameter system_debug [/usr/bin/spacewalk-upgrade-postgresql] not supported.


Expected results:
Should work


Additional info:
Note that when I have manually ran /usr/bin/spacewalk-upgrade-postgresql, I got (after installing Satellite/postgresql92-postgresql-upgrade-9.2.8-2.el6.x86_64.rpm manually):


# /usr/bin/spacewalk-upgrade-postgresql
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
file://$YUM0/Satellite/repodata/repomd.xml: [Errno 14] Could not open/read file://$YUM0/Satellite/repodata/repomd.xml
Trying other mirror.
Package postgresql92-postgresql-upgrade-9.2.8-2.el6.x86_64 already installed and latest version
Nothing to do
Stopping postgresql service: [  OK  ]
Performing Consistency Checks
-----------------------------
Checking current, bin, and data directories                 
check for "/opt/rh/postgresql92/root/var/lib/pgsql/data/base" failed: No such file or directory

Failure, exiting


But that might be different issue or misuse of the utility.

Comment 7 Clifford Perry 2015-01-13 10:26:30 UTC
With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is
being moved to a Closed Current Release state. 

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

NOTE: This bug has not been re-verified (moved to RELEASE_PENDING) prior to release. We assume that the bug has indeed been fixed and not regressed since we initially verified it. Please re-open in the future if needed.