Project

General

Profile

Bug #27383

Missing(ID: N) for Host_ids column in case of audit records for subscription updates

Added by Kavita Gaikwad 10 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1719636

Description of problem:
When I add or remove a subscription to a host and check the Monitor > Audits in the WebUI, the records are showing "Missing(ID: 2)" in "Host ids" line.

Version-Release number of selected component (if applicable):
satellite-6.6.0-5.beta.el7sat.noarch

How reproducible:
always

Steps to Reproduce:
1. Register a host to the Satellite
2. Go to Hosts > Content hosts > pick the host > tab Subscriptions > Add or Remove some subscription
3. Go to Monitor > Audits > check the latest log

Actual results:
"Missing(ID: 2)" shown in "Host ids" item

Expected results:
Valid value shown in "Host ids" item

Additional info:
See the attachment


Related issues

Blocked by Foreman - Bug #26200: [Audit] Repository creation under product creates audit record with empty contentClosed

Associated revisions

Revision db694344 (diff)
Added by Kavita Gaikwad 8 months ago

Fixes #27383 - audit hook in pool model to find records

In case of pool's audit records, with this commit it will
show hosts labels than ids on the audit page. There is no real
association with hosts exist in pool model.

History

#1 Updated by Kavita Gaikwad 10 months ago

  • Blocked by Bug #26200: [Audit] Repository creation under product creates audit record with empty content added

#2 Updated by Kavita Gaikwad 9 months ago

  • Category changed from Audit Log to Hosts
  • Project changed from Foreman to Katello

#3 Updated by The Foreman Bot 9 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8292 added

#4 Updated by James Jeffers 9 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.14.0

#5 Updated by The Foreman Bot 8 months ago

  • Fixed in Releases Katello 3.14.0 added

#6 Updated by Kavita Gaikwad 8 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF