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 1847720

Summary: addOns should be addons in json response from candlepin server
Product: Red Hat Enterprise Linux 8 Reporter: Jan Stavel <jstavel>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED WONTFIX QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: redakkan
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
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: 2020-06-19 14:57:51 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:

Description Jan Stavel 2020-06-16 21:01:40 UTC
Description of problem:


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


How reproducible:
root@localhost ~]# syspurpose add addons "Resilient storage"
Added Resilient storage to addons.
addons updated.
[root@localhost ~]# syspurpose add NewList "ListItem"
Added ListItem to NewList.
NewList updated.
[root@localhost ~]# subscription-manager register --username jstavel_stage_demo01 --password redhat
You are attempting to use a locale that is not installed.
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
The system has been registered with ID: 63adfee2-1683-43bf-a40a-d835fa9dfc9a
The registered system name is: localhost.localdomain
export UUID=63adfee2-1683-43bf-a40a-d835fa9dfc9a[root@localhost ~]# export UUID=63adfee2-1683-43bf-a40a-d835fa9dfc9a
[root@localhost ~]# curl -ik -u jstavel_stage_demo01:redhat --request GET "https://subscription.rhsm.stage.redhat.com/subscription/consumers/$UUID?include=role&include=addons"
HTTP/1.1 200 OK
Server: openresty/1.15.8.3
Date: Tue, 16 Jun 2020 20:53:29 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
x-candlepin-request-uuid: d75e98c3-89df-43dd-b026-413ed4c0b05a
X-Version: 2.9.27-1

{"role":"","addOns":["Resilient storage"]}[root@localhost ~]# 



[root@localhost ~]# rpm -qa | grep subscription
subscription-manager-rhsm-certificates-1.27.4-1.el8.x86_64
python3-subscription-manager-rhsm-1.27.4-1.el8.x86_64
subscription-manager-1.27.4-1.el8.x86_64
subscription-manager-initial-setup-addon-1.27.4-1.el8.x86_64
dnf-plugin-subscription-manager-1.27.4-1.el8.x86_64
subscription-manager-cockpit-1.27.4-1.el8.noarch

Comment 1 Rehana 2020-06-19 14:57:51 UTC
Based on the review this is working as designed. Hence moving the bug to closed wont fix