After successful Satellite 5 upgrade, spacewalk-schema-upgrade fails with "Your database schema already matches the schema package version"
Issue
Tried to upgrade from Satellite 5.x to higher version of Satellite 5.x and received message that upgrade completed successfully:
# ./install.pl --upgrade
* 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.
** Checking if yum is available ...
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.
However, you may want to install these prerequisites manually.
Do you want the installer to resolve dependencies [y/N]? y
* Installing RHN packages.
Warning: yum did not install the following packages:
OpenIPMI
OpenIPMI-libs
ipmitool
lm_sensors-libs
net-snmp-libs
perl-Digest-SHA
* Now running spacewalk-setup.
* Setting up Selinux..
** Database: Setting up database connection for PostgreSQL backend.
** Database: Embedded database installation SKIPPED.
** Database: Populating database.
** Database: Skipping database population.
* Setting up users and groups.
** GPG: Initializing GPG and importing key.
* Performing initial configuration.
* Activating Red Hat Satellite.
** Certificate not activated.
** Upgrade process requires the certificate to be activated after the schema is upgraded.
* Enabling Monitoring.
* Configuring apache SSL virtual host.
Should setup configure apache's default ssl server for you (saves original ssl.conf) [Y]? y
* Configuring tomcat.
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file web.xml.rej
* Configuring jabberd.
Error opening /etc/jabberd/c2s.xml: No such file or directory
* Creating SSL certificates.
** Skipping SSL certificate generation.
* Deploying configuration files.
* Update configuration in database.
* Setting up Cobbler..
cobblerd does not appear to be running/accessible
Cobbler requires tftp and xinetd services be turned on for PXE provisioning functionality. Enable these services [Y]? No
This portion of the Red Hat Satellite upgrade process has successfully completed.
Please refer to appropriate upgrade document in /etc/sysconfig/rhn/satellite-upgrade
for any remaining steps in the process.
However when running # spacewalk-schema-upgrade after the installation script, we see the following error:
# spacewalk-schema-upgrade
You are about to perform upgrade of your satellite-schema.
For general instructions on Red Hat Satellite schema upgrade, please consult
the following article:
https://access.redhat.com/knowledge/articles/273633
Hit Enter to continue or Ctrl+C to interrupt:
Schema upgrade: [satellite-schema-5.6.0.36-1.el6sat] -> [satellite-schema-5.6.0.36-1.el6sat]
Your database schema already matches the schema package version [satellite-schema-5.6.0.36-1.el6sat].
Environment
Red Hat Satellite 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
