Ask Your Question
0

Connection refused errors with dashboard

asked 2011-10-24 13:23:02 -0600

endre-karlson gravatar image

My config file: http://paste.pocoo.org/show/497334/

Errors I get are: EBUG: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" = 18d17b15bfa193d24fed94dfaf970c0b AND "django_session"."expire_date" > 2011-10-24 13:20:46.344452 ); args=('18d17b15bfa193d24fed94dfaf970c0b', u'2011-10-24 13:20:46.344452') DEBUG:django_openstack.api:extras_api connection created using token "f9b82b24-9b4e-4250-a4a2-12ef0e7faabf" and url "http://127.0.0.1:8774/v1.1" ERROR:django_openstack.dash:ApiException in instance usage Traceback (most recent call last): File "/root/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 "/root/horizon/django-openstack/django_openstack/api.py", line 324, in inner return f(args, *kwargs) File "/root/horizon/django-openstack/django_openstack/api.py", line 710, in usage_get return Usage(extras_api(request).usage.get(tenant_id, start, end)) File "/root/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 "/root/horizon/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/base.py", line 36, in _get resp, body = self.api.connection.get(url) File "/root/horizon/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/connection.py", line 78, in get return self._cs_request(url, 'GET', *kwargs) File "/root/horizon/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/connection.py", line 63, in _cs_request *kwargs) File "/root/horizon/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/connection.py", line 48, in request raise exceptions.from_response(resp, body) BadRequest: [Errno 111] ECONNREFUSED (HTTP 400) DEBUG:django_openstack.api:auth_api connection created using url "http://keystone.stack.lan:5000/v2.0/" /root/horizon/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/template/loaders/filesystem.py:58: DeprecationWarning: 'django.template.loaders.filesystem.load_template_source' is deprecated; use 'django.template.loaders.filesystem.Loader' instead. DeprecationWarning /root/horizon/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/template/loaders/app_directories.py:71: DeprecationWarning: 'django.template.loaders.app_directories.load_template_source' is deprecated; use 'django.template.loaders.app_directories.Loader' instead. DeprecationWarning [24/Oct/2011 13:20:46] "GET /dash/ HTTP/1.1" 200 3182 [24/Oct/2011 13:20:46] "GET /static/dashboard/js/jquery.min.js HTTP/1.1" 200 85259 [24/Oct/2011 13:20:46] "GET /static/dashboard/js/jquery-ui.min.js HTTP/1.1" 200 199939 [24/Oct/2011 13:20:46] "GET /static/dashboard/js/jquery.quicksearch.js HTTP/1.1" 200 3369 [24/Oct/2011 13:20:46] "GET /static/dashboard/js/jquery.example.min.js HTTP/1.1" 200 2030 [24/Oct/2011 13:20:46] "GET /static/dashboard/js/jquery.chosen.js HTTP/1.1" 200 29832 [24/Oct/2011 13:20:46] "GET /static/dashboard/js/form_examples.js HTTP/1.1" 200 1518 [24/Oct/2011 13:20:49] "GET /static/dashboard/js/application.js HTTP/1.1" 200 1562 [24/Oct/2011 13:20:49] "GET /static/dashboard/css/style.css HTTP/1.1" 200 19746 [24/Oct/2011 13:20:49] "GET /static/dashboard/css/chosen.css HTTP/1.1" 200 12639 [24/Oct/2011 ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2011-10-24 13:34:36 -0600

endre-karlson gravatar image

NVM, wrong endpoints.

edit flag offensive delete link more
0

answered 2011-10-24 13:23:40 -0600

endre-karlson gravatar image

Where is it that it get's the urls from ?

Endre

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-10-24 13:23:02 -0600

Seen: 287 times

Last updated: Oct 24 '11