horizon multi region neutron error (tunnel forbidden?) [closed]

asked 2015-01-21 03:36:06 -0500

f1gless gravatar image

Hello,

I am in the process of adding a second region to our existing openstack instance. I'm doing this by sharing keystone and horizon between sites. Endpoints in keystone exist for both sites for all services. When attempting to login to horizon the user gets a 500 message and I see a cryptic error message (tunnel forbidden?) in horizon.log. Please see below. Strangely, if I run the curl command listed in the log file it returned the expected results. Also, if I run neutron client (neutron --os-region-name site2 etc) this also works.

If I disable or delete the neutron endpoint for region2, horizon again works (obviously in a crippled state without networking at the second region).

Any hints would be appreciated as i'm a bit stumped as to why horizon fails on this...

2015-01-21 08:53:10,955 20680 DEBUG openstack_dashboard.api.nova novaclient connection created using token "461e852866bb4be8a511564975fd2818" and url "http://region2.fqdn:8774/v2/cbe1db78d12e40899a7a72e6e6f79a31"
2015-01-21 08:53:11,022 20680 DEBUG openstack_dashboard.api.nova novaclient connection created using token "461e852866bb4be8a511564975fd2818" and url "http://region2.fqdn:8774/v2/cbe1db78d12e40899a7a72e6e6f79a31"
2015-01-21 08:53:11,083 20680 DEBUG openstack_dashboard.api.neutron neutronclient connection created using token "461e852866bb4be8a511564975fd2818" and url "http://region2.fqdn:9696/"
2015-01-21 08:53:11,083 20680 DEBUG openstack_dashboard.api.neutron user_id=a0da009f67dd44eb82449edcc7437457, tenant_id=cbe1db78d12e40899a7a72e6e6f79a31
2015-01-21 08:53:11,083 20680 DEBUG neutronclient.client 
REQ: curl -i http://region2.fqdn:9696//v2.0/extensions.json -X GET -H "X-Auth-Token: 461e852866bb4be8a511564975fd2818" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient"

2015-01-21 08:53:11,095 20680 DEBUG neutronclient.client throwing ConnectionFailed : (403, 'Tunnel Forbidden')
2015-01-21 08:53:11,095 20680 ERROR django.request Internal Server Error: /dashboard/project/
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 109, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 54, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 48, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 69, in dispatch
    return handler(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 154, in get
    handled = self.construct_tables()
  File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 145, in construct_tables
    handled = self.handle_table(table)
  File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 118, in handle_table
    data = self._get_data_dict()
  File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 181, in _get_data_dict
    self._data = {self.table_class._meta.name: self.get_data()}
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/overview/views.py", line 57, in get_data
    super(ProjectOverview, self).get_data()
  File "/usr ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by f1gless
close date 2015-01-21 11:42:45.493009