Bug 1446452 - Service : Separate services are provisioned when a bundle is ordered
Summary: Service : Separate services are provisioned when a bundle is ordered
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.0
Assignee: mkanoor
QA Contact: Shveta
URL:
Whiteboard: service:provision
Depends On:
Blocks: 1447690
TreeView+ depends on / blocked
 
Reported: 2017-04-28 05:09 UTC by Shveta
Modified: 2018-03-06 14:36 UTC (History)
8 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1447690 (view as bug list)
Environment:
Last Closed: 2018-03-06 14:36:40 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Shveta 2017-04-28 05:09:45 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
1. Create a bundle with two resources.
2. resource 1 is ansible tower catalogitem  .
3. resource 2 is Vmware Vm catalogitem.
4. Order the bundle.
5. Two services with the name bundle can be seen under Myservice .
One for vmware and other one for ansible 

Actual results:


Expected results:
Single service should show both services ?

Additional info:
Appliance : https://10.8.197.173 .
Bundle_2 service .

Comment 3 CFME Bot 2017-05-03 11:46:20 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/f6f81b02af279c491bc879696ff77426e63541c5

commit f6f81b02af279c491bc879696ff77426e63541c5
Author:     Madhu Kanoor <mkanoor>
AuthorDate: Tue May 2 17:26:49 2017 -0400
Commit:     Madhu Kanoor <mkanoor>
CommitDate: Tue May 2 17:26:49 2017 -0400

    Allow for ansible tower service to be added to service
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1446452
    
    Previously we would only allow instances of the Service class
    but not the sub classes of the service like ServiceAnsibleTower
    to be connected to a service. This PR allows the Service class and
    its sub classes to be connected.

 app/models/mixins/service_mixin.rb | 2 +-
 spec/models/service_spec.rb        | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

Comment 4 mkanoor 2017-05-03 13:26:19 UTC
This will just prevent the Ansible Tower Service from not showing up separately when used inside of a bundle. Only the bundle service would be displayed. Inside the bundle service you would see VM's but no Ansible Job Template.

Comment 6 Shveta 2017-11-01 05:00:53 UTC
Fixed in 5.9.0.4.20171024163837_ef71ea6


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