Bug 681547

Summary: Errors running nag-mail
Product: [Retired] Beaker Reporter: Matt Brodeur <mbrodeur>
Component: schedulerAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.6CC: bpeck, dcallagh, mcsontos, rmancy, stl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-06 15:29:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Matt Brodeur 2011-03-02 14:37:36 UTC
Description of problem:
When running nag-mail provided in beaker-server-0.6.5-2.el5.noarch we get these errors:

(apache)$ /usr/bin/nag-mail -t 8 -s Scheduler
/usr/lib/python2.4/site-packages/sqlalchemy/engine/default.py:241: SAWarning: Unicode type received non-unicode bind param value 'Scheduler'
  param.append(processors[key](compiled_params[key]))                                                                                       
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.username" is deprecated, please use       
"mail.smtp.username" instead                                                                                                                
  warnings.warn(warn_text, category=DeprecationWarning)                                                                                     
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.password" is deprecated, please use       
"mail.smtp.password" instead                                                                                                                
  warnings.warn(warn_text, category=DeprecationWarning)                                                                                     
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.tls" is deprecated, please use            
"mail.smtp.tls" instead                                                                                                                     
  warnings.warn(warn_text, category=DeprecationWarning)                                                                                     
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.debug" is deprecated, please use          
"mail.smtp.debug" instead                                                                                                                   
  warnings.warn(warn_text, category=DeprecationWarning)                                                                                     
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.jobs" is deprecated, please use           
"mail.smtp.max_messages_per_connection" instead                                                                                             
  warnings.warn(warn_text, category=DeprecationWarning)



(apache)$ /usr/bin/nag-mail -t 8 -s WEBUI
/usr/lib/python2.4/site-packages/sqlalchemy/engine/default.py:241: SAWarning: Unicode type received non-unicode bind param value 'WEBUI'    
  param.append(processors[key](compiled_params[key]))                                                                                       
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.username" is deprecated, please use       
"mail.smtp.username" instead                                                                                                                
  warnings.warn(warn_text, category=DeprecationWarning)                                                                                     
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.password" is deprecated, please use       
"mail.smtp.password" instead                                                                                                                
  warnings.warn(warn_text, category=DeprecationWarning)                                                                                     
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.tls" is deprecated, please use            
"mail.smtp.tls" instead                                                                                                                     
  warnings.warn(warn_text, category=DeprecationWarning)                                                                                     
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.debug" is deprecated, please use          
"mail.smtp.debug" instead                                                                                                                   
  warnings.warn(warn_text, category=DeprecationWarning)                                                                                     
/usr/lib/python2.4/site-packages/turbomail/api.py:86: DeprecationWarning: Configuration key "mail.jobs" is deprecated, please use           
"mail.smtp.max_messages_per_connection" instead                                                                                             
  warnings.warn(warn_text, category=DeprecationWarning)



Automated scripts are expected to run without errors or warnings.

Comment 1 Dan Callaghan 2011-03-08 04:41:56 UTC
I've cleaned up a whole bunch of warnings in Beaker, but the warnings from TurboMail are due to a bug in that package:

https://bitbucket.org/gothalice/turbomail/issue/5/deprecation-warnings-raised-on-unused

https://bitbucket.org/gothalice/turbomail/changeset/c855f742e008

It is fixed in the latest bugfix release of TurboMail, which we should probably upgrade to.

Comment 2 Bill Peck 2011-04-06 15:02:23 UTC
I pinged lmacken and he built version 3.0.3 for rawhide.  I've rebuilt it internally and will deploy to stage.