Description of problem: RHCI needs the ability to change the CFME admin user's password during a deployment. We'd like to be able to interact with a REST API to alter the admin user's password.
Can you please provide verification steps?
Verified fixed in version 5.5.0.8 Verification step: 1. Get admin user via rest api 2. Send query with new password 3. Try to login in cfme with new password You can run code in ipython: from cfme.login import login from cfme import Credential from cfme.configure.access_control import User from fixtures.pytest_store import store rest_api = store.current_appliance.rest_api admin_user = rest_api.collections.users.find_by(userid='admin')[0] new_password = 'test' admin_user.action.edit(password=new_password) # This part could be done manually cred = Credential(principal=admin_user.userid, secret=new_password) new_user = User(credential=cred) login(new_user)
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:2551