Open ramachandra1234 opened 1 year ago
@ramachandra1234 We would like to gather a little bit more information from you. You stated ".... but mail received when sent in command line in AWX server." Could you please provide us with the specific command you ran to test this?
Thank you for your time!
Hi Lila Yasin,
Thank you for your time.
Able to receive the email with the following command when I ran in awx server
echo "Test" | mail -s "Test Mail" rn1@jcl.com
In Version 21.1, I've struggling for below 2 issues.
I've used the following parameters in Version17, able to receive an email notification when a Template started or failed, etc where not receiving an email notification in version 21.1 for the same below parameters
Name : Test Notification Description : Test Organization : Test_Org (created this organization) Type : Email User Name : Not entered Password : Not entered Recipient list : rn1@jcl.com Host : mail2.jcl.com Sender e-mail : root@lenltrain1d01.jcl.com Port : 25
name: resource details hosts: localhost user: root become: yes tasks:
name: Collect the resource details in columnwise and save it in xls format shell: /scripts/resourcecollection.sh > /tmp/resources/resourcesdetails$(date +%H%M_%d%b%y).xls
name: Send an email with the System Resource Details Attachment shell: echo "$(cat /scripts/SysRscSignature.txt)" | mail -s "System Resource Details" -a /tmp/resources/resourcesdetails$(date +%H%M_%d%b%y).xls rn1@jcp.com
Not receiving an email after this template (playbook) executed via awx_web
Thank you, Ramachandra
in your opening post you mention you see No route to host
where are you seeing this message?
I'm seeing "113 No route to host" error when testing the email notification template, in my case the template name is "Test_Notification" when I tested this template, getting "No route to host", attaching the screenshots for reference.
Your help will be highly appreciated.
Hello team,
Could someone please assist on this issue?
This issue i,e,. sending an email notification is pending in my organization
Thank you so much if this issue is addressed
Please confirm the following
security@ansible.com
instead.)Bug Summary
Dears,
I have installed AWX version 21.3.0 on microk8s in rhel8.
Created a Email Notification, when testing the Notification getting this error
Also, not receiving any emails when the mail sent through adhoc command, but mail received when sent in command line in AWX server.
Providing the following details for reference
Name : Test Notification
Description : Test Organization : Test_Org (created this organization) Type : Email User Name : Not entered Password : Not entered Recipient list : rn1@jcl.com Host : mail2.jcl.com Sender e-mail : root@lenltrain1d01.jcl.com Port : 25
Thank you in advance.
Regards, Ramachandra
AWX version
21.3.0
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
No response
Operating system
RHEL8.6
Web browser
Chrome
Steps to reproduce
If the steps provided in the installation procedure would be very helpful
Expected results
Suppose to send an email notification when the template started, succeeded or failed
Also, have a playbook has the requirement to send an email with an attachment where mail agent is not installed in the awx-demo-task container to send an email with an attachment
Actual results
Unable to send an email notification when template started or failed
Also, unable to send an email with an attachment as per our requirement where getting mail is not found
Additional information
Danger alert:Test-Notification [Errno 113] No route to host