<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
First attempt at an OpenStack build. <br>
Running On CentOS 6.4 (yum update from 6.3)<br>
Used epel-release-6-8 for all openstack components.<br>
Very small setup with controller in a vm (KVM) and compute node is
on Host machine.<br>
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. <br>
Any help would be greatly appreciated.<br>
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.<br>
Also, feel free to trim anything that is not pertinent when
responding.<br>
<br>
<b>nova-manage service list</b> (I did see on Google that the DEBUG
message in nova manage is expected)<br>
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 <br>
Binary Host
Zone Status State Updated_At<br>
nova-cert controller1
nova enabled :-) 2013-04-02 20:10:41<br>
nova-consoleauth controller1
nova enabled :-) 2013-04-02 20:10:34<br>
nova-console controller1
nova enabled :-) 2013-04-02 20:10:35<br>
nova-compute controller1
nova enabled :-) 2013-04-02 20:10:34<br>
nova-scheduler controller1
nova enabled :-) 2013-04-02 20:10:41<br>
nova-compute alpha
nova enabled :-) 2013-04-02 20:10:41<br>
nova-network controller1
nova enabled :-) 2013-04-02 20:10:44<br>
nova-network alpha
nova enabled :-) 2013-04-02 20:10:41<br>
<br>
<b> cat /etc/httpd/conf.d/openstack-dashboard.conf</b><br>
WSGIDaemonProcess dashboard<br>
WSGIProcessGroup dashboard<br>
WSGISocketPrefix run/wsgi<br>
<br>
WSGIScriptAlias /dashboard
/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi<br>
Alias /static /usr/share/openstack-dashboard/static<br>
<br>
<Directory
/usr/share/openstack-dashboard/openstack_dashboard/wsgi><br>
Order allow,deny<br>
Allow from all<br>
</Directory><br>
<br>
<Directory /usr/share/openstack-dashboard/static/><br>
Order allow,deny<br>
Allow from all<br>
</Directory><br>
<br>
<b>Actuall error (cut and paste)</b><br>
Unauthorized at /syspanel/<br>
n/a (HTTP 401)<br>
Request Method: GET<br>
Request URL: <a class="moz-txt-link-freetext" href="http://192.168.5.130/dashboard/syspanel/">http://192.168.5.130/dashboard/syspanel/</a><br>
Django Version: 1.4.5<br>
Exception Type: Unauthorized<br>
Exception Value: n/a (HTTP 401)<br>
Exception Location:
/usr/lib/python2.6/site-packages/novaclient/client.py in
_cs_request, line 238<br>
Python Executable: /usr/bin/python<br>
Python Version: 2.6.6<br>
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']<br>
<br>
<br>
<b>Associated traceback:</b><br>
Environment:<br>
<br>
Request Method: GET<br>
Request URL: <a class="moz-txt-link-freetext" href="http://192.168.5.130/dashboard/syspanel/">http://192.168.5.130/dashboard/syspanel/</a><br>
<br>
Django Version: 1.4.5<br>
Python Version: 2.6.6<br>
Installed Applications:<br>
('openstack_dashboard',<br>
'django.contrib.contenttypes',<br>
'django.contrib.auth',<br>
'django.contrib.sessions',<br>
'django.contrib.messages',<br>
'django.contrib.staticfiles',<br>
'django.contrib.humanize',<br>
'compressor',<br>
'horizon',<br>
'horizon.dashboards.nova',<br>
'horizon.dashboards.syspanel',<br>
'horizon.dashboards.settings',<br>
'openstack_auth')<br>
Installed Middleware:<br>
('django.middleware.common.CommonMiddleware',<br>
'django.middleware.csrf.CsrfViewMiddleware',<br>
'django.contrib.sessions.middleware.SessionMiddleware',<br>
'django.contrib.auth.middleware.AuthenticationMiddleware',<br>
'django.contrib.messages.middleware.MessageMiddleware',<br>
'horizon.middleware.HorizonMiddleware',<br>
'django.middleware.doc.XViewMiddleware',<br>
'django.middleware.locale.LocaleMiddleware')<br>
<br>
Traceback:<br>
File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py"
in get_response<br>
111. response = callback(request,
*callback_args, **callback_kwargs)<br>
File "/usr/lib/python2.6/site-packages/horizon/decorators.py" in dec<br>
40. return view_func(request, *args, **kwargs)<br>
File "/usr/lib/python2.6/site-packages/horizon/decorators.py" in dec<br>
86. return view_func(request, *args, **kwargs)<br>
File "/usr/lib/python2.6/site-packages/horizon/decorators.py" in dec<br>
55. return view_func(request, *args, **kwargs)<br>
File "/usr/lib/python2.6/site-packages/horizon/decorators.py" in dec<br>
40. return view_func(request, *args, **kwargs)<br>
File "/usr/lib/python2.6/site-packages/horizon/decorators.py" in dec<br>
86. return view_func(request, *args, **kwargs)<br>
File "/usr/lib/python2.6/site-packages/django/views/generic/base.py"
in view<br>
48. return self.dispatch(request, *args, **kwargs)<br>
File "/usr/lib/python2.6/site-packages/django/views/generic/base.py"
in dispatch<br>
69. return handler(request, *args, **kwargs)<br>
File "/usr/lib/python2.6/site-packages/horizon/tables/views.py" in
get<br>
150. handled = self.construct_tables()<br>
File "/usr/lib/python2.6/site-packages/horizon/tables/views.py" in
construct_tables<br>
141. handled = self.handle_table(table)<br>
File "/usr/lib/python2.6/site-packages/horizon/tables/views.py" in
handle_table<br>
113. data = self._get_data_dict()<br>
File "/usr/lib/python2.6/site-packages/horizon/tables/views.py" in
_get_data_dict<br>
177. self._data = {self.table_class._meta.name:
self.get_data()}<br>
File
"/usr/lib/python2.6/site-packages/horizon/dashboards/syspanel/overview/views.py"
in get_data<br>
38. data = super(GlobalOverview, self).get_data()<br>
File "/usr/lib/python2.6/site-packages/horizon/usage/views.py" in
get_data<br>
33. self.usage.summarize(*self.usage.get_date_range())<br>
File "/usr/lib/python2.6/site-packages/horizon/usage/base.py" in
summarize<br>
96. _('Unable to retrieve usage
information.'))<br>
File "/usr/lib/python2.6/site-packages/horizon/usage/base.py" in
summarize<br>
93. self.usage_list = self.get_usage_list(start,
end)<br>
File "/usr/lib/python2.6/site-packages/horizon/usage/base.py" in
get_usage_list<br>
128. return api.usage_list(self.request, start, end)<br>
File "/usr/lib/python2.6/site-packages/horizon/api/nova.py" in
usage_list<br>
418. return [Usage(u) for u in
novaclient(request).usage.list(start, end, True)]<br>
File "/usr/lib/python2.6/site-packages/novaclient/v1_1/usage.py" in
list<br>
35. "tenant_usages")<br>
File "/usr/lib/python2.6/site-packages/novaclient/base.py" in _list<br>
62. _resp, body = self.api.client.get(url)<br>
File "/usr/lib/python2.6/site-packages/novaclient/client.py" in get<br>
241. return self._cs_request(url, 'GET', **kwargs)<br>
File "/usr/lib/python2.6/site-packages/novaclient/client.py" in
_cs_request<br>
238. raise ex<br>
<br>
Exception Type: Unauthorized at /syspanel/<br>
Exception Value: n/a (HTTP 401)<br>
<br>
Thank You,<br>
JohnM<br>
</body>
</html>