Bug 1382816

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: jhardy, mkanoor, obarenbo, simaishi, sshveta, tfitzger, wfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: service:automate:provision
Fixed In Version: 5.7.0.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1380197 Environment:
Last Closed: 2017-01-04 13:01:33 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    
Bug Blocks:    
Attachments:
Description Flags
Turn on notifier for email
none
CFME Email setup none

Comment 2 Shveta 2016-10-12 17:07:46 UTC
I changed the (Service/Provisioning/StateMachines/ServiceProvisionRequestApproval/default) to manual.

Raised a provisioning request ,
1) request got auto-approved
2) Did not receive any email.

Can you please check https://10.8.199.117.
Request no' 3

Comment 3 William Fitzgerald 2016-10-12 18:32:46 UTC
Shveta,


Request #3 looks like a vm provision not a service provision.  Try running a service provision and see what happens. 


I have not seen the error you are getting but maybe try just 2 cpu's.

 [[RuntimeError]: Virtual machine requires 4 CPUs to operate, but the host hardware only provides 2.] Message [[RuntimeError]: Virtual machine requires 4 CPUs to operate, but the host hardware only pro...

Hope this helps ...

Billy

Comment 4 Shveta 2016-10-12 18:44:44 UTC
Hi William , 

Where do I provide the email Id in service Provision ?

Shveta

Comment 5 William Fitzgerald 2016-10-12 19:39:31 UTC
Shveta,

In /Service/Provisioning/Email class.   I usually edit the schema and it works for all the instances.

Billy

Comment 6 Shveta 2016-10-12 20:19:00 UTC
All worked well but still didn't get email

https://10.8.199.117

Comment 7 William Fitzgerald 2016-10-12 21:37:43 UTC
Created attachment 1209821 [details]
Turn on notifier for email

Comment 8 William Fitzgerald 2016-10-12 21:38:36 UTC
Created attachment 1209826 [details]
CFME Email setup

Comment 9 William Fitzgerald 2016-10-12 21:43:04 UTC
You need to setup your email.  I have attached screenshots for you.

Go in configuration.
In Server control, set Notifier ON

In Outgoing SMTP E-mail Server,

Host => smtp.redhat.com
Domain => redhat.com

test E-mail Address =>   Use your email

*** You will need to re-cycle your appliance after you make the changes.

Let me know if you need any more help.

Billy

Comment 10 Shveta 2016-10-12 22:01:39 UTC
Got it finally :) 
Thanks for help.

Verified in 5.7.0.4-alpha1.20161005153002_cfc8a23

Comment 12 errata-xmlrpc 2017-01-04 13:01:33 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-0012.html