Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2302873

Summary: Horizon operation logs are not getting generated when changing the credentials of the new user for the first time
Product: Red Hat OpenStack Reporter: visinha
Component: python-django-horizonAssignee: Radomir Dopieralski <rdopiera>
Status: CLOSED ERRATA QA Contact: Ashish Gupta <ashigupt>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.2 (Train)CC: abhijadh, alisci, jjasek, jpretori, mariel, pambre, rdopiera, snanawar, tvignaud
Target Milestone: z4Keywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-django-horizon-19.4.1-17.1.20240829160807.9b1a13e.el9ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-21 09:42:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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