Another warning after update to version 2.2

38 views
Skip to first unread message

Dimitri Yioulos

unread,
Dec 16, 2016, 2:54:27 PM12/16/16
to Ansible Project
After updating to version 2.2, I see the following warning appear immediately when running playbooks (the playbooks run successfully, though):

/usr/lib/python2.6/site-packages/xmpp/auth.py:24: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha,base64,random,dispatcher,re
/usr/lib/python2.6/site-packages/xmpp/auth.py:26: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5

Is this something fixable by me, or should I file a bug report?

Thanks.

tkuratomi

unread,
Dec 16, 2016, 3:01:21 PM12/16/16
to Ansible Project
This one is not a bug in ansible.  It may be something you can fix.  The files mentioned in the traceback show that it's the xmpp python module using an old interface instead of the new one.  So you may be able to upgrade the python xmpp package to address that.

-Toshio

Dimitri Yioulos

unread,
Dec 16, 2016, 3:17:41 PM12/16/16
to Ansible Project
Thanks, Toshio.  Ansible is running on a CentOS 6 box.  The latest available python-xmpp package is installed.  As, I don't like to go outside of the "normal" update path, I guess I'll have to wait until this package update is available.
Reply all
Reply to author
Forward
0 new messages