Bug 1328602

Summary: IPA upgrade fails for upgrade path 7.1.z to 7.2up4.
Product: Red Hat Enterprise Linux 7 Reporter: Nikhil Dehadrai <ndehadra>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED DUPLICATE QA Contact: Kaleem <ksiddiqu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: cheimes, edewata, ftweedal, pasik, pvoborni, rcritten
Target Milestone: rcKeywords: Regression, TestBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 10:14:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Console output ipa update 7.1.z to 7.2up4
none
ipaupgrade.log none

Description Nikhil Dehadrai 2016-04-19 20:01:26 UTC
Created attachment 1148730 [details]
Console output ipa update 7.1.z to 7.2up4

Description of problem:
IPA upgrade fails for upgrade path 7.1.z to 7.2up4.

Version-Release number of selected component (if applicable):
ipa-server-4.2.0-15.el7_2.15.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Setup IPA server at 7.1.z version (ipa-server-4.1.0-18.el7_1.4.x86_64)
2. Setup 7.2 up4 repo links on this server.  
3. Now update the ipa server using command "yum -y update ipa*"

Actual results:
After step3, Following error message is observed on the console:

IPA server upgrade failed: Inspect /var/log/ipaupgrade.log and run command ipa-server-upgrade manually.
Unexpected error - see /var/log/ipaupgrade.log for details:
RemoteRetrieveError: Gettext('Failed to authenticate to CA REST API', domain='ipa', localedir=None)

(Refer attachment)

Expected results:
No error message should be observed during IPA server upgrade and update should be successful.

Additional info:
1. Noticed same behavior for upgrade path from 7.1(GA) to 7.2up4
2. Also this issue was not observed for upgrade path from 7.1(GA) to 7.2 up3.

Comment 3 Nikhil Dehadrai 2016-04-20 07:45:30 UTC
Created attachment 1148883 [details]
ipaupgrade.log

Please find the attached ipaupgrade.log

Comment 8 Christian Heimes 2016-04-20 09:25:58 UTC
I take everything back. The problem *is* caused by BZ #1328522. pki-server-upgrade fails to upgrade Dogtag's configuration and Dogtag won't start anymore. The ClassNotFoundException is another symptom of #1328522 which I was't familiar before.

Comment 9 Petr Vobornik 2016-04-20 10:14:32 UTC
Closing this as a duplicate of bug 1328522 based on comment 8.

*** This bug has been marked as a duplicate of bug 1328522 ***