Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionNikhil Dehadrai
2020-12-17 12:11:14 UTC
Description of problem:
kinit command fails after upgrade with error "kinit: Credentials cache I/O operation failed while getting default ccache", when upgraded from RHEL83z > 84(nightly)
Version-Release number of selected component (if applicable):
ipa-server-4.9.0-0.5.rc3.module+el8.4.0+9124+ced20601.x86_64
How reproducible:
Always
Steps to Reproduce:
1. Setup IPA server at RHEL83z
2. Check command # kinit admin
3. Use the nightly compose to initiate upgrade process (# dnf -y update)
4. Check upgrade #tail -1 /var/log/ipaupgrade.log
5. Check command # kinit admin
Actual results:
1. After step2, Kinit command works (before upgrade)
2. After step 4, upgrade is successful
3. After step5, Kinit command returns error
[root@master cloud-user]# rpm -q ipa-server
ipa-server-4.9.0-0.5.rc3.module+el8.4.0+9124+ced20601.x86_64
[root@master cloud-user]# kinit admin
kinit: Internal credentials cache error while searching for ccache for admin
Expected results:
kinit should work after IPA server is upgraded
Additional info:
1. Upon plain installation at RHEL84, the issue is not observed
[root@master ~]# echo Secret123 | kinit admin
Password for admin:
[root@master ~]#
2. The same issue isn't observed when upgraded to Test Compose
3. Using KRB5CCNAME=/tmp/foobar, passes the kinit commad
[root@master yum.repos.d]# kinit admin
kinit: Credentials cache I/O operation failed while getting default ccache
[root@master yum.repos.d]# echo $?
1
[root@master yum.repos.d]# KRB5CCNAME=/tmp/foobar kinit admin
Password for admin:
[root@master yum.repos.d]# echo $?
0
Before upgrade:
2. You can now obtain a kerberos ticket using the command: 'kinit admin'
This ticket will allow you to use the IPA tools (e.g., ipa user-add)
and the web user interface.
Be sure to back up the CA certificates stored in /root/cacert.p12
These files are required to create replicas. The password for these
files is the Directory Manager password
The ipa-server-install command was successful
[root@ci-vm-10-0-139-248 ~]# kinit admin
Password for admin.UPSHIFT.RDU2.REDHAT.COM:
[root@ci-vm-10-0-139-248 ~]# klist
Ticket cache: KCM:0
Default principal: admin.UPSHIFT.RDU2.REDHAT.COM
Valid starting Expires Service principal
2020-12-22T02:36:10 2020-12-23T02:36:07 krbtgt/CI-VM-10-0-139-248.HOSTED.UPSHIFT.RDU2.REDHAT.COM.UPSHIFT.RDU2.REDHAT.COM
After upgrade:
[root@ci-vm-10-0-139-248 ~]# rpm -q ipa-server sssd-common
ipa-server-4.9.0-0.5.rc3.module+el8.4.0+9124+ced20601.x86_64
sssd-common-2.4.0-4.el8.x86_64
[root@ci-vm-10-0-139-248 ~]# kinit admin
Password for admin.UPSHIFT.RDU2.REDHAT.COM:
[root@ci-vm-10-0-139-248 ~]# klist
Ticket cache: KCM:0
Default principal: admin.UPSHIFT.RDU2.REDHAT.COM
Valid starting Expires Service principal
2020-12-22T02:49:27 2020-12-23T02:49:24 krbtgt/CI-VM-10-0-139-248.HOSTED.UPSHIFT.RDU2.REDHAT.COM.UPSHIFT.RDU2.REDHAT.COM
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 (sssd bug fix and enhancement update), 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-2021:1666