Bug 1806462
Summary: | In Audit logs, Filter type = puppetclass do not list any result | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Ranjan Kumar <rankumar> | ||||||
Component: | Puppet | Assignee: | Ondřej Ezr <oezr> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Vladimír Sedmík <vsedmik> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 6.7.0 | CC: | ehelms, inecas, oezr | ||||||
Target Milestone: | 6.10.0 | Keywords: | Regression, Triaged | ||||||
Target Release: | Unused | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2021-11-16 14:09:07 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: | |||||||||
Attachments: |
|
Created attachment 1665350 [details]
puppet class 2
This is caused by Puppetclass audits do not record its taxonomies correctly, so Puppetclass audits show only when we select 'Any organization' and 'Any location'. This is most definitely bug, but its severity is not very high. It is caused by the order of creation of the records. We create Puppetclass separately of its association class, and only then we create the association to Environment. So the class has no way of saying what taxonomies it belongs to on create and thus this affects only create, other Audits are recorded with correct taxonomies and thus work correctly. Created redmine issue https://projects.theforeman.org/issues/32121 from this bug Upstream bug assigned to oezr Upstream bug assigned to oezr Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32121 has been resolved. Verified on 6.10.0 snap 3: 1) imported a puppet environment, checked that puppet classes were added 2) removed some of the puppet classes 3) verified the Audit contains records for both events 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 (Moderate: Satellite 6.10 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-2021:4702 |
Created attachment 1665349 [details] puppetclass audit 1 Description of problem: Monitor -> Audits, The filter type = puppetclass is not working and shows no result Version-Release number of selected component (if applicable): Satellite 6.7 How reproducible: Always