Bug 1382817

Summary: Automate - Service provision pending email not being sent.
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: William Fitzgerald <wfitzger>
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: cpelland, dajohnso, jhardy, mkanoor, obarenbo, simaishi, sshveta, tfitzger, wfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: service:automate:provision
Fixed In Version: 5.6.4.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1380197 Environment:
Last Closed: 2017-03-09 17:03:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Bug Depends On: 1380197, 1419033, 1419550    
Bug Blocks:    

Comment 2 CFME Bot 2016-10-07 20:06:13 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/e58d838411d7cc4fe7117ab7a3faa0ea5b8bad92

commit e58d838411d7cc4fe7117ab7a3faa0ea5b8bad92
Author:     Madhu Kanoor <mkanoor>
AuthorDate: Fri Sep 30 14:10:42 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Fri Oct 7 16:01:08 2016 -0400

    Merge pull request #11590 from billfitzgerald0120/serviceprovisionrequestpending_email
    
    Automate - Service provision pending email not being sent.
    (cherry picked from commit 4bed38ac5b916d209675d0c5d9915e6d94e1abf0)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1382817

 .../__methods__/approve_request.rb                                     | 3 +++
 1 file changed, 3 insertions(+)

Comment 3 Shveta 2016-11-18 09:32:27 UTC
Blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1396412

Comment 5 William Fitzgerald 2016-11-29 15:44:34 UTC
Aziza,

Your appliance is missing 2 instances:

/ ManageIQ / System / Policy / ServiceTemplateProvisionRequest_pending
/ ManageIQ / System / Policy / ServiceTemplateProvisionRequest_denied

checking on these ...

Billy

Comment 6 Tina Fitzgerald 2016-11-29 16:26:15 UTC
This PR needs to be backported to darga to fully resolve reported issue:
https://github.com/ManageIQ/manageiq/pull/11084

Comment 8 CFME Bot 2016-12-13 17:06:17 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/74c10a28f693037f71f22bde05c277be848a3d77

commit 74c10a28f693037f71f22bde05c277be848a3d77
Author:     Greg McCullough <gmccullo>
AuthorDate: Wed Oct 5 16:57:55 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Tue Dec 13 12:02:45 2016 -0500

    Merge pull request #11084 from billfitzgerald0120/sys_policy_svcprov_instances
    
    Automate - Added 2 missing System/Policy instances.
    (cherry picked from commit 9b774398de1b87c4e4ff826573776b3503ee970b)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1382817

 .../Policy.class/servicetemplateprovisionrequest_denied.yaml | 12 ++++++++++++
 .../servicetemplateprovisionrequest_pending.yaml             | 12 ++++++++++++
 2 files changed, 24 insertions(+)
 create mode 100644 db/fixtures/ae_datastore/ManageIQ/System/Policy.class/servicetemplateprovisionrequest_denied.yaml
 create mode 100644 db/fixtures/ae_datastore/ManageIQ/System/Policy.class/servicetemplateprovisionrequest_pending.yaml

Comment 9 Aziza Karol 2017-02-06 13:37:00 UTC
Verification blocked due to bz https://bugzilla.redhat.com/show_bug.cgi?id=1419550

Comment 10 Shveta 2017-02-17 21:14:13 UTC
Aziza , taking this bug as I have already verified it in previous build . 
There is a workaround to the bug blocking it .

Verified in 5.6.4.0.20170201130751_9521533

Comment 12 errata-xmlrpc 2017-03-09 17:03:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0474.html