can't create a new user on dashboard

Asked by JT

I installed a dashboard on my nova cloud. Everything is on except register a new user. Can somebody help me?
Below is the error display from dashboard when I register a user.

error at /accounts/register/

[Errno 111] Connection refused

Request Method: POST
Request URL: http://xxx.xxx.xxx.xxx:8000/accounts/register/
Django Version: 1.2.3
Exception Type: error
Exception Value:

[Errno 111] Connection refused

Exception Location: /usr/lib/python2.6/socket.py in create_connection, line 561
Python Executable: /root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/bin/python
Python Version: 2.6.6
Python Path: ['/root/src/openstack-dashboard/trunk/openstack-dashboard/dashboard', '/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg', '/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/pip-0.8.3-py2.6.egg', '/root/src/openstack-dashboard/trunk/django-nova/src', '/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/mox-0.5.3-py2.6.egg', '/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6', '/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/plat-linux2', '/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/lib-tk', '/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/lib-old', '/root/src/openstack-dashboard/trunk/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', '/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages', '/root/src/openstack-dashboard/trunk/openstack-dashboard', '/root/src/openstack-dashboard/trunk/openstack-dashboard/dashboard', '/root/src/openstack-dashboard/trunk/openstack-dashboard/dashboard']
Server time: Fri, 8 Apr 2011 16:30:27 -0700
Traceback Switch to copy-and-paste view

    * /root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/core/handlers/base.py in get_response
        93. # Apply view middleware
        94. for middleware_method in self._view_middleware:
        95. response = middleware_method(request, callback, callback_args, callback_kwargs)
        96. if response:
        97. return response
        98.
        99. try:
       100. response = callback(request, *callback_args, **callback_kwargs) ...
       101. except Exception, e:
       102. # If the view raised an exception, run it through exception
       103. # middleware, and if the exception middleware returns a
       104. # response, use that. Otherwise, reraise the exception.
       105. for middleware_method in self._exception_middleware:
       106. response = middleware_method(request, e)
      ▶ Local vars
      Variable Value
      callback
      <function register at 0x232ccf8>
      callback_args
      ()
      callback_kwargs
      {'form_class': <class 'registration.forms.RegistrationFormUniqueEmail'>}
      e
      error(111, 'Connection refused')
      exceptions
      <module 'django.core.exceptions' from '/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/core/exceptions.pyc'>
      middleware_method
      <bound method XViewMiddleware.process_view of <django.middleware.doc.XViewMiddleware object at 0x2151b90>>
      receivers
      [(<function _rollback_on_exception at 0x1809410>, None)]
      request
      <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'username': [u'user2'], u'password1': [u'password'], u'csrfmiddlewaretoken': [u'dc5b64bd023b7b85bf41dbb104ef54d3'], u'email': [<email address hidden>'], u'password2': [u'password']}>, COOKIES:{'csrftoken': 'dc5b64bd023b7b85bf41dbb104ef54d3', 'sessionid': '0860c75fe572752028b67199d526f85c'}, META:{'CONTENT_LENGTH': '131', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CSRF_COOKIE': 'dc5b64bd023b7b85bf41dbb104ef54d3', 'DJANGO_SETTINGS_MODULE': 'dashboard.settings', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HOME': '/root', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=dc5b64bd023b7b85bf41dbb104ef54d3; sessionid=0860c75fe572752028b67199d526f85c', 'HTTP_HOST': '70.35.55.123:8000', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://70.35.55.123:8000/accounts/register/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 GTB7.1 ( .NET CLR 3.5.30729; .NET4.0E) SearchToolbar', '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', 'PATH': '/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PATH_INFO': u'/accounts/register/', 'PS1': '(.dashboard-venv)', 'PWD': '/root/src/openstack-dashboard/trunk/openstack-dashboard', 'QUERY_STRING': '', 'REMOTE_ADDR': '70.35.55.122', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': '70-35-55-123.static.wiline.com', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.6', 'SHELL': '/bin/bash', 'SHLVL': '2', 'SUDO_COMMAND': '/bin/su', 'SUDO_GID': '1000', 'SUDO_UID': '1000', 'SUDO_USER': 'jesse', 'TERM': 'linux', 'TZ': 'PST+08PDT,M3.2.0,M11.1.0', 'USER': 'root', 'USERNAME': 'root', 'VIRTUAL_ENV': '/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv', '_': 'dashboard/manage.py', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f32c53b11e0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x243da50>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
      resolver
      <RegexURLResolver dashboard.urls (None:None) ^/>
      response
      None
      self
      <django.core.handlers.wsgi.WSGIHandler object at 0x1a336d0>
      settings
      <django.conf.LazySettings object at 0x13d9650>
      urlconf
      'dashboard.urls'
      urlresolvers
      <module 'django.core.urlresolvers' from '/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/core/urlresolvers.pyc'>
    * /root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/registration/views.py in register
       141. registration/registration_form.html or ``template_name`` keyword
       142. argument.
       143.
       144. """
       145. if request.method == 'POST':
       146. form = form_class(data=request.POST, files=request.FILES)
       147. if form.is_valid():
       148. new_user = form.save(profile_callback=profile_callback) ...
       149. # success_url needs to be dynamically generated here; setting a
       150. # a default value using reverse() will cause circular-import
       151. # problems with the default URLConf for this application, which
       152. # imports this file.
       153. return HttpResponseRedirect(success_url or reverse('registration_complete'))
       154. else:
      ▶ Local vars
      Variable Value
      extra_context
      None
      form
      <registration.forms.RegistrationFormUniqueEmail object at 0x2488310>
      form_class
      <class 'registration.forms.RegistrationFormUniqueEmail'>
      profile_callback
      None
      request
      <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'username': [u'user2'], u'password1': [u'password'], u'csrfmiddlewaretoken': [u'dc5b64bd023b7b85bf41dbb104ef54d3'], u'email': [<email address hidden>'], u'password2': [u'password']}>, COOKIES:{'csrftoken': 'dc5b64bd023b7b85bf41dbb104ef54d3', 'sessionid': '0860c75fe572752028b67199d526f85c'}, META:{'CONTENT_LENGTH': '131', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CSRF_COOKIE': 'dc5b64bd023b7b85bf41dbb104ef54d3', 'DJANGO_SETTINGS_MODULE': 'dashboard.settings', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HOME': '/root', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=dc5b64bd023b7b85bf41dbb104ef54d3; sessionid=0860c75fe572752028b67199d526f85c', 'HTTP_HOST': '70.35.55.123:8000', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://70.35.55.123:8000/accounts/register/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 GTB7.1 ( .NET CLR 3.5.30729; .NET4.0E) SearchToolbar', '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', 'PATH': '/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PATH_INFO': u'/accounts/register/', 'PS1': '(.dashboard-venv)', 'PWD': '/root/src/openstack-dashboard/trunk/openstack-dashboard', 'QUERY_STRING': '', 'REMOTE_ADDR': '70.35.55.122', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': '70-35-55-123.static.wiline.com', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.6', 'SHELL': '/bin/bash', 'SHLVL': '2', 'SUDO_COMMAND': '/bin/su', 'SUDO_GID': '1000', 'SUDO_UID': '1000', 'SUDO_USER': 'jesse', 'TERM': 'linux', 'TZ': 'PST+08PDT,M3.2.0,M11.1.0', 'USER': 'root', 'USERNAME': 'root', 'VIRTUAL_ENV': '/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv', '_': 'dashboard/manage.py', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f32c53b11e0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x243da50>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
      success_url
      None
      template_name
      'registration/registration_form.html'
    * /root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/registration/forms.py in save
        80. documentation on ``create_inactive_user()`` for details) if
        81. supplied.
        82.
        83. """
        84. new_user = RegistrationProfile.objects.create_inactive_user(username=self.cleaned_data['username'],
        85. password=self.cleaned_data['password1'],
        86. email=self.cleaned_data['email'],
        87. profile_callback=profile_callback) ...
        88. return new_user
        89.
        90.
        91. class RegistrationFormTermsOfService(RegistrationForm):
        92. """
        93. Subclass of ``RegistrationForm`` which adds a required checkbox
      ▶ Local vars
      Variable Value
      profile_callback
      None
      self
      <registration.forms.RegistrationFormUniqueEmail object at 0x2488310>
    * /root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/registration/models.py in create_inactive_user
       120. subject = ''.join(subject.splitlines())
       121.
       122. message = render_to_string('registration/activation_email.txt',
       123. { 'activation_key': registration_profile.activation_key,
       124. 'expiration_days': settings.ACCOUNT_ACTIVATION_DAYS,
       125. 'site': current_site })
 126.
       127. send_mail(subject, message, settings.DEFAULT_FROM_EMAIL, [new_user.email]) ...
       128. return new_user
       129.
       130. def create_profile(self, user):
       131. """
       132. Create a ``RegistrationProfile`` for a given
       133. ``User``, and return the ``RegistrationProfile``.
      ▶ Local vars
      Variable Value
      current_site
      <Site: example.com>
      email
      <email address hidden>'
      message
      u"\nWelcome to the OpenStack Dashboard!\n\n\nThis message contains information about how to activate your OpenStack Dashboard account.\n\n\nThe OpenStack Dashboard is a web based management system that enables to easily manage your OpenStack projects and instances.\n\n\nPLEASE NOTE: Before you can access your Dashboard account, you must first be connected to your OpenStack OpenVPN account. You should receive another message soon with instructions on how to connect to your VPN.\n\n\nWhen you're ready, connect to your OpenStack OpenVPN and visit the following link to activate your account:\n\n http://example.com/accounts/activate/d91d792e7bf9e0c4252e311a66343d4b69845a0a\n\nPlease note that this activation invitation will expire in 7 days. After that time, you will need to re-register your OpenStack Dashboard account.\n\nThe OpenStack Team\n\n"
      new_user
      <User: user2>
      password
      u'password'
      profile_callback
      None
      registration_profile
      <RegistrationProfile: Registration information for user2>
      self
      <registration.models.RegistrationManager object at 0x21426d0>
      send_email
      True
      send_mail
      <function send_mail at 0x1c98578>
      subject
      u'Welcome to the OpenStack Dashboard!'
      username
      u'user2'
    * /root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/core/mail/__init__.py in send_mail
        54. Note: The API for this method is frozen. New code wanting to extend the
        55. functionality should use the EmailMessage class directly.
        56. """
        57. connection = connection or get_connection(username=auth_user,
        58. password=auth_password,
        59. fail_silently=fail_silently)
        60. return EmailMessage(subject, message, from_email, recipient_list,
        61. connection=connection).send() ...
        62.
        63.
        64. def send_mass_mail(datatuple, fail_silently=False, auth_user=None,
        65. auth_password=None, connection=None):
        66. """
        67. Given a datatuple of (subject, message, from_email, recipient_list), sends
      ▶ Local vars
      Variable Value
      auth_password
      None
      auth_user
      None
      connection
      <django.core.mail.backends.smtp.EmailBackend object at 0x24a1810>
      fail_silently
      False
      from_email
      'webmaster@localhost'
      message
      u"\nWelcome to the OpenStack Dashboard!\n\n\nThis message contains information about how to activate your OpenStack Dashboard account.\n\n\nThe OpenStack Dashboard is a web based management system that enables to easily manage your OpenStack projects and instances.\n\n\nPLEASE NOTE: Before you can access your Dashboard account, you must first be connected to your OpenStack OpenVPN account. You should receive another message soon with instructions on how to connect to your VPN.\n\n\nWhen you're ready, connect to your OpenStack OpenVPN and visit the following link to activate your account:\n\n http://example.com/accounts/activate/d91d792e7bf9e0c4252e311a66343d4b69845a0a\n\nPlease note that this activation invitation will expire in 7 days. After that time, you will need to re-register your OpenStack Dashboard account.\n\nThe OpenStack Team\n\n"
      recipient_list
      [<email address hidden>']
      subject
      u'Welcome to the OpenStack Dashboard!'
    * /root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/core/mail/message.py in send
       168.
       169. def send(self, fail_silently=False):
       170. """Sends the email message."""
       171. if not self.recipients():
       172. # Don't bother creating the network connection if there's nobody to
       173. # send to.
       174. return 0
       175. return self.get_connection(fail_silently).send_messages([self]) ...
       176.
       177. def attach(self, filename=None, content=None, mimetype=None):
       178. """
       179. Attaches a file with the given filename and content. The filename can
       180. be omitted and the mimetype is guessed, if not provided.
 181.
      ▶ Local vars
      Variable Value
      fail_silently
      False
      self
      <django.core.mail.message.EmailMessage object at 0x24a17d0>
    * /root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/core/mail/backends/smtp.py in send_messages
        71. Sends one or more EmailMessage objects and returns the number of email
        72. messages sent.
        73. """
        74. if not email_messages:
        75. return
        76. self._lock.acquire()
        77. try:
        78. new_conn_created = self.open() ...
        79. if not self.connection:
        80. # We failed silently on open().
        81. # Trying to send would be pointless.
        82. return
        83. num_sent = 0
        84. for message in email_messages:
      ▶ Local vars
      Variable Value
      email_messages
      [<django.core.mail.message.EmailMessage object at 0x24a17d0>]
      self
      <django.core.mail.backends.smtp.EmailBackend object at 0x24a1810>
    * /root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/core/mail/backends/smtp.py in open
        34. if self.connection:
        35. # Nothing to do if the connection is already open.
        36. return False
        37. try:
        38. # If local_hostname is not specified, socket.getfqdn() gets used.
        39. # For performance, we use the cached FQDN for local_hostname.
        40. self.connection = smtplib.SMTP(self.host, self.port,
        41. local_hostname=DNS_NAME.get_fqdn()) ...
        42. if self.use_tls:
        43. self.connection.ehlo()
        44. self.connection.starttls()
        45. self.connection.ehlo()
        46. if self.username and self.password:
        47. self.connection.login(self.username, self.password)
      ▶ Local vars
      Variable Value
      self
      <django.core.mail.backends.smtp.EmailBackend object at 0x24a1810>
    * /usr/lib/python2.6/smtplib.py in __init__
       232. the local hostname is found using socket.getfqdn().
       233.
       234. """
       235. self.timeout = timeout
       236. self.esmtp_features = {}
       237. self.default_port = SMTP_PORT
       238. if host:
       239. (code, msg) = self.connect(host, port) ...
       240. if code != 220:
       241. raise SMTPConnectError(code, msg)
       242. if local_hostname is not None:
       243. self.local_hostname = local_hostname
       244. else:
       245. # RFC 2821 says we should use the fqdn in the EHLO/HELO verb, and
      ▶ Local vars
      Variable Value
      host
      'localhost'
      local_hostname
      'cc1'
      port
      25
      self
      <smtplib.SMTP instance at 0x259cf80>
      timeout
      <object object at 0x7f32c52f60b0>
    * /usr/lib/python2.6/smtplib.py in connect
       288. if i >= 0:
       289. host, port = host[:i], host[i+1:]
       290. try: port = int(port)
       291. except ValueError:
       292. raise socket.error, "nonnumeric port"
       293. if not port: port = self.default_port
       294. if self.debuglevel > 0: print>>stderr, 'connect:', (host, port)
       295. self.sock = self._get_socket(host, port, self.timeout) ...
       296. (code, msg) = self.getreply()
       297. if self.debuglevel > 0: print>>stderr, "connect:", msg
       298. return (code, msg)
       299.
       300. def send(self, str):
       301. """Send `str' to the server."""
      ▶ Local vars
      Variable Value
      host
      'localhost'
      port
      25
      self
      <smtplib.SMTP instance at 0x259cf80>
    * /usr/lib/python2.6/smtplib.py in _get_socket
       266. """
       267. self.debuglevel = debuglevel
       268.
       269. def _get_socket(self, port, host, timeout):
       270. # This makes it simpler for SMTP_SSL to use the SMTP connect code
       271. # and just alter the socket connection bit.
       272. if self.debuglevel > 0: print>>stderr, 'connect:', (host, port)
       273. return socket.create_connection((port, host), timeout) ...
       274.
       275. def connect(self, host='localhost', port = 0):
       276. """Connect to a host on a given port.
       277.
       278. If the hostname ends with a colon (`:') followed by a number, and
       279. there is no port specified, that suffix will be stripped off and the
      ▶ Local vars
      Variable Value
      host
      25
      port
      'localhost'
      self
      <smtplib.SMTP instance at 0x259cf80>
      timeout
      <object object at 0x7f32c52f60b0>
    * /usr/lib/python2.6/socket.py in create_connection
       554. sock.connect(sa)
       555. return sock
       556.
       557. except error, msg:
       558. if sock is not None:
       559. sock.close()
 560.
       561. raise error, msg ...
      ▶ Local vars
      Variable Value
      address
      ('localhost', 25)
      af
      2
      canonname
      ''
      host
      'localhost'
      msg
      error(111, 'Connection refused')
      port
      25
      proto
      6
      res
      (2, 1, 6, '', ('127.0.0.1', 25))
      sa
      ('127.0.0.1', 25)
      sock
      <socket._socketobject object at 0x2447750>
      socktype
      1
      timeout
      <object object at 0x7f32c52f60b0>

Environment: Request Method: POST Request URL: http://70.35.55.123:8000/accounts/register/ Django Version: 1.2.3 Python Version: 2.6.6 Installed Applications: ['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', 'registration'] Installed Middleware: ('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') Traceback: File "/root/src/openstack-dashboard/trunk/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) File "/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/registration/views.py" in register 148. new_user = form.save(profile_callback=profile_callback) File "/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/registration/forms.py" in save 87. profile_callback=profile_callback) File "/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/registration/models.py" in create_inactive_user 127. send_mail(subject, message, settings.DEFAULT_FROM_EMAIL, [new_user.email]) File "/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/core/mail/__init__.py" in send_mail 61. connection=connection).send() File "/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/core/mail/message.py" in send 175. return self.get_connection(fail_silently).send_messages([self]) File "/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/core/mail/backends/smtp.py" in send_messages 78. new_conn_created = self.open() File "/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/core/mail/backends/smtp.py" in open 41. local_hostname=DNS_NAME.get_fqdn()) File "/usr/lib/python2.6/smtplib.py" in __init__ 239. (code, msg) = self.connect(host, port) File "/usr/lib/python2.6/smtplib.py" in connect 295. self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.6/smtplib.py" in _get_socket 273. return socket.create_connection((port, host), timeout) File "/usr/lib/python2.6/socket.py" in create_connection 561. raise error, msg Exception Type: error at /accounts/register/ Exception Value: [Errno 111] Connection refused

Request information
GET

No GET data
POST
Variable Value
username
u'user2'
password1
u'password'
csrfmiddlewaretoken
u'dc5b64bd023b7b85bf41dbb104ef54d3'
email
<email address hidden>'
password2
u'password'
FILES

No FILES data
COOKIES
Variable Value
csrftoken
'dc5b64bd023b7b85bf41dbb104ef54d3'
sessionid
'0860c75fe572752028b67199d526f85c'
META
Variable Value
CONTENT_LENGTH
'131'
CONTENT_TYPE
'application/x-www-form-urlencoded'
CSRF_COOKIE
'dc5b64bd023b7b85bf41dbb104ef54d3'
DJANGO_SETTINGS_MODULE
'dashboard.settings'
GATEWAY_INTERFACE
'CGI/1.1'
HOME
'/root'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_CHARSET
'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_ACCEPT_LANGUAGE
'en-us,en;q=0.5'
HTTP_CONNECTION
'keep-alive'
HTTP_COOKIE
'csrftoken=dc5b64bd023b7b85bf41dbb104ef54d3; sessionid=0860c75fe572752028b67199d526f85c'
HTTP_HOST
'70.35.55.123:8000'
HTTP_KEEP_ALIVE
'115'
HTTP_REFERER
'http://70.35.55.123:8000/accounts/register/'
HTTP_USER_AGENT
'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 GTB7.1 ( .NET CLR 3.5.30729; .NET4.0E) SearchToolbar'
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'
PATH
'/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games'
PATH_INFO
u'/accounts/register/'
PS1
'(.dashboard-venv)'
PWD
'/root/src/openstack-dashboard/trunk/openstack-dashboard'
QUERY_STRING
''
REMOTE_ADDR
'70.35.55.122'
REMOTE_HOST
''
REQUEST_METHOD
'POST'
RUN_MAIN
'true'
SCRIPT_NAME
u''
SERVER_NAME
'70-35-55-123.static.wiline.com'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.1 Python/2.6.6'
SHELL
'/bin/bash'
SHLVL
'2'
SUDO_COMMAND
'/bin/su'
SUDO_GID
'1000'
SUDO_UID
'1000'
SUDO_USER
'jesse'
TERM
'linux'
TZ
'PST+08PDT,M3.2.0,M11.1.0'
USER
'root'
USERNAME
'root'
VIRTUAL_ENV
'/root/src/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv'
_
'dashboard/manage.py'
wsgi.errors
<open file '<stderr>', mode 'w' at 0x7f32c53b11e0>
wsgi.file_wrapper
<class 'django.core.servers.basehttp.FileWrapper'>
wsgi.input
<socket._fileobject object at 0x243da50>
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.sqlite3', 'HOST': '', 'NAME': '/root/src/openstack-dashboard/trunk/openstack-dashboard/local/dashboard_openstack.sqlite3', 'OPTIONS': {}, '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': ''}}
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
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_USE_TLS
False
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', '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
'/root/src/openstack-dashboard/trunk/openstack-dashboard/local'
LOGIN_REDIRECT_URL
'/'
LOGIN_URL
'/accounts/login'
LOGOUT_URL
'/accounts/logout/'
MANAGERS
()
MEDIA_ROOT
'/root/src/openstack-dashboard/trunk/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
'89593ae6-1bdd-45ea-9df0-42e5e380f8b5:dubproject'
NOVA_ADMIN_USER
'dub'
NOVA_DEFAULT_ENDPOINT
'http://70.35.55.123:8773/services/Cloud'
NOVA_DEFAULT_REGION
'nova'
NOVA_PROJECT
'dubproject'
NOVA_SECRET_KEY
'********************'
NUMBER_GROUPING
0
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
PREPEND_WWW
False
PROD
False
PROFANITIES_LIST
'********************'
ROOT_PATH
'/root/src/openstack-dashboard/trunk/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
('/root/src/openstack-dashboard/trunk/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.3 (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.

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Everett Toews
Solved:
Last query:
Last reply:
Revision history for this message
Everett Toews (everett-toews) said :
#1

Looks like you might not have your email settings configured properly in
openstack-dashboard/local/local_settings.py

Try it with Gmail and fill in the following settings:

EMAIL_PORT = 587
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = '???'
EMAIL_HOST_PASSWORD = '???'
EMAIL_USE_TLS = True

Everett

Revision history for this message
JT (jting) said :
#2

I have already tried to configure my company's email server as the
EMAIL_HOST, but it still didn't work. The error message is
(554, 'mailfrom without . in domain part is administratively denied',
'webmaster@localhost')

Do I need to install and configure the sendmail on the server that running
dashboard?

By the way, I didn't configure the EMAIL_HOST_USER and EMAIL_HOST_PASSWORD,
because the outgoing server doesn't need it.

Thanks

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Everett Toews
Sent: Saturday, April 09, 2011 2:06 PM
To: <email address hidden>
Subject: Re: [Question #152167]: can't create a new user on dashboard

Your question #152167 on OpenStack Compute (nova) changed:
https://answers.launchpad.net/nova/+question/152167

    Status: Open => Answered

Everett Toews proposed the following answer:
Looks like you might not have your email settings configured properly in
openstack-dashboard/local/local_settings.py

Try it with Gmail and fill in the following settings:

EMAIL_PORT = 587
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = '???'
EMAIL_HOST_PASSWORD = '???'
EMAIL_USE_TLS = True

Everett

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/nova/+question/152167/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/nova/+question/152167

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Everett Toews (everett-toews) said :
#3

We've only ever used Gmail addresses to send out email so I can't comment on
whether or not you need to install sendmail on the Dashboard server.

I'd suggest setting up a temporary Gmail address and just trying it out so
you know at least email is working. Then you can try your own mail server
with whatever configuration is necessary.

Everett

On Mon, Apr 11, 2011 at 5:27 PM, JT <email address hidden>wrote:

> Question #152167 on OpenStack Compute (nova) changed:
> https://answers.launchpad.net/nova/+question/152167
>
> Status: Answered => Open
>
> JT is still having a problem:
> I have already tried to configure my company's email server as the
> EMAIL_HOST, but it still didn't work. The error message is
> (554, 'mailfrom without . in domain part is administratively denied',
> 'webmaster@localhost')
>
> Do I need to install and configure the sendmail on the server that running
> dashboard?
>
> By the way, I didn't configure the EMAIL_HOST_USER and EMAIL_HOST_PASSWORD,
> because the outgoing server doesn't need it.
>
> Thanks
>
>
> -----Original Message-----
> From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
> Everett Toews
> Sent: Saturday, April 09, 2011 2:06 PM
> To: <email address hidden>
> Subject: Re: [Question #152167]: can't create a new user on dashboard
>
> Your question #152167 on OpenStack Compute (nova) changed:
> https://answers.launchpad.net/nova/+question/152167
>
> Status: Open => Answered
>
> Everett Toews proposed the following answer:
> Looks like you might not have your email settings configured properly in
> openstack-dashboard/local/local_settings.py
>
> Try it with Gmail and fill in the following settings:
>
> EMAIL_PORT = 587
> EMAIL_HOST = 'smtp.gmail.com'
> EMAIL_HOST_USER = '???'
> EMAIL_HOST_PASSWORD = '???'
> EMAIL_USE_TLS = True
>
> Everett
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/nova/+question/152167/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/nova/+question/152167
>
> You received this question notification because you are a direct
> subscriber of the question.
>
> You received this question notification because you are an answer
> contact for OpenStack Compute (nova).
>

Revision history for this message
JT (jting) said :
#4

Thanks a lot. The gmail works fine for dashboard. But the dashboard won't
allow me to sign in with new user account after I register a new user
successfully. The error was "Your username and password didn't match. Please
try again". Is there something wrong with my configuration?

Thanks again.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Everett Toews
Sent: Tuesday, April 12, 2011 8:27 AM
To: <email address hidden>
Subject: Re: [Question #152167]: can't create a new user on dashboard

Your question #152167 on OpenStack Compute (nova) changed:
https://answers.launchpad.net/nova/+question/152167

    Status: Open => Answere
Everett Toews proposed the following answer:
We've only ever used Gmail addresses to send out email so I can't comment on
whether or not you need to install sendmail on the Dashboard server.

I'd suggest setting up a temporary Gmail address and just trying it out so
you know at least email is working. Then you can try your own mail server
with whatever configuration is necessary.

Everett

On Mon, Apr 11, 2011 at 5:27 PM, JT
<email address hidden>wrote:

> Question #152167 on OpenStack Compute (nova) changed:
> https://answers.launchpad.net/nova/+question/152167
>
> Status: Answered => Open
>
> JT is still having a problem:
> I have already tried to configure my company's email server as the
> EMAIL_HOST, but it still didn't work. The error message is
> (554, 'mailfrom without . in domain part is administratively denied',
> 'webmaster@localhost')
>
> Do I need to install and configure the sendmail on the server that running
> dashboard?
>
> By the way, I didn't configure the EMAIL_HOST_USER and
EMAIL_HOST_PASSWORD,
> because the outgoing server doesn't need it.
>
> Thanks
>
>
> -----Original Message-----
> From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
> Everett Toews
> Sent: Saturday, April 09, 2011 2:06 PM
> To: <email address hidden>
> Subject: Re: [Question #152167]: can't create a new user on dashboard
>
> Your question #152167 on OpenStack Compute (nova) changed:
> https://answers.launchpad.net/nova/+question/152167
>
> Status: Open => Answered
>
> Everett Toews proposed the following answer:
> Looks like you might not have your email settings configured properly in
> openstack-dashboard/local/local_settings.py
>
> Try it with Gmail and fill in the following settings:
>
> EMAIL_PORT = 587
> EMAIL_HOST = 'smtp.gmail.com'
> EMAIL_HOST_USER = '???'
> EMAIL_HOST_PASSWORD = '???'
> EMAIL_USE_TLS = True
>
> Everett
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/nova/+question/152167/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/nova/+question/152167
>
> You received this question notification because you are a direct
> subscriber of the question.
>
> You received this question notification because you are an answer
> contact for OpenStack Compute (nova).
>

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/nova/+question/152167/+confirm?answer_id=2

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/nova/+question/152167

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
JT (jting) said :
#5

I have already figured out how to activate the new user and I can sign in
with a new user now. But my question now is the activate link on the email
is
http://example.com/accounts/activate/f83b82c23292d7a0ff7451c88aa168e1b7d6fe7
5
I have to change the example.com to the URL of my dashboard. How can I
configure the dashboard to the correct URL instead of example.com.

Thanks.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Everett Toews
Sent: Tuesday, April 12, 2011 8:27 AM
To: <email address hidden>
Subject: Re: [Question #152167]: can't create a new user on dashboard

Your question #152167 on OpenStack Compute (nova) changed:
https://answers.launchpad.net/nova/+question/152167

    Status: Open => Answered

Everett Toews proposed the following answer:
We've only ever used Gmail addresses to send out email so I can't comment on
whether or not you need to install sendmail on the Dashboard server.

I'd suggest setting up a temporary Gmail address and just trying it out so
you know at least email is working. Then you can try your own mail server
with whatever configuration is necessary.

Everett

On Mon, Apr 11, 2011 at 5:27 PM, JT
<email address hidden>wrote:

> Question #152167 on OpenStack Compute (nova) changed:
> https://answers.launchpad.net/nova/+question/152167
>
> Status: Answered => Open
>
> JT is still having a problem:
> I have already tried to configure my company's email server as the
> EMAIL_HOST, but it still didn't work. The error message is
> (554, 'mailfrom without . in domain part is administratively denied',
> 'webmaster@localhost')
>
> Do I need to install and configure the sendmail on the server that running
> dashboard?
>
> By the way, I didn't configure the EMAIL_HOST_USER and
EMAIL_HOST_PASSWORD,
> because the outgoing server doesn't need it.
>
> Thanks
>
>
> -----Original Message-----
> From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
> Everett Toews
> Sent: Saturday, April 09, 2011 2:06 PM
> To: <email address hidden>
> Subject: Re: [Question #152167]: can't create a new user on dashboard
>
> Your question #152167 on OpenStack Compute (nova) changed:
> https://answers.launchpad.net/nova/+question/152167
>
> Status: Open => Answered
>
> Everett Toews proposed the following answer:
> Looks like you might not have your email settings configured properly in
> openstack-dashboard/local/local_settings.py
>
> Try it with Gmail and fill in the following settings:
>
> EMAIL_PORT = 587
> EMAIL_HOST = 'smtp.gmail.com'
> EMAIL_HOST_USER = '???'
> EMAIL_HOST_PASSWORD = '???'
> EMAIL_USE_TLS = True
>
> Everett
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/nova/+question/152167/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/nova/+question/152167
>
> You received this question notification because you are a direct
> subscriber of the question.
>
> You received this question notification because you are an answer
> contact for OpenStack Compute (nova).
>

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/nova/+question/152167/+confirm?answer_id=2

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/nova/+question/152167

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Best Everett Toews (everett-toews) said :
#6

1. Login to the Dashboard admin screens at
http://my.dashboard.ip.addr/adminusing the username and password you
used when you installed the Dashboard

2. Click Sites, click example.com

3. Enter my.dashboard.ip.addr (or a real domain name if you have one) for
the Domain name and whatever you want for the Display name.

4. Try to register another user or click the "Forgot Password" on the home
page

Everett

Revision history for this message
JT (jting) said :
#7

Thanks.

Revision history for this message
moubariksiham (moubarik-siham) said :
#8

i can't resolve this problem,

when i click the "forget PAssword"

===================================

gaierror at /accounts/password/reset/

[Errno -3] Temporary failure in name resolution

Request Method: POST
Request URL: http://10.10.10.2:8000/accounts/password/reset/
Django Version: 1.2.4
Exception Type: gaierror
Exception Value:

[Errno -3] Temporary failure in name resolution

Exception Location: /usr/lib/python2.7/socket.py in create_connection, line 553
Python Executable: /opt/osdb/openstack-dashboard/.dashboard-venv/bin/python
Python Version: 2.7.1
Python Path: ['/opt/osdb/openstack-dashboard/dashboard', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/pip-1.0.1-py2.7.egg', '/opt/osdb/django-nova/src', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/mox-0.5.3-py2.7.egg', '/opt/osdb/django-nova-syspanel/src', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/plat-linux2', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/lib-tk', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/lib-old', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib64/python2.7/lib-tk', '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages', '/opt/osdb/openstack-dashboard', '/opt/osdb/openstack-dashboard/dashboard', '/opt/osdb/openstack-dashboard/dashboard']
Server time: Tue, 17 May 2011 02:34:55 -0700
Traceback Switch to copy-and-paste view

    * /opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/core/handlers/base.py in get_response
        93. # Apply view middleware
        94. for middleware_method in self._view_middleware:
        95. response = middleware_method(request, callback, callback_args, callback_kwargs)
        96. if response:
        97. return response
        98.
        99. try:
       100. response = callback(request, *callback_args, **callback_kwargs) ...
       101. except Exception, e:
       102. # If the view raised an exception, run it through exception
       103. # middleware, and if the exception middleware returns a
       104. # response, use that. Otherwise, reraise the exception.
       105. for middleware_method in self._exception_middleware:
       106. response = middleware_method(request, e)
      ▶ Local vars
      Variable Value
      callback
      <function password_reset at 0x2027848>
      callback_args
      ()
      callback_kwargs
      {}
      e
      gaierror(-3, 'Temporary failure in name resolution')
      exceptions
      <module 'django.core.exceptions' from '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/core/exceptions.pyc'>
      middleware_method
      <bound method XViewMiddleware.process_view of <django.middleware.doc.XViewMiddleware object at 0x1bc9850>>
      receivers
      [(<function _rollback_on_exception at 0x13f8668>, None)]
      request
      <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'csrfmiddlewaretoken': [u'c12618a55cdd854a06bf1a7dce787eac'], u'email': [<email address hidden>']}>, COOKIES:{'csrftoken': 'c12618a55cdd854a06bf1a7dce787eac'}, META:{'CONTENT_LENGTH': '84', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CSRF_COOKIE': 'c12618a55cdd854a06bf1a7dce787eac', 'DJANGO_SETTINGS_MODULE': 'dashboard.settings', 'EC2_ACCESS_KEY': 'de10db96-9c4a-4444-9beb-2deeac654619:proj', 'EC2_CERT': '/home/moubarik/creds/cert.pem', 'EC2_PRIVATE_KEY': '/home/moubarik/creds/pk.pem', 'EC2_SECRET_KEY': 'fb347a1b-19d6-491a-95a7-58b278a5e0b3', 'EC2_URL': 'http://10.10.10.2:8773/services/Cloud', 'EC2_USER_ID': '42', 'EUCALYPTUS_CERT': '/home/moubarik/creds/cacert.pem', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HOME': '/root', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=c12618a55cdd854a06bf1a7dce787eac', 'HTTP_HOST': '10.10.10.2:8000', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://10.10.10.2:8000/accounts/password/reset/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10', 'LANG': 'en_US.UTF-8', 'LANGUAGE': 'en_US:', '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': 'de10db96-9c4a-4444-9beb-2deeac654619', 'NOVA_CERT': '/home/moubarik/creds/cacert.pem', 'NOVA_URL': 'http://10.10.10.2: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:/usr/games', 'PATH_INFO': u'/accounts/password/reset/', 'PS1': '(.dashboard-venv)', 'PWD': '/opt/osdb/openstack-dashboard', 'QUERY_STRING': '', 'REMOTE_ADDR': '10.10.10.4', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'S3_URL': 'http://10.10.10.2:3333', 'SCRIPT_NAME': u'', 'SERVER_NAME': '10.10.10.2', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.1+', 'SHELL': '/bin/bash', 'SHLVL': '2', 'SUDO_COMMAND': '/bin/bash', 'SUDO_GID': '1000', 'SUDO_UID': '1000', 'SUDO_USER': 'moubarik', 'TERM': 'linux', 'TZ': 'PST+08PDT,M3.2.0,M11.1.0', 'USER': 'root', 'USERNAME': 'root', 'VIRTUAL_ENV': '/opt/osdb/openstack-dashboard/.dashboard-venv', '_': 'dashboard/manage.py', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7fa053456270>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x1fe5d50>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
      resolver
      <RegexURLResolver dashboard.urls (None:None) ^/>
      response
      None
      self
      <django.core.handlers.wsgi.WSGIHandler object at 0x1147fd0>
      settings
      <django.conf.LazySettings object at 0xfd0b90>
      urlconf
      'dashboard.urls'
      urlresolvers
      <module 'django.core.urlresolvers' from '/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/core/urlresolvers.pyc'>
    * /opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/utils/decorators.py in _wrapped_view
        69. if result is not None:
        70. return result
        71. if hasattr(middleware, 'process_view'):
        72. result = middleware.process_view(request, view_func, args, kwargs)
        73. if result is not None:
        74. return result
        75. try:
        76. response = view_func(request, *args, **kwargs) ...
        77. except Exception, e:
        78. if hasattr(middleware, 'process_exception'):
        79. result = middleware.process_exception(request, e)
        80. if result is not None:
        81. return result
        82. raise
      ▶ Local vars
      Variable Value
      args
      ()
      e
      gaierror(-3, 'Temporary failure in name resolution')
      kwargs
      {}
      middleware
      <django.middleware.csrf.CsrfViewMiddleware object at 0x1705950>
      request
      <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'csrfmiddlewaretoken': [u'c12618a55cdd854a06bf1a7dce787eac'], u'email': [<email address hidden>']}>, COOKIES:{'csrftoken': 'c12618a55cdd854a06bf1a7dce787eac'}, META:{'CONTENT_LENGTH': '84', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CSRF_COOKIE': 'c12618a55cdd854a06bf1a7dce787eac', 'DJANGO_SETTINGS_MODULE': 'dashboard.settings', 'EC2_ACCESS_KEY': 'de10db96-9c4a-4444-9beb-2deeac654619:proj', 'EC2_CERT': '/home/moubarik/creds/cert.pem', 'EC2_PRIVATE_KEY': '/home/moubarik/creds/pk.pem', 'EC2_SECRET_KEY': 'fb347a1b-19d6-491a-95a7-58b278a5e0b3', 'EC2_URL': 'http://10.10.10.2:8773/services/Cloud', 'EC2_USER_ID': '42', 'EUCALYPTUS_CERT': '/home/moubarik/creds/cacert.pem', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HOME': '/root', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=c12618a55cdd854a06bf1a7dce787eac', 'HTTP_HOST': '10.10.10.2:8000', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://10.10.10.2:8000/accounts/password/reset/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10', 'LANG': 'en_US.UTF-8', 'LANGUAGE': 'en_US:', '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': 'de10db96-9c4a-4444-9beb-2deeac654619', 'NOVA_CERT': '/home/moubarik/creds/cacert.pem', 'NOVA_URL': 'http://10.10.10.2: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:/usr/games', 'PATH_INFO': u'/accounts/password/reset/', 'PS1': '(.dashboard-venv)', 'PWD': '/opt/osdb/openstack-dashboard', 'QUERY_STRING': '', 'REMOTE_ADDR': '10.10.10.4', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'S3_URL': 'http://10.10.10.2:3333', 'SCRIPT_NAME': u'', 'SERVER_NAME': '10.10.10.2', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.1+', 'SHELL': '/bin/bash', 'SHLVL': '2', 'SUDO_COMMAND': '/bin/bash', 'SUDO_GID': '1000', 'SUDO_UID': '1000', 'SUDO_USER': 'moubarik', 'TERM': 'linux', 'TZ': 'PST+08PDT,M3.2.0,M11.1.0', 'USER': 'root', 'USERNAME': 'root', 'VIRTUAL_ENV': '/opt/osdb/openstack-dashboard/.dashboard-venv', '_': 'dashboard/manage.py', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7fa053456270>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x1fe5d50>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
      result
      None
      view_func
      <function password_reset at 0x2131f50>
    * /opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/contrib/auth/views.py in password_reset
       114. opts = {}
       115. opts['use_https'] = request.is_secure()
       116. opts['token_generator'] = token_generator
       117. opts['email_template_name'] = email_template_name
       118. opts['request'] = request
       119. if is_admin_site:
       120. opts['domain_override'] = request.META['HTTP_HOST']
       121. form.save(**opts) ...
       122. return HttpResponseRedirect(post_reset_redirect)
       123. else:
       124. form = password_reset_form()
       125. return render_to_response(template_name, {
       126. 'form': form,
       127. }, context_instance=RequestContext(request))
      ▶ Local vars
      Variable Value
      email_template_name
      'registration/password_reset_email.html'
      form
      <django.contrib.auth.forms.PasswordResetForm object at 0x20a9f10>
      is_admin_site
      False
      opts
      {'email_template_name': 'registration/password_reset_email.html', 'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'csrfmiddlewaretoken': [u'c12618a55cdd854a06bf1a7dce787eac'], u'email': [<email address hidden>']}>, COOKIES:{'csrftoken': 'c12618a55cdd854a06bf1a7dce787eac'}, META:{'CONTENT_LENGTH': '84', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CSRF_COOKIE': 'c12618a55cdd854a06bf1a7dce787eac', 'DJANGO_SETTINGS_MODULE': 'dashboard.settings', 'EC2_ACCESS_KEY': 'de10db96-9c4a-4444-9beb-2deeac654619:proj', 'EC2_CERT': '/home/moubarik/creds/cert.pem', 'EC2_PRIVATE_KEY': '/home/moubarik/creds/pk.pem', 'EC2_SECRET_KEY': 'fb347a1b-19d6-491a-95a7-58b278a5e0b3', 'EC2_URL': 'http://10.10.10.2:8773/services/Cloud', 'EC2_USER_ID': '42', 'EUCALYPTUS_CERT': '/home/moubarik/creds/cacert.pem', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HOME': '/root', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=c12618a55cdd854a06bf1a7dce787eac', 'HTTP_HOST': '10.10.10.2:8000', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://10.10.10.2:8000/accounts/password/reset/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10', 'LANG': 'en_US.UTF-8', 'LANGUAGE': 'en_US:', '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': 'de10db96-9c4a-4444-9beb-2deeac654619', 'NOVA_CERT': '/home/moubarik/creds/cacert.pem', 'NOVA_URL': 'http://10.10.10.2: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:/usr/games', 'PATH_INFO': u'/accounts/password/reset/', 'PS1': '(.dashboard-venv)', 'PWD': '/opt/osdb/openstack-dashboard', 'QUERY_STRING': '', 'REMOTE_ADDR': '10.10.10.4', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'S3_URL': 'http://10.10.10.2:3333', 'SCRIPT_NAME': u'', 'SERVER_NAME': '10.10.10.2', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.1+', 'SHELL': '/bin/bash', 'SHLVL': '2', 'SUDO_COMMAND': '/bin/bash', 'SUDO_GID': '1000', 'SUDO_UID': '1000', 'SUDO_USER': 'moubarik', 'TERM': 'linux', 'TZ': 'PST+08PDT,M3.2.0,M11.1.0', 'USER': 'root', 'USERNAME': 'root', 'VIRTUAL_ENV': '/opt/osdb/openstack-dashboard/.dashboard-venv', '_': 'dashboard/manage.py', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7fa053456270>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x1fe5d50>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, 'token_generator': <django.contrib.auth.tokens.PasswordResetTokenGenerator object at 0x1c35590>, 'use_https': False}
      password_reset_form
      <class 'django.contrib.auth.forms.PasswordResetForm'>
      post_reset_redirect
      '/accounts/password/reset/done/'
      request
      <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'csrfmiddlewaretoken': [u'c12618a55cdd854a06bf1a7dce787eac'], u'email': [<email address hidden>']}>, COOKIES:{'csrftoken': 'c12618a55cdd854a06bf1a7dce787eac'}, META:{'CONTENT_LENGTH': '84', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CSRF_COOKIE': 'c12618a55cdd854a06bf1a7dce787eac', 'DJANGO_SETTINGS_MODULE': 'dashboard.settings', 'EC2_ACCESS_KEY': 'de10db96-9c4a-4444-9beb-2deeac654619:proj', 'EC2_CERT': '/home/moubarik/creds/cert.pem', 'EC2_PRIVATE_KEY': '/home/moubarik/creds/pk.pem', 'EC2_SECRET_KEY': 'fb347a1b-19d6-491a-95a7-58b278a5e0b3', 'EC2_URL': 'http://10.10.10.2:8773/services/Cloud', 'EC2_USER_ID': '42', 'EUCALYPTUS_CERT': '/home/moubarik/creds/cacert.pem', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HOME': '/root', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=c12618a55cdd854a06bf1a7dce787eac', 'HTTP_HOST': '10.10.10.2:8000', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://10.10.10.2:8000/accounts/password/reset/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10', 'LANG': 'en_US.UTF-8', 'LANGUAGE': 'en_US:', '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': 'de10db96-9c4a-4444-9beb-2deeac654619', 'NOVA_CERT': '/home/moubarik/creds/cacert.pem', 'NOVA_URL': 'http://10.10.10.2: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:/usr/games', 'PATH_INFO': u'/accounts/password/reset/', 'PS1': '(.dashboard-venv)', 'PWD': '/opt/osdb/openstack-dashboard', 'QUERY_STRING': '', 'REMOTE_ADDR': '10.10.10.4', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'S3_URL': 'http://10.10.10.2:3333', 'SCRIPT_NAME': u'', 'SERVER_NAME': '10.10.10.2', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.1+', 'SHELL': '/bin/bash', 'SHLVL': '2', 'SUDO_COMMAND': '/bin/bash', 'SUDO_GID': '1000', 'SUDO_UID': '1000', 'SUDO_USER': 'moubarik', 'TERM': 'linux', 'TZ': 'PST+08PDT,M3.2.0,M11.1.0', 'USER': 'root', 'USERNAME': 'root', 'VIRTUAL_ENV': '/opt/osdb/openstack-dashboard/.dashboard-venv', '_': 'dashboard/manage.py', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7fa053456270>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x1fe5d50>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
      template_name
      'registration/password_reset_form.html'
      token_generator
      <django.contrib.auth.tokens.PasswordResetTokenGenerator object at 0x1c35590>
    * /opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/contrib/auth/forms.py in save
       136. 'site_name': site_name,
       137. 'uid': int_to_base36(user.id),
       138. 'user': user,
       139. 'token': token_generator.make_token(user),
       140. 'protocol': use_https and 'https' or 'http',
       141. }
       142. send_mail(_("Password reset on %s") % site_name,
       143. t.render(Context(c)), None, [user.email]) ...
       144.
       145. class SetPasswordForm(forms.Form):
       146. """
       147. A form that lets a user change set his/her password without
       148. entering the old password
       149. """
      ▶ Local vars
      Variable Value
      c
      {'domain': u'example.com', 'email': <email address hidden>', 'protocol': 'http', 'site_name': u'example.com', 'token': '2x8-d562709b614f67cca27a', 'uid': '2', 'user': <User: help>}
      current_site
      <Site: example.com>
      domain
      u'example.com'
      domain_override
      None
      email_template_name
      'registration/password_reset_email.html'
      request
      <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'csrfmiddlewaretoken': [u'c12618a55cdd854a06bf1a7dce787eac'], u'email': [<email address hidden>']}>, COOKIES:{'csrftoken': 'c12618a55cdd854a06bf1a7dce787eac'}, META:{'CONTENT_LENGTH': '84', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CSRF_COOKIE': 'c12618a55cdd854a06bf1a7dce787eac', 'DJANGO_SETTINGS_MODULE': 'dashboard.settings', 'EC2_ACCESS_KEY': 'de10db96-9c4a-4444-9beb-2deeac654619:proj', 'EC2_CERT': '/home/moubarik/creds/cert.pem', 'EC2_PRIVATE_KEY': '/home/moubarik/creds/pk.pem', 'EC2_SECRET_KEY': 'fb347a1b-19d6-491a-95a7-58b278a5e0b3', 'EC2_URL': 'http://10.10.10.2:8773/services/Cloud', 'EC2_USER_ID': '42', 'EUCALYPTUS_CERT': '/home/moubarik/creds/cacert.pem', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HOME': '/root', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=c12618a55cdd854a06bf1a7dce787eac', 'HTTP_HOST': '10.10.10.2:8000', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://10.10.10.2:8000/accounts/password/reset/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10', 'LANG': 'en_US.UTF-8', 'LANGUAGE': 'en_US:', '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': 'de10db96-9c4a-4444-9beb-2deeac654619', 'NOVA_CERT': '/home/moubarik/creds/cacert.pem', 'NOVA_URL': 'http://10.10.10.2: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:/usr/games', 'PATH_INFO': u'/accounts/password/reset/', 'PS1': '(.dashboard-venv)', 'PWD': '/opt/osdb/openstack-dashboard', 'QUERY_STRING': '', 'REMOTE_ADDR': '10.10.10.4', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'S3_URL': 'http://10.10.10.2:3333', 'SCRIPT_NAME': u'', 'SERVER_NAME': '10.10.10.2', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.1+', 'SHELL': '/bin/bash', 'SHLVL': '2', 'SUDO_COMMAND': '/bin/bash', 'SUDO_GID': '1000', 'SUDO_UID': '1000', 'SUDO_USER': 'moubarik', 'TERM': 'linux', 'TZ': 'PST+08PDT,M3.2.0,M11.1.0', 'USER': 'root', 'USERNAME': 'root', 'VIRTUAL_ENV': '/opt/osdb/openstack-dashboard/.dashboard-venv', '_': 'dashboard/manage.py', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7fa053456270>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x1fe5d50>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
      self
      <django.contrib.auth.forms.PasswordResetForm object at 0x20a9f10>
      send_mail
      <function send_mail at 0x18a1578>
      site_name
      u'example.com'
      t
      <django.template.Template object at 0x20c4dd0>
      token_generator
      <django.contrib.auth.tokens.PasswordResetTokenGenerator object at 0x1c35590>
      use_https
      False
      user
      <User: help>
    * /opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/core/mail/__init__.py in send_mail
        54. Note: The API for this method is frozen. New code wanting to extend the
        55. functionality should use the EmailMessage class directly.
        56. """
        57. connection = connection or get_connection(username=auth_user,
        58. password=auth_password,
        59. fail_silently=fail_silently)
        60. return EmailMessage(subject, message, from_email, recipient_list,
        61. connection=connection).send() ...
        62.
        63.
        64. def send_mass_mail(datatuple, fail_silently=False, auth_user=None,
        65. auth_password=None, connection=None):
        66. """
        67. Given a datatuple of (subject, message, from_email, recipient_list), sends
      ▶ Local vars
      Variable Value
      auth_password
      None
      auth_user
      None
      connection
      <django.core.mail.backends.smtp.EmailBackend object at 0x20fd110>
      fail_silently
      False
      from_email
      None
      message
      u"\n\nYou're receiving this e-mail because you requested a password reset for your\nuser account at OpenStack.\n\nPlease use the following link and choose a new password:\n\nhttp://example.com/accounts/password/reset/confirm/2-2x8-d562709b614f67cca27a/\n\nYour user name, in case you've forgotten: help\n\nThanks for using our site!\n\nThe OpenStack Team\n\n"
      recipient_list
      [<email address hidden>']
      subject
      u'Password reset on example.com'
    * /opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/core/mail/message.py in send
       172.
       173. def send(self, fail_silently=False):
       174. """Sends the email message."""
       175. if not self.recipients():
       176. # Don't bother creating the network connection if there's nobody to
       177. # send to.
       178. return 0
       179. return self.get_connection(fail_silently).send_messages([self]) ...
       180.
       181. def attach(self, filename=None, content=None, mimetype=None):
       182. """
       183. Attaches a file with the given filename and content. The filename can
       184. be omitted and the mimetype is guessed, if not provided.
 185.
      ▶ Local vars
      Variable Value
      fail_silently
      False
      self
      <django.core.mail.message.EmailMessage object at 0x2025c50>
    * /opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/core/mail/backends/smtp.py in send_messages
        71. Sends one or more EmailMessage objects and returns the number of email
        72. messages sent.
        73. """
        74. if not email_messages:
        75. return
        76. self._lock.acquire()
        77. try:
        78. new_conn_created = self.open() ...
        79. if not self.connection:
        80. # We failed silently on open().
        81. # Trying to send would be pointless.
        82. return
        83. num_sent = 0
        84. for message in email_messages:
      ▶ Local vars
      Variable Value
      email_messages
      [<django.core.mail.message.EmailMessage object at 0x2025c50>]
      self
      <django.core.mail.backends.smtp.EmailBackend object at 0x20fd110>
    * /opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/core/mail/backends/smtp.py in open
        34. if self.connection:
        35. # Nothing to do if the connection is already open.
        36. return False
        37. try:
        38. # If local_hostname is not specified, socket.getfqdn() gets used.
        39. # For performance, we use the cached FQDN for local_hostname.
        40. self.connection = smtplib.SMTP(self.host, self.port,
        41. local_hostname=DNS_NAME.get_fqdn()) ...
        42. if self.use_tls:
        43. self.connection.ehlo()
        44. self.connection.starttls()
        45. self.connection.ehlo()
        46. if self.username and self.password:
        47. self.connection.login(self.username, self.password)
      ▶ Local vars
      Variable Value
      self
      <django.core.mail.backends.smtp.EmailBackend object at 0x20fd110>
    * /usr/lib/python2.7/smtplib.py in __init__
       232. the local hostname is found using socket.getfqdn().
       233.
       234. """
       235. self.timeout = timeout
       236. self.esmtp_features = {}
       237. self.default_port = SMTP_PORT
       238. if host:
       239. (code, msg) = self.connect(host, port) ...
       240. if code != 220:
       241. raise SMTPConnectError(code, msg)
       242. if local_hostname is not None:
       243. self.local_hostname = local_hostname
       244. else:
       245. # RFC 2821 says we should use the fqdn in the EHLO/HELO verb, and
      ▶ Local vars
      Variable Value
      host
      'smtp.gmail.com'
      local_hostname
      'ubuntu.localdomain'
      port
      587
      self
      <smtplib.SMTP instance at 0x20421b8>
      timeout
      <object object at 0x7fa0533ab0b0>
    * /usr/lib/python2.7/smtplib.py in connect
       288. if i >= 0:
       289. host, port = host[:i], host[i+1:]
       290. try: port = int(port)
       291. except ValueError:
       292. raise socket.error, "nonnumeric port"
       293. if not port: port = self.default_port
       294. if self.debuglevel > 0: print>>stderr, 'connect:', (host, port)
       295. self.sock = self._get_socket(host, port, self.timeout) ...
       296. (code, msg) = self.getreply()
       297. if self.debuglevel > 0: print>>stderr, "connect:", msg
       298. return (code, msg)
       299.
       300. def send(self, str):
       301. """Send `str' to the server."""
      ▶ Local vars
      Variable Value
      host
      'smtp.gmail.com'
      port
      587
      self
      <smtplib.SMTP instance at 0x20421b8>
    * /usr/lib/python2.7/smtplib.py in _get_socket
       266. """
       267. self.debuglevel = debuglevel
       268.
       269. def _get_socket(self, port, host, timeout):
       270. # This makes it simpler for SMTP_SSL to use the SMTP connect code
       271. # and just alter the socket connection bit.
       272. if self.debuglevel > 0: print>>stderr, 'connect:', (host, port)
       273. return socket.create_connection((port, host), timeout) ...
       274.
       275. def connect(self, host='localhost', port = 0):
       276. """Connect to a host on a given port.
       277.
       278. If the hostname ends with a colon (`:') followed by a number, and
       279. there is no port specified, that suffix will be stripped off and the
      ▶ Local vars
      Variable Value
      host
      587
      port
      'smtp.gmail.com'
      self
      <smtplib.SMTP instance at 0x20421b8>
      timeout
      <object object at 0x7fa0533ab0b0>
    * /usr/lib/python2.7/socket.py in create_connection
       546. is used. If *source_address* is set it must be a tuple of (host, port)
       547. for the socket to bind as a source address before making the connection.
       548. An host of '' or port 0 tells the OS to use the default.
       549. """
       550.
       551. host, port = address
       552. err = None
       553. for res in getaddrinfo(host, port, 0, SOCK_STREAM): ...
       554. af, socktype, proto, canonname, sa = res
       555. sock = None
       556. try:
       557. sock = socket(af, socktype, proto)
       558. if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
       559. sock.settimeout(timeout)
      ▶ Local vars
      Variable Value
      address
      ('smtp.gmail.com', 587)
      err
      None
      host
      'smtp.gmail.com'
      port
      587
      source_address
      None
      timeout
      <object object at 0x7fa0533ab0b0>

Environment: Request Method: POST Request URL: http://10.10.10.2:8000/accounts/password/reset/ Django Version: 1.2.4 Python Version: 2.7.1 Installed Applications: ['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'] Installed Middleware: ('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') Traceback: File "/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response 100. response = callback(request, *callback_args, **callback_kwargs) File "/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view 76. response = view_func(request, *args, **kwargs) File "/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/contrib/auth/views.py" in password_reset 121. form.save(**opts) File "/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/contrib/auth/forms.py" in save 143. t.render(Context(c)), None, [user.email]) File "/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/core/mail/__init__.py" in send_mail 61. connection=connection).send() File "/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/core/mail/message.py" in send 179. return self.get_connection(fail_silently).send_messages([self]) File "/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/core/mail/backends/smtp.py" in send_messages 78. new_conn_created = self.open() File "/opt/osdb/openstack-dashboard/.dashboard-venv/lib/python2.7/site-packages/django/core/mail/backends/smtp.py" in open 41. local_hostname=DNS_NAME.get_fqdn()) File "/usr/lib/python2.7/smtplib.py" in __init__ 239. (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py" in connect 295. self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py" in _get_socket 273. return socket.create_connection((port, host), timeout) File "/usr/lib/python2.7/socket.py" in create_connection 553. for res in getaddrinfo(host, port, 0, SOCK_STREAM): Exception Type: gaierror at /accounts/password/reset/ Exception Value: [Errno -3] Temporary failure in name resolution

Request information
GET

No GET data
POST
Variable Value
csrfmiddlewaretoken
u'c12618a55cdd854a06bf1a7dce787eac'
email
<email address hidden>'
FILES

No FILES data
COOKIES
Variable Value
csrftoken
'c12618a55cdd854a06bf1a7dce787eac'
META
Variable Value
CONTENT_LENGTH
'84'
CONTENT_TYPE
'application/x-www-form-urlencoded'
CSRF_COOKIE
'c12618a55cdd854a06bf1a7dce787eac'
DJANGO_SETTINGS_MODULE
'dashboard.settings'
EC2_ACCESS_KEY
'de10db96-9c4a-4444-9beb-2deeac654619:proj'
EC2_CERT
'/home/moubarik/creds/cert.pem'
EC2_PRIVATE_KEY
'/home/moubarik/creds/pk.pem'
EC2_SECRET_KEY
'fb347a1b-19d6-491a-95a7-58b278a5e0b3'
EC2_URL
'http://10.10.10.2:8773/services/Cloud'
EC2_USER_ID
'42'
EUCALYPTUS_CERT
'/home/moubarik/creds/cacert.pem'
GATEWAY_INTERFACE
'CGI/1.1'
HOME
'/root'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_CHARSET
'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_ACCEPT_LANGUAGE
'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3'
HTTP_CONNECTION
'keep-alive'
HTTP_COOKIE
'csrftoken=c12618a55cdd854a06bf1a7dce787eac'
HTTP_HOST
'10.10.10.2:8000'
HTTP_KEEP_ALIVE
'115'
HTTP_REFERER
'http://10.10.10.2:8000/accounts/password/reset/'
HTTP_USER_AGENT
'Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10'
LANG
'en_US.UTF-8'
LANGUAGE
'en_US:'
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
'de10db96-9c4a-4444-9beb-2deeac654619'
NOVA_CERT
'/home/moubarik/creds/cacert.pem'
NOVA_URL
'http://10.10.10.2: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:/usr/games'
PATH_INFO
u'/accounts/password/reset/'
PS1
'(.dashboard-venv)'
PWD
'/opt/osdb/openstack-dashboard'
QUERY_STRING
''
REMOTE_ADDR
'10.10.10.4'
REMOTE_HOST
''
REQUEST_METHOD
'POST'
RUN_MAIN
'true'
S3_URL
'http://10.10.10.2:3333'
SCRIPT_NAME
u''
SERVER_NAME
'10.10.10.2'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.1 Python/2.7.1+'
SHELL
'/bin/bash'
SHLVL
'2'
SUDO_COMMAND
'/bin/bash'
SUDO_GID
'1000'
SUDO_UID
'1000'
SUDO_USER
'moubarik'
TERM
'linux'
TZ
'PST+08PDT,M3.2.0,M11.1.0'
USER
'root'
USERNAME
'root'
VIRTUAL_ENV
'/opt/osdb/openstack-dashboard/.dashboard-venv'
_
'dashboard/manage.py'
wsgi.errors
<open file '<stderr>', mode 'w' at 0x7fa053456270>
wsgi.file_wrapper
<class 'django.core.servers.basehttp.FileWrapper'>
wsgi.input
<socket._fileobject object at 0x1fe5d50>
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.sqlite3', 'HOST': '', 'NAME': '/opt/osdb/openstack-dashboard/local/dashboard_openstack.sqlite3', 'OPTIONS': {}, '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': ''}}
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
'smtp.gmail.com'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
'<email address hidden>'
EMAIL_PORT
587
EMAIL_SUBJECT_PREFIX
'[Django] '
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
'b6a7e3ca-f894-473b-abca-84329d9829fa:proj'
NOVA_ADMIN_USER
'novaadmin'
NOVA_DEFAULT_ENDPOINT
'http://localhost:8773/services/Cloud'
NOVA_DEFAULT_REGION
'nova'
NOVA_PROJECT
'proj'
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.

can you help me please
?!!!