[Openstack] Issue with keystone-2012.1~rc1.tar.gz -- unable to authorize user

Vijay vijayrg at yahoo.com
Mon Apr 2 22:26:27 UTC 2012


Hello,
Installed keystone-2012.1~rc1.tar.gz. 
Following this url to configure:
http://docs.openstack.org/trunk/openstack-compute/install/content/setting-up-tenants-users-and-roles.html
 
When I tried to 
keystone --token 012345SECRET99TOKEN012345 --endpoint http://192.168.198.85:35357/v2.0 tenant-create --name openstackDemo --description "Default
Tenant" --enabled true
 
I am getting 
No handlers could be found for logger "keystoneclient.client"
Unable to authorize user

In the console log,
it says
 
2012-04-02 15:23:38    DEBUG [keystone.common.wsgi] ******************** REQUEST BODY ********************
2012-04-02 15:23:38    DEBUG [keystone.common.wsgi] {"tenant": {"enabled": true, "name": "openstackDemo", "description": "Default Tenant"}}
2012-04-02 15:23:38    DEBUG [keystone.common.wsgi]
2012-04-02 15:23:38    DEBUG [routes.middleware] Matched POST /tenants
2012-04-02 15:23:38    DEBUG [routes.middleware] Route path: '{path_info:.*}', defaults: {'controller': <keystone.contrib.admin_crud.core.CrudExtension object at 0x2c74a10>}
2012-04-02 15:23:38    DEBUG [routes.middleware] Match dict: {'controller': <keystone.contrib.admin_crud.core.CrudExtension object at 0x2c74a10>, 'path_info': '/tenants'}
2012-04-02 15:23:38    DEBUG [routes.middleware] Matched POST /tenants
2012-04-02 15:23:38    DEBUG [routes.middleware] Route path: '/tenants', defaults: {'action': u'create_tenant', 'controller': <keystone.identity.core.TenantController object at 0x2c741d0>}
2012-04-02 15:23:38    DEBUG [routes.middleware] Match dict: {'action': u'create_tenant', 'controller': <keystone.identity.core.TenantController object at 0x2c741d0>}
2012-04-02 15:23:38    DEBUG [keystone.common.wsgi] arg_dict: {}
2012-04-02 15:23:38  WARNING [keystone.common.wsgi] The request you have made requires authentication.
2012-04-02 15:23:38    DEBUG [keystone.common.wsgi] ******************** RESPONSE HEADERS ********************
2012-04-02 15:23:38    DEBUG [keystone.common.wsgi] Content-Type = application/json
2012-04-02 15:23:38    DEBUG [keystone.common.wsgi] Vary = X-Auth-Token
2012-04-02 15:23:38    DEBUG [keystone.common.wsgi] Content-Length = 116
2012-04-02 15:23:38    DEBUG [keystone.common.wsgi]
2012-04-02 15:23:38    DEBUG [keystone.common.wsgi] ******************** RESPONSE BODY ********************
2012-04-02 15:23:38    DEBUG [keystone.common.wsgi] {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Not Authorized"}}
2012-04-02 15:23:38    DEBUG [eventlet.wsgi.server] 192.168.198.85 - - [02/Apr/2012 15:23:38] "POST /v2.0/tenants HTTP/1.1" 401 257 0.008317

 
Is this a bug or is something in my keystone.conf not set properly?
 
Any lead is appreciated.
Thanks,
-Vijay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120402/82fe4c89/attachment.html>


More information about the Openstack mailing list