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 2141330 - [RFE] New role for Red Hat subscription management, insights management
Summary: [RFE] New role for Red Hat subscription management, insights management
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: rhel-system-roles
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 9.2
Assignee: Pino Toscano
QA Contact: Evgeny Fedin
Sagar Dubewar
URL:
Whiteboard: role:rhc
: 2171828 (view as bug list)
Depends On:
Blocks: 2144877 2171829 2179026
TreeView+ depends on / blocked
 
Reported: 2022-11-09 14:01 UTC by Rich Megginson
Modified: 2023-05-10 14:13 UTC (History)
12 users (show)

Fixed In Version: rhel-system-roles-1.21.1-1.el9_2
Doc Type: Enhancement
Doc Text:
.New Ansible Role for Red Hat Insights and subscription management The `rhel-system-roles` package now includes the remote host configuration (`rhc`) system role. This role enables administrators to easily register RHEL systems to Red Hat Subscription Management (RHSM) and Satellite servers. By default, when you register a system by using the `rhc` system role, the system connects to Red Hat Insights. With the new `rhc` system role, administrators can now automate the following tasks on the managed nodes: * Configure the connection to Red Hat Insights, including automatic update, remediations, and tags for the system. * Enable and disable repositories. * Configure the proxy to use for the connection. * Set the release of the system. For more information about how to automate these tasks, see link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/automating_system_administration_by_using_rhel_system_roles/index#using-the-rhc-system-role-to-register-the-system_automating-system-administration-by-using-rhel-system-roles[Using the RHC system role to register the system].
Clone Of:
: 2144877 2179026 (view as bug list)
Environment:
Last Closed: 2023-05-09 07:38:23 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker NMT-171 0 None None None 2023-01-24 16:04:57 UTC
Red Hat Issue Tracker RHELPLAN-138842 0 None None None 2022-11-09 14:22:53 UTC
Red Hat Product Errata RHEA-2023:2246 0 None None None 2023-05-09 07:38:47 UTC

Internal Links: 2171828

Description Rich Megginson 2022-11-09 14:01:58 UTC
There should be a system role for Red Hat subscription management and insights management and configuration

Comment 12 Archana Pandey 2023-02-21 12:31:10 UTC
test update: successfully verified the environment manual testing on RHLE 9.2.

Beaker Test information:
                         HOSTNAME=kvm-03-guest07.hv2.lab.eng.bos.redhat.com
                            JOBID=7551885
                         RECIPEID=13427197
                    RESULT_SERVER=
                           DISTRO=RHEL-9.2.0-20230220.9
                     ARCHITECTURE=x86_64


[root@kvm-03-guest07 ~]# rpm -qa rhel-system-roles
rhel-system-roles-1.21.0-0.19.el9.noarch

TC-1 : verify that the environment can be set while registering the system-PASSED
[root@kvm-03-guest07 ~]# ansible-playbook -l localhost test_register.yaml >> test_register.log attachment 1945490 [details]

TC-2: verify that the system can be registered with activation key without setting environments when multi environmnet is supported-PASSED
[root@kvm-03-guest07 ~]# ansible-playbook -l localhost test_register_activationkey.yaml >> test_register_actkey.log attachment 1945492 [details]

TC-3: verify that the multiple comma separated environments can not be set while registering the system, when server does not have multi_enviroment capability - PASSED
[root@kvm-03-guest07 ~]# ansible-playbook -l localhost test_register_multienv.yaml >> test_register_multienv.log  attachment 1945491 [details]

TC-4 verify that the multiple comma separated environments can be set while registering the system- PASSED (verified against on-premise candlepin)

TC5: verify that the environment can be set on registered system - NOT TESTABLE due to implementation limitations

TC-6: verify that environments can be updated after registration  - NOT TESTABLE due to implementation limitations

VERIFICATION: PASSED

Comment 15 Rich Megginson 2023-03-15 01:25:47 UTC
*** Bug 2171828 has been marked as a duplicate of this bug. ***

Comment 35 errata-xmlrpc 2023-05-09 07:38:23 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 (rhel-system-roles bug fix and enhancement update), 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/RHEA-2023:2246


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