freeipa/ipaplatform/base
Rob Crittenden d7aa7945e8 Run server upgrade in ipactl start/restart
During a distro upgrade, e.g. F-26 to F-27, networking may not
be available which will cause the upgrade to fail. Despite this
the IPA service can be subsequently restarted running new code
with old data.

This patch relies on the existing version-check cdoe to determine
when/if an upgrade is required and will do so during an ipactl
start or restart.

The upgrade is now run implicitly in the spec file and will
cause the server to be stopped after the package is installed
if the upgrade fails.

Fixes: https://pagure.io/freeipa/issue/6968

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
2017-12-12 12:08:35 +01:00
..
__init__.py ipaplatform: Create separate module for platform files 2014-06-16 19:48:17 +02:00
constants.py Support sqlite NSSDB 2017-11-16 12:17:01 +01:00
paths.py Run server upgrade in ipactl start/restart 2017-12-12 12:08:35 +01:00
services.py Use namespace-aware meta importer for ipaplatform 2017-11-15 14:17:24 +01:00
tasks.py Use namespace-aware meta importer for ipaplatform 2017-11-15 14:17:24 +01:00