Horizon container restarting due to 'Couldn't find any precompiler in COMPRESS_PRECOMPILERS setting for mimetype text/javascript' error

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content