Comment 3 for bug 912143

 I found the same things . And I think the main bug is belongs to python-keystoneclient. So I modified the python-keystoneclient code to match the Keystone's service. But python-keystoneclient seems doesn't belongs to keystone or horizon,this is a problem.



发件人:Tihomir Trifonov
发送时间:2012-02-01 05:10:47
主题:[Bug 912143] Re: syspanel can't update User,Tenant

I've added this as a comment to another bug, but now I've found that is
reported as a bug itself.
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}}
        return self._update("/users/%s" % base.getid(user), params,
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
This supports only POST and not PUT.
You received this bug notification because you are subscribed to the bug
  syspanel can't update User,Tenant
Status in OpenStack Dashboard (Horizon):
Bug description:
  In the syspanel ,when edit user or tenant ,it returns "item not found"
To manage notifications about this bug go to: