Bug 1257968

Summary: kinit stop working after ipa-restore
Product: Red Hat Enterprise Linux 7 Reporter: Martin Bašti <mbasti>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED ERRATA QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: akasurde, drieden, ksiddiqu, mkosek, pvoborni, rcritten
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.2.0-9.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 12:06:08 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
iparestore.log none

Description Martin Bašti 2015-08-28 14:07:50 UTC
Description of problem:
Unable to kinit on restored IPA server. (cannot login into webUI using login form too)

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


How reproducible:
always

Steps to Reproduce:
1. yum install ipa-server ipa-server-dns
2. create snapshot
3. ipa-server-install --setup-dns
4. ipa-backup
5. revert snapshot
6. ipa-restore
7. ipactl start --force
8. kinit admin

Actual results:
# kinit admin
kinit: Resource temporarily unavailable while getting initial credentials


Expected results:
Receive krb ticket

Additional info:
There are more failures, but they may be caused by this issue.
named-pkcs11 failed to start
pki-tomcatd failed to start

Comment 3 Martin Bašti 2015-08-28 14:30:17 UTC
/etc/hosts has not been restored on my machine, so kinit cannot resolve IP address without running nameserver (named require krb ticket to run).

I will investigate why this has not been restored.

Comment 4 Martin Bašti 2015-08-28 14:43:10 UTC
Issue is the /etc/hosts it not configured to be backed up by ipa-backup.

Comment 5 Petr Vobornik 2015-08-31 16:20:41 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/5275

Comment 10 Abhijeet Kasurde 2015-10-13 07:50:10 UTC
Verified.

IPA server version ::
ipa-server-4.2.0-13.el7.x86_64

Comment 11 Abhijeet Kasurde 2015-10-13 09:34:37 UTC
Created attachment 1082313 [details]
iparestore.log

Comment 12 errata-xmlrpc 2015-11-19 12:06:08 UTC
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-2015-2362.html