In order to have mails generated by OpenStack dashboard delivered, we need to configure dashboard with the details of an smtp server by editing local_settings.py file.
EMAIL_HOST = 'server1.example.com' EMAIL_PORT = 25
If the mail server provides only authenticated SMTP, add the following lines:
EMAIL_USER = EMAIL_PASSWORD =
If the mail server requires a TLS connection, add the following lines:
EMAIL_USE_TLS = 'True'
Create a openstack-dashboard database and its schema with the syncdb command. Provide the name/email address/desired password of the administrative user when prompted.
sudo tools/with_venv.sh dashboard/manage.py syncdb
While creating the schema, the above command asks you to create an admin account for the dashboard. Choose the user name as the project admin's user name you chose above while creating the project ( novadmin in our case). You can choose any password you like.
Launch the default python-django server. If you want the dashboard application to be available on port 8000 :
sudo tools/with_venv.sh dashboard/manage.py runserver 10.10.10.2:8000
To check the installation open a browser and enter the following URL
http://10.10.10.2:8000
You should be able to login as "novaadmin" using the password chosen above. Any other user trying to access the interface for the first time, will need to sign up and will be able to use the interface after the account is approved by the administrator.
A successful login and display of the project named "proj" on the dashboard will indicate that the dashboard has been setup successfully
