<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    In my system there is not /var/log/horizon/horizon.log file, maybe
    because of openstack-keystone daemon is not running due to httpd
    daemon is running and authenticating <span class="moz-smiley-s8"><span>
        =-O </span></span><br>
    <br>
    My /var/log/horizon/horizon.log file:<br>
    <blockquote><tt>[...]</tt><br>
      <tt>ALLOWED_HOSTS = ['*']</tt><br>
      <tt>[...]</tt><br>
    </blockquote>
    ...without the last ","... but after reading 
    <a class="moz-txt-link-freetext" href="https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts">https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts</a>, I
    think that is not the problem...<br>
    <br>
    Help, please!!!<br>
    <br>
    Thanks!!<br>
    <br>
    <div class="moz-cite-prefix">El 02/07/2015 a las 14:23, Vijay Kakkar
      escribió:<br>
    </div>
    <blockquote
cite="mid:CAOAQVaFmaujcybCNHy72QsXYTPCHDUmmMeEbY6ibEvsxmMNK3Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Hi Daniel,<br>
            <br>
          </div>
          Can you attach the /var/log/horizon/horizon.log ? Please
          ensure in /etc/openstack-dashboard/local_settings
          ALLOWED_HOSTS = ['your horizon address', ] or ALLOWED_HOSTS =
          ['*', ]<br>
          <br>
        </div>
        restart httpd once you make changes in above file.<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Jul 2, 2015 at 5:16 PM, Daniel
          Ruiz Molina <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:daniel.ruiz@caos.uab.es" target="_blank">daniel.ruiz@caos.uab.es</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hello,<br>
              <br>
              I'm trying to configure a "Kilo" server (CentOS 7.x)
              reading, step-by-step, the PDF manual. However, after
              installing and configuring dashboard, I can't connect with
              browser. Log files say:<br>
              <br>
              /var/log/httpd/keystone-error.log:<br>
              <blockquote><tt>[...]</tt><br>
                <tt>2015-07-02 07:36:09.740902 mod_wsgi (pid=2768):
                  Attach interpreter ''.</tt><br>
                <tt>2015-07-02 07:36:09.744007 mod_wsgi (pid=2769):
                  Attach interpreter ''.</tt><br>
                <tt>2015-07-02 07:36:09.746298 mod_wsgi (pid=2770):
                  Attach interpreter ''.</tt><br>
                <tt>2015-07-02 07:36:09.749608 mod_wsgi (pid=2772):
                  Attach interpreter ''.</tt><br>
                <tt>2015-07-02 07:36:09.752940 mod_wsgi (pid=2776):
                  Attach interpreter ''.</tt><br>
                <tt>2015-07-02 07:36:09.758848 mod_wsgi (pid=2774): <b><big>Attach

                      interpreter ''.</big></b></tt><br>
                <tt>2015-07-02 07:36:21.745586 mod_wsgi (pid=2771,
                  process='keystone-public', application=''): Loading
                  WSGI script '/var/www/cgi-bin/keystone/main'.</tt><br>
                <tt>2015-07-02 07:36:22.744582 mod_wsgi (pid=2772,
                  process='keystone-public', application=''): Loading
                  WSGI script '/var/www/cgi-bin/keystone/main'.</tt><br>
              </blockquote>
              <br>
              <br>
              /var/log/keystone/keystone.log:<br>
              <blockquote><tt>2015-07-02 07:36:23.557 2772 ERROR
                  keystone.common.wsgi [-] <big><b>'Token' object has
                      no attribute 'list_events'</b></big></tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi Traceback (most recent call
                  last):</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi   File
                  "/usr/lib/python2.7/site-packages/keystone/common/wsgi.py",
                  line 449, in __call__</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi     response =
                  self.process_request(request)</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi   File
                  "/usr/lib/python2.7/site-packages/keystone/middleware/core.py",
                  line 238, in process_request</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi     auth_context =
                  self._build_auth_context(request)</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi   File
                  "/usr/lib/python2.7/site-packages/keystone/middleware/core.py",
                  line 218, in _build_auth_context</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi    
                  token_data=self.token_provider_api.validate_token(token_id))</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi   File
                  "/usr/lib/python2.7/site-packages/keystone/token/provider.py",
                  line 200, in validate_token</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi     self._is_valid_token(token)</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi   File
                  "/usr/lib/python2.7/site-packages/keystone/token/provider.py",
                  line 299, in _is_valid_token</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi     self.check_revocation(token)</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi   File
                  "/usr/lib/python2.7/site-packages/keystone/token/provider.py",
                  line 237, in check_revocation</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi     return
                  self.check_revocation_v2(token)</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi   File
                  "/usr/lib/python2.7/site-packages/keystone/token/provider.py",
                  line 211, in check_revocation_v2</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi    
                  self.revoke_api.check_token(token_values)</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi   File
                  "/usr/lib/python2.7/site-packages/keystone/contrib/revoke/core.py",
                  line 217, in check_token</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi     if
                  self._get_revoke_tree().is_revoked(token_values):</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi   File
                  "/usr/lib/python2.7/site-packages/dogpile/cache/region.py",
                  line 1040, in decorate</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi     should_cache_fn)</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi   File
                  "/usr/lib/python2.7/site-packages/dogpile/cache/region.py",
                  line 651, in get_or_create</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi     async_creator) as value:</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi   File
                  "/usr/lib/python2.7/site-packages/dogpile/core/dogpile.py",
                  line 158, in __enter__</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi     return self._enter()</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi   File
                  "/usr/lib/python2.7/site-packages/dogpile/core/dogpile.py",
                  line 98, in _enter</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi     generated =
                  self._enter_create(createdtime)</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi   File
                  "/usr/lib/python2.7/site-packages/dogpile/core/dogpile.py",
                  line 149, in _enter_create</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi     created = self.creator()</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi   File
                  "/usr/lib/python2.7/site-packages/dogpile/cache/region.py",
                  line 619, in gen_value</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi     created_value = creator()</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi   File
                  "/usr/lib/python2.7/site-packages/dogpile/cache/region.py",
                  line 1036, in creator</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi     return fn(*arg, **kw)</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi   File
                  "/usr/lib/python2.7/site-packages/keystone/contrib/revoke/core.py",
                  line 202, in _get_revoke_tree</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi     events =
                  self.driver.list_events()</tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE <b><big>keystone.common.wsgi

                      AttributeError: 'Token' object has no attribute
                      'list_events'</big></b></tt><br>
                <tt>2015-07-02 07:36:23.557 2772 TRACE
                  keystone.common.wsgi</tt><br>
              </blockquote>
              <br>
              /var/log/httpd/error_log:<br>
              <blockquote><tt>[Thu Jul 02 11:36:23.563299 2015] [:error]
                  [pid 2767] <b><big>Internal Server Error:
                      /dashboard/auth/login/</big></b></tt><br>
                <tt>[Thu Jul 02 11:36:23.563329 2015] [:error] [pid
                  2767] Traceback (most recent call last):</tt><br>
                <tt>[Thu Jul 02 11:36:23.563332 2015] [:error] [pid
                  2767]   File
                  "/usr/lib/python2.7/site-packages/django/core/handlers/base.py",
                  line 132, in get_response</tt><br>
                <tt>[Thu Jul 02 11:36:23.563335 2015] [:error] [pid
                  2767]     response = wrapped_callback(request,
                  *callback_args, **callback_kwargs)</tt><br>
                <tt>[Thu Jul 02 11:36:23.563337 2015] [:error] [pid
                  2767]   File
                  "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py",
                  line 76, in sensitive_post_parameters_wrapper</tt><br>
                <tt>[Thu Jul 02 11:36:23.563340 2015] [:error] [pid
                  2767]     return view(request, *args, **kwargs)</tt><br>
                <tt>[Thu Jul 02 11:36:23.563341 2015] [:error] [pid
                  2767]   File
                  "/usr/lib/python2.7/site-packages/django/utils/decorators.py",
                  line 110, in _wrapped_view</tt><br>
                <tt>[Thu Jul 02 11:36:23.563343 2015] [:error] [pid
                  2767]     response = view_func(request, *args,
                  **kwargs)</tt><br>
                <tt>[Thu Jul 02 11:36:23.563346 2015] [:error] [pid
                  2767]   File
                  "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py",
                  line 57, in _wrapped_view_func</tt><br>
                <tt>[Thu Jul 02 11:36:23.563348 2015] [:error] [pid
                  2767]     response = view_func(request, *args,
                  **kwargs)</tt><br>
                <tt>[Thu Jul 02 11:36:23.563350 2015] [:error] [pid
                  2767]   File
                  "/usr/lib/python2.7/site-packages/openstack_auth/views.py",
                  line 111, in login</tt><br>
                <tt>[Thu Jul 02 11:36:23.563351 2015] [:error] [pid
                  2767]     **kwargs)</tt><br>
                <tt>[Thu Jul 02 11:36:23.563353 2015] [:error] [pid
                  2767]   File
                  "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py",
                  line 76, in sensitive_post_parameters_wrapper</tt><br>
                <tt>[Thu Jul 02 11:36:23.563356 2015] [:error] [pid
                  2767]     return view(request, *args, **kwargs)</tt><br>
                <tt>[Thu Jul 02 11:36:23.563357 2015] [:error] [pid
                  2767]   File
                  "/usr/lib/python2.7/site-packages/django/utils/decorators.py",
                  line 110, in _wrapped_view</tt><br>
                <tt>[Thu Jul 02 11:36:23.563359 2015] [:error] [pid
                  2767]     response = view_func(request, *args,
                  **kwargs)</tt><br>
                <tt>[Thu Jul 02 11:36:23.563361 2015] [:error] [pid
                  2767]   File
                  "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py",
                  line 57, in _wrapped_view_func</tt><br>
                <tt>[Thu Jul 02 11:36:23.563370 2015] [:error] [pid
                  2767]     response = view_func(request, *args,
                  **kwargs)</tt><br>
                <tt>[Thu Jul 02 11:36:23.563372 2015] [:error] [pid
                  2767]   File
                  "/usr/lib/python2.7/site-packages/django/contrib/auth/views.py",
                  line 44, in login</tt><br>
                <tt>[Thu Jul 02 11:36:23.563374 2015] [:error] [pid
                  2767]     if form.is_valid():</tt><br>
                <tt>[Thu Jul 02 11:36:23.563376 2015] [:error] [pid
                  2767]   File
                  "/usr/lib/python2.7/site-packages/django/forms/forms.py",
                  line 184, in is_valid</tt><br>
                <tt>[Thu Jul 02 11:36:23.563378 2015] [:error] [pid
                  2767]     return self.is_bound and not self.errors</tt><br>
                <tt>[Thu Jul 02 11:36:23.563379 2015] [:error] [pid
                  2767]   File
                  "/usr/lib/python2.7/site-packages/django/forms/forms.py",
                  line 176, in errors</tt><br>
                <tt>[Thu Jul 02 11:36:23.563381 2015] [:error] [pid
                  2767]     self.full_clean()</tt><br>
                <tt>[Thu Jul 02 11:36:23.563383 2015] [:error] [pid
                  2767]   File
                  "/usr/lib/python2.7/site-packages/django/forms/forms.py",
                  line 393, in full_clean</tt><br>
                <tt>[Thu Jul 02 11:36:23.563385 2015] [:error] [pid
                  2767]     self._clean_form()</tt><br>
                <tt>[Thu Jul 02 11:36:23.563386 2015] [:error] [pid
                  2767]   File
                  "/usr/lib/python2.7/site-packages/django/forms/forms.py",
                  line 417, in _clean_form</tt><br>
                <tt>[Thu Jul 02 11:36:23.563388 2015] [:error] [pid
                  2767]     cleaned_data = self.clean()</tt><br>
                <tt>[Thu Jul 02 11:36:23.563390 2015] [:error] [pid
                  2767]   File
                  "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py",
                  line 36, in sensitive_variables_wrapper</tt><br>
                <tt>[Thu Jul 02 11:36:23.563392 2015] [:error] [pid
                  2767]     return func(*func_args, **func_kwargs)</tt><br>
                <tt>[Thu Jul 02 11:36:23.563394 2015] [:error] [pid
                  2767]   File
                  "/usr/lib/python2.7/site-packages/openstack_auth/forms.py",
                  line 122, in clean</tt><br>
                <tt>[Thu Jul 02 11:36:23.563395 2015] [:error] [pid
                  2767]     auth_url=region)</tt><br>
                <tt>[Thu Jul 02 11:36:23.563397 2015] [:error] [pid
                  2767]   File
                  "/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py",
                  line 74, in authenticate</tt><br>
                <tt>[Thu Jul 02 11:36:23.563399 2015] [:error] [pid
                  2767]     user = backend.authenticate(**credentials)</tt><br>
                <tt>[Thu Jul 02 11:36:23.563401 2015] [:error] [pid
                  2767]   File
                  "/usr/lib/python2.7/site-packages/openstack_auth/backend.py",
                  line 127, in authenticate</tt><br>
                <tt>[Thu Jul 02 11:36:23.563403 2015] [:error] [pid
                  2767]     unscoped_auth_ref)</tt><br>
                <tt>[Thu Jul 02 11:36:23.563404 2015] [:error] [pid
                  2767]   File
                  "/usr/lib/python2.7/site-packages/openstack_auth/plugin/base.py",
                  line 95, in list_projects</tt><br>
                <tt>[Thu Jul 02 11:36:23.563406 2015] [:error] [pid
                  2767]     <b><big>msg = _('Unable to retrieve
                      authorized projects.')</big></b></tt><br>
                <tt>[Thu Jul 02 11:36:23.563408 2015] [:error] [pid
                  2767] <b><big>NameError: global name '_' is not
                      defined</big></b></tt><br>
                <br>
              </blockquote>
              Could somebody help me? After browse google and a lot of
              pages, I have not found yet the solution...<br>
              <br>
              Thanks.<br>
              <br>
              <br>
              <br>
              What am I doing wrong?<br>
            </div>
            <br>
            _______________________________________________<br>
            Mailing list: <a moz-do-not-send="true"
              href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"
              rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
            Post to     : <a moz-do-not-send="true"
              href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
            Unsubscribe : <a moz-do-not-send="true"
              href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"
              rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        <div class="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>
                  <div>Cheers<br>
                  </div>
                  <div><br>
                    <b>Vijay Kakkar - RHC{E,SS,VA,DS,A,I,X}</b><br>
                    <br>
                    Techgrills Systems Pvt. Ltd.<br>
                    011-46521313 | +919999103657<br>
                  </div>
                  <div><a moz-do-not-send="true"
                      href="http://www.techgrills.com" target="_blank">http://www.techgrills.com</a><br>
                  </div>
                </div>
                <div>
                  <div><a moz-do-not-send="true"
                      href="http://lnkd.in/bnj2VUU" target="_blank">http://lnkd.in/bnj2VUU</a><br>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>