Keystone presently doesn't allow updating of tenantname through the api. Something like this should fix:
--- a/keystone/logic/service.py
+++ b/keystone/logic/service.py
@@ -263,7 +263,9 @@ class IdentityService(object):
dtenant = api.TENANT.get(tenant_id)
if dtenant == None:
raise fault.ItemNotFoundFault("The tenant could not be found")
- values = {'desc': tenant.description, 'enabled': tenant.enabled}
+ values = {'desc': tenant.description,
+ 'enabled': tenant.enabled,
+ 'name': tenant.name}
api.TENANT.update(tenant_id, values)
tenant = api.TENANT.get(tenant_id)
return Tenant(tenant.id, tenant.name, tenant.desc, tenant.enabled)
Update user name should also be supported.Working on this.