{"sha":"5de40f9b222608d35c5a0919117259e966217a86","node_id":"C_kwDOACiqztoAKDVkZTQwZjliMjIyNjA4ZDM1YzVhMDkxOTExNzI1OWU5NjYyMTdhODY","commit":{"author":{"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","date":"2024-03-14T18:22:14Z"},"committer":{"name":"Rodrigo Barbieri","email":"rodrigo.barbieri@canonical.com","date":"2024-03-27T13:55:45Z"},"message":"Fix error on changing user password by admin\n\nPrevious change I8438bedaf7cead452fc499e484d23690b48894d9\nattempted to address bug LP#1728031 by improving upon\npatch https://review.opendev.org/854005 but missed the\nline that allows the keystone client to properly\nauthenticate a cloud admin user that IS NOT in the\ndefault domain.\n\nWithout this 1-line fix, a cloud admin that is not\nin the default domain will face an \"incorrect admin\npassword\" error in the UI (despite the admin password\nbeing correct) and an authentication error in the logs,\nregardless of the endpoint type used (adminURL,\ninternalURL or publicURL).\n\nCloses-bug: #1728031\nChange-Id: I018e7d9cb84fd6ce8635c9054e15052ded7e9368\n(cherry picked from commit da8e959298575127434e6e15aae5d1f0638a6e22)\n(cherry picked from commit e9bf695641f4c07fadacf12599ae406c5ecd3ca6)\n(cherry picked from commit 7244c3142ca219a586ada686016b1eb956f9e7c5)","tree":{"sha":"f5ae1b5bdfa5b383c57e59cc601f6fc89dc3ee73","url":"https://api.github.com/repos/openstack/horizon/git/trees/f5ae1b5bdfa5b383c57e59cc601f6fc89dc3ee73"},"url":"https://api.github.com/repos/openstack/horizon/git/commits/5de40f9b222608d35c5a0919117259e966217a86","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null,"verified_at":null}},"url":"https://api.github.com/repos/openstack/horizon/commits/5de40f9b222608d35c5a0919117259e966217a86","html_url":"https://github.com/openstack/horizon/commit/5de40f9b222608d35c5a0919117259e966217a86","comments_url":"https://api.github.com/repos/openstack/horizon/commits/5de40f9b222608d35c5a0919117259e966217a86/comments","author":{"login":"rodrigogansobarbieri","id":4211105,"node_id":"MDQ6VXNlcjQyMTExMDU=","avatar_url":"https://avatars.githubusercontent.com/u/4211105?v=4","gravatar_id":"","url":"https://api.github.com/users/rodrigogansobarbieri","html_url":"https://github.com/rodrigogansobarbieri","followers_url":"https://api.github.com/users/rodrigogansobarbieri/followers","following_url":"https://api.github.com/users/rodrigogansobarbieri/following{/other_user}","gists_url":"https://api.github.com/users/rodrigogansobarbieri/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigogansobarbieri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigogansobarbieri/subscriptions","organizations_url":"https://api.github.com/users/rodrigogansobarbieri/orgs","repos_url":"https://api.github.com/users/rodrigogansobarbieri/repos","events_url":"https://api.github.com/users/rodrigogansobarbieri/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigogansobarbieri/received_events","type":"User","user_view_type":"public","site_admin":false},"committer":null,"parents":[{"sha":"8e624332831ec0a2638f917327abf971a407cf64","url":"https://api.github.com/repos/openstack/horizon/commits/8e624332831ec0a2638f917327abf971a407cf64","html_url":"https://github.com/openstack/horizon/commit/8e624332831ec0a2638f917327abf971a407cf64"}],"stats":{"total":1,"additions":1,"deletions":0},"files":[{"sha":"5705583e34b463ec956e1d58e48513e9fcc65619","filename":"openstack_dashboard/api/keystone.py","status":"modified","additions":1,"deletions":0,"changes":1,"blob_url":"https://github.com/openstack/horizon/blob/5de40f9b222608d35c5a0919117259e966217a86/openstack_dashboard%2Fapi%2Fkeystone.py","raw_url":"https://github.com/openstack/horizon/raw/5de40f9b222608d35c5a0919117259e966217a86/openstack_dashboard%2Fapi%2Fkeystone.py","contents_url":"https://api.github.com/repos/openstack/horizon/contents/openstack_dashboard%2Fapi%2Fkeystone.py?ref=5de40f9b222608d35c5a0919117259e966217a86","patch":"@@ -471,6 +471,7 @@ def user_verify_admin_password(request, admin_password):\n             username=request.user.username,\n             password=admin_password,\n             insecure=insecure,\n+            user_domain_name=request.user.user_domain_name,\n             cacert=cacert,\n             auth_url=endpoint\n         )"}]}