Public bug reported:

python-eventlet (0.9.16-1ubuntu2) introduced a cherry-picked upstream
patch that fixed a memory leak manifested by Nova's use of the library.
Since that time, the various nova services often log AssertionError
exceptions, ie:

2012-07-01 17:59:27 DEBUG nova.utils [-] Got file lock "iptables" for method 
"apply"... from (pid=23798) inner 
/usr/lib/python2.7/dist-packages/nova/utils.py:942
2012-07-01 17:59:27 DEBUG nova.utils [-] Running cmd (subprocess): sudo 
nova-rootwrap iptables-save -t filter from (pid=23798) execute 
/usr/lib/python2.7/dist-packages/nova/utils.py:219
Exception AssertionError: AssertionError() in <module 'threading' from 
'/usr/lib/python2.7/threading.pyc'> ignored
2012-07-01 17:59:27 DEBUG nova.utils [-] Running cmd (subprocess): sudo 
nova-rootwrap iptables-restore from (pid=23798) execute 
/usr/lib/python2.7/dist-packages/nova/utils.py:219
Exception AssertionError: AssertionError() in <module 'threading' from 
'/usr/lib/python2.7/threading.pyc'> ignored
2012-07-01 17:59:27 DEBUG nova.utils [-] Running cmd (subprocess): sudo 
nova-rootwrap iptables-save -t nat from (pid=23798) execute 
/usr/lib/python2.7/dist-packages/nova/utils.py:219
Exception AssertionError: AssertionError() in <module 'threading' from 
'/usr/lib/python2.7/threading.pyc'> ignored
2012-07-01 17:59:28 DEBUG nova.utils [-] Running cmd (subprocess): sudo 
nova-rootwrap iptables-restore from (pid=23798) execute 
/usr/lib/python2.7/dist-packages/nova/utils.py:219
Exception AssertionError: AssertionError() in <module 'threading' from 
'/usr/lib/python2.7/threading.pyc'> ignored
2012-07-01 17:59:28 DEBUG nova.network.linux_net [-] IPTablesManager.apply 
completed with success from (pid=23798) apply 
/usr/lib/python2.7/dist-packages/nova/network/linux_net.py:335


As was pointed out on a recent mailing list post [1], this is due to two 
missing patches that were subsequently applied upstream to avoid the 
exceptions. 

The issue has been fixed in Debian unstable as of 0.9.16-2 (a more
complete patch applied), and in Ubuntu as of the 0.9.16-2ubuntu1 merge.

We should consider SRU'ing a fix for this as it is unsettling for users
deploying Nova into production, and annoying for upstream developers
(12.04 is the current target platform for the current Nova dev cycle).

[1]  http://www.mail-
archive.com/openst...@lists.launchpad.net/msg13739.html

** Affects: python-eventlet (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: python-eventlet (Ubuntu Precise)
     Importance: Undecided
         Status: New

** Also affects: python-eventlet (Ubuntu Precise)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1019904

Title:
  python-eventlet (0.9.16-1ubuntu4) on 12.04 raising AssertionError
  exceptions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-eventlet/+bug/1019904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to