)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6835,"name":"Kun Huang","email":"gareth@openstacker.org","username":"academicgareth"},"change_message_id":"a173ebd1e268636b07fff7a7910f7eee1a28bce4","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"create_user_update_password failed with keystone v3 endpoint due to"},{"line_number":10,"context_line":"API inconsistency. The method has been changed to users.update in v3"},{"line_number":11,"context_line":"for admin endpoint."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I063c0e488a2dddd72ed865c984efcd0fa596a850"},{"line_number":14,"context_line":"Closes-Bug: 1469590"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1a4dcd0f_623e34dc","line":11,"updated":"2015-08-14 08:01:42.000000000","message":"why keystone client\u0027s update_password doesn\u0027t work? [0] I think you need more details to convince reviewers :)\n\n[0] https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/v3/users.py#L146","commit_id":"8f61206e848e7ecd243152a6eedfbaa2e234bd77"},{"author":{"_account_id":6835,"name":"Kun Huang","email":"gareth@openstacker.org","username":"academicgareth"},"change_message_id":"10e7f3a08ffe9f177c2bfc6d347581ca6c335c21","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"create_user_update_password failed with keystone v3 endpoint due to"},{"line_number":10,"context_line":"API inconsistency. The method has been changed to users.update in v3"},{"line_number":11,"context_line":"for admin endpoint."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I063c0e488a2dddd72ed865c984efcd0fa596a850"},{"line_number":14,"context_line":"Closes-Bug: 1469590"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1a4dcd0f_68ea93ae","line":11,"in_reply_to":"1a4dcd0f_28924ba0","updated":"2015-08-14 08:38:24.000000000","message":"got it\n\nbut you need add a little more details in commit msg. at least, update_password in v2/v3 behaves differently, one is .. another is ....","commit_id":"8f61206e848e7ecd243152a6eedfbaa2e234bd77"},{"author":{"_account_id":13158,"name":"Zhongcheng Lao","email":"zlao@vmware.com","username":"zlao"},"change_message_id":"1e0e4c555403245576658371d736ae602c84fdfb","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"create_user_update_password failed with keystone v3 endpoint due to"},{"line_number":10,"context_line":"API inconsistency. The method has been changed to users.update in v3"},{"line_number":11,"context_line":"for admin endpoint."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I063c0e488a2dddd72ed865c984efcd0fa596a850"},{"line_number":14,"context_line":"Closes-Bug: 1469590"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1a4dcd0f_65d4febc","line":11,"in_reply_to":"1a4dcd0f_623e34dc","updated":"2015-08-14 08:20:56.000000000","message":"From v3 keystone spec, update_password is for the user to update his own password, which requires the keystone client to authenticate with the user credentials to get the token then provide the old password for a password change. The user id will be extracted from the request context. The only two args passed to update_password are the old password and the new one. Unlike v2, user_id is never passed.\n\nIf the admin user would like to update user info, user.update should be called. This method can update any user info including password.\n\ncreate_user_update_password scenario verifies whether the admin user is able to update user password since admin clients are used. Hence user.update is the correct API to use for v3.","commit_id":"8f61206e848e7ecd243152a6eedfbaa2e234bd77"},{"author":{"_account_id":13158,"name":"Zhongcheng Lao","email":"zlao@vmware.com","username":"zlao"},"change_message_id":"202098627ee674f147e6409cf99e16128f2d521f","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"create_user_update_password failed with keystone v3 endpoint due to"},{"line_number":10,"context_line":"API inconsistency. The method has been changed to users.update in v3"},{"line_number":11,"context_line":"for admin endpoint."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I063c0e488a2dddd72ed865c984efcd0fa596a850"},{"line_number":14,"context_line":"Closes-Bug: 1469590"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1a4dcd0f_28924ba0","line":11,"in_reply_to":"1a4dcd0f_65d4febc","updated":"2015-08-14 08:30:31.000000000","message":"Please also refer to the doc string of user.update_password.\n\nhttps://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/v3/users.py#L147\n\n\"\"\"Update the password for the user the token belongs to.\"\"\"\n\nCurrently Rally calls user.update_password with admin clients, which basically tells keystone to update the admin\u0027s password.\n\nIt is not the same different thing as what the scenario does in v2.","commit_id":"8f61206e848e7ecd243152a6eedfbaa2e234bd77"},{"author":{"_account_id":13158,"name":"Zhongcheng Lao","email":"zlao@vmware.com","username":"zlao"},"change_message_id":"65a709b13e6491f8018f4c0d11e4c24e60fd88a0","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"create_user_update_password failed with keystone v3 endpoint due to"},{"line_number":10,"context_line":"API inconsistency. The method has been changed to users.update in v3"},{"line_number":11,"context_line":"for admin endpoint."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I063c0e488a2dddd72ed865c984efcd0fa596a850"},{"line_number":14,"context_line":"Closes-Bug: 1469590"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1a4dcd0f_54ae4e82","line":11,"in_reply_to":"1a4dcd0f_68ea93ae","updated":"2015-08-14 09:50:22.000000000","message":"Done","commit_id":"8f61206e848e7ecd243152a6eedfbaa2e234bd77"}],"rally/plugins/openstack/scenarios/keystone/utils.py":[{"author":{"_account_id":6835,"name":"Kun Huang","email":"gareth@openstacker.org","username":"academicgareth"},"change_message_id":"10e7f3a08ffe9f177c2bfc6d347581ca6c335c21","unresolved":false,"context_lines":[{"line_number":228,"context_line":"        \"\"\""},{"line_number":229,"context_line":"        admin_clients \u003d self.admin_clients(\"keystone\")"},{"line_number":230,"context_line":"        if admin_clients.version in [\"v3\"]:"},{"line_number":231,"context_line":"            admin_clients.users.update(user_id, password)"},{"line_number":232,"context_line":"        else:"},{"line_number":233,"context_line":"            admin_clients.users.update_password(user_id, password)"},{"line_number":234,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_4880f7f7","line":231,"updated":"2015-08-14 08:38:24.000000000","message":"see [0], you need \u0027password\u003dpassword\u0027\n\n[0] https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/v3/users.py#L115","commit_id":"8f61206e848e7ecd243152a6eedfbaa2e234bd77"},{"author":{"_account_id":13158,"name":"Zhongcheng Lao","email":"zlao@vmware.com","username":"zlao"},"change_message_id":"65a709b13e6491f8018f4c0d11e4c24e60fd88a0","unresolved":false,"context_lines":[{"line_number":228,"context_line":"        \"\"\""},{"line_number":229,"context_line":"        admin_clients \u003d self.admin_clients(\"keystone\")"},{"line_number":230,"context_line":"        if admin_clients.version in [\"v3\"]:"},{"line_number":231,"context_line":"            admin_clients.users.update(user_id, password)"},{"line_number":232,"context_line":"        else:"},{"line_number":233,"context_line":"            admin_clients.users.update_password(user_id, password)"},{"line_number":234,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_3478622b","line":231,"in_reply_to":"1a4dcd0f_4880f7f7","updated":"2015-08-14 09:50:22.000000000","message":"Done","commit_id":"8f61206e848e7ecd243152a6eedfbaa2e234bd77"}]}
