alias for OpenStack dashboard

We just built an Icehouse cluster with packstack and ran into a problem because the ip the dashboard was on was nat’d. And when we when to the nat’d ip the GET requests appeared to come from the public ip, and the dashboard will not respond to get requests

The fix was to change/etc/httpd/conf.d/15.horizon.vhosts.conf file under server aliases option at the bottom, you will just add a different ip address under the aliases.

You will see something like this at the bottom

 

  ## Server aliases
  ServerAlias ########
  ServerAlias ADD THE OTHER IP YOU WANT THE DASHBOARD TO RESPOND TO
  ServerAlias imcs-controller.ngi.harris.com
  ServerAlias localhost
  WSGIDaemonProcess dashboard group=apache processes=3 threads=10 user=apache
  WSGIProcessGroup dashboard
  WSGIScriptAlias /dashboard “/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi”
</VirtualHost>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s