Ask Your Question
0

tenant-create An unexpected error

asked 2013-08-30 13:02:28 -0500

marcos-fermin-lobo gravatar image

Hi everyone,

I modified the configuration file (keystone.conf) on Havana 2 as follows:

  • The user authentication (identity) is pointing to an LDAP served with SSL. This (I think) is properly configured.
  • The rest of the configuration is pointing to another machine in which it is installed Openstack with packstack (not quantum).

I can run without any problem online commands as:

$ keystone --insecure role-create --name admin $ keystone --insecure user-list $ curl --insecure -H "X-Auth-Token:THETOKEN" -H "Content-type: application/json" -d '{"group": {"description": "grupo 1", "domain_id": "default", "name": "grupo1"}}' https://localhost:35357/v3/groups

Having explained this, my problem is this:

When I run this command:

$ keystone --insecure tenant-create --name admin --enabled true

The server answers:

An unexpected error prevented the server from fulfilling your request. {'info': '00002095: SvcErr: DSID-032A0B24, problem 5012 (DIR_ERROR), data 8350\n', 'desc': 'Operations error'} (HTTP 500)

And the content of the log is as follows:

2013-08-30 14:39:35.907 21155 DEBUG routes.middleware [-] Matched POST /tenants __call__ /usr/lib/python2.6/site-packages/routes/middleware.py:100 2013-08-30 14:39:35.909 21155 DEBUG routes.middleware [-] Route path: '{path_info:.}', defaults: {'controller': <keystone.contrib.s3.core.s3extension object="" at="" 0x3d70490="">} __call__ /usr/lib/python2.6/site-packages/routes/middleware.py:102 2013-08-30 14:39:35.909 21155 DEBUG routes.middleware [-] Match dict: {'controller': <keystone.contrib.s3.core.s3extension object="" at="" 0x3d70490="">, 'path_info': '/tenants'} __call__ /usr/lib/python2.6/site-packages/routes/middleware.py:103 2013-08-30 14:39:35.909 21155 DEBUG routes.middleware [-] Matched POST /tenants __call__ /usr/lib/python2.6/site-packages/routes/middleware.py:100 2013-08-30 14:39:35.909 21155 DEBUG routes.middleware [-] Route path: '{path_info:.}', defaults: {'controller': <keystone.contrib.admin_crud.core.crudextension object="" at="" 0x3d5bed0="">} __call__ /usr/lib/python2.6/site-packages/routes/middleware.py:102 2013-08-30 14:39:35.910 21155 DEBUG routes.middleware [-] Match dict: {'controller': <keystone.contrib.admin_crud.core.crudextension object="" at="" 0x3d5bed0="">, 'path_info': '/tenants'} __call__ /usr/lib/python2.6/site-packages/routes/middleware.py:103 2013-08-30 14:39:35.910 21155 DEBUG routes.middleware [-] Matched POST /tenants __call__ /usr/lib/python2.6/site-packages/routes/middleware.py:100 2013-08-30 14:39:35.910 21155 DEBUG routes.middleware [-] Route path: '/tenants', defaults: {'action': u'create_project', 'controller': <keystone.identity.controllers.tenant object="" at="" 0x3d5bdd0="">} __call__ /usr/lib/python2.6/site-packages/routes/middleware.py:102 2013-08-30 14:39:35.910 21155 DEBUG routes.middleware [-] Match dict: {'action': u'create_project', 'controller': <keystone.identity.controllers.tenant object="" at="" 0x3d5bdd0="">} __call__ /usr/lib/python2.6/site-packages/routes/middleware.py:103 2013-08-30 14:39:35.945 21155 ERROR keystone.common.wsgi [-] {'info': '00002095: SvcErr: DSID-032A0B24, problem 5012 (DIR_ERROR), data 8350\n', 'desc': 'Operations error'} 2013-08-30 14:39:35.945 21155 TRACE keystone.common.wsgi Traceback (most recent call last): 2013-08-30 14:39:35.945 21155 TRACE keystone.common.wsgi File "/usr/lib/python2.6/site-packages/keystone/common/wsgi.py", line 237, in __call__ 2013-08-30 14:39:35.945 21155 TRACE keystone.common.wsgi result = method(context, params) 2013-08-30 14:39:35.945 21155 TRACE keystone.common.wsgi File "/usr/lib/python2.6/site-packages ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-09-02 08:58:02 -0500

marcos-fermin-lobo gravatar image

Hi,

I found the problem.

In keystone.conf I was this:

tenant_name_attribute = member

And the correct value is:

tenant_name_attribute = displayName

Best regard, Marcos.

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: 2013-08-30 13:02:28 -0500

Seen: 50 times

Last updated: Sep 02 '13