can be fixed for 2012.1.1 with this patch, i'll check if bug is available in trunk, too, and commit the patch if trunk is affected.
--- nova/virt/libvirt/connection.py.orig 2012-07-02 10:51:10.000000000 +0200 +++ nova/virt/libvirt/connection.py 2012-07-02 10:51:57.000000000 +0200 @@ -1703,8 +1703,7 @@ "This error can be safely ignored for now.")) return 0
- @staticmethod - def get_memory_mb_total(): + def get_memory_mb_total(self): """Get the total memory size(MB) of physical computer.
:returns: the total amount of memory(MB).
can be fixed for 2012.1.1 with this patch, i'll check if bug is available in trunk, too, and commit the patch if trunk is affected.
--- nova/virt/ libvirt/ connection. py.orig 2012-07-02 10:51:10.000000000 +0200 libvirt/ connection. py 2012-07-02 10:51:57.000000000 +0200
"This error can be safely ignored for now."))
+++ nova/virt/
@@ -1703,8 +1703,7 @@
return 0
- @staticmethod mb_total( ): mb_total( self):
- def get_memory_
+ def get_memory_
"""Get the total memory size(MB) of physical computer.
:returns: the total amount of memory(MB).