** Changed in: keystone/grizzly
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1117356
Title:
Update API on LDAP does not return the result
Status in OpenStack Identity (Keystone):
Fix Released
Status in Keystone grizzly series:
Fix Released
Bug description:
When updating a tenant using LDAP backend the api call did not return
the updated tenant. On the SQL backend the updated tenant is returned
DEBUG Trace in keystone.log
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] ********************
REQUEST ENVIRON ********************
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] SCRIPT_NAME = /v2.0
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] webob.adhoc_attrs =
{'response': <Response at 0x3433c90 200 OK>}
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] REQUEST_METHOD = POST
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] PATH_INFO =
/tenants/77e43eef529e46278db52ef2d496850b
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] SERVER_PROTOCOL = HTTP/1.0
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] CONTENT_LENGTH = 149
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] HTTP_X_AUTH_TOKEN =
keystone_admin_token
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] HTTP_USER_AGENT =
python-keystoneclient
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] eventlet.posthooks = []
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] RAW_PATH_INFO =
/v2.0//tenants/77e43eef529e46278db52ef2d496850b
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] REMOTE_ADDR =
128.142.34.211
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] eventlet.input =
<eventlet.wsgi.Input object at 0x3427f90>
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] wsgi.url_scheme = https
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] SERVER_PORT = 35357
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] wsgi.input =
<cStringIO.StringI object at 0x24ba1b0>
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] openstack.context =
{'token_id': '*******', 'is_admin': True}
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] HTTP_HOST =
lxbrf17b01.cern.ch:35357
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] HTTPS = on
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] wsgi.multithread = True
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] openstack.params =
{u'tenant': {u'enabled': True, u'description': u'Private Project for user
jcastro', u'name': u'jcastro Private', u'id':
u'77e43eef529e46278db52ef2d496850b'}}
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] wsgi.version = (1, 0)
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] SERVER_NAME =
128.142.34.211
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] GATEWAY_INTERFACE =
CGI/1.1
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] wsgi.run_once = False
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] wsgi.errors = <open file
'<stderr>', mode 'w' at 0x7f55d55c01e0>
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] wsgi.multiprocess = False
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] webob.is_body_seekable =
True
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] CONTENT_TYPE =
application/json
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] HTTP_ACCEPT_ENCODING =
gzip, deflate
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi]
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] ********************
REQUEST BODY ********************
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] {"tenant":
{"description": "Private Project for user jcastro", "enabled": true, "id":
"77e43eef529e46278db52ef2d496850b", "name": "jcastro Private"}}
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi]
2013-02-06 15:04:27 DEBUG [routes.middleware] Matched POST
/tenants/77e43eef529e46278db52ef2d496850b
2013-02-06 15:04:27 DEBUG [routes.middleware] Route path:
'{path_info:.*}', defaults: {'controller':
<keystone.contrib.ec2.core.Ec2Extension object at 0x329bc10>}
2013-02-06 15:04:27 DEBUG [routes.middleware] Match dict: {'controller':
<keystone.contrib.ec2.core.Ec2Extension object at 0x329bc10>, 'path_info':
'/tenants/77e43eef529e46278db52ef2d496850b'}
2013-02-06 15:04:27 DEBUG [routes.middleware] Matched POST
/tenants/77e43eef529e46278db52ef2d496850b
2013-02-06 15:04:27 DEBUG [routes.middleware] Route path:
'{path_info:.*}', defaults: {'controller':
<keystone.contrib.s3.core.S3Extension object at 0x32928d0>}
2013-02-06 15:04:27 DEBUG [routes.middleware] Match dict: {'controller':
<keystone.contrib.s3.core.S3Extension object at 0x32928d0>, 'path_info':
'/tenants/77e43eef529e46278db52ef2d496850b'}
2013-02-06 15:04:27 DEBUG [routes.middleware] Matched POST
/tenants/77e43eef529e46278db52ef2d496850b
2013-02-06 15:04:27 DEBUG [routes.middleware] Route path:
'{path_info:.*}', defaults: {'controller':
<keystone.contrib.admin_crud.core.CrudExtension object at 0x328b6d0>}
2013-02-06 15:04:27 DEBUG [routes.middleware] Match dict: {'controller':
<keystone.contrib.admin_crud.core.CrudExtension object at 0x328b6d0>,
'path_info': '/tenants/77e43eef529e46278db52ef2d496850b'}
2013-02-06 15:04:27 DEBUG [routes.middleware] Matched POST
/tenants/77e43eef529e46278db52ef2d496850b
2013-02-06 15:04:27 DEBUG [routes.middleware] Route path:
'/tenants/{tenant_id}', defaults: {'action': u'update_tenant', 'controller':
<keystone.identity.core.TenantController object at 0x32f7cd0>}
2013-02-06 15:04:27 DEBUG [routes.middleware] Match dict: {'action':
u'update_tenant', 'tenant_id': u'77e43eef529e46278db52ef2d496850b',
'controller': <keystone.identity.core.TenantController object at 0x32f7cd0>}
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] arg_dict: {'tenant_id':
u'77e43eef529e46278db52ef2d496850b'}
2013-02-06 15:04:27 DEBUG [keystone.common.ldap.core] LDAP init:
url=ldaps://********
2013-02-06 15:04:27 DEBUG [keystone.common.ldap.core] LDAP bind: ********
2013-02-06 15:04:27 DEBUG [keystone.common.ldap.core] LDAP search:
dn=cn=77e43eef529e46278db52ef2d496850b,OU=Tenants,OU=Agile,DC=cern,DC=ch,
scope=0, query=(objectClass=groupOfNames), attrs=['cn', 'extensionName', 'ou',
'description']
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] ********************
RESPONSE HEADERS ********************
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] Vary = X-Auth-Token
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] Content-Type =
application/json
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] Content-Length = 16
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi]
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] ********************
RESPONSE BODY ********************
2013-02-06 15:04:27 DEBUG [keystone.common.wsgi] {"tenant": null}
2013-02-06 15:04:27 DEBUG [eventlet.wsgi.server] 128.142.34.211 - -
[06/Feb/2013 15:04:27] "POST /v2.0//tenants/77e43eef529e46278db52ef2d496850b
HTTP/1.1" 200 144 0.023397
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1117356/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp