Bug 1739706

Summary: 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
Product: Red Hat Enterprise Linux 7 Reporter: Chris Snyder <csnyder>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED ERRATA QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: low Docs Contact:
Priority: high    
Version: 7.8CC: csnyder, jhnidek, jsefler, mmcgrath, rhsm-qe, skallesh, wchadwic
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: subscription-manager-1.24.14-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1708494 Environment:
Last Closed: 2020-03-31 19:40:52 UTC Type: ---
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: 1708494    
Bug Blocks:    

Comment 3 Shwetha Kallesh 2019-09-11 07:25:38 UTC
Verification:

[root@hpe-dl360gen8-01 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.7.5-1
subscription management rules: 5.37
subscription-manager: 1.24.17-1.el7


[root@hpe-dl360gen8-01 ~]# syspurpose add-addons EUS ELS
Added EUS to addons.
Added ELS to addons.
addons updated.
[root@hpe-dl360gen8-01 ~]# syspurpose show
{
  "addons": [
    "EUS", 
    "ELS"
  ]
}
[root@hpe-dl360gen8-01 ~]# syspurpose add-addons EUS ELS
Not adding value EUS to addons; it already exists.
Not adding value ELS to addons; it already exists.

[root@hpe-dl360gen8-01 ~]# 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@hpe-dl360gen8-01 ~]# syspurpose show
{
  "addons": [
    "EUS", 
    "foo", 
    "ELS"
  ]
}



[root@hpe-dl360gen8-01 ~]# syspurpose remove-addons EUS ELS
Removed EUS from addons.
Removed ELS from addons.
addons updated.

Comment 5 errata-xmlrpc 2020-03-31 19:40:52 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-2020:1028