[openstack-dev] Fwd: Can't use Horizon trunk with Grizzly services

Endre Karlson endre.karlson at gmail.com
Thu May 23 18:25:07 UTC 2013


http://pastebin.com/wpDeVtkz

==> /var/log/apache2/error.log <==
[Thu May 23 18:21:15 2013] [error] DEBUG:openstack_auth.backend:Beginning
user authentication for user "endre".
[Thu May 23 18:21:16 2013] [error]
DEBUG:openstack_auth.backend:Authentication completed for user "endre".
[Thu May 23 18:21:16 2013] [error] INFO:openstack_auth.forms:Login
successful for user "endre".

==> /var/log/apache2/other_vhosts_access.log <==
console.x.no:443 79.160.206.91 - - [23/May/2013:18:21:14 +0000] "POST
/auth/login/ HTTP/1.1" 302 2389 "
https://console.x.no/auth/login/?next=/project/" "Mozilla/5.0 (X11; Linux
x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu
Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22"

==> /var/log/apache2/error.log <==
[Thu May 23 18:21:18 2013] [error]
[Thu May 23 18:21:18 2013] [error] REQ: curl -i
http://compute.x.no:8774/v2/c7bc3570f7544ba3ba7425fb572c8a87/os-simple-tenant-usage/c7bc3570f7544ba3ba7425fb572c8a87?start=2013-05-01T00:00:00&end=2013-05-23T18:21:18.354186-X
GET -H "X-Auth-Project-Id: c7bc3570f7544ba3ba7425fb572c8a87" -H
"User-Agent: python-novaclient" -H "Accept: application/json" -H
"X-Auth-Token: 78b054c7bfd731ed489bd2fc44fbd633"
[Thu May 23 18:21:18 2013] [error]
[Thu May 23 18:21:18 2013] [error] RESP: [200] CaseInsensitiveDict({'date':
'Thu, 23 May 2013 18:21:18 GMT', 'x-compute-request-id':
'req-a4eee7cf-c8a8-4124-85c5-d6c62903e0a8', 'content-type':
'application/json', 'content-length': '10917'})
[Thu May 23 18:21:18 2013] [error] RESP BODY: {"tenant_usage":
{"total_memory_mb_usage": 344565.0019214222, "total_vcpus_usage":
169.13004651111112, "start": "2013-05-01T00:00:00.000000", "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "stop": "2013-05-23T18:21:18.354186",
"server_usages": [{"instance_id": "f2476615-8bbd-4cb1-b374-cdf576ecd2e2",
"uptime": 575, "started_at": "2013-05-21T18:00:48.000000", "ended_at":
"2013-05-21T18:10:23.000000", "memory_mb": 512, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours":
0.1597222222222222, "vcpus": 1, "flavor": "m1.tiny", "local_gb": 0, "name":
"test"}, {"instance_id": "82efeac7-242a-4731-8b67-395706e5884c", "uptime":
178, "started_at": "2013-05-21T18:10:43.000000", "ended_at":
"2013-05-21T18:13:41.000000", "memory_mb": 512, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours":
0.049444444444444444, "vcpus": 1, "flavor": "m1.tiny", "local_gb": 0,
"name": "test"}, {"instance_id": "0976b062-9dcb-4c09-885f-7e867009d57d",
"uptime": 111, "started_at": "2013-05-21T18:15:53.000000", "ended_at":
"2013-05-21T18:17:44.000000", "memory_mb": 2048, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours":
0.030833333333333334, "vcpus": 1, "flavor": "m1.small", "local_gb": 20,
"name": "test"}, {"instance_id": "9dd8dcff-3f48-4266-baf6-f581781a0099",
"uptime": 46, "started_at": "2013-05-21T18:18:04.000000", "ended_at":
"2013-05-21T18:18:50.000000", "memory_mb": 2048, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours":
0.012777777777777779, "vcpus": 1, "flavor": "m1.small", "local_gb": 20,
"name": "test"}, {"instance_id": "a2d3e301-785b-4355-aa16-a96715a8560c",
"uptime": 2365, "started_at": "2013-05-21T18:18:59.000000", "ended_at":
"2013-05-21T18:58:24.000000", "memory_mb": 2048, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours":
0.6569444444444444, "vcpus": 1, "flavor": "m1.small", "local_gb": 20,
"name": "test"}, {"instance_id": "8bf34cc2-4dc9-4e7b-8706-8a4765f270fe",
"uptime": 298, "started_at": "2013-05-21T19:02:40.000000", "ended_at":
"2013-05-21T19:07:38.000000", "memory_mb": 512, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours":
0.08277777777777778, "vcpus": 1, "flavor": "m1.tiny", "local_gb": 0,
"name": "test"}, {"instance_id": "60bc101d-8228-4037-9b3f-7bd4b6288e87",
"uptime": 354, "started_at": "2013-05-21T19:07:53.000000", "ended_at":
"2013-05-21T19:13:47.000000", "memory_mb": 512, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours":
0.09833333333333333, "vcpus": 1, "flavor": "m1.tiny", "local_gb": 0,
"name": "test"}, {"instance_id": "d27da024-bf25-40bd-82d8-ef3ee5bdddc1",
"uptime": 2368, "started_at": "2013-05-21T19:14:04.000000", "ended_at":
"2013-05-21T19:53:32.000000", "memory_mb": 512, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours":
0.6577777777777778, "vcpus": 1, "flavor": "m1.tiny", "local_gb": 0, "name":
"test"}, {"instance_id": "7acea51f-bd95-4c32-83ba-0be4e51af2fe", "uptime":
1314, "started_at": "2013-05-21T19:31:38.000000", "ended_at":
"2013-05-21T19:53:32.000000", "memory_mb": 2048, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours": 0.365,
"vcpus": 1, "flavor": "m1.small", "local_gb": 20, "name": "test"},
{"instance_id": "28c622f1-9d2a-44fc-b49f-1937e409309e", "uptime": 232,
"started_at": "2013-05-21T19:54:01.000000", "ended_at":
"2013-05-21T19:57:53.000000", "memory_mb": 2048, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours":
0.06444444444444444, "vcpus": 1, "flavor": "m1.small", "local_gb": 20,
"name": "test"}, {"instance_id": "a03e532f-0ed1-4590-b584-e3c433c21951",
"uptime": 1527, "started_at": "2013-05-21T19:58:18.000000", "ended_at":
"2013-05-21T20:23:45.000000", "memory_mb": 2048, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours":
0.4241666666666667, "vcpus": 1, "flavor": "m1.small", "local_gb": 20,
"name": "test"}, {"instance_id": "c0c42811-3924-4dd7-b337-f1d9f8e60845",
"uptime": 633, "started_at": "2013-05-21T20:24:04.000000", "ended_at":
"2013-05-21T20:34:37.000000", "memory_mb": 2048, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours":
0.17583333333333334, "vcpus": 1, "flavor": "m1.small", "local_gb": 20,
"name": "test"}, {"instance_id": "c5d18668-c8b2-40a0-996b-434f3e1170a8",
"uptime": 233, "started_at": "2013-05-21T20:40:59.000000", "ended_at":
"2013-05-21T20:44:52.000000", "memory_mb": 4096, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours":
0.06472222222222222, "vcpus": 2, "flavor": "m1.medium", "local_gb": 40,
"name": "test"}, {"instance_id": "b2c79a60-3428-46fa-97c7-276fce678366",
"uptime": 3744, "started_at": "2013-05-21T20:52:54.000000", "ended_at":
"2013-05-21T21:55:18.000000", "memory_mb": 2048, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours": 1.04,
"vcpus": 1, "flavor": "m1.small", "local_gb": 20, "name": "test"},
{"instance_id": "b54f546c-6fba-4420-ba46-28260da82eaf", "uptime": 531,
"started_at": "2013-05-21T21:54:56.000000", "ended_at":
"2013-05-21T22:03:47.000000", "memory_mb": 4096, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours": 0.1475,
"vcpus": 2, "flavor": "m1.medium", "local_gb": 40, "name": "test"},
{"instance_id": "28a917aa-2cfe-47b2-9e14-e3cea641957b", "uptime": 199,
"started_at": "2013-05-21T22:00:28.000000", "ended_at":
"2013-05-21T22:03:47.000000", "memory_mb": 2048, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours":
0.05527777777777778, "vcpus": 1, "flavor": "m1.small", "local_gb": 20,
"name": "test"}, {"instance_id": "dafbdd03-a459-4639-b03a-30fad092b92a",
"uptime": 2852, "started_at": "2013-05-21T22:04:25.000000", "ended_at":
"2013-05-21T22:51:57.000000", "memory_mb": 4096, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours":
0.7922222222222223, "vcpus": 2, "flavor": "m1.medium", "local_gb": 40,
"name": "test"}, {"instance_id": "0eae6e26-755e-4953-a05d-0262c62ca247",
"uptime": 163, "started_at": "2013-05-21T22:49:14.000000", "ended_at":
"2013-05-21T22:51:57.000000", "memory_mb": 2048, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours":
0.04527777777777778, "vcpus": 1, "flavor": "m1.small", "local_gb": 20,
"name": "t"}, {"instance_id": "2156817b-e2a8-4666-9eab-aa71440da600",
"uptime": 59, "started_at": "2013-05-21T22:51:14.000000", "ended_at":
"2013-05-21T22:52:13.000000", "memory_mb": 512, "tenant_id":
"c7bc3570f7544ba3ba7425fb572c8a87", "state": "terminated", "hours":
0.01638888888888889, "vcpus": 1, "flavor": "m1.tiny", "local_gb": 0,
"name": "test-2156817b-e2a8-4666-9eab-aa71440da600"}, {"instance_id":
"7638bfd0-4894-409a-8a07-2e748ce20ff0", "uptime": 58, "started_at":
"2013-05-21T22:51:15.000000", "ended_at": "2013-05-21T22:52:13.000000",
"memory_mb": 512, "tenant_id": "c7bc3570f7544ba3ba7425fb572c8a87", "state":
"terminated", "hours": 0.01611111111111111, "vcpus": 1, "flavor":
"m1.tiny", "local_gb": 0, "name":
"test-7638bfd0-4894-409a-8a07-2e748ce20ff0"}, {"instance_id":
"563e6e4b-cae4-439c-b8ab-55f46c562f35", "uptime": 60, "started_at":
"2013-05-21T22:51:13.000000", "ended_at": "2013-05-21T22:52:13.000000",
"memory_mb": 512, "tenant_id": "c7bc3570f7544ba3ba7425fb572c8a87", "state":
"terminated", "hours": 0.016666666666666666, "vcpus": 1, "flavor":
"m1.tiny", "local_gb": 0, "name":
"test-563e6e4b-cae4-439c-b8ab-55f46c562f35"}, {"instance_id":
"285e4d23-994a-475d-a006-10620f73d21a", "uptime": 73, "started_at":
"2013-05-21T22:51:00.000000", "ended_at": "2013-05-21T22:52:13.000000",
"memory_mb": 512, "tenant_id": "c7bc3570f7544ba3ba7425fb572c8a87", "state":
"terminated", "hours": 0.020277777777777777, "vcpus": 1, "flavor":
"m1.tiny", "local_gb": 0, "name":
"test-285e4d23-994a-475d-a006-10620f73d21a"}, {"instance_id":
"36b35969-eeca-43a4-824e-2ed42f57e224", "uptime": 50, "started_at":
"2013-05-21T22:51:11.000000", "ended_at": "2013-05-21T22:52:01.000000",
"memory_mb": 512, "tenant_id": "c7bc3570f7544ba3ba7425fb572c8a87", "sta
[Thu May 23 18:21:18 2013] [error]

==> /var/log/apache2/other_vhosts_access.log <==
console.x.no:443 79.160.206.91 - - [23/May/2013:18:21:17 +0000] "GET
/project/ HTTP/1.1" 302 757 "https://console.x.no/auth/login/?next=/project/"
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko)
Ubuntu Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22"
console.x.no:443 79.160.206.91 - - [23/May/2013:18:21:18 +0000] "GET
/auth/login/?next=/project/ HTTP/1.1" 200 4402 "
https://console.x.no/auth/login/?next=/project/" "Mozilla/5.0 (X11; Linux
x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu
Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22"
console.x.no:443 79.160.206.91 - - [23/May/2013:18:21:19 +0000] "GET
/i18n/js/horizon/ HTTP/1.1" 200 2729 "
https://console.x.no/auth/login/?next=/project/" "Mozilla/5.0 (X11; Linux
x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu
Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22"

I enabled memcache and restarted but it still fails.

Endre


2013/5/23 Gabriel Hurley <Gabriel.Hurley at nebula.com>

>  Does your user have a role on at least one project? Also, look in the
> logs and see if you’re getting a 401/403 error from one of the underlying
> services. Or something wrong with your session storage?****
>
> ** **
>
> Basically, something is marking you as unauthorized, but there’s no way to
> say what from the information you’ve provided.****
>
> ** **
>
> **-          **Gabriel****
>
> ** **
>
> *From:* Endre Karlson [mailto:endre.karlson at gmail.com]
> *Sent:* Thursday, May 23, 2013 4:36 AM
> *To:* OpenStack Development Mailing List
> *Subject:* [openstack-dev] Fwd: Can't use Horizon trunk with Grizzly
> services****
>
> ** **
>
> You don't have permissions to access:****
>
> */project/*****
>
> Login as different user or go back to home page****
>
> ** **
>
> Anyone tested something alike this?****
>
> ** **
>
> Regards****
>
> Endre****
>
> ** **
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130523/d1e7813f/attachment.html>


More information about the OpenStack-dev mailing list