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 1744614 - kdcproxy functionality not working
Summary: kdcproxy functionality not working
Keywords:
Status: CLOSED DUPLICATE of bug 1745499
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: python-kdcproxy
Version: 8.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 8.0
Assignee: Robbie Harwood
QA Contact: anuja
URL:
Whiteboard:
Depends On: 1745499
Blocks: 1738779
TreeView+ depends on / blocked
 
Reported: 2019-08-22 14:18 UTC by Kaleem
Modified: 2019-09-04 13:04 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-04 13:04:20 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kaleem 2019-08-22 14:18:28 UTC
Description of problem:

Following trackback is seen on IPA master while doing kinit from ipa client using kdcproxy interface.

[Thu Aug 22 19:40:11.085971 2019] [wsgi:error] [pid 15497:tid 139724802635520] [remote 10.65.207.60:52690]     import kdcproxy.codec as codec
[Thu Aug 22 19:40:11.086007 2019] [wsgi:error] [pid 15497:tid 139724802635520] [remote 10.65.207.60:52690] AttributeError: module 'kdcproxy' has no attribute 'codec'
[Thu Aug 22 19:40:32.458335 2019] [wsgi:error] [pid 15496:tid 139724760672000] [remote 10.65.207.60:52692] mod_wsgi (pid=15496): Failed to exec Python script file '/usr/share/ipa/kdcproxy.wsgi'.
[Thu Aug 22 19:40:32.458490 2019] [wsgi:error] [pid 15496:tid 139724760672000] [remote 10.65.207.60:52692] mod_wsgi (pid=15496): Exception occurred processing WSGI script '/usr/share/ipa/kdcproxy.wsgi'.
[Thu Aug 22 19:40:32.458704 2019] [wsgi:error] [pid 15496:tid 139724760672000] [remote 10.65.207.60:52692] Traceback (most recent call last):
[Thu Aug 22 19:40:32.458781 2019] [wsgi:error] [pid 15496:tid 139724760672000] [remote 10.65.207.60:52692]   File "/usr/share/ipa/kdcproxy.wsgi", line 4, in <module>
[Thu Aug 22 19:40:32.458795 2019] [wsgi:error] [pid 15496:tid 139724760672000] [remote 10.65.207.60:52692]     from kdcproxy import application
[Thu Aug 22 19:40:32.458816 2019] [wsgi:error] [pid 15496:tid 139724760672000] [remote 10.65.207.60:52692]   File "/usr/lib/python3.6/site-packages/kdcproxy/__init__.py", line 30, in <module>
[Thu Aug 22 19:40:32.458827 2019] [wsgi:error] [pid 15496:tid 139724760672000] [remote 10.65.207.60:52692]     import kdcproxy.codec as codec
[Thu Aug 22 19:40:32.458864 2019] [wsgi:error] [pid 15496:tid 139724760672000] [remote 10.65.207.60:52692] AttributeError: module 'kdcproxy' has no attribute 'codec'



Version-Release number of selected component (if applicable):
ipa-server-4.8.0-9.module+el8.1.0+4011+fd4be199.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install IPA master and a ipa client
2. Configure KDCproxy on IPA client in /etc/krb5.conf
3. Run kinit command

Actual results:

[root@client ~]# echo xxxxxxx|kinit admin
kinit: Cannot contact any KDC for realm 'TESTRELM.TEST' while getting initial credentials
[root@client ~]# 


Expected results:
Kinit should have been successful.

Additional info:

Comment 1 Kaleem 2019-08-22 14:22:27 UTC
python-kdcproxy version

[root@master ~]# rpm -q python3-kdcproxy
python3-kdcproxy-0.4-3.module+el8.1.0+4011+fd4be199.noarch
[root@master ~]#

Comment 11 Christian Heimes 2019-09-04 12:58:04 UTC
A fix for RHBZ#1745499 has landed in RHEL 8.1.0. I was no longer able to reproduce the bug with updated Python.

Anuja, Kaleem, I suggest to retest KDCProxy and close the bug as duplicate of #1745499.

Comment 12 Kaleem 2019-09-04 13:04:20 UTC
(In reply to Christian Heimes from comment #11)
> A fix for RHBZ#1745499 has landed in RHEL 8.1.0. I was no longer able to
> reproduce the bug with updated Python.
> 
> Anuja, Kaleem, I suggest to retest KDCProxy and close the bug as duplicate
> of #1745499.

KDCProxy test suite retested and its working fine. Closing this as duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1745499

*** This bug has been marked as a duplicate of bug 1745499 ***


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