810970e68e
create_user_update_password failed with keystone v3 endpoint due to API inconsistency. The method has been changed to users.update in v3 for admin endpoint. users.update_password is going to update the user's password to which the token belongs in v3. Unlike v2, It no longer works to update the user password by admin user. When calling users.update_password, the user id will be extracted from the request context in keystone, which is why users.update_password no longer requires user id to be passed as an arg. The old password needs to be supplied for authentication. Rally calls users.update_password in create_user_update_password in v3. It basically tells keystone to update the admin user's password, which will result a different behavior to v2. Besides, user id is wrongly passed as the user's old password in v3, which result an UnauthorizedException in keystone and fail the test. This commit will use users.update to update the user password with admin clients. Change-Id: I063c0e488a2dddd72ed865c984efcd0fa596a850 Closes-Bug: 1469590 |
||
---|---|---|
.. | ||
cli | ||
common | ||
deployment | ||
doc | ||
plugins | ||
rally_jobs | ||
task | ||
ui | ||
verification | ||
__init__.py | ||
fakes.py | ||
test_api.py | ||
test_docstrings.py | ||
test_fuelclient.py | ||
test_hacking.py | ||
test_log.py | ||
test_mock.py | ||
test_osclients.py | ||
test_resources.py | ||
test_test_mock.py | ||
test.py |