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.
Bug 1668168 - com.redhat.idm.trust-fetch-domains:36:retrieve_keytab:FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/sss/keytabs/ipaad2016.test.keytab'
Summary: com.redhat.idm.trust-fetch-domains:36:retrieve_keytab:FileNotFoundError: [Err...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: selinux-policy
Version: 8.0
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: rc
: 8.0
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-22 06:16 UTC by anuja
Modified: 2019-06-14 01:54 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-14 01:54:21 UTC
Type: Bug
Target Upstream Version:
Embargoed:
rule-engine: mirror+


Attachments (Terms of Use)

Description anuja 2019-01-22 06:16:00 UTC
This bug has been created based on an anonymous crash report requested by the package maintainer.


time:           Fri 18 Jan 2019 11:57:57 PM CET
package:        ipa-server-trust-ad-4.7.1-10.module+el8+2699+aa606a46
reason:         com.redhat.idm.trust-fetch-domains:36:retrieve_keytab:FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/sss/keytabs/ipaad2016.test.keytab'
crash_function: retrieve_keytab
cmdline:        /usr/libexec/platform-python -E /usr/libexec/ipa/oddjob/com.redhat.idm.trust-fetch-domains ipaad2016.test
executable:     /usr/libexec/ipa/oddjob/com.redhat.idm.trust-fetch-domains
component:      ipa
uid:            0
username:       root
hostname:       kvm-01-guest12.automount2k16.test
os_release:     Red Hat Enterprise Linux release 8.0 Beta (Ootpa)
architecture:   x86_64
kernel:         4.18.0-61.el8.x86_64
abrt_version:   2.10.9

Reports:
uReport: BTHASH=8080759745c5eaab35335022e39ff4a997defb9f
ABRT Server: URL=http://faf.lab.eng.brq.redhat.com/faf/reports/bthash/8080759745c5eaab35335022e39ff4a997defb9f
ABRT Server: URL=http://faf.lab.eng.brq.redhat.com/faf/reports/10225/
CI Job: https://platform-stg-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/ipa-rhel-8.0.0-candidate-runtest-trust-automount-win2k16/7/

Full Backtrace:
com.redhat.idm.trust-fetch-domains:36:retrieve_keytab:FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/sss/keytabs/ipaad2016.test.keytab'

Traceback (most recent call last):
 File "/usr/libexec/ipa/oddjob/com.redhat.idm.trust-fetch-domains", line 161, in <module>
   retrieve_keytab(api, ccache_name, oneway_keytab_name, oneway_principal)
 File "/usr/libexec/ipa/oddjob/com.redhat.idm.trust-fetch-domains", line 36, in retrieve_keytab
   os.chown(oneway_keytab_name, sssd[2], sssd[3])
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/sss/keytabs/ipaad2016.test.keytab'

Local variables in innermost frame:
sssd: pwd.struct_passwd(pw_name='sssd', pw_passwd='x', pw_uid=996, pw_gid=993, pw_gecos='User for sssd', pw_dir='/', pw_shell='/sbin/nologin')
getkeytab_args: ['/usr/sbin/ipa-getkeytab', '-s', 'kvm-01-guest12.automount2k16.test', '-p', 'AUTOMOUNT2K16$@IPAAD2016.TEST', '-k', '/var/lib/sss/keytabs/ipaad2016.test.keytab', '-r']
oneway_principal: 'AUTOMOUNT2K16$@IPAAD2016.TEST'
oneway_keytab_name: '/var/lib/sss/keytabs/ipaad2016.test.keytab'
ccache_name: '/var/run/ipa/krb5cc_oddjob_trusts'
api: <ipalib.API object at 0x7f4ed238d630>

Additional information:
environ:
:LANG=en_US.UTF-8
:PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
:INVOCATION_ID=beaf970b0ab24a59a8a55dc85c9a0a13
:JOURNAL_STREAM=9:91701
:ODDJOB_SERVICE_NAME=com.redhat.idm.trust
:ODDJOB_OBJECT_PATH=/
:ODDJOB_INTERFACE_NAME=com.redhat.idm.trust
:ODDJOB_METHOD_NAME=fetch_domains
:ODDJOB_CALLING_USER=ipaapi


Note You need to log in before you can comment on or make changes to this bug.