On 08/04/2009 04:36 PM, Paul Company wrote:
have you restarted since making that change?
Yes, I restarted and ran "cobbler sync".
kickstarts should have
$kickstart_done
# End final steps
Here's what I see for the $kickstart_done stanza:
# Start final steps
wget "http://10.230.70.28/cblr/svc/op/nopxe/system/base-system" -O /dev/null
wget "http://10.230.70.28/cblr/svc/op/ks/system/base-system" -O /root/cobbler.ks
wget "http://10.230.70.28/cblr/svc/op/trig/mode/post/system/base-system"
-O /dev/null
# End final steps
I don't see anything that calls or uses the email tamplate
/etc/cobbler/reporting/build_report_email.template
Do I need to place someting in
/var/lib/cobbler/triggers/add/system/post
to get email to work?
Paul
No, the trigger has been rewritten for pure Python so you don't need
anything there -- that's the legacy triggers structure. What do you
have in /etc/cobbler/settings to configure the feature?
We can debug it from there.
--Michael
On Tue, Aug 4, 2009 at 11:46 AM, Tom Brown<[email protected]> wrote:
Paul Company wrote:
I set "build_reporting_enabled: 1" and filled in the appropriate
"build_reporting_*" fields
but I don't get an email after a system has finished installing.
I tested it manually from my cobbler server:
# telnet<build_reportin_smtp_server> 25
HELO<cobbler server fqdn>
MAIL FROM<build_reporting_sender>
RCPT TO<build_reporting_email>
DATA
Subject:<build_reporting_subject>
test
.
This works just fine.
What triggers the email to be sent?
Am I missing an entry in the kickstart file?
(Assuming it's triggered from the kickstart file).
What program or method does cobbler use to send email?
Does it just open a socket to port 25 and talk SMTP?
Or does it use telnet or sendmail?
Where does cobbler log such information.
I grepped /var/log/cobbler/*.log, /var/log/maillog and
/var/log/messages for any information, but didn't see anything email
related.
Should I see something in /var/lib/cobbler/triggers/install/post or does cobbler
just use /etc/cobbler/reporting/build_report_email.template internally?
have you restarted since making that change?
kickstarts should have
$kickstart_done
# End final steps
at the end - FWIW it works for me !
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler