Could this be related?<br><br><a href="https://lists.launchpad.net/openstack/msg04657.html">https://lists.launchpad.net/openstack/msg04657.html</a><br><br>A<br><br><div class="gmail_quote">On Thu, Oct 13, 2011 at 7:39 PM, 李沐洋 <span dir="ltr"><<a href="mailto:limuyang08@gmail.com">limuyang08@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi all!<br><br>I installed OpenStack using the script from devstack.<br><br>It seemed all right until I logged in Dashboard.<br>
<br>It showed <br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
Unable to get usage info: 401 Unauthorized
This server could not verify that you are authorized to access the
document you requested. Either you supplied the wrong credentials (e.g.,
bad password), or your browser does not understand how to supply the
credentials required.
<br clear="all"></blockquote><div><br>at the very first page after logged in<br><br>And when I tried to launch an instance, an even critical error occurred...<br><br>this is the traceback:<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
Environment:<br><br><br>Request Method: GET<br>Request URL: <a href="http://localhost/dash/2/images/5/launch" target="_blank">http://localhost/dash/2/images/5/launch</a><br><br>Django Version: 1.3<br>Python Version: 2.7.1<br>
Installed Applications:<br>
['dashboard',<br> 'django.contrib.contenttypes',<br> 'django.contrib.sessions',<br> 'django.contrib.messages',<br> 'django.contrib.staticfiles',<br> 'django_openstack',<br>
'django_openstack.templatetags',<br>
'mailer']<br>Installed Middleware:<br>('django.middleware.common.CommonMiddleware',<br> 'django.middleware.csrf.CsrfViewMiddleware',<br> 'django.contrib.sessions.middleware.SessionMiddleware',<br>
'django.contrib.messages.middleware.MessageMiddleware',<br> 'django_openstack.middleware.keystone.AuthenticationMiddleware',<br> 'django.middleware.doc.XViewMiddleware',<br> 'django.middleware.locale.LocaleMiddleware',<br>
'dashboard.middleware.DashboardLogUnhandledExceptionsMiddleware')<br><br><br>Traceback:<br>File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response<br> 111. response = callback(request, *callback_args, **callback_kwargs)<br>
File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/decorators.py" in _wrapped_view<br> 23. return view_func(request, *args, **kwargs)<br>File "/opt/stack/dash/django-openstack/django_openstack/dash/views/images.py" in launch<br>
189. quotas = api.tenant_quota_get(request, request.user.tenant_id)<br>File "/opt/stack/dash/django-openstack/django_openstack/api.py" in tenant_quota_get<br> 647. return novaclient(request).quotas.get(tenant)<br>
File "/opt/stack/python-novaclient/novaclient/v1_1/quotas.py" in get<br> 34. return self._get("/os-quota-sets/%s" % (tenant_id), "quota_set")<br>File "/opt/stack/python-novaclient/novaclient/base.py" in _get<br>
79. resp, body = self.api.client.get(url)<br>File "/opt/stack/python-novaclient/novaclient/client.py" in get<br> 131. return self._cs_request(url, 'GET', **kwargs)<br>File "/opt/stack/python-novaclient/novaclient/client.py" in _cs_request<br>
127. raise ex<br><br>Exception Type: Unauthorized at /dash/2/images/5/launch<br>Exception Value: n/a (HTTP 401)<br></blockquote> <br></div>Thanks for your help in advance!<br><font color="#888888"><br><br>
-- <br><div>Sincerely</div>
<div>Muyang Li</div><br><br>
</font><br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br>