[Openstack-operators] Unauthorized at /syspanel/
john at millican.us
john at millican.us
Tue Apr 2 22:04:08 UTC 2013
Hello,
First attempt at an OpenStack build.
Running On CentOS 6.4 (yum update from 6.3)
Used epel-release-6-8 for all openstack components.
Very small setup with controller in a vm (KVM) and compute node is on
Host machine.
Doing good until I try to log into Horizon. the login page shows up as
expected I enter user and pw and then I get the Unauthorized at
/syspanel/ error.
Any help would be greatly appreciated.
Sorry for the long post but was hoping to get as much useful info as
possible. I may well have missed the important stuff so please let me
know if i should post additional info.
Also, feel free to trim anything that is not pertinent when responding.
*nova-manage service list* (I did see on Google that the DEBUG message
in nova manage is expected)
2013-04-02 16:10:44 DEBUG nova.utils
[req-07541e9f-79ef-49f7-9cea-69ebe779372a None None] backend <module
'nova.db.sqlalchemy.api' from
'/usr/lib/python2.6/site-packages/nova/db/sqlalchemy/api.pyc'>
__get_backend /usr/lib/python2.6/site-packages/nova/utils.py:502
Binary Host Zone Status State Updated_At
nova-cert controller1 nova enabled :-)
2013-04-02 20:10:41
nova-consoleauth controller1 nova enabled :-)
2013-04-02 20:10:34
nova-console controller1 nova enabled :-)
2013-04-02 20:10:35
nova-compute controller1 nova enabled :-)
2013-04-02 20:10:34
nova-scheduler controller1 nova enabled :-)
2013-04-02 20:10:41
nova-compute alpha nova enabled :-) 2013-04-02 20:10:41
nova-network controller1 nova enabled :-)
2013-04-02 20:10:44
nova-network alpha nova enabled :-) 2013-04-02 20:10:41
* cat /etc/httpd/conf.d/openstack-dashboard.conf*
WSGIDaemonProcess dashboard
WSGIProcessGroup dashboard
WSGISocketPrefix run/wsgi
WSGIScriptAlias /dashboard
/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
Alias /static /usr/share/openstack-dashboard/static
<Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi>
Order allow,deny
Allow from all
</Directory>
<Directory /usr/share/openstack-dashboard/static/>
Order allow,deny
Allow from all
</Directory>
*Actuall error (cut and paste)*
Unauthorized at /syspanel/
n/a (HTTP 401)
Request Method: GET
Request URL: http://192.168.5.130/dashboard/syspanel/
Django Version: 1.4.5
Exception Type: Unauthorized
Exception Value: n/a (HTTP 401)
Exception Location:
/usr/lib/python2.6/site-packages/novaclient/client.py in _cs_request,
line 238
Python Executable: /usr/bin/python
Python Version: 2.6.6
Python Path:
['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',
'/usr/lib64/python26.zip', '/usr/lib64/python2.6',
'/usr/lib64/python2.6/plat-linux2', '/usr/lib64/python2.6/lib-tk',
'/usr/lib64/python2.6/lib-old', '/usr/lib64/python2.6/lib-dynload',
'/usr/lib64/python2.6/site-packages',
'/usr/lib/python2.6/site-packages',
'/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info',
'/usr/share/openstack-dashboard/openstack_dashboard']
*Associated traceback:*
Environment:
Request Method: GET
Request URL: http://192.168.5.130/dashboard/syspanel/
Django Version: 1.4.5
Python Version: 2.6.6
Installed Applications:
('openstack_dashboard',
'django.contrib.contenttypes',
'django.contrib.auth',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.humanize',
'compressor',
'horizon',
'horizon.dashboards.nova',
'horizon.dashboards.syspanel',
'horizon.dashboards.settings',
'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')
Traceback:
File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py" in
get_response
111. response = callback(request,
*callback_args, **callback_kwargs)
File "/usr/lib/python2.6/site-packages/horizon/decorators.py" in dec
40. return view_func(request, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/horizon/decorators.py" in dec
86. return view_func(request, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/horizon/decorators.py" in dec
55. return view_func(request, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/horizon/decorators.py" in dec
40. return view_func(request, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/horizon/decorators.py" in dec
86. return view_func(request, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/django/views/generic/base.py" in view
48. return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/django/views/generic/base.py" in
dispatch
69. return handler(request, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/horizon/tables/views.py" in get
150. handled = self.construct_tables()
File "/usr/lib/python2.6/site-packages/horizon/tables/views.py" in
construct_tables
141. handled = self.handle_table(table)
File "/usr/lib/python2.6/site-packages/horizon/tables/views.py" in
handle_table
113. data = self._get_data_dict()
File "/usr/lib/python2.6/site-packages/horizon/tables/views.py" in
_get_data_dict
177. self._data = {self.table_class._meta.name:
self.get_data()}
File
"/usr/lib/python2.6/site-packages/horizon/dashboards/syspanel/overview/views.py"
in get_data
38. data = super(GlobalOverview, self).get_data()
File "/usr/lib/python2.6/site-packages/horizon/usage/views.py" in get_data
33. self.usage.summarize(*self.usage.get_date_range())
File "/usr/lib/python2.6/site-packages/horizon/usage/base.py" in summarize
96. _('Unable to retrieve usage
information.'))
File "/usr/lib/python2.6/site-packages/horizon/usage/base.py" in summarize
93. self.usage_list = self.get_usage_list(start, end)
File "/usr/lib/python2.6/site-packages/horizon/usage/base.py" in
get_usage_list
128. return api.usage_list(self.request, start, end)
File "/usr/lib/python2.6/site-packages/horizon/api/nova.py" in usage_list
418. return [Usage(u) for u in
novaclient(request).usage.list(start, end, True)]
File "/usr/lib/python2.6/site-packages/novaclient/v1_1/usage.py" in list
35. "tenant_usages")
File "/usr/lib/python2.6/site-packages/novaclient/base.py" in _list
62. _resp, body = self.api.client.get(url)
File "/usr/lib/python2.6/site-packages/novaclient/client.py" in get
241. return self._cs_request(url, 'GET', **kwargs)
File "/usr/lib/python2.6/site-packages/novaclient/client.py" in _cs_request
238. raise ex
Exception Type: Unauthorized at /syspanel/
Exception Value: n/a (HTTP 401)
Thank You,
JohnM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130402/e6688d1b/attachment.html>
More information about the OpenStack-operators
mailing list