DescriptionGanesh 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"