Bug 1874937

Summary: Allowlist the owner_content_access_mode.modified event in Candlepin broker.xml
Product: Red Hat Satellite Reporter: Jonathon Turel <jturel>
Component: InstallationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Devendra Singh <desingh>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: swadeley
Target Milestone: 6.9.0Keywords: 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: 2021-04-21 13:17:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1874930    

Description Jonathon Turel 2020-09-02 15:46:21 UTC

Comment 1 Jonathon Turel 2020-09-02 15:46:24 UTC
Created from redmine issue https://projects.theforeman.org/issues/30767

Comment 2 Jonathon Turel 2020-09-02 15:46:25 UTC
Upstream bug assigned to None

Comment 3 Jonathon Turel 2020-09-02 15:47:57 UTC
The functionality of https://bugzilla.redhat.com/show_bug.cgi?id=1874930 depends on this BZ and they can/should be verified together

Comment 4 Bryan Kearney 2020-09-02 16:06:05 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30767 has been resolved.

Comment 5 Brad Buckingham 2020-09-03 15:02:36 UTC
Hi Jonathon,

Can you add a description and steps to reproduce to this bugzilla?
This will help QE in ensuring that it is working properly.

Thanks!

Comment 6 Brad Buckingham 2021-01-08 21:48:25 UTC
The fix for this is in an early Satellite 6.9 SNAP; therefore, aligning to release and updating state.

Comment 7 Devendra Singh 2021-01-29 09:34:00 UTC
Hi  Jonathon, 

I have checked the fix in the broker.xml.erb file and it is available on the 6.9 Snap 11's installed setup, but I am not aware what other steps I need to verify, Could you please share the steps? 

# cat /usr/share/foreman-installer/modules/candlepin/templates/broker.xml.erb|grep -A1 "EVENT_TARGET='ENTITLEMENT' and EVENT_TYPE='DELETED'"
                    (EVENT_TARGET='ENTITLEMENT' and EVENT_TYPE='DELETED') OR
                    (EVENT_TARGET='OWNER_CONTENT_ACCESS_MODE' and EVENT_TYPE='MODIFIED')

Comment 8 Jonathon Turel 2021-02-01 19:34:36 UTC
Hey Devendra,

This was the supporting change for https://bugzilla.redhat.com/show_bug.cgi?id=1874930 which has already been verified. Considering that, checking that the event is represented in the broker.xml like you have is sufficient since 1874930 took care of the end-to-end work.

Jonathon

Comment 9 Devendra Singh 2021-02-04 04:26:03 UTC
Thanks, Jonathon, I am marking it as verified.

Verified on 6.9 Snap11.

Comment 12 errata-xmlrpc 2021-04-21 13:17:42 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 (Moderate: Satellite 6.9 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:1313