I am running cobbler-2.2.3-2.el5 that I got of Fedora EPEL repo on
a CentOS5 server. In /etc/cobbler/settings I have
build_reporting_enabled: 1
build_reporting_sender: "Cobbler Server <[email protected]>"
build_reporting_email: [ '[email protected]' ]
build_reporting_smtp_server: "localhost"
build_reporting_subject: ""
When a client has finished installing I never get an email and in
/var/log/cobbler/cobbler.log I find:
Tue Jul 10 13:31:52 2012 - DEBUG | running python trigger
cobbler.modules.install_post_report
Tue Jul 10 13:31:52 2012 - INFO | Exception occured: exceptions.NameError
Tue Jul 10 13:31:52 2012 - INFO | Exception value: global name 'config' is not
defined
Tue Jul 10 13:31:52 2012 - INFO | Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1970, in
_dispatch
return method_handle(*params)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1299, in
run_install_triggers
utils.run_triggers(self.api, None,
"/var/lib/cobbler/triggers/install/%s/*" % mode,
additional=[objtype,name,ip],logger=self.logger)
File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line 919, in
run_triggers
rc = m.run(api, arglist, logger)
File
"/usr/lib/python2.4/site-packages/cobbler/modules/install_post_report.py",
line 87, in run
message = templar.Templar(config.Config(api.BootAPI)).render(input_data,
metadata, None)
Except for not getting the email notice of the install being finished,
everything seems to have gone okay.
Any clue as to what I did wrong or if there is a bug in cobbler?
In a older cobbler-2.2.2-1 install I did, I did not have this problem and
the end of install email worked fine.
---------------------------------------------------------------
Paul Raines http://help.nmr.mgh.harvard.edu
MGH/MIT/HMS Athinoula A. Martinos Center for Biomedical Imaging
149 (2301) 13th Street Charlestown, MA 02129 USA
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler