<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Try setting admin_token = 012345SECRET99TOKEN012345 in /etc/keystone/keystone.conf</div><div><br></div><div>-Joshua<br><div><br></div><div><br><div><div>On Apr 2, 2012, at 6:26 PM, Vijay wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0" style="position: static; z-index: auto; "><tbody><tr><td valign="top" style="font: inherit;"><div>Hello,</div>
<div>Installed keystone-2012.1~rc1.tar.gz. </div>
<div>Following this url to configure:</div>
<div><a href="http://docs.openstack.org/trunk/openstack-compute/install/content/setting-up-tenants-users-and-roles.html">http://docs.openstack.org/trunk/openstack-compute/install/content/setting-up-tenants-users-and-roles.html</a></div>
<div> </div>
<div>When I tried to </div><b><font size="1" face="Courier"><font size="1" face="Courier"><p align="left">keystone --token 012345SECRET99TOKEN012345 --endpoint <a href="http://192.168.198.85:35357/v2.0">http://192.168.198.85:35357/v2.0</a> tenant-create --name openstackDemo --description "Default
</p><div>Tenant" --enabled true</div></font></font></b>
<div> </div>
<div>I am getting </div>
<div>No handlers could be found for logger "keystoneclient.client"<br>Unable to authorize user<br></div>
<div>In the console log,</div>
<div>it says</div>
<div> </div>
<div>2012-04-02 15:23:38    DEBUG [keystone.common.wsgi] ******************** REQUEST BODY ********************<br>2012-04-02 15:23:38    DEBUG [keystone.common.wsgi] {"tenant": {"enabled": true, "name": "openstackDemo", "description": "Default Tenant"}}<br>2012-04-02 15:23:38    DEBUG [keystone.common.wsgi]<br>2012-04-02 15:23:38    DEBUG [routes.middleware] Matched POST /tenants<br>2012-04-02 15:23:38    DEBUG [routes.middleware] Route path: '{path_info:.*}', defaults: {'controller': <keystone.contrib.admin_crud.core.CrudExtension object at 0x2c74a10>}<br>2012-04-02 15:23:38    DEBUG [routes.middleware] Match dict: {'controller': <keystone.contrib.admin_crud.core.CrudExtension object at 0x2c74a10>, 'path_info': '/tenants'}<br>2012-04-02 15:23:38    DEBUG [routes.middleware] Matched POST /tenants<br>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>}<br>2012-04-02 15:23:38    DEBUG [routes.middleware] Match dict: {'action': u'create_tenant', 'controller': <keystone.identity.core.TenantController object at 0x2c741d0>}<br>2012-04-02 15:23:38    DEBUG [keystone.common.wsgi] arg_dict: {}<br>2012-04-02 15:23:38  WARNING [keystone.common.wsgi] The request you have made requires authentication.<br>2012-04-02 15:23:38    DEBUG [keystone.common.wsgi] ******************** RESPONSE HEADERS ********************<br>2012-04-02 15:23:38    DEBUG [keystone.common.wsgi] Content-Type = application/json<br>2012-04-02 15:23:38    DEBUG [keystone.common.wsgi] Vary = X-Auth-Token<br>2012-04-02 15:23:38    DEBUG [keystone.common.wsgi] Content-Length =
 116<br>2012-04-02 15:23:38    DEBUG [keystone.common.wsgi]<br>2012-04-02 15:23:38    DEBUG [keystone.common.wsgi] ******************** RESPONSE BODY ********************<br>2012-04-02 15:23:38    DEBUG [keystone.common.wsgi] {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Not Authorized"}}</div>
<div>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<br></div>
<div> </div>
<div>Is this a bug or is something in my keystone.conf not set properly?</div>
<div> </div>
<div>Any lead is appreciated.</div>
<div>Thanks,</div>
<div>-Vijay</div></td></tr></tbody></table>_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></div></body></html>