← Back to team overview

openstack team mailing list archive

[Dashboard][Swift] Can't list swift containers

 

Hello,

I'm can't figure out why i am unable to list the swift container in
dashboard, i'm always presented with the error "Unable to retrieve
container list".

My Openstack setup is configured as an all in one on one machine and Swift
running on another configured to use keystone for authentication. If i use
the command line utility i'm able to perform all swift operations.

This i what i am able to retrieve from the error log in apache:

[Fri May 25 14:23:48 2012] [error] Swift connection created using token
>> "20a63d833a99407c97e30e91384fcf93" and url "http://192.168.111.217:8080";
>
> [Fri May 25 14:23:48 2012] [error] Recoverable error: 404: Not Found
>
> [Fri May 25 14:23:48 2012] [error] Creating a new keystoneclient
>> connection to http://10.0.7.1:5000/v2.0.
>
> [Fri May 25 14:23:48 2012] [error] REQ: curl -i
>> http://10.0.7.1:5000/v2.0/tenants -X GET -H "User-Agent:
>> python-keystoneclient" -H "X-Auth-Token: 404ca79fed324dd1b2b16636d8dcb1a8"
>
> [Fri May 25 14:23:48 2012] [error]
>
> [Fri May 25 14:23:48 2012] [error] RESP: {'status': '200',
>> 'content-location': u'http://10.0.7.1:5000/v2.0/tenants',
>> 'transfer-encoding': 'chunked', 'vary': 'X-Auth-Token', 'date': 'Fri, 25
>> May 2012 14:23:48 GMT', 'content-type': 'application/json'}
>
> [Fri May 25 14:23:48 2012] [error] RESP BODY: {"tenants_links": [],
>> "tenants": [{"enabled": true, "description": null, "name": "admin", "id":
>> "04282e9aff474d2383bb4d4417673e0a"}, {"enabled": true, "description": null,
>> "name": "demo", "id": "9a00e050d50743d184491bafcc910220"}]}
>
> [Fri May 25 14:23:48 2012] [error]
>
>
Keystone ir running on 10.0.7.1 (vlan) and Swift on 192.168.111.217. Both
machines can communicate with each other.

Regards,

Leander

Follow ups