Bug 26645

Summary: Snapshots nur für VMs < 4GiB RAM möglich
Product: UCS Reporter: Philipp Hahn <hahn>
Component: Virtualization - KVMAssignee: Philipp Hahn <hahn>
Status: CLOSED FIXED QA Contact: Lukas Walter <walter>
Severity: normal    
Priority: P5 CC: buesching, gohmann
Version: UCS 3.0Keywords: interim-2
Target Milestone: UCS 3.0-2   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=35581
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: 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:
Bug Depends on: 27747, 27751    
Bug Blocks:    

Description Philipp Hahn univentionstaff 2012-03-28 09:44:16 CEST
Von der Qemu-ML:
- Fixed internal snapshot metadata to use 64 bit VM state size. You can't save
  a snapshot of a VM with >= 4 GB RAM today.

Qcow2 verwendet intern nur einen 32 Bit Variable, von daher müssen Sicherungspunkte ab 4 GiB deaktiviert werden. Das ganze ist aber nochmal zu testen, ob das tatsächlich so ist.
Comment 1 Philipp Hahn univentionstaff 2012-06-27 14:01:55 CEST
Ein passender Test auf ~4 GB wurde hinzugefügt.
Zu beachten ist dabei folgendes:
- Die Grenze ist nur für _laufende_ VMs relevant. Bei ausgeschalteten VMs ist keine Begrenzung notwendig.
- Die Grenze ist 4.000.000.000 Bytes, weil dazu noch der Speicherplatz kommt, den qemu/kvm für den Zustand aller Geräte benötigt. Der dafür benötigte Platz ist abhängig von der Anzahl der Geräte und anderen Kriterien, die (mir) nicht genau bekannt sind. Hier ist die Hoffnung, das die verbleibenden 294.967.296 Bytes dafür immer ausreichen.

Zum Testen kann man einem Rechner 4 GiB Swapspace geben, was reicht, um eine VM mit >= 3.8 GiB anzulegen und zu starten. (3.8 GiB > 4×10⁹).

ChangeLog: svn13657
\item Snapshots are now disabled for VMs with more than 4 GB RAM (\ucsBug{26645}).
Comment 2 Lukas Walter univentionstaff 2012-07-04 12:50:08 CEST
UVMM gibt bei dem Versuch Snapshots für laufende VMs mit mehr als 4GB RAM anzulegen eine Fehlermeldung aus.


Changelogeintrag passt,
Verified.
Comment 3 Stefan Gohmann univentionstaff 2012-07-20 15:24:09 CEST
UCS 3.0-2 has been released: 
  http://forum.univention.de/viewtopic.php?f=54&t=1905

If this error occurs again, please use "Clone This Bug".