Ask Your Question
0

access dashboard SSL Error [hostname doesn't match]

asked 2015-09-27 16:13:42 -0600

大麻瓜 gravatar image

updated 2015-09-27 20:35:09 -0600

smaffulli gravatar image

error detail:

SSLError at /admin/
hostname 'angry-action.cs-cloud0.host.ualr.edu' doesn't match u'10.0.0.25'
Request Method:
GET 

Request URL:
http://144.167.34.112/horizon/admin/ 

Django Version:
1.6.1 

Exception Type:
SSLError 

Exception Value:
hostname 'angry-action.cs-cloud0.host.ualr.edu' doesn't match u'10.0.0.25'


Exception Location:
/usr/lib/python2.7/dist-packages/requests/adapters.py in send, line 385 

Python Executable:
/usr/bin/python 

Python Version:
2.7.6 

Python Path:
['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/share/openstack-dashboard/',
 '/usr/share/openstack-dashboard/openstack_dashboard']


Server time:
Sun, 27 Sep 2015 20:49:17 +0000

this is the error traceback Environment:

Request Method: GET Request URL: http://144.167.34.112/horizon/admin/

Django Version: 1.6.1 Python Version: 2.7.6

Installed Applications:

['openstack_dashboard.dashboards.project',
 'openstack_dashboard.dashboards.admin',
 'openstack_dashboard.dashboards.settings',
 'openstack_dashboard',
 'django.contrib.contenttypes',
 'django.contrib.auth',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.humanize',
 'compressor',
 'horizon',
 'openstack_auth']

Installed Middleware:

('django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'horizon.middleware.HorizonMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware')

Traceback:

File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
  112.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.7/dist-packages/horizon/decorators.py" in dec
  38.         return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/horizon/decorators.py" in dec
  86.                 return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/horizon/decorators.py" in dec
  54.             return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/horizon/decorators.py" in dec
  38.         return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/horizon/decorators.py" in dec
  86.                 return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in view
  69.             return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch
  87.         return handler(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py" in get
  154.         handled = self.construct_tables()
File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py" in construct_tables
  145.             handled = self.handle_table(table)
File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py" in handle_table
  118.         data = self._get_data_dict()
File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py" in _get_data_dict
  181.             self._data = {self.table_class._meta.name: self.get_data()}
File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/overview/views.py" in get_data
  60.         data = super(GlobalOverview, self).get_data()
File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/views.py" in get_data
  43.         self.usage.summarize(*self.usage.get_date_range())
File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage ...
(more)
edit retag flag offensive close merge delete

Comments

Edit the question instead of using the space for answers to provide details.

smaffulli gravatar imagesmaffulli ( 2015-09-27 20:35:50 -0600 )edit

thank you very much

大麻瓜 gravatar image大麻瓜 ( 2015-09-28 09:48:38 -0600 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2015-10-01 09:55:42 -0600

大麻瓜 gravatar image

I just disabled the https-service-endpoint of keystone in config file, then re-deployed the whole services and successful!

anyway I used MAAS 1.7.6, ubuntu 14.04.3 LTS, JUJU 1.24.6-trusty-amd64. I don't know if there is some problem for the SSL certification in this environment.

If someone successfully used https endpoint in this environment, you can contact me and we can talk about it. Thank you!

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: 2015-09-27 16:13:42 -0600

Seen: 530 times

Last updated: Oct 01 '15