Try to change
/usr/local/share/kolla-ansible/ansible/roles/horizon/templates/local_settings.j2 HORIZON_IMAGES_UPLOAD_MODE = 'direct' to HORIZON_IMAGES_UPLOAD_MODE = 'legacy'
Try to change
/usr/local/ share/kolla- ansible/ ansible/ roles/horizon/ templates/ local_settings. j2 HORIZON_ IMAGES_ UPLOAD_ MODE = 'direct' to HORIZON_ IMAGES_ UPLOAD_ MODE = 'legacy'