Bug 1290142
Summary: | Broken 7.2.0 to 7.2.z upgrade - flawed version comparison | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Martin Bašti <mbasti> | |
Component: | ipa | Assignee: | IPA Maintainers <ipa-maint> | |
Status: | CLOSED ERRATA | QA Contact: | Namita Soman <nsoman> | |
Severity: | urgent | Docs Contact: | Marc Muehlfeld <mmuehlfe> | |
Priority: | urgent | |||
Version: | 7.2 | CC: | ekeck, enewland, gparente, ilmostro7, jcholast, jstephen, ksiddiqu, mbasti, mkosek, ndehadra, orion, puiterwijk, pvoborni, rcritten, sgadekar | |
Target Milestone: | rc | Keywords: | ZStream | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | ipa-4.2.0-16.el7 | Doc Type: | Bug Fix | |
Doc Text: |
The IdM upgrade script now runs successfully
Previously, the Identity Management (IdM) server upgrade script failed to detect a version change. As a consequence, upgrading an IdM server failed. This bug has been fixed and the upgrade now succeeds.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1298100 (view as bug list) | Environment: | ||
Last Closed: | 2016-11-04 05:42:28 UTC | Type: | --- | |
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: | 1298100 |
Description
Martin Bašti
2015-12-09 18:03:56 UTC
The bug manifests in 7.2.0 (ipa-4.2.0-15.el7) to 7.2.z (4.2.0-15.el7_2.3) upgrade. The upgrade does not happen as the version check is flawed and does not detect 7.2.z version as the new one. The workaround is to run # ipa-server-upgrade --skip-version-check after the RPM upgrade and start the service again. *** Bug 1290346 has been marked as a duplicate of this bug. *** Yup...sucks big time Scriptlet output: 1 Could not load host key: /etc/ssh/ssh_host_dsa_key 2 warning: file /lib/modules/3.10.0-229.14.1.el7.x86_64/modules.softdep: remove failed: No such file or directory 3 warning: file /lib/modules/3.10.0-229.14.1.el7.x86_64/modules.devname: remove failed: No such file or directory 4 IPA server upgrade failed: Inspect /var/log/ipaupgrade.log and run command ipa-server-upgrade manually. 5 ("Unable to execute IPA upgrade: data are in newer version than IPA (data version '4.2.0-15.el7', IPA version '4.2.0-15.el7_2.3')", 1) Not sure why the naming format; perhaps specfile got botched? Maybe it should be version 4.2.3.el7 instead of 4.2.0-15.el7_2.3? (In reply to ilmostro7 from comment #8) > Not sure why the naming format; perhaps specfile got botched? Maybe it > should be version 4.2.3.el7 instead of 4.2.0-15.el7_2.3? This is bug in checking version method, 4.2.0-15.el7_2.3 version is okay. Fixed upstream master: https://fedorahosted.org/freeipa/changeset/91913c5ba7c380fe6456e1c3e35fcbfbecef5ff1 ipa-4-3: https://fedorahosted.org/freeipa/changeset/a249de3b00f20956214a6ee0c1d614b972826637 ipa-4-2: https://fedorahosted.org/freeipa/changeset/dccdade484698d5ef553f03ce6aab5d9db7a7cf0 the upstream patch causes https://fedorahosted.org/freeipa/ticket/5572 Different approach needs to be used. Upstream ticket: https://fedorahosted.org/freeipa/ticket/5572 Ticket 5572 fixed upstream: master: https://fedorahosted.org/freeipa/changeset/7cd99e852053710c64dcb66cd5b15fc8ed4da5de ipa-4-2: https://fedorahosted.org/freeipa/changeset/be9af721536b7c05e2ba5ffd7d72cc3727d64ff5 ipa-4-3: https://fedorahosted.org/freeipa/changeset/6b6a11fda76e70d390d5c55f3aaeba8f455458c0 IPA server version: ipa-server-4.4.0-3.el7.x86_64 Verified the bug on the basis of following steps: 1. Verified that no error message is observed during upgrade of IPA server. 2. Verified the bug for upgrade paths: a) 7.2(GA) to 7.3 b) 7.2.z to 7.3 (In my case upgrade from 7.2up6) Thus on the basis of above observations marking the status of bug to "VERIFIED". Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2404.html |