I installed openstack-ansible 24.2.0. When I access to horizon dasboard as admin (or other user) in the apache log I have these and more similar lines:
/openstack/venvs/horizon-24.4.1/lib/python3.9/site-packages/oslo_policy/policy.py:1075: UserWarning: Policy identity:list_domains failed scope check. The token used to make the request was domain scoped but the policy requires ['system'] scope. This behavior may change in the future where using the intended scope is required
/openstack/venvs/horizon-24.4.1/lib/python3.9/site-packages/oslo_policy/policy.py:1075: UserWarning: Policy get_images failed scope check. The token used to make the request was domain scoped but the policy requires ['system', 'project'] scope. This behavior may change in the future where using the intended scope is required
...
It seems that keystone generates a "domain" token instead of expected token type. Is horizon misconfiguration?