Bug 33670 - Allow migration only when shared storage is detected
Allow migration only when shared storage is detected
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: Virtualization - UVMM
UCS 4.2
All Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on: 28816 33667
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-05 16:13 CET by Philipp Hahn
Modified: 2023-06-28 10:46 CEST (History)
3 users (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?: 1: Will affect a very 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.046
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Usability
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2013-12-05 16:13:22 CET
+++ This bug was initially created as a clone of Bug #33667 +++
My optimistic attempt to migrate a Windows VM from isala to krus was stopped cold by the following UVMM error message which popped up while starting the migrated VM:
...
Fehler beim Verwalten der Domäne "4535e2a8-64b0-fead-e98c-753289cfdd4a": internal error process exited while connecting to monitor: kvm: -drive file=/var/lib/libvirt/images/arequate_Win7SP1.234.qcow2,if=none,id=drive-ide0-0-1,format=qcow2,cache=none: could not open disk image /var/lib/libvirt/images/arequate_Win7SP1.234.qcow2: No such file or directory


UVMMd could extract the list of images from the currently running VM, check on the destination host if they exist there as well, and only then allow migration.

This isn't perfect, since for a real check UVMMd would have to check if the files are really the same, that is the file-system containing them is a network file system mounted from exactly the same server. Multi-pathing would complicate that further.
Comment 1 Philipp Hahn univentionstaff 2014-02-13 11:43:39 CET
Asked for by a customer.

Even with shared storage, UVMM should detect that the share is not mounted before doing a migration.
Comment 2 Philipp Hahn univentionstaff 2017-05-03 10:43:30 CEST
A failed migration can lead to data loss.
We should consider supporting `migrate --copy-storage-all` if the storage is not shared, but this still requires detecting a shared storage before.
Comment 3 Florian Best univentionstaff 2017-06-28 14:52:41 CEST
There is a Customer ID set so I set the flag "Enterprise Customer affected".
Comment 4 Philipp Hahn univentionstaff 2017-08-24 08:33:15 CEST
Also see <https://wiki.libvirt.org/page/TodoPreMigrationChecks> for additional checks
Comment 5 Ingo Steuwer univentionstaff 2020-07-03 20:55:07 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.