Loading ccnode/libvirtwrapper.py +2 −2 Original line number Diff line number Diff line Loading @@ -402,7 +402,7 @@ class LibvirtHVStorage(HVStorage): "vol_size" : space * GIGABYTE_DIV, } try: pool.createXML(xml_desc, 0); self._pools[pool].createXML(xml_desc, 0); except libvirt.libvirtError as e: raise StorageError("Failed to create the volume (%s)" % e) Loading Loading @@ -436,7 +436,7 @@ class LibvirtHVStorage(HVStorage): Tries to find a suitable chunk of space for volume allocation. :param new_space: a space size in gigabytes :type new_space: :class:`str` :type new_space: :class:`int` :return: a :class:`tuple` of best location or :class:`False` if no pool is suitable ''' Loading Loading
ccnode/libvirtwrapper.py +2 −2 Original line number Diff line number Diff line Loading @@ -402,7 +402,7 @@ class LibvirtHVStorage(HVStorage): "vol_size" : space * GIGABYTE_DIV, } try: pool.createXML(xml_desc, 0); self._pools[pool].createXML(xml_desc, 0); except libvirt.libvirtError as e: raise StorageError("Failed to create the volume (%s)" % e) Loading Loading @@ -436,7 +436,7 @@ class LibvirtHVStorage(HVStorage): Tries to find a suitable chunk of space for volume allocation. :param new_space: a space size in gigabytes :type new_space: :class:`str` :type new_space: :class:`int` :return: a :class:`tuple` of best location or :class:`False` if no pool is suitable ''' Loading