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>