Bug 1446452

Summary: Service : Separate services are provisioned when a bundle is ordered
Product: Red Hat CloudForms Management Engine Reporter: Shveta <sshveta>
Component: AutomateAssignee: mkanoor
Status: CLOSED CURRENTRELEASE QA Contact: Shveta <sshveta>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: cpelland, hkataria, jhardy, mkanoor, mpovolny, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: Regression, TestOnly
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: service:provision
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1447690 (view as bug list) Environment:
Last Closed: 2018-03-06 14:36:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1447690    

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