Description of problem:
We recently migrated (rebuilt) the OS from 5.8 to 6.2, and when connecting the new install to the database the login page gives the warning:
"A schema upgrade is required. Please upgrade your schema at your earliest convenience to receive latest bugfixes and avoid potential problems."
The previous OS had spacewalk fully up to date so during the migration there was no need to upgrade the schema for spacewalk.
However when I run spacewalk-schema-upgrade this is the output:
"Schema upgrade: [spacewalk-schema-1.7.55-1.el5] -> [spacewalk-schema-1.7.55-1.el6]
Your database schema already matches the schema package version [spacewalk-schema-1.7.55-1]."
Version-Release number of selected component (if applicable):
OS with all updates + Spacewalk 1.7
Steps to Reproduce:
1. Install on EL5 based release
2. Migrate to EL6 based release
3. Browse to login page
Error message is displayed, and schema upgrade says already up to date.
No error message, or schema upgrade changes schema version from el5 to el6
I suspect that this problem might fix itself once there is another update to spacewalk that changes the schema.
We have been running like this for a little while now and I haven't found any issues that could be related to DB schema issues, so I assume the el5/el6 label shouldn't actually have any affect on the system.
Please apply the following patch from
to /usr/bin/spacewalk-schema-upgrade and then rerun the spacewalk-schema-upgrade command while Spacewalk services are stopped.
That will bring the schema version as recorded in the database in sync with the installed rpms and the warning message will go away.
Fixed in Spacewalk master, 4835b74a230bb49641b0e46e723c64f415ce2a2d.
Thanks! That did the trick.
Moving ON_QA. Packages that address this bugzilla should now be available in yum repos at http://yum.spacewalkproject.org/nightly/
Spacewalk 1.8 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes18