After you install Canonical Openstack using conjure-up on Ubuntu Server you might find the dashboard unreachable. This is because it is designed to be installed on a development system for developers to use (i.e. – a system with a GUI on it and a browser). The dashboard is exposed but only from localhost.
In order to make it available on other systems on your network you can run this command:
iptables -t nat -A PREROUTING -p tcp -d [SERVER_IP] --dport 80 -j DNAT --to-destination [OPENSTACK_IP]:80
The IP address of your openstack cluster is shown on the results page of the conjure-up installation:
You can see the IP highlighted in yellow. If you are like me and didn’t record that info you can use the following command to get it:
$ juju status openstack-dashboard
The IP will be under Public address.
Tags: openstack, ubuntu