RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 2060925 - [RFE] Collect the Simple content access mode enable or disable in satellite through sosreport
Summary: [RFE] Collect the Simple content access mode enable or disable in satellite t...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sos
Version: 8.4
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Pavel Moravec
QA Contact: Daniel Záležák
URL:
Whiteboard:
Depends On:
Blocks: 2075073
TreeView+ depends on / blocked
 
Reported: 2022-03-04 15:06 UTC by Ganesh Payelkar
Modified: 2023-04-06 11:57 UTC (History)
11 users (show)

Fixed In Version: sos-4.4-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2075073 (view as bug list)
Environment:
Last Closed: 2023-03-16 21:33:08 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github sosreport sos pull 2901 0 None open [candlepin] collect information about SCA 2022-04-05 14:40:37 UTC
Red Hat Issue Tracker RHELPLAN-114543 0 None None None 2022-03-04 15:25:43 UTC

Description Ganesh Payelkar 2022-03-04 15:06:00 UTC
Description of problem:

We need the information of SCA enable/disable in sosreport when we collect the sos from satellite 6 

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

How reproducible:
satellite 

Steps to Reproduce:
1. Collect the sosreport from the satellite server 
2. Try to find the information of SCA enabled/disable 
3.

Actual results:

Currently, there is no information available through sosreport that satellite is having Simple content enable or disable 

Expected results:


Additional info: 

If SCA disable: 

# su - postgres -c "psql candlepin -c 'select displayname,content_access_mode from cp_owner;'"
 displayname | content_access_mode 
-------------+---------------------
 RedHat      | entitlement
(1 row)


If SCA enable :

#  su - postgres -c "psql candlepin -c 'select displayname,content_access_mode from cp_owner;'"
 displayname | content_access_mode 
-------------+---------------------
 pune        | entitlement
 New         | org_environment
 RedHat      | org_environment

Logs: 

1.7.1.6 - - [04/Mar/2022:09:57:09 -0500] "PUT /katello/api/v2/organizations/4/simple_content_access/enable HTTP/1.1" 202 969 "https://satellite.example.com/subscriptions" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36"


1.7.1.6 - - [04/Mar/2022:10:02:19 -0500] "PUT /katello/api/v2/organizations/4/simple_content_access/disable HTTP/1.1" 202 972 "https://satellite.example.com/subscriptions" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36"

Comment 14 Pavel Moravec 2023-03-16 21:33:08 UTC
Closing the bugzilla as the fix has been delivered in sos-4.5.0-1.el8 released via https://access.redhat.com/errata/RHBA-2023:1300 errata.


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