← Back to team overview

openstack team mailing list archive

Horizon Silent Failure on Auth

 

All the bits appear to be working properly:

 # keystone user-list
+----------------------------------+-------------+---------+-------+
|                id                |     name    | enabled | email |
+----------------------------------+-------------+---------+-------+
| 4107f59814a84a75bec4c01548b0a04d | my_admin |   True  |       |
| 117410be31f449f3842acd551b42692d |    cinder   |   True  |       |
| f4f6c62e3cd045258e5d182eca095e62 |     ec2     |   True  |       |
| 37de28f94dcc44fca4f539f4cd9c8132 |    glance   |   True  |       |
| 1b364b2ceb06400aa5fd5c10a693cdad |     nova    |   True  |       |
| db5f78e64430407285ff7680831af341 |   quantum   |   True  |       |
| fb8ee1e5e98d46dba9bfbb00404c1f38 |    swift    |   True  |       |
+----------------------------------+-------------+---------+-------+
# keystone role-list
+----------------------------------+----------+
|                id                |   name   |
+----------------------------------+----------+
| 9fe2ff9ee4384b1894a90878d3e92bab | _member_ |
| 353cdb53a5b441579ee593bca9cd6d71 |  admin   |
+----------------------------------+----------+
# keystone user-role-list
+----------------------------------+----------+----------------------------------+----------------------------------+
|                id                |   name   |
user_id              |            tenant_id             |
+----------------------------------+----------+----------------------------------+----------------------------------+
| 9fe2ff9ee4384b1894a90878d3e92bab | _member_ |
4107f59814a84a75bec4c01548b0a04d | 7873441b19064c17afe2b911ffbeb183 |
| 353cdb53a5b441579ee593bca9cd6d71 |  admin   |
4107f59814a84a75bec4c01548b0a04d | 7873441b19064c17afe2b911ffbeb183 |
+----------------------------------+----------+----------------------------------+----------------------------------+

However, when I login to horizon, I'm booted back (via 302) to /horizon.  I
set logging options in /etc/openstack-dashboard/local_settings.py to
"DEBUG"; as a result, I see this in Apache's error log:

[Wed Feb 27 20:03:55 2013] [error] DEBUG:urllib3.connectionpool:"GET
/v2.0/tenants HTTP/1.1" 200 266
[Wed Feb 27 20:03:55 2013] [error] INFO:urllib3.connectionpool:Starting new
HTTP connection (1): 127.0.0.1
[Wed Feb 27 20:03:55 2013] [error] DEBUG:urllib3.connectionpool:"POST
/v2.0/tokens HTTP/1.1" 200 6937
[Wed Feb 27 20:03:55 2013] [error]
DEBUG:openstack_auth.backend:Authentication completed for user "my_admin".

Caching is enabled, and memcache is reachable.  I turned off caching, and
it made no difference.  Also potentially relevant for debugging: I *do* get
an error message if I use a non-existant username or a bad password.

Package versions:

glance                                        2013.1.g3-0ubuntu1~cloud0
glance-api                                    2013.1.g3-0ubuntu1~cloud0
glance-common                                 2013.1.g3-0ubuntu1~cloud0
glance-registry                               2013.1.g3-0ubuntu1~cloud0
keystone                                      2013.1.g3-0ubuntu1~cloud0
nova-ajax-console-proxy                       2013.1.g3-0ubuntu1~cloud0
nova-api                                      2013.1.g3-0ubuntu1~cloud0
nova-cert                                     2013.1.g3-0ubuntu1~cloud0
nova-common                                   2013.1.g3-0ubuntu1~cloud0
nova-consoleauth                              2013.1.g3-0ubuntu1~cloud0
nova-doc                                      2013.1.g3-0ubuntu1~cloud0
nova-novncproxy                               2013.1.g3-0ubuntu1~cloud0
nova-scheduler                                2013.1.g3-0ubuntu1~cloud0
openstack-dashboard                           2013.1.g3-0ubuntu2~cloud0
openstack-dashboard-ubuntu-theme              2013.1.g3-0ubuntu2~cloud0
python-cinderclient                 1:1.0.2.20.g20dcc85-0ubuntu1~cloud0
python-django-horizon                         2013.1.g3-0ubuntu2~cloud0
python-glance                                 2013.1.g3-0ubuntu1~cloud0
python-glanceclient                             1:0.6.0-0ubuntu1~cloud0
python-keystone                               2013.1.g3-0ubuntu1~cloud0
python-keystoneclient                           1:0.2.2-0ubuntu2~cloud0
python-nova                                   2013.1.g3-0ubuntu1~cloud0
python-novaclient                              1:2.11.1-0ubuntu1~cloud0
python-openstack-auth                             1.0.1-0ubuntu6~cloud0
python-oslo-config                            2013.1~b3-0ubuntu1~cloud0
python-quantum                                2013.1.g3-0ubuntu1~cloud0
python-quantumclient                              1:2.1-0ubuntu1~cloud0
python-swiftclient                              1:1.3.0-0ubuntu1~cloud0
quantum-common                                2013.1.g3-0ubuntu1~cloud0
quantum-plugin-openvswitch                    2013.1.g3-0ubuntu1~cloud0
quantum-plugin-openvswitch-agent              2013.1.g3-0ubuntu1~cloud0
quantum-server                                2013.1.g3-0ubuntu1~cloud0

Relevant sources.list:
deb http://ubuntu-cloud.archive.canonical.com/ubuntuprecise-updates/grizzly main

I feel relatively confident I'm missing something obvious, but I'm fresh
out of debugging tricks at this point.  Anyone care to point me in a sane
direction?

Thanks,
Dan