Bug 36590 - UVMM: Error on Update to UCS 4 if instances are running during update
UVMM: Error on Update to UCS 4 if instances are running during update
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: Update - Release updates
UCS 4.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Erik Damrose
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-12 11:19 CET by Erik Damrose
Modified: 2014-11-14 19:05 CET (History)
0 users

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Damrose univentionstaff 2014-11-12 11:19:40 CET
At the start of the update to UCS 4 running KVM instances are suspended by libvirt-bin as it gets removed. libvirt-daemon-system is installed, but fails to bring up the suspended guests, which in turn causes univention-virtual-machine-manager-node-kvm remain unconfigured. Thus, the updater reports a failed update to UCS 4.

Solution: Check for running instances in the UCS 4 preup script and deny updating until they are shutoff.

Probably all instances that were suspended on 3.2 are affected.

Powering off all VMs and starting them after the upgrade works fine.


Excerpt from updater.log:

Entfernen von libvirt-bin ...
Running guests on qemu:///system URI: ucs40-64-test
Suspending guests on qemu:///system URI...
Suspending ucs40-64-test: Suspending ucs40-64-test: done 

[...]

libvirt-daemon-system (1.2.7-11.129.201410301533) wird eingerichtet ...
[...] Starting libvirt management daemon: libvirt ok

Resuming guests on qemu:///system URI...
Resuming guest ucs40-64-test: 
error: Failed to start domain ucs40-64-test
error: internal error: early end of file from monitor: possible problem:
qemu: warning: error while loading state for instance 0x0 of device 'ram'
load of migration failed

invoke-rc.d: initscript libvirt-guests, action "start" failed.
dpkg: Fehler beim Bearbeiten von libvirt-daemon-system (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück

[...]

dpkg: Abhängigkeitsprobleme verhindern Konfiguration von univention-virtual-machine-manager-node-kvm:
 univention-virtual-machine-manager-node-kvm hängt ab von libvirt-daemon-system; aber:
  Paket libvirt-daemon-system ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten von univention-virtual-machine-manager-node-kvm (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
Comment 1 Erik Damrose univentionstaff 2014-11-14 19:03:46 CET
WORKSFORME with the qemu downgrade at Bug #35768