Hi,
I have installed the dashboard (horizon). In addition to this I have installed keystone. Sadly I am missing something and the two are not working well together.
Please help. The screen dump is below:
Validating models...
0 errors found
Django version 1.3, using settings 'dashboard.settings'
Development server is running at http://0.0.0.0:8765/
Quit the server with CONTROL-C.
DEBUG:django.db.backends:(0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = b66c8f4f3e3416952d1c2222e8dee660 AND "django_session"."expire_date" > 2011-10-24 11:52:09.822454 ); args=('b66c8f4f3e3416952d1c2222e8dee660', u'2011-10-24 11:52:09.822454')
DEBUG:django_openstack.api:extras_api connection created using token "b6bf8995-678c-4d30-83eb-f4b26f0ec363" and url "http://localhost:8774/v1.1/1"
ERROR:django_openstack.dash:ApiException in instance usage
Traceback (most recent call last):
File "/home/localadmin/horizon/django-openstack/django_openstack/dash/views/instances.py", line 176, in usage
usage = api.usage_get(request, tenant_id, datetime_start, datetime_end)
File "/home/localadmin/horizon/django-openstack/django_openstack/api.py", line 324, in inner
return f(*args, **kwargs)
File "/home/localadmin/horizon/django-openstack/django_openstack/api.py", line 710, in usage_get
return Usage(extras_api(request).usage.get(tenant_id, start, end))
File "/home/localadmin/horizon/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/extras/usage.py", line 15, in get
return self._get("/extras/usage/%s?start=%s&end=%s" % (tenant_id, start.isoformat(), end.isoformat()), "usage")
File "/home/localadmin/horizon/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/base.py", line 36, in _get
resp, body = self.api.connection.get(url)
File "/home/localadmin/horizon/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/connection.py", line 78, in get
return self._cs_request(url, 'GET', **kwargs)
File "/home/localadmin/horizon/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/connection.py", line 66, in _cs_request
raise ex
Unauthorized: This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required. (HTTP 401)
DEBUG:django_openstack.api:auth_api connection created using url "http://localhost:5000/v2.0/"
[24/Oct/2011 11:52:10] "GET /dash/ HTTP/1.1" 200 3444
[24/Oct/2011 11:52:10] "GET /static/dashboard/js/jquery.min.js HTTP/1.1" 200 85259
[24/Oct/2011 11:52:10] "GET /static/dashboard/js/jquery-ui.min.js HTTP/1.1" 200 199939
[24/Oct/2011 11:52:10] "GET /static/dashboard/js/jquery.quicksearch.js HTTP/1.1" 200 3369
[24/Oct/2011 11:52:10] "GET /static/dashboard/js/jquery.example.min.js HTTP/1.1" 200 2030
[24/Oct/2011 11:52:10] "GET /static/dashboard/js/jquery.chosen.js HTTP/1.1" 200 29832
[24/Oct/2011 11:52:10] "GET /static/dashboard/js/form_examples.js HTTP/1.1" 200 1518
[24/Oct/2011 11:52:10] "GET /static/dashboard/js/application.js HTTP/1.1" 200 1562
[24/Oct/2011 11:52:10] "GET /static/dashboard/css/style.css HTTP/1.1" 200 19746
[24/Oct/2011 11:52:10] "GET /static/dashboard/css/chosen.css HTTP/1.1" 200 12639
[24/Oct/2011 11:52:10] "GET /static/dashboard/css/reset.css HTTP/1.1" 200 1626
[24/Oct/2011 11:52:10] "GET /static/dashboard/css/Anivers_Regular-webfont.woff HTTP/1.1" 200 29432
[24/Oct/2011 11:52:10] "GET /static/dashboard/images/content_bg.png HTTP/1.1" 200 138
[24/Oct/2011 11:52:10] "GET /static/dashboard/images/logo_new.png HTTP/1.1" 200 3023
[24/Oct/2011 11:52:10] "GET /static/dashboard/images/gears_small.png HTTP/1.1" 200 4197
[24/Oct/2011 11:52:10] "GET /static/dashboard/images/drop_arrow.png HTTP/1.1" 200 996
DEBUG:django.db.backends:(0.000) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = b66c8f4f3e3416952d1c2222e8dee660 AND "django_session"."expire_date" > 2011-10-24 11:52:10.357838 ); args=('b66c8f4f3e3416952d1c2222e8dee660', u'2011-10-24 11:52:10.357838')
Thanks
Gary