Bug 45149 - storage pool: parallel removal of storage volume breaks UVMMd
storage pool: parallel removal of storage volume breaks UVMMd
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: Virtualization - UVMM
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-07 16:22 CEST by Philipp Hahn
Modified: 2023-06-28 10:46 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.091
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:
hahn: Patch_Available+


Attachments
Trivial patch - untested (1.12 KB, patch)
2017-08-07 16:22 CEST, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2017-08-07 16:22:38 CEST
Created attachment 9099 [details]
Trivial patch - untested

If a storage volume is deleted one host A while on host B a new VM is created, UVMM will fail while updating the list of storage volumes:

2017-08-07 15:56:50,502 - uvmmd.unix - ERROR - [290] Exception: Traceback (most recent call last):
  File "%PY2.7/univention/uvmm/unix.py", line 144, in handle_command
    res = cmd(self, command)
  File "%PY2.7/univention/uvmm/commands.py", line 592, in STORAGE_VOLUMES
    volumes = storage.get_storage_volumes(node_stat, request.pool, request.type)
  File "%PY2.7/univention/uvmm/storage.py", line 320, in get_storage_volumes
    xml = vol.XMLDesc(0)
  File "%PY2.7/dist-packages/libvirt.py", line 3209, in XMLDesc
    if ret is None: raise libvirtError ('virStorageVolGetXMLDesc() failed', vol=self)
libvirtError: Storage volume not found: no storage vol with matching path '/var/lib/libvirt/images/ucs41-414.host2.save'
Comment 1 Ingo Steuwer univentionstaff 2020-07-03 20:55:01 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.