[virt-tools-list] [virt-manager PATCH] virt-install: refresh storage pool after disk is created
Pavel Hrdina
phrdina at redhat.com
Tue Nov 10 13:19:28 UTC 2015
This fixes an issue where you need to manually refresh storage pool or
restart virt-manager in order to be able delete guest that is currently
installed. This affect remote connection and non-root users.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1251400
Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
virtinst/storage.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/virtinst/storage.py b/virtinst/storage.py
index e50b78f..21d21a6 100644
--- a/virtinst/storage.py
+++ b/virtinst/storage.py
@@ -797,6 +797,8 @@ class StorageVolume(_StorageObject):
logging.debug("Using vol create flags=%s", createflags)
vol = self.pool.createXML(xml, createflags)
+ self.pool.refresh()
+
self._install_finished = True
t.join()
meter.end(self.capacity)
--
2.6.2
More information about the virt-tools-list
mailing list