openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #02387
Problem Launching OpenStack Dashboard (Cactus) - 403 Error - HELP NEEDED DESPERATELY :(
Hello,
I followed the following steps below to create Dashboard, after I run the python-django server script (marked below in red) -
sudo tools/with_venv.sh dashboard/manage.py runserver 10.10.10.2:8000
I can see the dashboard home page, but when I log in with the credentials I get "ERROR:boto:403 Forbidden",
Please find attached detailed log for more information.
Can somebody help me if I have missed anything ?
Thanks,
Sheshadri
PS: I followed http://cssoss.wordpress.com/2011/04/27/openstack-beginners-guide-for-ubuntu-11-04-installation-and-configuration/ for setup. I'm using Ubuntu 10.10 Maverick version.
============================================================================================================
Nova Dashboard
1 sudo apt-get install -y bzr
2 sudo easy_install virtualenv
1 sudo bzr init-repo .
2 sudo bzr branch lp:openstack-dashboard /opt/osdb
3 cd /opt/osdb
4 sudo sh run_tests.sh
5 cd openstack-dashboard
Edit /opt/osdb/openstack-dashboard/local/local_settings.py to include certain details required for connecting to nova-api.
1 NOVA_DEFAULT_ENDPOINT = 'http://localhost:8773/services/Cloud'
2 NOVA_DEFAULT_REGION = 'nova'
3 NOVA_ACCESS_KEY = 'b6a7e3ca-f894-473b-abca-84329d9829fa:proj'
4 NOVA_SECRET_KEY = '2d61a361-965a-4ed6-966a-d9f543b42531'
5 NOVA_ADMIN_USER = 'novaadmin'
6 NOVA_PROJECT = 'proj'
Setting Up E-mail service for the web interface
1 EMAIL_HOST = 'server1.example.com'
2 EMAIL_PORT = 25
3 If the mail server provides only authenticated SMTP, add the following lines:
4 EMAIL_USER =
5 EMAIL_PASSWORD =
1 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.
view source
1 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 :
1 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
view source
print?
1 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.
Thanks,
Sheshadri
===================Server Side====================
root@ucloud-p07:/opt/osdb/openstack-dashboard# [11/May/2011 17:25:34] "GET / HTTP/1.1" 200 3333
[11/May/2011 17:25:34] "GET /media/dashboard/css/openstack.css HTTP/1.1" 304 0
[11/May/2011 17:25:34] "GET /media/dashboard/css/cupertino/jquery-ui-1.7.2.custom.css HTTP/1.1" 304 0
[11/May/2011 17:25:34] "GET /media/dashboard/js/jquery.min.js HTTP/1.1" 304 0
[11/May/2011 17:25:34] "GET /media/dashboard/js/jquery-ui.min.js HTTP/1.1" 304 0
[11/May/2011 17:25:34] "GET /media/dashboard/js/dashboard.js HTTP/1.1" 304 0
[11/May/2011 17:25:34] "GET /media/dashboard/css/reset.css HTTP/1.1" 304 0
[11/May/2011 17:25:34] "GET /media/dashboard/img/logo.gif HTTP/1.1" 304 0
[11/May/2011 17:25:34] "GET /media/dashboard/img/table_header_bg.png HTTP/1.1" 304 0
[11/May/2011 17:25:34] "GET /media/dashboard/img/login_btn.png HTTP/1.1" 304 0
[11/May/2011 17:25:51] "POST /accounts/login/ HTTP/1.1" 302 0
DEBUG:boto:using calc_signature_2
DEBUG:boto:query string: AWSAccessKeyId=0d558944-ebbc-45a1-8921-7dd256e1501d&Action=DescribeProjects&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2011-05-12T00%3A25%3A51&User=novaadmin&Version=nova
DEBUG:boto:string_to_sign: GET
localhost:8773
/services/Admin/
AWSAccessKeyId=0d558944-ebbc-45a1-8921-7dd256e1501d&Action=DescribeProjects&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2011-05-12T00%3A25%3A51&User=novaadmin&Version=nova
DEBUG:boto:len(b64)=44
DEBUG:boto:base64 encoded digest: gpYrGLLLtrDlH2z/vMTEPB27/OcYiXHklAKjFEpOVps=
DEBUG:boto:Canonical: GET
Thu, 12 May 2011 00:25:51 GMT
/services/Admin/services/Admin/
DEBUG:boto:Method: GET
DEBUG:boto:Path: /services/Admin/?AWSAccessKeyId=0d558944-ebbc-45a1-8921-7dd256e1501d&Action=DescribeProjects&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2011-05-12T00%3A25%3A51&User=novaadmin&Version=nova&Signature=gpYrGLLLtrDlH2z/vMTEPB27/OcYiXHklAKjFEpOVps%3D
DEBUG:boto:Data:
DEBUG:boto:Headers: {'Date': 'Thu, 12 May 2011 00:25:51 GMT', 'Content-Length': '0', 'Authorization': 'AWS 0d558944-ebbc-45a1-8921-7dd256e1501d:5hhNl19q91nXE70nyruA4PUag7g=', 'User-Agent': 'Boto/1.9b (linux2)'}
DEBUG:boto:Host: None
DEBUG:boto:establishing HTTP connection
DEBUG:boto:403 Forbidden
Access was denied to this resource.
ERROR:boto:403 Forbidden
ERROR:boto:403 Forbidden
Access was denied to this resource.
Warning: failed to parse error message from AWS: <unknown>:1:0: syntax error
[11/May/2011 17:25:52] "GET / HTTP/1.1" 500 80595
===================Web Page==================================
NovaServerError at /
Forbidden
Request Method: GET
Request URL: http://10.10.24.77:8000/
Django Version: 1.2.4
Exception Type: NovaServerError
Exception Value:
Forbidden
Exception Location: /opt/osdb/django-nova/src/django_nova/exceptions.py in decorator, line 80
Python Executable: /opt/osdb/openstack-dashboard/.dashboard-venv/bin/python
Python Version: 2.6.6
Python Path: ['/opt/osdb/openstack-dashboard/dashboard', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg', '/opt/osdb/django-nova/src', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/mox-0.5.3-py2.6.egg', '/opt/osdb/django-nova-syspanel/src', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/MySQL_python-1.2.3-py2.6-linux-x86_64.egg', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.6', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.6/plat-linux2', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.6/lib-tk', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.6/lib-old', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.6/lib-dynload', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib64/python2.6/lib-tk', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages', '/opt/osdb/openstack-dashboard', '/opt/osdb/openstack-dashboard/dashboard', '/opt/osdb/openstack-dashboard/dashboard']
Server time: Wed, 11 May 2011 17:25:52 -0700
Traceback Switch to copy-and-paste view
/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/core/handlers/base.py in get_response
100. response = callback(request, *callback_args, **callback_kwargs) ...
? Local vars
/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/views/decorators/vary.py in inner_func
38. response = func(*args, **kwargs) ...
? Local vars
/opt/osdb/django-nova/src/django_nova/exceptions.py in decorator
90. return func(*args, **kwargs) ...
? Local vars
/opt/osdb/openstack-dashboard/dashboard/views.py in index
37. projects = get_projects(user=request.user) ...
? Local vars
/opt/osdb/django-nova/src/django_nova/exceptions.py in decorator
80. raise NovaServerError(e) ...
? Local vars
Request information
GET
No GET data
POST
No POST data
FILES
No FILES data
COOKIES
Variable Value
csrftoken 'a152391f9d3ae8f3fb4edaf9086c647c'
sessionid '02ee23367dbc18de2f76eb7ddb0c0240'
META
Variable Value
CONTENT_LENGTH ''
CONTENT_TYPE 'text/plain'
CSRF_COOKIE 'a152391f9d3ae8f3fb4edaf9086c647c'
DJANGO_SETTINGS_MODULE 'dashboard.settings'
EC2_ACCESS_KEY '0d558944-ebbc-45a1-8921-7dd256e1501d:ebento77'
EC2_CERT '/home/cloudadmin/creds/cert.pem'
EC2_PRIVATE_KEY '/home/cloudadmin/creds/pk.pem'
EC2_SECRET_KEY 'f7bbe6b8-1cc2-4338-8703-1dce4d3db86d'
EC2_URL 'http://10.10.24.77:8773/services/Cloud'
EC2_USER_ID '42'
EUCALYPTUS_CERT '/home/cloudadmin/creds/cacert.pem'
GATEWAY_INTERFACE 'CGI/1.1'
HOME '/root'
HTTP_ACCEPT 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.3'
HTTP_ACCEPT_ENCODING 'gzip,deflate,sdch'
HTTP_ACCEPT_LANGUAGE 'en-US,en;q=0.8'
HTTP_CACHE_CONTROL 'max-age=0'
HTTP_CONNECTION 'keep-alive'
HTTP_COOKIE 'csrftoken=a152391f9d3ae8f3fb4edaf9086c647c; sessionid=02ee23367dbc18de2f76eb7ddb0c0240'
HTTP_HOST '10.10.24.77:8000'
HTTP_REFERER 'http://10.10.24.77:8000/'
HTTP_USER_AGENT 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24'
LANG 'en_US.UTF-8'
LESSCLOSE '/usr/bin/lesspipe %s %s'
LESSOPEN '| /usr/bin/lesspipe %s'
LOGNAME 'root'
LS_COLORS 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'
MAIL '/var/mail/root'
NOVA_API_KEY '0d558944-ebbc-45a1-8921-7dd256e1501d'
NOVA_CERT '/home/cloudadmin/creds/cacert.pem'
NOVA_URL 'http://10.10.24.77:8774/v1.0/'
NOVA_USERNAME 'novaadmin'
PATH '/opt/osdb/openstack-dashboard/.dashboard-venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
PATH_INFO u'/'
PS1 '(.dashboard-venv)'
PWD '/opt/osdb/openstack-dashboard'
QUERY_STRING ''
REMOTE_ADDR '192.168.168.169'
REMOTE_HOST ''
REQUEST_METHOD 'GET'
RUN_MAIN 'true'
S3_URL 'http://10.10.24.77:3333'
SCRIPT_NAME u''
SERVER_NAME '10.10.24.77'
SERVER_PORT '8000'
SERVER_PROTOCOL 'HTTP/1.1'
SERVER_SOFTWARE 'WSGIServer/0.1 Python/2.6.6'
SHELL '/bin/bash'
SHLVL '2'
TERM 'xterm'
TZ 'PST+08PDT,M3.2.0,M11.1.0'
USER 'root'
VIRTUAL_ENV '/opt/osdb/openstack-dashboard/.dashboard-venv'
_ 'dashboard/manage.py'
wsgi.errors <open file '<stderr>', mode 'w' at 0x7f3f0e1ef1e0>
wsgi.file_wrapper <class 'django.core.servers.basehttp.FileWrapper'>
wsgi.input <socket._fileobject object at 0x2a60f50>
wsgi.multiprocess False
wsgi.multithread True
wsgi.run_once False
wsgi.url_scheme 'http'
wsgi.version (1, 0)
Settings
Using settings module dashboard.settings
Setting Value
ABSOLUTE_URL_OVERRIDES {}
ACCOUNT_ACTIVATION_DAYS 7
ADMINS ()
ADMIN_FOR ()
ADMIN_MEDIA_PREFIX '/media/admin/'
ALLOWED_INCLUDE_ROOTS ()
APPEND_SLASH True
AUTHENTICATION_BACKENDS ('django.contrib.auth.backends.ModelBackend',)
BANNED_IPS ()
CACHE_BACKEND 'dummy://'
CACHE_MIDDLEWARE_KEY_PREFIX ''
CACHE_MIDDLEWARE_SECONDS 600
COMMENTS_ALLOW_PROFANITIES False
COMMENTS_BANNED_USERS_GROUP None
COMMENTS_FIRST_FEW 0
COMMENTS_MODERATORS_GROUP None
COMMENTS_SKETCHY_USERS_GROUP None
CREDENTIAL_AUTHORIZATION_DAYS '5'
CSRF_COOKIE_DOMAIN None
CSRF_COOKIE_NAME 'csrftoken'
CSRF_FAILURE_VIEW 'django.views.csrf.csrf_failure'
DATABASES {'default': {'ENGINE': 'django.db.backends.mysql', 'HOST': 'localhost', 'NAME': 'dashboarddb', 'OPTIONS': {'read_default_file': '/etc/mysql/my.cnf'}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'PST+08PDT,M3.2.0,M11.1.0', 'USER': 'nova', 'default-character-set': 'utf8'}}
DATABASE_ENGINE ''
DATABASE_HOST ''
DATABASE_NAME ''
DATABASE_OPTIONS {}
DATABASE_PASSWORD '********************'
DATABASE_PORT ''
DATABASE_ROUTERS []
DATABASE_USER ''
DATETIME_FORMAT 'N j, Y, P'
DATETIME_INPUT_FORMATS ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y')
DATE_FORMAT 'N j, Y'
DATE_INPUT_FORMATS ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y')
DEBUG True
DEBUG_PROPAGATE_EXCEPTIONS False
DECIMAL_SEPARATOR '.'
DEFAULT_CHARSET 'utf-8'
DEFAULT_CONTENT_TYPE 'text/html'
DEFAULT_FILE_STORAGE 'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL 'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE ''
DEFAULT_TABLESPACE ''
DISALLOWED_USER_AGENTS ()
EMAIL_BACKEND 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST 'mail.futurewei.ebento.net'
EMAIL_HOST_PASSWORD '********************'
EMAIL_HOST_USER ''
EMAIL_PASSWORD '********************'
EMAIL_PORT 25
EMAIL_SUBJECT_PREFIX '[Django] '
EMAIL_USER 'cloudadmin'
EMAIL_USE_TLS 'True'
FILE_CHARSET 'utf-8'
FILE_UPLOAD_HANDLERS ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
FILE_UPLOAD_MAX_MEMORY_SIZE 2621440
FILE_UPLOAD_PERMISSIONS None
FILE_UPLOAD_TEMP_DIR None
FIRST_DAY_OF_WEEK 0
FIXTURE_DIRS ()
FORCE_SCRIPT_NAME None
FORMAT_MODULE_PATH None
IGNORABLE_404_ENDS ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
IGNORABLE_404_STARTS ('/cgi-bin/', '/_vti_bin', '/_vti_inf')
INSTALLED_APPS ['dashboard', 'django.contrib.auth', 'django.contrib.admin', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.comments', 'django.contrib.sites', 'django.contrib.markup', 'django.contrib.syndication', 'django_nose', 'django_nova', 'django_nova_syspanel', 'registration']
INTERNAL_IPS ()
LANGUAGES (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
LANGUAGES_BIDI ('he', 'ar', 'fa')
LANGUAGE_CODE 'en-us'
LANGUAGE_COOKIE_NAME 'django_language'
LOCALE_PATHS ()
LOCAL_PATH '/opt/osdb/openstack-dashboard/local'
LOGIN_REDIRECT_URL '/'
LOGIN_URL '/accounts/login'
LOGOUT_URL '/accounts/logout/'
MANAGERS ()
MEDIA_ROOT '/opt/osdb/openstack-dashboard/dashboard/../media'
MEDIA_URL '/media/'
MESSAGE_STORAGE 'django.contrib.messages.storage.cookie.CookieStorage'
MIDDLEWARE_CLASSES ('django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware')
MONTH_DAY_FORMAT 'F j'
NOVA_ACCESS_KEY '0d558944-ebbc-45a1-8921-7dd256e1501d'
NOVA_ADMIN_USER 'novaadmin'
NOVA_DEFAULT_ENDPOINT 'http://localhost:8773/services/Cloud'
NOVA_DEFAULT_REGION 'nova'
NOVA_PROJECT 'ebento77'
NOVA_SECRET_KEY '********************'
NUMBER_GROUPING 0
PASSWORD_RESET_TIMEOUT_DAYS '********************'
PREPEND_WWW False
PROD False
PROFANITIES_LIST '********************'
ROOT_PATH '/opt/osdb/openstack-dashboard/dashboard'
ROOT_URLCONF 'dashboard.urls'
SECRET_KEY '********************'
SEND_BROKEN_LINK_EMAILS False
SERVER_EMAIL 'root@localhost'
SESSION_COOKIE_AGE 1209600
SESSION_COOKIE_DOMAIN None
SESSION_COOKIE_NAME 'sessionid'
SESSION_COOKIE_PATH '/'
SESSION_COOKIE_SECURE False
SESSION_ENGINE 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE True
SESSION_FILE_PATH None
SESSION_SAVE_EVERY_REQUEST False
SETTINGS_MODULE 'dashboard.settings'
SHORT_DATETIME_FORMAT 'm/d/Y P'
SHORT_DATE_FORMAT 'm/d/Y'
SITE_BRANDING 'OpenStack'
SITE_ID 1
SITE_NAME 'openstack'
TEMPLATE_CONTEXT_PROCESSORS ('django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.request', 'django.core.context_processors.media', 'django.contrib.messages.context_processors.messages')
TEMPLATE_DEBUG True
TEMPLATE_DIRS ('/opt/osdb/openstack-dashboard/dashboard/templates',)
TEMPLATE_LOADERS ('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source')
TEMPLATE_STRING_IF_INVALID ''
TEST_DATABASE_CHARSET None
TEST_DATABASE_COLLATION None
TEST_DATABASE_NAME None
TEST_RUNNER 'django_nose.NoseTestSuiteRunner'
THOUSAND_SEPARATOR ','
TIME_FORMAT 'P'
TIME_INPUT_FORMATS ('%H:%M:%S', '%H:%M')
TIME_ZONE 'PST+08PDT,M3.2.0,M11.1.0'
TRANSACTIONS_MANAGED False
URL_VALIDATOR_USER_AGENT 'Django/1.2.4 (http://www.djangoproject.com)'
USE_ETAGS False
USE_I18N False
USE_L10N False
USE_SSL False
USE_THOUSAND_SEPARATOR False
YEAR_MONTH_FORMAT 'F Y'
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.
Follow ups