essex dashboard + swift on Fedora

Asked by askstack

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.

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Dashboard (Horizon) Edit question
Assignee:
No assignee Edit question
Solved by:
askstack
Solved:
Last query:
Last reply:
Revision history for this message
askstack (askstack) said :
#1

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

Revision history for this message
askstack (askstack) said :
#2

user rights were not configured correctly.