Configuring the Dashboard Start the mysql command line client by running: mysql -u root -p Enter the mysql root user's password when prompted. To configure the MySQL database, create the dash database. mysql> CREATE DATABASE dash; Create a MySQL user for the newly-created dash database that has full control of the database. mysql> GRANT ALL ON dash.* TO 'dash'@'%' IDENTIFIED BY 'yourpassword'; Enter quit at the mysql> prompt to exit MySQL. After configuring the local_settings.py as shown below, you can run the syncdb command to populate this newly-created database. Now you can configure the dashboard application by modifying the local_settings.py file. With the Cloud Builders packages, an example is provided that you can copy to local_settings.py and then modify for your environment. If you are using Cloud Builders packages, copy the /var/lib/dash/local/local_settings.py.example file to local_settings.py. If you are using Managed IT packages, edit the /etc/openstack-dashboard/local_settings.py file. A full example local_settings.py file is included in the Appendix. In the /local/local_settings.py file, change these options: DATABASES: Change the database section to point to the Mysql database named dash: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'dash', 'USER': 'dash', 'PASSWORD': 'yourpassword', 'HOST': 'localhost', 'default-character-set': 'utf8' }, } SWIFT_ENABLED: If an Object Storage (Swift) endpoint is available and configured in the Identity service catalog, set SWIFT_ENABLED = True. QUANTUM_ENABLED: For now, the Network Connection (Quantum) service is enabled in local_settings.py, but the project is still in incubation for Diablo and should be available in the Essex release. You can set QUANTUM_ENABLED = False. Run the syncdb command to initialize the database. # If using Cloud Builders packages, do this: cd /var/lib/dash PYTHONPATH=/var/lib/dash/ python dashboard/manage.py syncdb # If using Managed IT packages, do this: /usr/share/openstack-dashboard/dashboard/manage.py syncdb As a result, you should see the following at the end of what returns: Installing custom SQL ... Installing indexes ... DEBUG:django.db.backends:(0.008) CREATE INDEX `django_session_c25c2c28` ON `django_session` (`expire_date`);; args=() No fixtures found. If you want to avoid a warning when restarting apache2, create a blackhole directory in the dashboard directory like so: sudo mkdir -p /var/lib/dash/.blackhole Restart Apache to pick up the default site and symbolic link settings. sudo /etc/init.d/apache2 restart Restart the nova-api service to ensure the API server can connect to the Dashboard and to avoid an error displayed in the dashboard. sudo restart nova-api