Comment 1 for bug 1019993

Revision history for this message
Christian Berendt (berendt) wrote :

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).