Bug 1491419

Summary: Upgrade F27->F28 failed
Product: [Fedora] Fedora Reporter: Robbie Harwood <rharwood>
Component: freeipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: abokovoy, ipa-maint, jcholast, jhrozek, kengert, mkosek, pvoborni, rcritten, rharwood, ssorce, tkrizek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-06 16:55:16 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:
Embargoed:
Attachments:
Description Flags
/var/log/ipaupgrade.log none

Description Robbie Harwood 2017-09-13 18:15:25 UTC
Created attachment 1325562 [details]
/var/log/ipaupgrade.log

During upgrade:

Running scriptlet: freeipa-server-4.6.0-2.fc28.x86_64                 757/757 
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:
CalledProcessError: Command '/bin/systemctl start httpd.service' returned non-zero exit status 1.
The ipa-server-upgrade command failed. See /var/log/ipaupgrade.log for more information

It looks like this is because dirsrv is stopped.

Attached please find /var/log/ipaupgrade.log.

Comment 1 Petr Vobornik 2017-09-18 11:20:41 UTC
Robbie, do you have /var/log/httpd/error_log at hand to see what was the failure in httpd?

Comment 2 Robbie Harwood 2017-09-18 15:58:43 UTC
Not anymore, sorry.  I believe I tried it one more time and the failure was deterministic.

Comment 3 Rob Crittenden 2018-01-12 15:38:11 UTC
I imagine this is related to NSS switching from dbm to sqlite in rawhide (F28).

Comment 4 Rob Crittenden 2018-01-29 12:38:48 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/7354

Comment 5 Rob Crittenden 2018-01-29 12:39:50 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/7353

Upstream ticket:
https://pagure.io/freeipa/issue/7049

Comment 6 Kai Engert (:kaie) (inactive account) 2018-02-01 15:02:08 UTC
Robbie, I think we'd need you to repeat the failure, and provide the additional error logs.
In addition, if you could produce a VM for inspection, that would be helpful, too.

Comment 7 Robbie Harwood 2018-02-06 16:55:16 UTC
Yeah I definitely don't have time to do that.