Bug 2216158

Summary: Audit shows N/A for host owner changes
Product: Red Hat Satellite Reporter: Lukáš Hellebrandt <lhellebr>
Component: Audit LogAssignee: Adam Ruzicka <aruzicka>
Status: POST --- QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.14.0CC: aruzicka, rlavi
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Lukáš Hellebrandt 2023-06-20 10:42:13 UTC
Description of problem:
When a host owner is changed, the following entry is shown in audit:

<user> update HOST <host> <datetime>
Name  | Old | New
-----------------
Owner | N/A | N/A

Version-Release number of selected component (if applicable):
Reproduced on Sat 6.14 snap 3.0 and Sat 6.13.0

How reproducible:
Deterministic

Steps to Reproduce:
1. Create a host
2. Go to All hosts -> <host> -> Edit -> Additional information
3. Change Owner, submit
4. In the host details, in the bottom right, click All audits

Actual results:
The newest entry is an owner change but without actual user values

Expected results:
The entry should show wo is the original owner and who is the new owner

Comment 2 Adam Ruzicka 2023-06-20 16:17:31 UTC
Created redmine issue https://projects.theforeman.org/issues/36522 from this bug

Comment 3 Bryan Kearney 2023-08-29 16:02:54 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36522 has been resolved.