Ask Your Question

Getting internal server error "UncompressableFileError" accessing OpenStack Dashboard

asked 2013-04-23 08:12:22 -0600

NovelKumar gravatar image

updated 2013-04-23 10:57:05 -0600

smaffulli gravatar image

I have setup a three node grizzly with two networks and OVS plugin

Controller node, Network Node and Compute node. All the services are running fine and nova-manage service list from controller and compute node shows the smilies. The problem is with Horizon dashboard.

I have followed this guide with 2 network. I did COMPRESS_OFFLINE = False in /etc/openstack-dashboard/ and restarted apache2 and memcached.

I get internal server error once I login to dashboard with my public IP ie

If i call just in browser OR w3m , i get the default webpage of apache in Ubuntu. The error log in apache shows the following:

[Tue Apr 23 12:59:02 2013] [error] [client]     for kind, value, basename, elem in self.split_contents(), referer:
[Tue Apr 23 12:59:02 2013] [error] [client]   File "/usr/lib/python2.7/dist-packages/compressor/", line 18, in split_contents, referer:
[Tue Apr 23 12:59:02 2013] [error] [client]     basename = self.get_basename(attribs['src']), referer:
[Tue Apr 23 12:59:02 2013] [error] [client]   File "/usr/lib/python2.7/dist-packages/compressor/", line 73, in get_basename, referer:
[Tue Apr 23 12:59:02 2013] [error] [client]     "compressed" % (url, base_url)), referer:
[Tue Apr 23 12:59:02 2013] [error] [client] UncompressableFileError: 'horizon/js/horizon.js' isn't accessible via COMPRESS_URL ('/static/') and can't be compressed, referer:

Where should I look to solve the UncompressableFileError?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-04-25 09:48:25 -0600

jpichon gravatar image

Compression errors have been known to hide real errors, if you can log in it's likely something else is going wrong, but the error is being swallowed by the compression error.

A couple of things: - If this is a dev or test environment (not production), you could try setting DEBUG to True in the local_settings and retry. Hopefully this will result in a more useful error. - If you disable offline compression, you'll need to install node and lessc to display the CSS properly (see also

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-04-23 08:12:22 -0600

Seen: 3,069 times

Last updated: Apr 25 '13