Project

General

Profile

Actions

Bug #34415

open

Inconsistent audit information on host detail page and audit log

Added by Ewoud Kohl van Wijngaarden about 2 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When I spin up a nightly box (vagrant up centos8-stream-foreman-nightly), a host exists because Puppet has registered it. Then I navigate to the host detail page. There I see 3 entries in the audit log. Then when I click on the All audits link I see two entries. See the attached for more.

This is with foreman-3.2.0-0.3.develop.20220204210046git06489cc.el8.noarch


Files

Screen Shot 2022-02-08 at 19.50.21.png View Screen Shot 2022-02-08 at 19.50.21.png 14.1 KB host detail page audits box Ewoud Kohl van Wijngaarden, 02/08/2022 06:52 PM
Screen Shot 2022-02-08 at 19.51.02.png View Screen Shot 2022-02-08 at 19.51.02.png 34.3 KB audits page for the host Ewoud Kohl van Wijngaarden, 02/08/2022 06:52 PM
Actions #1

Updated by Amir Fefer about 2 years ago

does the API ("/api/audits?host=<HOST>") return the data correctly?

Actions #2

Updated by Ewoud Kohl van Wijngaarden about 2 years ago

That does return 3 unique entries (different created_at timestamps, different request_uuid). Would this be a bug in the audits page?

Actions

Also available in: Atom PDF