The latest version of openstack-dashboard requires Keystone, and as I understand it this isn’t supported by the version of Nova I’m running (2011.3~d2-0ubuntu0~ppa1~natty1). Fortunately, I found this, which outlines how to use an older version of openstack-dashboard that does work without Keystone.
# apt-get update # apt-get install bzr # cd /root # bzr branch lp:openstack-dashboard # cd openstack-dashboard/ # bzr revert -r 46 # cd local # cp -a local_settings.py.example local_settings.py
You now need to configure local_settings.py with correct values for NOVA_DEFAULT_ENDPOINT, NOVA_DEFAULT_REGION, NOVA_ACCESS_KEY, NOVA_SECRET_KEY, NOVA_ADMIN_USER, NOVA_PROJECT. Most of these values can be ripped out of novarc on your cloud controller.
Continue on with the installation:
# apt-get install -y python-setuptools # easy_install virtualenv # python tools/install_venv.py # tools/with_venv.sh dashboard/manage.py syncdb
When you run “dashboard/manage.py syncdb”, it’ll prompt you asking if you want to create a Django superuser (since none exist at this point). I answered yes, entering a username that matched the value of NOVA_ADMIN_USER. I initially tried creating a Django user with a different username, and upon logging into openstack-dashboard I failed to see my Nova project.
Lastly, go ahead and start up the server:
# tools/with_venv.sh dashboard/manage.py runserver 0.0.0.0:8000
At this point, you should be able to access your dashboard on http://x.x.x.x:8000, replacing x.x.x.x with your openstack-dashboard server's IP.
If you run into any issues, refer to this, which contains valid information for this particular version of the dashboard.
Again, running with this old version of the dashboard isn't ideal, and you certainly don't want to run it as root, but hopefully this will point you in the right direction if you struggle to get the latest version to work with Nova. My next task will to be to get a version of the dashboard and Nova which work together installed and operational.