Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup CA cert from kerberos folder #656

Closed
wants to merge 1 commit into from
Closed

Conversation

stlaz
Copy link
Contributor

@stlaz stlaz commented Mar 27, 2017

I have no idea how I missed this file in previous backup fixing attempts.

https://pagure.io/freeipa/issue/6748

@MartinBasti MartinBasti self-assigned this Mar 27, 2017
@MartinBasti
Copy link
Contributor

ACK, however webUI is still not working after restore

@MartinBasti MartinBasti added the ack Pull Request approved, can be merged label Mar 27, 2017
@MartinBasti
Copy link
Contributor

 mod_wsgi (pid=4398): Exception occurred processing WSGI script '/usr/share/ipa/wsgi.py'.
 Traceback (most recent call last):
   File "/usr/share/ipa/wsgi.py", line 51, in application
     return api.Backend.wsgi_dispatch(environ, start_response)
   File "/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 262, in __call__
     return self.route(environ, start_response)
   File "/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 274, in route
     return app(environ, start_response)
   File "/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 913, in __call__
     self.kinit(user_principal, password, ipa_ccache_name)
   File "/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 947, in kinit
     kinit_armor(armor_path)
   File "/usr/lib/python2.7/site-packages/ipalib/install/kinit.py", line 125, in kinit_armor
     run(args, env=env, raiseonerr=True, capture_error=True)
   File "/usr/lib/python2.7/site-packages/ipapython/ipautil.py", line 495, in run
     raise CalledProcessError(p.returncode, arg_string, str(output))
 CalledProcessError: Command '/usr/bin/kinit -n -c /var/run/ipa/ccaches/armor_4398' returned non-zero exit status 1

@stlaz
Copy link
Contributor Author

stlaz commented Mar 28, 2017

That's weird, I think it worked for me, I will check once more.

@stlaz
Copy link
Contributor Author

stlaz commented Mar 28, 2017

Yes, it indeed works for me.

@MartinBasti
Copy link
Contributor

I tried with DL0:

  • it may be different bug with DL0
  • backup/restore is broken only with DL0

@stlaz
Copy link
Contributor Author

stlaz commented Mar 28, 2017

This seems like a pkinit-related issue, since pkinit is not finished (although released) and should be only avaialable on domain levels > 0, I don't think this should stop us from pushing this, I will investigate the issue nonetheless.

@stlaz
Copy link
Contributor Author

stlaz commented Mar 28, 2017

Works for me on DL0 as well, you might have had a broken installation.

@MartinBasti
Copy link
Contributor

Yeah and I found where, it fails with #640

This PR can be pushed and ticket closed

@tkrizek
Copy link
Contributor

tkrizek commented Mar 28, 2017

master:

  • dc13703 Backup CA cert from kerberos folder
    ipa-4-5:

  • 9fdc27b Backup CA cert from kerberos folder

@tkrizek tkrizek added the pushed Pull Request has already been pushed label Mar 28, 2017
@tkrizek tkrizek closed this Mar 28, 2017
@stlaz stlaz deleted the backup_fix branch September 11, 2017 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
3 participants