Bug 2302873 - Horizon operation logs are not getting generated when changing the credentials of the new user for the first time
Summary: Horizon operation logs are not getting generated when changing the credential...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z4
: 17.1
Assignee: Radomir Dopieralski
QA Contact: Ashish Gupta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-08-05 14:33 UTC by visinha
Modified: 2024-11-21 09:42 UTC (History)
9 users (show)

Fixed In Version: python-django-horizon-19.4.1-17.1.20240829160807.9b1a13e.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-11-21 09:42:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 926548 0 None NEW Force logging of /auth/password in operation log 2024-08-19 15:59:43 UTC
Red Hat Issue Tracker OSP-32655 0 None None None 2024-08-23 09:12:50 UTC
Red Hat Product Errata RHBA-2024:9974 0 None None None 2024-11-21 09:42:10 UTC

Description visinha 2024-08-05 14:33:37 UTC
Description of problem:

1) Customer says that logs are not getting generated in horizon operation log when they are changing the credentials of the new user for the first time. 

2) After they create a new user and sign out from the current user to login with the new user, it asks to change the credentials of the new user at the first login attempt.
 
3) When they are changing the credentials here, this log is not getting captured. They need to capture this log.
 
4) After that the logs for the new user are getting captured

Version-Release number of selected component (if applicable): 

RHOSP 16.2


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:

Horizon operation logs are not getting generated when changing the credentials of the new user for the first time

Expected results:

Horizon operation logs should also be generated when changing the credentials of the new user for the first time

Additional info:

Comment 5 Radomir Dopieralski 2024-08-19 11:22:17 UTC
The operation log logs all actions performed by the logged in user. However, the password change on first login is not performed by the logged in user — the user can't log in, because the password is set to expired. Therefore there is a separate form that allows users to update their password without logging in. But since that operation is not performed by the logged in user, it is not logged in the operation log.

Comment 21 errata-xmlrpc 2024-11-21 09:42:08 UTC
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 (RHOSP 17.1.4 bug fix and enhancement 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/RHBA-2024:9974


Note You need to log in before you can comment on or make changes to this bug.