Ask Your Question
0

essex dashboard + swift on Fedora

asked 2012-05-02 16:46:37 -0500

askstack gravatar image

Fedora 16

openstack-keystone-2012.1-1.fc16.noarch openstack-dashboard-2012.1-2.fc16.noarch openstack-swift-1.4.8-1.fc17.noarch openstack-swift-proxy-1.4.8-1.fc17.noarch openstack-swift-account-1.4.8-1.fc17.noarch openstack-swift-object-1.4.8-1.fc17.noarch openstack-swift-doc-1.4.8-1.fc17.noarch openstack-nova-2012.1-3.fc16.noarch openstack-glance-2012.1-4.fc16.noarch openstack-swift-container-1.4.8-1.fc17.noarch

/etc/openstack-dashboard/local_settings

import os from django.utils.translation import ugettext_lazy as _ DEBUG = True TEMPLATE_DEBUG = DEBUG PROD = False USE_SSL = False SWIFT_ENABLED = True OPENSTACK_ADMIN_TOKEN = "a19c602bc5f8c10c47ea" SECRET_KEY = 'verybadpass' LOCAL_PATH = os.path.dirname(os.path.abspath(__file__)) CACHE_BACKEND = 'memcached://127.0.0.1:11211/' EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' OPENSTACK_HOST = "127.0.0.1" OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member" OPENSTACK_KEYSTONE_BACKEND = { 'name': 'native', 'can_edit_user': True } API_RESULT_LIMIT = 1000

###########

Glance with swift backend is working. I can do "glance add" and see swift files increase in size.

When I click on "Containers" linke, I got this error message. Error: Unable to retrieve container list.

Thanks in advance.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2012-05-03 16:31:43 -0500

askstack gravatar image

user rights were not configured correctly.

edit flag offensive delete link more
0

answered 2012-05-02 17:57:00 -0500

askstack gravatar image

keystone log:

***** REQUEST BODY *****

Matched GET /tenants Route path: '{path_info:.}', defaults: {'controller': <keystone.contrib.admin_crud.core.crudextension object="" at="" 0x1d0a6d0="">} Match dict: {'controller': <keystone.contrib.admin_crud.core.crudextension object="" at="" 0x1d0a6d0="">, 'path_info': '/tenants'} Matched GET /tenants Route path: '{path_info:.}', defaults: {'controller': <keystone.service.adminrouter object="" at="" 0x107a7d0="">} Match dict: {'controller': <keystone.service.adminrouter object="" at="" 0x107a7d0="">, 'path_info': '/tenants'} Matched GET /tenants Route path: '/tenants', defaults: {'action': u'get_all_tenants', 'controller': <keystone.identity.core.tenantcontroller object="" at="" 0x1d0a750="">} Match dict: {'action': u'get_all_tenants', 'controller': <keystone.identity.core.tenantcontroller object="" at="" 0x1d0a750="">} arg_dict: {} Invalid tenant The request you have made requires authentication. ***** RESPONSE HEADERS ***** Content-Type = application/json Vary = X-Auth-Token Content-Length = 116

***** RESPONSE BODY ***** {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Not Authorized"}} 127.0.0.1 - - [02/May/2012 12:57:24] "GET /v2.0/tenants HTTP/1.1" 401 257 0.010754

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-05-02 16:46:37 -0500

Seen: 25 times

Last updated: May 03 '12