[freeipa PR#5936][opened] Provide more information in ipa-certupdate on ccache failure
by rcritten
URL: https://github.com/freeipa/freeipa/pull/5936
Author: rcritten
Title: #5936: Provide more information in ipa-certupdate on ccache failure
Action: opened
PR body:
"""
ipa-certupdate obtains host credentials to operate. If this
fails with a ccache error this can be confusing if the user
executing it already has admin credentails.
Include the principal being retrieved and the keytab being
used.
This basically intercepts the exception to log additional
information and lets the exception be handled at a higher
level.
https://pagure.io/freeipa/issue/8257
Signed-off-by: Rob Crittenden <rcritten(a)redhat.com>
I've only reproduced this with contrived use-cases but when I did run into it during development debugging the root cause was difficult so providing this information can be useful. As for test automation, I think it's overkill.
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5936/head:pr5936
git checkout pr5936
2 years, 4 months