Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2037771

Summary: Enable insights registration by default in the cockpit UI
Product: Red Hat Enterprise Linux 9 Reporter: Rehana <redakkan>
Component: subscription-managerAssignee: Jan Stavel <jstavel>
Status: CLOSED ERRATA QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: high Docs Contact: Lucie Vařáková <lmanasko>
Priority: high    
Version: 9.0CC: briasmit, jhnidek, jsefler, jstavel, lmanasko, rjerrido
Target Milestone: rcKeywords: Triaged
Target Release: 9.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: subscription-manager-1.29.23-1.el9 Doc Type: Enhancement
Doc Text:
.RHEL web console provides Insights registration by default With this update, when you use the Red Hat Enterprise Linux web console to register a RHEL system, the *Connect this system to Red Hat Insights.* check box is checked by default. If you do not want to connect to Insights, uncheck the box.
Story Points: ---
Clone Of:
: 2049441 (view as bug list) Environment:
Last Closed: 2022-05-17 15:58:31 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:
Bug Depends On:    
Bug Blocks: 2049441    

Description Rehana 2022-01-06 14:31:16 UTC
Description of problem:
As per the guidance from PMs ( requested in https://docs.google.com/document/d/1HSrAVa8Uo4G8OTm7yoY7qiuNJ-IPbjKHtLnbyhkT__o/edit#heading=h.6hekbeugdye3 ) this is request to enable the "connect to insights" option by default 
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.Install RHEL 9 compose 
2.open cockpit --> subscriptions
3.Register the system

Actual results:
system only registers to rhsm , and the "Connect to insights" check box is disabled by default

Expected results:
the "Connect to insights" check box should be enabled by default

Additional info:

Comment 2 Rehana 2022-01-21 15:06:23 UTC
Pre testing with 

# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 3.2.22-1
subscription management rules: 5.41
subscription-manager: 1.29.23-1.el9

# rpm -qa subscription-manager --changelog | grep 2037771
- 2037771: Cockpit registration dialog: enable insights by default
- 2037771: Cockpit registration dialog: enable insights by default

1. Check the "Connect to Insights" check box is enabled by default 

PASS , noticed that the "Connect this system to Red Hat Insights" check box is enabled by default  now (PFA) 

2. Check the insights packages are installed and the system is registered to insights and rhsm at the same time 

PASS 

# subscription-manager identity
system identity: *******
name: ***********
org name: 13343245
org ID: 13343245

# insights-client --status
This host is registered.

# cat /etc/insights-client/machine-id 
070bcd18-ae6c-4277-a227-9494cc0b772a

Based on the observations above, pre-verifying the bug .

Comment 9 errata-xmlrpc 2022-05-17 15:58:31 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 (new packages: subscription-manager), 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/RHBA-2022:3984