Bug 1505929

Summary: When provisioning an Ansible Embedded playbook, dialog's service_name does not set the service name
Product: Red Hat CloudForms Management Engine Reporter: Saif Ali <saali>
Component: AutomateAssignee: Greg McCullough <gmccullo>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Kulkarni <kkulkarn>
Severity: medium Docs Contact:
Priority: high    
Version: 5.8.0CC: dmisharo, gmccullo, jhardy, mkanoor, obarenbo, tfitzger
Target Milestone: GAKeywords: TestOnly
Target Release: 5.10.0Flags: kkulkarn: automate_bug+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1511509 1511517 (view as bug list) Environment:
Last Closed: 2018-06-21 20:29:30 UTC Type: Bug
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:    
Bug Blocks: 1511509, 1511517    

Description Saif Ali 2017-10-24 15:05:41 UTC
Description of problem:
Add feature for Embedded Ansible provisioning to set service_name if the dialog service_name define

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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Greg McCullough 2017-10-24 15:17:23 UTC
One suggestion would be to move this logic out of the CatalogItemInitialization method and into the backend so it is supported on any service provision.

Comment 5 CFME Bot 2017-11-08 23:06:38 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/3142b7a678c35add5c6c58fa216204b6f82fba21

commit 3142b7a678c35add5c6c58fa216204b6f82fba21
Author:     Greg McCullough <gmccullo>
AuthorDate: Sat Oct 28 21:22:45 2017 -0400
Commit:     Greg McCullough <gmccullo>
CommitDate: Tue Oct 31 12:10:35 2017 -0400

    Update service name based on dialog options from provisioning.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1505929

 app/models/service.rb       | 15 +++++++++++++++
 spec/models/service_spec.rb | 15 +++++++++++++++
 2 files changed, 30 insertions(+)