← Back to team overview

openstack team mailing list archive

Re: Grizzly release packages available in the Ubuntu Cloud Archive

 

Hi!

I figure it out! The nova-api *depends* on iptables but, the Ubuntu package
is currently *missing that*.

When I first install Grizzly on top of a Ubuntu minimum virtual machine
today, iptables wasn't installed...

I started it from scratch again, installing iptables before nova-api, the
Dashboard works (in parts).

---

Now, after login into my Grizzly Dashboard, I'm seeing the following two
error messages there:

Dashboard error:

"Error: Unauthorized: Unable to retrieve usage information."

"Error: Unauthorized: Unable to retrieve quota information."


The Apache error:
-----
[Thu Apr 11 05:08:54 2013] [notice] Apache/2.2.22 (Ubuntu) mod_wsgi/3.3
Python/2.7.3 configured -- resuming normal operations
[Thu Apr 11 08:09:11 2013] [error] \x1b[31;1mUnauthorized: Unauthorized
(HTTP 401)\x1b[0m
[Thu Apr 11 08:09:11 2013] [error] Traceback (most recent call last):
[Thu Apr 11 08:09:11 2013] [error]   File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py",
line 95, in summarize
[Thu Apr 11 08:09:11 2013] [error]     self.usage_list =
self.get_usage_list(start, end)
[Thu Apr 11 08:09:11 2013] [error]   File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py",
line 130, in get_usage_list
[Thu Apr 11 08:09:11 2013] [error]     return
api.nova.usage_list(self.request, start, end)
[Thu Apr 11 08:09:11 2013] [error]   File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py",
line 474, in usage_list
[Thu Apr 11 08:09:11 2013] [error]
novaclient(request).usage.list(start, end, True)]
[Thu Apr 11 08:09:11 2013] [error]   File
"/usr/lib/python2.7/dist-packages/novaclient/v1_1/usage.py", line 35, in
list
[Thu Apr 11 08:09:11 2013] [error]     "tenant_usages")
[Thu Apr 11 08:09:11 2013] [error]   File
"/usr/lib/python2.7/dist-packages/novaclient/base.py", line 62, in _list
[Thu Apr 11 08:09:11 2013] [error]     _resp, body =
self.api.client.get(url)
[Thu Apr 11 08:09:11 2013] [error]   File
"/usr/lib/python2.7/dist-packages/novaclient/client.py", line 230, in get
[Thu Apr 11 08:09:11 2013] [error]     return self._cs_request(url, 'GET',
**kwargs)
[Thu Apr 11 08:09:11 2013] [error]   File
"/usr/lib/python2.7/dist-packages/novaclient/client.py", line 227, in
_cs_request
[Thu Apr 11 08:09:11 2013] [error]     raise e
[Thu Apr 11 08:09:11 2013] [error] Unauthorized: Unauthorized (HTTP 401)
[Thu Apr 11 08:09:11 2013] [error] \x1b[31;1mUnauthorized: Unauthorized
(HTTP 401)\x1b[0m
[Thu Apr 11 08:09:11 2013] [error] Traceback (most recent call last):
[Thu Apr 11 08:09:11 2013] [error]   File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py",
line 112, in get_quotas
[Thu Apr 11 08:09:11 2013] [error]     self.quotas =
quotas.tenant_quota_usages(self.request)
[Thu Apr 11 08:09:11 2013] [error]   File
"/usr/lib/python2.7/dist-packages/horizon/utils/memoized.py", line 33, in
__call__
[Thu Apr 11 08:09:11 2013] [error]     value = self.func(*args)
[Thu Apr 11 08:09:11 2013] [error]   File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py",
line 116, in tenant_quota_usages
[Thu Apr 11 08:09:11 2013] [error]     disabled_quotas=disabled_quotas):
[Thu Apr 11 08:09:11 2013] [error]   File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py",
line 99, in get_tenant_quota_data
[Thu Apr 11 08:09:11 2013] [error]     tenant_id=tenant_id)
[Thu Apr 11 08:09:11 2013] [error]   File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py",
line 76, in _get_quota_data
[Thu Apr 11 08:09:11 2013] [error]     quotasets.append(getattr(nova,
method_name)(request, tenant_id))
[Thu Apr 11 08:09:11 2013] [error]   File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py",
line 457, in tenant_quota_get
[Thu Apr 11 08:09:11 2013] [error]     return
QuotaSet(novaclient(request).quotas.get(tenant_id))
[Thu Apr 11 08:09:11 2013] [error]   File
"/usr/lib/python2.7/dist-packages/novaclient/v1_1/quotas.py", line 37, in
get
[Thu Apr 11 08:09:11 2013] [error]     return self._get("/os-quota-sets/%s"
% (tenant_id), "quota_set")
[Thu Apr 11 08:09:11 2013] [error]   File
"/usr/lib/python2.7/dist-packages/novaclient/base.py", line 140, in _get
[Thu Apr 11 08:09:11 2013] [error]     _resp, body =
self.api.client.get(url)
[Thu Apr 11 08:09:11 2013] [error]   File
"/usr/lib/python2.7/dist-packages/novaclient/client.py", line 230, in get
[Thu Apr 11 08:09:11 2013] [error]     return self._cs_request(url, 'GET',
**kwargs)
[Thu Apr 11 08:09:11 2013] [error]   File
"/usr/lib/python2.7/dist-packages/novaclient/client.py", line 227, in
_cs_request
[Thu Apr 11 08:09:11 2013] [error]     raise e
[Thu Apr 11 08:09:11 2013] [error] Unauthorized: Unauthorized (HTTP 401)
-----

The nova-api.log:
------
2013-04-11 05:12:26.906 1468 INFO nova.osapi_compute.wsgi.server [-] (1468)
accepted ('10.32.14.232', 48975)
2013-04-11 05:12:26.924 1468 INFO nova.osapi_compute.wsgi.server [-]
10.32.14.232 "GET
/v2/ed8359db8be04d41869ae48aee048102/os-simple-tenant-usage?start=2013-04-01T00:00:00&end=2013-04-11T08:12:26.903197&detailed=1
HTTP/1.1" status: 401 len: 461 time: 0.0163829
2013-04-11 05:12:26.929 1468 INFO nova.osapi_compute.wsgi.server [-] (1468)
accepted ('10.32.14.232', 48977)
2013-04-11 05:12:26.931 1468 INFO nova.osapi_compute.wsgi.server [-]
10.32.14.232 "GET /v2/ed8359db8be04d41869ae48aee048102 HTTP/1.1" status:
401 len: 461 time: 0.0009260
2013-04-11 05:12:26.935 1468 INFO nova.osapi_compute.wsgi.server [-] (1468)
accepted ('10.32.14.232', 48978)
2013-04-11 05:12:26.936 1468 INFO nova.osapi_compute.wsgi.server [-]
10.32.14.232 "GET
/v2/ed8359db8be04d41869ae48aee048102/os-quota-sets/ed8359db8be04d41869ae48aee048102
HTTP/1.1" status: 401 len: 461 time: 0.0007942
2013-04-11 05:12:26.942 1468 INFO nova.osapi_compute.wsgi.server [-] (1468)
accepted ('10.32.14.232', 48979)
2013-04-11 05:12:26.944 1468 INFO nova.osapi_compute.wsgi.server [-]
10.32.14.232 "GET /v2/ed8359db8be04d41869ae48aee048102 HTTP/1.1" status:
401 len: 461 time: 0.0007391
-----

Am I missing something?

Tks!
Thiago


On 10 April 2013 13:31, James Page <james.page@xxxxxxxxxxxxx> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 10/04/13 17:14, Martinx - ジェ�`ムズ wrote:
> > Guys, This isn't ready. Just install Ubuntu 12.04 + Grizzly via
> > UCA, after login into Dashboard, getting "Internal Server Error"
> > message. Dashboard is broken.
>
> Please can you turn Debug on in
> /etc/openstack-dashboard/local_settings.py, restart apache and grab a
> stack trace?
>
> I've been testing with the full set of OpenStack services with the CA
> and I'm not hitting this issue.
>
> - --
> James Page
> Technical Lead
> Ubuntu Server Team
> james.page@xxxxxxxxxxxxx
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with undefined - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJRZZPXAAoJEL/srsug59jDJXsP/1d4fVD2Pd9qZ91P8wkQSCOl
> 4VDAJLf8ZQX9LDD8k//mZ4WrsGzsZx4/FU9fGU3oQPs8t0o7+ao7c+GLLTvIf2D4
> 8SvbtfIssOiVM8jdMVk/iTGEORh6qUWZ5RJDeHfJvACWYc5Gm3PSJGFj/A97bWOu
> Yd1xJBRT+7q6dbZld4/NqIwZeZWBsEDuSP+3f6WhqAVXBoclt/wfb6zhKmYotCfH
> s139kastJKo6ypPS4c8ZxByhwlGyeVGugTS79fDeCmfrbgOtJmjpAk4n4P5SL2xw
> 2pZ3HOwHjsB0+u5uohfTxZsIdvp40u5zbSxfRZWG1UoebQdsLkg+zBNEwRmRdn8/
> K3qR5G0eDvtZDQhWlIp51/r8E55Xzvhgueu4kPN7hAENx2f6jlXF/Aj1jhq+neMG
> DoOsWWuVbD6yO9hAapH1+hv/6H29vjyOSlWiW+fJpei9fYRnanSZZz+s7aiidajq
> pACxMcwRE9DP+Cp0UzK03ISX2jIKC35qqpSm8GklZBl1/3NCSKJg9iPZDHvwTlEj
> HFwxZfBzmE0LWB+3cp3PzuOmYwsaAJxoolFQ7kfuut36j6BYO03j4YVqDU8XZQW1
> MWS9iTHue8ReXMjZPhCrPq91CMaswo14Jpgtkkk2sRl8HZ2ydxvuAWIk6UIgXEyk
> XfVu2O5C+tImbccrRC+C
> =qmfk
> -----END PGP SIGNATURE-----
>

Follow ups

References