Ask Your Question

How to Customize OpenStack dashboard - Centos

asked 2014-03-18 02:58:25 -0500

Gowri gravatar image

updated 2014-03-18 11:40:08 -0500

smaffulli gravatar image

I was looking into customizing Horizon in my OpenStack cloud. I got information about this from the link - . I have successfully installed Havana on Centos and I used Fuel 4.0 to install OpenStack .

I did the following :

  1. I uploaded images to /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/img (I used images of .jpg format ).
  2. I uploaded my css stylesheet in /usr/share/openstack-dashboard/static/dashboard/css
  3. I added a line in _stylesheet.html <link href="{{ STATIC_URL }}dashboard/css/custom.css" type="text/css" media="screen" rel="stylesheet"/>
  4. Restarted the apache: sudo service httpd restart

On reloading the dashboard , I am getting an error "Something went wrong, Unexpected error has occured , try refreshing the page" and I am not getting customized dashboard.

Am I missing some steps ? Please help

Thanks Gowri

edit retag flag offensive close merge delete


Did you change the permissions on the img and css file so that they are readable by horizon?

mpetason gravatar imagempetason ( 2014-03-21 14:27:49 -0500 )edit

Try also looking into the httpd / horizon logs in order to get a hopefully more informative stack trace.

jpichon gravatar imagejpichon ( 2014-03-24 06:43:23 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-03-21 14:25:55 -0500

SamYaple gravatar image

You will want to enable DEBUG to help track down what is breaking DEBUG = True in your /etc/openstack-dashboard/

I have done some customizing of Horizon, when you get that debug message, you can post back here with the exact message and I should be able to point you in the right direction.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-03-18 02:58:25 -0500

Seen: 601 times

Last updated: Mar 21 '14