Horizon container restarting due to 'Couldn't find any precompiler in COMPRESS_PRECOMPILERS setting for mimetype text/javascript' error
Issue
- After completing a minor update, Horizon becomes unresponsive
-
The Horizon containers on all 3 controllers are in a restarting loop ending with the following error:
CommandError: An error occurred during rendering /usr/lib/python3.6/site-packages/openstack_dashboard/templates/horizon/_scripts.html: Couldn't find any precompiler in COMPRESS_PRECOMPILERS setting for mimetype '\'text/javascript\''.
Environment
Red Hat OpenStack Platform (RHOSP) 16.1
Red Hat OpenStack Platform (RHOSP) 16.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.