You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it gave me this error log in the web pod, however, ldap works as expected.
Expected results
no error message should be generated in awx pod.
Actual results
2025-01-29 20:41:49,696 WARNING [dbb9620b7e334a86815755d844c08c83] awx.conf.settings The current value "{'name_attr': 'cn'}" for setting "AUTH_LDAP_GROUP_TYPE_PARAMS" is invalid.
Traceback (most recent call last):
File "/var/lib/awx/venv/awx/lib64/python3.11/site-packages/awx/conf/settings.py", line 402, in _get_local
internal_value = field.to_internal_value(value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/awx/venv/awx/lib64/python3.11/site-packages/awx/sso/fields.py", line 480, in to_internal_value
group_type_cls = find_class_in_modules(group_type_str)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/awx/venv/awx/lib64/python3.11/site-packages/awx/sso/fields.py", line 52, in find_class_in_modules
cls = getattr(m, class_name, None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: attribute name must be string, not 'type'
2025-01-29 20:41:49,697 WARNING [dbb9620b7e334a86815755d844c08c83] awx.conf.settings The current value "'GroupOfUniqueNamesType'" for setting "AUTH_LDAP_GROUP_TYPE" is invalid.
Traceback (most recent call last):
File "/var/lib/awx/venv/awx/lib64/python3.11/site-packages/awx/conf/settings.py", line 402, in _get_local
internal_value = field.to_internal_value(value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/awx/venv/awx/lib64/python3.11/site-packages/awx/sso/fields.py", line 458, in to_internal_value
self.fail('invalid_parameters', parameters_type=type(params))
File "/var/lib/awx/venv/awx/lib64/python3.11/site-packages/rest_framework/fields.py", line 603, in fail
raise ValidationError(message_string, code=key)
rest_framework.exceptions.ValidationError: [ErrorDetail(string="Invalid group_type parameters. Expected instance of dict but got <class 'type'> instead.", code='invalid_parameters')]
2025-01-29 20:41:49,698 WARNING [dbb9620b7e334a86815755d844c08c83] awx.conf.settings The current value "{'name_attr': 'cn'}" for setting "AUTH_LDAP_GROUP_TYPE_PARAMS" is invalid.
Traceback (most recent call last):
File "/var/lib/awx/venv/awx/lib64/python3.11/site-packages/awx/conf/settings.py", line 402, in _get_local
internal_value = field.to_internal_value(value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/awx/venv/awx/lib64/python3.11/site-packages/awx/sso/fields.py", line 480, in to_internal_value
group_type_cls = find_class_in_modules(group_type_str)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/awx/venv/awx/lib64/python3.11/site-packages/awx/sso/fields.py", line 52, in find_class_in_modules
cls = getattr(m, class_name, None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: attribute name must be string, not 'type'
Additional information
No response
The text was updated successfully, but these errors were encountered:
Please confirm the following
[email protected]
instead.)Bug Summary
I am using awx operator, I am using the latest version,
2.19.1
, https://github.com/ansible/awx-operator/releases/tag/2.19.1.I am using the extra settings to configure my ldap, https://github.com/ansible/awx-operator/blob/devel/docs/user-guide/advanced-configuration/extra-settings.md#extra-settings
I follow this settings : https://github.com/ansible/awx-operator/blob/devel/docs/user-guide/advanced-configuration/enabling-ldap-integration-at-awx-bootstrap.md
The Ldap feature is working as expected, however, I have this error log generated, continuously in my awx web pod, it flood the disk space.
Can someone look at this issue?
AWX version
awx operator v2.19.1
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
2.19.1
Operating system
kubernetes
Web browser
Chrome
Steps to reproduce
follow this settings in my awx configuration manifest, https://github.com/ansible/awx-operator/blob/devel/docs/user-guide/advanced-configuration/enabling-ldap-integration-at-awx-bootstrap.md
it gave me this error log in the web pod, however, ldap works as expected.
Expected results
no error message should be generated in awx pod.
Actual results
Additional information
No response
The text was updated successfully, but these errors were encountered: