Migrating to Koji 1.22¶
You should consider the following changes when migrating to 1.22:
There are two minor schema changes in this release.
we’ve updated all
timestamptzwith the return value of
get_event_time()function to avoid unexpected time offset caused by PostgreSQL timezone setting (PR#2237).
we’ve updated the
sessions_active_and_recentindex for the
sessiontable for better performance (PR#2334)
As in previous releases, we provide a migration script that updates the database.
# psql koji koji < /usr/share/doc/koji/docs/schema-upgrade-1.21-1.22.sql
Dropped python2 support of hub and web¶
Dropped krbV authentication support¶
We have dropped all the code related to the old python-krbV library, and are now only
providing GSSAPI auth.
krb_login() is redirected to
gssapi_login() with a printed warning.
Any code still calling
krb_login() directly should be updated.
The newer gssapi authentication mechanism requires either
As part of this, the
krb_rdns options have been dropped.
These options were accepted in several configuration files and also as command
line options (
--krb-rdns) in the cli and some utility
In the Web UI configuration (
web.conf), these options were named
Users and admins should remove these options from their configuration.
These options will cause an error if given on the command line. They will also cause an error if used in the following configuration files:
There are numerous other changes in 1.22 that should not have a direct impact on migration. For details see: Koji 1.22.0 Release notes