Bug #25115
closedUnable to add same subscription more than once in Satellite
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1625115
Description of problem:
Unable to add same subscription twice in satellite. Even though it is added in Manifest, refresh does not add it in Satellite.
Version-Release number of selected component (if applicable):
6.4
How reproducible:
100%
Steps to Reproduce:
1. Create a satellite manifest in Customer portal
2. Add the below subscriptions:
------
Oracle Java Add-On (Physical or Virtual Nodes) 01
Red Hat Enterprise Linux for Virtual Datacenters with Smart Management 01
Red Hat Satellite Employee Subscription 01
Red Hat Satellite Employee Subscription 01
------
3. Upload the manifest in Satellite
4. check the entitlements in Satellite after manifest successfully imported
Actual results:
It shows 1 for each subscription as below :
-------
Oracle Java Add-On (Physical or Virtual Nodes) 01
Red Hat Enterprise Linux for Virtual Datacenters with Smart Management 01
Red Hat Satellite Employee Subscription 01
-------
Expected results:
It should show 2 satellite subscription as per manifest :
-------
Oracle Java Add-On (Physical or Virtual Nodes) 01
Red Hat Enterprise Linux for Virtual Datacenters with Smart Management 01
Red Hat Satellite Employee Subscription 01
Red Hat Satellite Employee Subscription 01
-------
5. Add few more same subscription in Manifest :
-------
Oracle Java Add-On (Physical or Virtual Nodes) 02
Oracle Java Add-On (Physical or Virtual Nodes) 01
-------
6. Refresh Manifest
7. Check the result again in satellite :
Actual results:
--------
Oracle Java Add-On (Physical or Virtual Nodes) 01
Red Hat Enterprise Linux for Virtual Datacenters with Smart Management 01
Red Hat Satellite Employee Subscription 01
--------
Expected results:
It should show all the subscription similar as manifest :
--------
Oracle Java Add-On (Physical or Virtual Nodes) 01
Red Hat Enterprise Linux for Virtual Datacenters with Smart Management 01
Red Hat Satellite Employee Subscription 01
Red Hat Satellite Employee Subscription 01
Oracle Java Add-On (Physical or Virtual Nodes) 02
Oracle Java Add-On (Physical or Virtual Nodes) 01
--------
Additional info:
- Deleted the manifest and reimport change "Oracle Java Add-On (Physical or Virtual Nodes)" to 2. however its also incorrect result.