Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1632577 - Audit log show 'missing' for adding/removing repository to a CV
Summary: Audit log show 'missing' for adding/removing repository to a CV
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Audit Log
Version: 6.4
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: 6.8.0
Assignee: Kavita
QA Contact: Jameer Pathan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-25 07:21 UTC by Jameer Pathan
Modified: 2020-10-27 12:58 UTC (History)
4 users (show)

Fixed In Version: foreman-1.22, katello-3.16.0-0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 12:57:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Audits show missing for adding/removing repo to a CV (33.15 KB, image/png)
2018-09-25 07:24 UTC, Jameer Pathan
no flags Details
screenshot 2 (85.85 KB, image/png)
2018-09-25 07:27 UTC, Jameer Pathan
no flags Details
Verification_screenshot (32.79 KB, image/png)
2020-06-08 11:31 UTC, Jameer Pathan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 26158 0 Normal Closed Need modifications to key_to_class method 2020-10-28 17:15:27 UTC
Foreman Issue Tracker 26229 0 Normal Closed Override to_label method for repository resource to show proper label in audits 2020-10-28 17:15:28 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 12:58:18 UTC

Description Jameer Pathan 2018-09-25 07:21:49 UTC
Description of problem:
Audit log show 'missing' for adding/removing repository to a CV.

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

@satellite 6.4.0 snap 23
How reproducible:
always

Steps to Reproduce:

1. Create a content view
2. Add repository to it
3. Go to Audits


Actual results:
"Repository ids changed from [empty] to Missing(ID: <repo_id>)" in Audits. If 
you click on details it also show missing.

Expected results:
name of repositories added to CV instead of Missing(ID: <repo_id>)

Additional info:

Comment 1 Jameer Pathan 2018-09-25 07:24:41 UTC
Created attachment 1486622 [details]
Audits show missing for adding/removing repo to a CV

Comment 2 Jameer Pathan 2018-09-25 07:27:35 UTC
Created attachment 1486623 [details]
screenshot 2

Comment 4 Bryan Kearney 2019-03-05 07:04:12 UTC
Upstream bug assigned to kgaikwad

Comment 10 Bryan Kearney 2020-03-20 16:04:55 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26158 has been resolved.

Comment 11 Jameer Pathan 2020-06-08 11:31:07 UTC
Verified

Verified with:
- Satellite 6.8 snap 3

Test steps:
1. Create a content view
2. Add repository to it
3. Go to Audits

Observation:
- Adding/Removing repositories from content view now shows names of those repositories in Audits.

Comment 12 Jameer Pathan 2020-06-08 11:31:53 UTC
Created attachment 1696040 [details]
Verification_screenshot

Comment 16 errata-xmlrpc 2020-10-27 12:57:59 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 (Important: Satellite 6.8 release), 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/RHSA-2020:4366


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