Problem on edit LDAP settings after set setting by extra_settings

Hello,

I have a problem when I edit LDAP settings after set one setting by extra_settings. For the example, I only set “AUTH_LDAP_USER_FLAGS_BY_GROUP” by extra_settings.

Request by API with /api/v2/settings/ldap is OK, values are displaying (i tested that by podman).

But by GUI, I have this error “TypeError: Cannot read properties of undefined (reading ‘default’)”

No logs in “web container”, just " “GET /api/v2/settings/ldap/ HTTP/1.1” 200 …"

Where or how to i can found more logs for this error ?
Can you try reproduce this and help me ?

Regards,

More information : I’m in AWX 21.5.0 with awx-operator in 0.28.0

can you screenshot the GUI with the “TypeError: Cannot read properties of undefined (reading ‘default’)” error?

Does anything standout in the awx-web logs?

“kubectl logs -f pod/podname -c awx-web”

AWX Team

Hello,

Yes of course, capture is in attachment.
Logs (Anonymised) :

xxx.xxx.xxx.xxx - - [17/Oct/2022:08:19:15 +0000] “OPTIONS /api/v2/settings/all/ HTTP/1.1” 200 305926 “https://xxx.xxxxxxx.xxx/” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 Safari/537.36 Edg/103.0.1264.37” “xxx.xxx.xxx.xxx”

xxx.xxx.xxx.xxx- - [17/Oct/2022:08:19:20 +0000] “GET /api/v2/settings/ldap/ HTTP/1.1” 200 5239 “https://xxx.xxxxxxx.xxx/” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 Safari/537.36 Edg/103.0.1264.37” “xxx.xxx.xxx.xxx”

[pid: 32|app: 0|req: 3/10] xxx.xxx.xxx.xxx () {68 vars in 2916 bytes} [Mon Oct 17 08:19:20 2022] GET /api/v2/settings/ldap/ => generated 5239 bytes in 63 msecs (HTTP/1.1 200) 14 headers in 595 bytes (1 switches on core 0)

xxx.xxx.xxx.xxx - - [17/Oct/2022:08:19:29 +0000] “GET /api/v2/settings/ldap/ HTTP/1.1” 200 5239 “https://xxx.xxxxxxx.xxx/” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 Safari/537.36 Edg/103.0.1264.37” “xxx.xxx.xxx.xxx”

[pid: 32|app: 0|req: 4/11] xxx.xxx.xxx.xxx () {68 vars in 2916 bytes} [Mon Oct 17 08:19:29 2022] GET /api/v2/settings/ldap/ => generated 5239 bytes in 70 msecs (HTTP/1.1 200) 14 headers in 595 bytes (1 switches on core 0)

Regards,

(attachments)