Bug 1436338

Summary: CLI doesn't work after ipa-restore
Product: Red Hat Enterprise Linux 7 Reporter: Petr Vobornik <pvoborni>
Component: ipaAssignee: Pavel Picka <ppicka>
Status: CLOSED ERRATA QA Contact: Pavel Picka <ppicka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: nsoman, ppicka, pvoborni, rcritten, tkrizek, tscherf
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.5.0-3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 09:46:16 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:
Attachments:
Description Flags
output none

Description Petr Vobornik 2017-03-27 16:59:27 UTC
Cloned from upstream: https://pagure.io/freeipa/issue/6748

Steps to reproduce:

* ipa-backup
* ipa-server-install --uninstall
* ipa-restore
* kinit admin
* ipa ping

```text
[root@vm-058-129 ~]# ipa ping
ipa: ERROR: No valid Negotiate header in server response
```
httpd error log:
```text
[Thu Mar 09 18:43:50.024163 2017] [auth_gssapi:error] [pid 77550] [client 2620:52:0:224e:21a:4aff:fe23:1211:42306] gss_acquire_cred[_from]() failed to get server creds: [Unspecified GSS failure.  Minor code may provide more information ( SPNEGO cannot find mechanisms to negotiate)], referer: https://vm-058-129.abc.idm.lab.eng.brq.redhat.com/ipa/xml
```

Comment 2 Petr Vobornik 2017-03-27 16:59:41 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/6748

Comment 3 Petr Vobornik 2017-03-27 17:00:50 UTC
master (maybe in rebase):
    ee6d031a6a0939c1f51a874b1f8f9b19ec727203 Backup KDC certificate pair

master:
    2612c092dd797c9c8f772c785aae1f152f06847d Backup ipa-specific httpd unit-file

ipa-4-5:
    59342a7f6fffe2aaf0b8ce4e10bb41444d8fa25f Backup ipa-specific httpd unit-file


Not setting POST, Web UI still doesn't work after restore.

Comment 6 Pavel Picka 2017-06-06 10:55:38 UTC
Created attachment 1285339 [details]
output

Verified on ipa-server-4.5.0-14.el7.x86_64

Comment 7 errata-xmlrpc 2017-08-01 09:46:16 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://access.redhat.com/errata/RHBA-2017:2304