I've added this as a comment to another bug, but now I've found that is reported as a bug itself.
QUOTE:
There is something strange here. I am using devstack setup, and for me the 'update_email' function is not working.
def update_email(self, user, email):
"""
Update email
"""
# FIXME(ja): why do we have to send id in params and url?
params = {"user": {"id": base.getid(user), "email": email}}
This is the function in python-keystoneclient, where self._update is :
def _update(self, url, body, response_key=None):
resp, body = self.api.put(url, body=body)
# PUT requests may not return a body
if body:
return self.resource_class(self, body[response_key])
an actual *PUT* request.
But, as I see in keystone/keystone/contrib/extensions/admin/osksadm/__init__.py
Hello,
I've added this as a comment to another bug, but now I've found that is reported as a bug itself.
QUOTE:
There is something strange here. I am using devstack setup, and for me the 'update_email' function is not working.
def update_email(self, user, email):
" email": email}}
"""
Update email
"""
# FIXME(ja): why do we have to send id in params and url?
params = {"user": {"id": base.getid(user),
return self._update( "/users/ %s" % base.getid(user), params, "user")
This is the function in python- keystoneclient, where self._update is :
def _update(self, url, body, response_key=None): class(self, body[response_key])
resp, body = self.api.put(url, body=body)
# PUT requests may not return a body
if body:
return self.resource_
an actual *PUT* request.
But, as I see in keystone/ keystone/ contrib/ extensions/ admin/osksadm/ __init_ _.py
This supports only POST and not PUT.