Bug 26212 - Warnung wenn VM-UUIDs nicht eindeutig sind
Warnung wenn VM-UUIDs nicht eindeutig sind
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: Virtualization - UVMM
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-22 11:13 CET by Roman Asendorf
Modified: 2023-06-28 10:46 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.017
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Further conceptual development
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Asendorf univentionstaff 2012-02-22 11:13:47 CET
Folgende Historie:

Eine KVM-Instanz wurde von einem System gesichert und auf einem anderen System wieder importiert:
1. Kopie der Imagedatei
2. Import des dumpxml mit Anpassung von Instanzname und Imagedateiname

Beim Erstellen eines Snapshots im ausgeschalteten Zustand erschien die Fehlermeldung:

-----------------------------
Notification
Could not process the request.
Server error message:
Unknown domain '<UUID>'
-----------------------------

Der Snapshot wird im UVMM-Modul angezeigt.

Ein virsh dumpxml <domain> lieferte dieselbe UUID zurück.

Ob der Snapshot jedoch korrekt erstellt wurde ist bislang unklar.
Comment 1 Philipp Hahn univentionstaff 2012-02-22 12:09:53 CET
Aus /var/log/univention/uvmm.log:

2012-02-22 11:05:42,611 - uvmmd.command - DEBUG - DOMAIN_SNAPSHOT_CREATE qemu://utby.knut.univention.de/system#f52c7de3-48dc-be51-7ed4-e11153f69ffb Test
2012-02-22 11:05:43,516 - uvmmd.command - DEBUG - DOMAIN_INFO qemu://boksel.knut.univention.de/system f52c7de3-48dc-be51-7ed4-e11153f69ffb
2012-02-22 11:05:43,516 - uvmmd.unix - WARNING - [868] Error doing command "DOMAIN_INFO": Unknown domain "f52c7de3-48dc-be51-7ed4-e11153f69ffb"

Nach Rücksprache mit Roman wurde geklärt, das die XML-Beschreibung 1:1 von boksel nach utby kopiert wurde, ohne die UUID zu ändern oder zu löschen. Das führt dann innerhalb von UVMMd zu Problemen, weil dort die UUID als rechnerübergreifend eindeutige ID verwendet wird.

Normalerweise tritt sowas nicht im regulären Betrieb auf, kann aber prinzipiell auch beim Wiedereinspielen alter Backups passieren, wie wir es u.a. im Wiki dokumentiert haben.

Von daher sollte UVMM dahingehend erweitert werden, das gewarnt wird, wenn UUIDs nicht mehr eindeutig VMs identifizieren.
Comment 2 Philipp Hahn univentionstaff 2018-12-11 13:29:25 CET
During live migration the UUID is not unique as two VMs are running: one paused and one running.
Comment 3 Ingo Steuwer univentionstaff 2020-07-03 20:51:47 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.