Bug 1372150 - [RFE] Catalog Bundles cannot use more than one instance of a Catalog Item
Summary: [RFE] Catalog Bundles cannot use more than one instance of a Catalog Item
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: cfme-future
Assignee: John Hardy
QA Contact: Shveta
URL:
Whiteboard: service
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-01 03:53 UTC by Jerome Marc
Modified: 2021-09-09 11:55 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-19 14:51:09 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jerome Marc 2016-09-01 03:53:18 UTC
Description of problem:
When creating a multi-tier application definition in a catalog bundle, it is not possible to select the same catalog item (e.g. RHEL7 template) multiple times. This forces to create multiple instance of the same catalog item.

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

How reproducible:
Always

Steps to Reproduce:
1. Create a Service Item (e.g. RHEL7 provisioning)
2. Create a Service Bundle and add the Service Item previously created
3. Try to add a second instance of the service item in the bundle

Actual results:
The Service Item is not present in the list of service item which can be added to the Service Bundle because it is already in the bundle. 

Expected results:
The service item should not be filtered out of the list.

Additional info:

Comment 2 Nikhil Gupta 2016-09-09 08:46:35 UTC
Is there any update on this bug?

Comment 3 Shveta 2016-09-12 18:59:03 UTC
Yes that's true , only one instance of catalog item can be added to a bundle.

Comment 4 Greg McCullough 2016-10-07 16:46:29 UTC
I think this could be supported but there are underlying changes that would need to be made first.  The current design assumes only one instance of any model would be connected to a service template.  When adding or deleting those items only the connected item is passed.

The issue is when removing a resource, if the same item is connected more than once, the code is not aware of which connection is being removed and in fact removes all the connections.

This issue exists from both the UI and automate.

Comment 9 Tina Fitzgerald 2018-02-22 19:49:02 UTC
I think the requirement here is to be able to include the same Service item multiple times in a Service bundle since the Service dialog values can alter the items functionality.

Comment 10 Felix Dewaleyne 2018-06-12 08:22:01 UTC
(In reply to Tina Fitzgerald from comment #9)
> I think the requirement here is to be able to include the same Service item
> multiple times in a Service bundle since the Service dialog values can alter
> the items functionality.

correct


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