2024-07-15 20:08:34 |
Franciszek Przewoźny |
bug |
|
|
added bug |
2024-07-15 20:08:43 |
Franciszek Przewoźny |
tags |
horizon |
horizon keystone |
|
2024-07-15 20:09:15 |
Franciszek Przewoźny |
description |
Hey,
As a disclaimer: most of the configuration is default, parameters related to endpoints are default.
With following option set in Keystone:
[security_compliance]
change_password_upon_first_use = True
Horizon redirects correctly to "Change password" screen, but it doesn't work.
From logs, it seems like the POST query is executed against http://192.168.4.100:5000/users/a5e3b6a416234807a870897e88a3c365/password
2024-07-15 21:45:10.166568 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.4.100:5000
2024-07-15 21:45:10.178351 DEBUG:urllib3.connectionpool:http://192.168.4.100:5000 "POST /users/a5e3b6a416234807a870897e88a3c365/password HTTP/1.1" 404 207
2024-07-15 21:45:10.178875 DEBUG:keystoneauth.session:Request returned failure status: 404
2024-07-15 21:45:10.179095 Unable to update password due to exception: Not Found (HTTP 404) (Request-ID: req-de6cf206-d160-41e3-81d2-14fde17d301a)
Manually checked endpoint with GET query, and it wasn't found:
# curl http://192.168.4.100:5000/users/a5e3b6a416234807a870897e88a3c365/password
<!doctype html>
<html lang=en>
<title>404 Not Found</title>
<h1>Not Found</h1>
<p>The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.</p>
But /v3 endpoint exist:
# curl http://192.168.4.100:5000/v3/users/a5e3b6a416234807a870897e88a3c365/password
{"message": "The method is not allowed for the requested URL."}
So password change POST query should be executed against /v3 API.
With Horizon configuration overwritten, it works just fine:
OPENSTACK_KEYSTONE_URL = "http://HERE_IP:5000/v3"
I'm not sure here if Horizon should be reconfigured, or Keystone API endpoint should include /v3 in path.
Thank you,
Franciszek |
Hey,
As a disclaimer: most of the configuration is default, parameters related to endpoints are default.
With following option set in Keystone:
[security_compliance]
change_password_upon_first_use = True
Horizon redirects correctly to "Change password" screen, but it doesn't work.
From logs, it seems like the POST query is executed against http://HERE_IP:5000/users/a5e3b6a416234807a870897e88a3c365/password
2024-07-15 21:45:10.166568 DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): HERE_IP:5000
2024-07-15 21:45:10.178351 DEBUG:urllib3.connectionpool:http://HERE_IP:5000 "POST /users/a5e3b6a416234807a870897e88a3c365/password HTTP/1.1" 404 207
2024-07-15 21:45:10.178875 DEBUG:keystoneauth.session:Request returned failure status: 404
2024-07-15 21:45:10.179095 Unable to update password due to exception: Not Found (HTTP 404) (Request-ID: req-de6cf206-d160-41e3-81d2-14fde17d301a)
Manually checked endpoint with GET query, and it wasn't found:
# curl http://HERE_IP:5000/users/a5e3b6a416234807a870897e88a3c365/password
<!doctype html>
<html lang=en>
<title>404 Not Found</title>
<h1>Not Found</h1>
<p>The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.</p>
But /v3 endpoint exist:
# curl http://HERE_IP:5000/v3/users/a5e3b6a416234807a870897e88a3c365/password
{"message": "The method is not allowed for the requested URL."}
So password change POST query should be executed against /v3 API.
With Horizon configuration overwritten, it works just fine:
OPENSTACK_KEYSTONE_URL = "http://HERE_IP:5000/v3"
I'm not sure here if Horizon should be reconfigured, or Keystone API endpoint should include /v3 in path.
Thank you,
Franciszek |
|
2024-07-17 14:43:57 |
Grzegorz Koper |
kolla-ansible: status |
New |
Confirmed |
|
2024-07-17 14:44:15 |
Grzegorz Koper |
kolla-ansible: importance |
Undecided |
High |
|
2024-07-17 14:44:23 |
Grzegorz Koper |
kolla-ansible: assignee |
|
Grzegorz Koper (koperg) |
|
2024-07-19 10:42:19 |
OpenStack Infra |
kolla-ansible: status |
Confirmed |
In Progress |
|
2024-07-19 14:55:58 |
Franciszek Przewoźny |
kolla-ansible: assignee |
Grzegorz Koper (koperg) |
Franciszek Przewoźny (fprzewozn) |
|
2024-08-09 00:20:08 |
OpenStack Infra |
kolla-ansible: status |
In Progress |
Fix Released |
|
2024-08-09 08:35:52 |
Maksim Malchuk |
nominated for series |
|
kolla-ansible/caracal |
|
2024-08-09 08:35:52 |
Maksim Malchuk |
bug task added |
|
kolla-ansible/caracal |
|
2024-08-09 08:35:52 |
Maksim Malchuk |
nominated for series |
|
kolla-ansible/antelope |
|
2024-08-09 08:35:52 |
Maksim Malchuk |
bug task added |
|
kolla-ansible/antelope |
|
2024-08-09 08:35:52 |
Maksim Malchuk |
nominated for series |
|
kolla-ansible/dalmatian |
|
2024-08-09 08:35:52 |
Maksim Malchuk |
bug task added |
|
kolla-ansible/dalmatian |
|
2024-08-09 08:35:52 |
Maksim Malchuk |
nominated for series |
|
kolla-ansible/bobcat |
|
2024-08-09 08:35:52 |
Maksim Malchuk |
bug task added |
|
kolla-ansible/bobcat |
|
2024-08-09 08:36:00 |
Maksim Malchuk |
kolla-ansible/caracal: status |
New |
In Progress |
|
2024-08-09 08:36:03 |
Maksim Malchuk |
kolla-ansible/bobcat: status |
New |
In Progress |
|
2024-08-09 08:36:06 |
Maksim Malchuk |
kolla-ansible/antelope: status |
New |
In Progress |
|
2024-08-09 08:36:11 |
Maksim Malchuk |
kolla-ansible/caracal: importance |
Undecided |
High |
|
2024-08-09 08:36:13 |
Maksim Malchuk |
kolla-ansible/bobcat: importance |
Undecided |
High |
|
2024-08-09 08:36:16 |
Maksim Malchuk |
kolla-ansible/antelope: importance |
Undecided |
High |
|
2024-08-09 15:22:25 |
Maksim Malchuk |
kolla-ansible/antelope: status |
In Progress |
Fix Committed |
|
2024-08-09 15:22:28 |
Maksim Malchuk |
kolla-ansible/bobcat: status |
In Progress |
Fix Committed |
|
2024-08-12 10:09:43 |
Maksim Malchuk |
kolla-ansible/caracal: status |
In Progress |
Fix Committed |
|
2024-08-12 11:23:15 |
Franciszek Przewoźny |
kolla-ansible/bobcat: assignee |
|
Franciszek Przewoźny (fprzewozn) |
|
2024-08-12 11:23:19 |
Franciszek Przewoźny |
kolla-ansible/caracal: assignee |
|
Franciszek Przewoźny (fprzewozn) |
|
2024-08-12 11:23:21 |
Franciszek Przewoźny |
kolla-ansible/antelope: assignee |
|
Franciszek Przewoźny (fprzewozn) |
|
2024-08-12 11:23:57 |
Franciszek Przewoźny |
kolla-ansible/caracal: status |
Fix Committed |
Fix Released |
|
2024-08-12 11:24:07 |
Franciszek Przewoźny |
kolla-ansible/bobcat: status |
Fix Committed |
Fix Released |
|
2024-08-12 11:24:15 |
Franciszek Przewoźny |
kolla-ansible/antelope: status |
Fix Committed |
Fix Released |
|
2024-08-31 13:06:07 |
Maksim Malchuk |
nominated for series |
|
kolla-ansible/zed |
|
2024-08-31 13:06:07 |
Maksim Malchuk |
bug task added |
|
kolla-ansible/zed |
|
2024-08-31 13:06:13 |
Maksim Malchuk |
kolla-ansible/zed: status |
New |
In Progress |
|
2024-08-31 13:06:17 |
Maksim Malchuk |
kolla-ansible/zed: importance |
Undecided |
High |
|
2024-09-11 14:54:25 |
OpenStack Infra |
kolla-ansible/zed: status |
In Progress |
Fix Committed |
|