Univention Bugzilla – Attachment 9099 Details for
Bug 45149
storage pool: parallel removal of storage volume breaks UVMMd
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Trivial patch - untested
file_45149.txt (text/plain), 1.12 KB, created by
Philipp Hahn
on 2017-08-07 16:22:38 CEST
(
hide
)
Description:
Trivial patch - untested
Filename:
MIME Type:
Creator:
Philipp Hahn
Created:
2017-08-07 16:22:38 CEST
Size:
1.12 KB
patch
obsolete
>diff --git a/virtualization/univention-virtual-machine-manager-daemon/src/univention/uvmm/storage.py b/virtualization/univention-virtual-machine-manager-daemon/src/univention/uvmm/storage.py >index 696e2d5f49..5dc01f759e 100644 >--- a/virtualization/univention-virtual-machine-manager-daemon/src/univention/uvmm/storage.py >+++ b/virtualization/univention-virtual-machine-manager-daemon/src/univention/uvmm/storage.py >@@ -316,11 +316,12 @@ def get_storage_volumes(node, pool_name, type=None): > pool_type = pool_tree.attrib['type'] > > for name in pool.listVolumes(): >- vol = pool.storageVolLookupByName(name) >- xml = vol.XMLDesc(0) > try: >+ vol = pool.storageVolLookupByName(name) >+ xml = vol.XMLDesc(0) > volume_tree = ET.fromstring(xml) >- except ET.XMLSyntaxError: >+ except (libvirt.libvirtError, ET.XMLSyntaxError) as ex: >+ logger.info(ex, exc_info=True) > continue > disk = Disk() > disk.pool = pool_name
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 45149
: 9099