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 1708494 - When user tries to add mutilple addons that are already added ,User is not displayed a message(as to whether the addon is or notand why its not added) for second and subsequent addons
Summary: When user tries to add mutilple addons that are already added ,User is not di...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subscription-manager
Version: ---
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: rc
: 8.1
Assignee: Jiri Hnidek
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks: 1739706
TreeView+ depends on / blocked
 
Reported: 2019-05-10 05:42 UTC by Shwetha Kallesh
Modified: 2020-11-14 09:44 UTC (History)
8 users (show)

Fixed In Version: subscription-manager-1.25.14-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1739706 (view as bug list)
Environment:
Last Closed: 2019-11-05 22:15:36 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 2133 0 'None' closed 1708494: Proper messaging of syspurpose add-addons; ENT-1332 2020-09-24 15:26:42 UTC
Red Hat Product Errata RHBA-2019:3561 0 None None None 2019-11-05 22:15:59 UTC

Description Shwetha Kallesh 2019-05-10 05:42:15 UTC
Description of problem:
When user tries to add mutilple addons that are already added ,User is not displayed a message(as to whether the addon is or notand why its not added) for second  and subsequent addons 

Version-Release number of selected component (if applicable):
[root@dell-r730-001-guest11 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.3.17-1
subscription management rules: 5.35
subscription-manager: 1.25.5-1.el8


How reproducible:


Steps to Reproduce:
[root@dell-r730-001-guest11 ~]# syspurpose add-addons EUS ELS
Added EUS to addons.
Added ELS to addons.
addons updated.
[root@dell-r730-001-guest11 ~]# syspurpose add-addons EUS ELS
Not adding value EUS to addons; it already exists.
[root@dell-r730-001-guest11 ~]# syspurpose show
{
  "addons": [
    "EUS",
    "ELS"
  ]
}
[root@dell-r730-001-guest11 ~]# syspurpose add-addons Foo
Added Foo to addons.
addons updated.
[root@dell-r730-001-guest11 ~]# syspurpose add-addons EUS ELS Foo
Not adding value EUS to addons; it already exists.


Actual results:
Not adding value EUS to addons; it already exists.

Expected results:
Not adding value EUS to addons; it already exists.
Not adding value ELS to addons; it already exists.
Not adding value Foo to addons; it already exists.

Additional info:

Comment 5 yanpliu 2019-09-19 02:56:16 UTC
Verification on Build RHEL-8.1.0-20190917.0

[root@cloud-qe-16-vm-09 ~]# syspurpose add-addons EUS ELS
Added EUS to addons.
Added ELS to addons.
addons updated.
[root@cloud-qe-16-vm-09 ~]# syspurpose show
{
  "addons": [
    "EUS", 
    "ELS"
  ]
}
[root@cloud-qe-16-vm-09 ~]# syspurpose add-addons EUS ELS
Not adding value EUS to addons; it already exists.
Not adding value ELS to addons; it already exists.
[root@cloud-qe-16-vm-09 ~]#  syspurpose add-addons EUS ELS foo
Not adding value EUS to addons; it already exists.
Not adding value ELS to addons; it already exists.
Added foo to addons.
addons updated.
[root@cloud-qe-16-vm-09 ~]# syspurpose show
{
  "addons": [
    "EUS", 
    "ELS", 
    "foo"
  ]
}
[root@cloud-qe-16-vm-09 ~]# syspurpose remove-addons EUS ELS
Removed EUS from addons.
Removed ELS from addons.
addons updated.
[root@cloud-qe-16-vm-09 ~]# syspurpose show
{
  "addons": [
    "foo"
  ]
}

Comment 6 yanpliu 2019-09-30 07:38:24 UTC
Verification on Build RHEL-7.8-20190927.1, this issue has been fixed.

subscription-manager-1.24.21-1.el7.x86_64
package dnf-plugin-subscription-manager is not installed
subscription-manager-cockpit-1.24.21-1.el7.noarch
subscription-manager-rhsm-1.24.21-1.el7.x86_64
subscription-manager-rhsm-certificates-1.24.21-1.el7.x86_64
tfm-rubygem-katello-3.10.0.55-1.el7sat.noarch
katello-3.10.0-0.6.rc1.el7sat.noarch
candlepin-2.5.17-1.el7sat.noarch

Comment 10 errata-xmlrpc 2019-11-05 22:15:36 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, 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-2019:3561


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