Bug 1688796

Summary: [RFE] Make it possible to enable Kerberos/GSSAPI debug on AAA
Product: [oVirt] ovirt-engine Reporter: Miguel Martin <mmartinv>
Component: AAAAssignee: Martin Perina <mperina>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Novotny <pnovotny>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.3.2.1CC: bugs, lleistne, mperina, mtessun, rdlugyhe, sgoodman
Target Milestone: ovirt-4.4.0Keywords: FutureFeature
Target Release: ---Flags: pm-rhel: ovirt-4.4+
mtessun: planning_ack+
mperina: devel_ack+
lleistne: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhv-4.4.0-29 Doc Type: Enhancement
Doc Text:
With this update, a new configuration variable, `AAA_JAAS_ENABLE_DEBUG`, has been added to enable `Kerberos/GSSAPI` debug on `AAA`. The default value is `false`. To enable debugging, create a new configuration file named `/etc/ovirt-engine/engine.conf.d/99-kerberos-debug.conf` with the following content: `AAA_JAAS_ENABLE_DEBUG=true`
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-20 20:00:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Miguel Martin 2019-03-14 13:18:17 UTC
Description of problem:

When AAA connects to the LDAP server to find the principal name or the groups the user belongs to and authenticates itself using Kerberos/GSSAPI there is no way to enable the debug mode. 

The only option is to edit the 'ovirt-engine.xml.in' file but there is no way to make extensions tool to work.

It would be great to have the possibility of enabling the debug mode in a simple way.

Comment 1 Miguel Martin 2019-03-21 13:33:50 UTC
Please hold on, I figured out how to enable this using configuration variables only

Comment 2 Miguel Martin 2019-04-01 12:08:36 UTC
Ok, the configuration variables apply to the extensions tool only, not the engine, so I think this patch would be needed.

Comment 4 Pavel Novotny 2020-04-24 12:39:11 UTC
Verified in ovirt-engine-4.4.0-0.33.master.el8ev.

Comment 5 Sandro Bonazzola 2020-05-20 20:00:00 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

Since the problem described in this bug report should be
resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.