Univention Bugzilla – Bug 48340
The cpu stats for nodes in uvmm aren't normalized
Last modified: 2018-12-19 13:51:12 CET
The cpu stats for nodes in uvmm aren't normalized We normalized the cpu stats for domains, but it seemed we overlooked the stats for nodes.
Created attachment 9778 [details] Proposed patch
Thanks for the patch; I fixed it a bit differently. [4.3-3] 67635aa551 Bug #48340 uvmm: Normalize CPU utilization of host. doc/errata/staging/univention-virtual-machine-manager.yaml | 10 ++++++++++ .../univention-virtual-machine-manager-daemon/debian/changelog | 6 ++++++ .../src/univention/uvmm/node.py | 6 +++--- 3 files changed, 19 insertions(+), 3 deletions(-) Package: univention-virtual-machine-manager-daemon Version: 7.0.0-18A~4.3.0.201812140932 Branch: ucs_4.3-0 Scope: errata4.3-3 [4.3-3] 718a11e5cf Bug #48340: univention-virtual-machine-manager-daemon 7.0.0-18A~4.3.0.201812140932 ...ne-manager.yaml => univention-virtual-machine-manager-daemon.yaml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Also fix an error where the migration and error status were not updated correctly, as the previous state was not removed. [4.3-3] abc6d99e42 Bug #48340 uvmm: Replace dictionaries instead of updating them doc/errata/staging/univention-virtual-machine-manager-daemon.yaml | 2 +- .../univention-virtual-machine-manager-daemon/debian/changelog | 6 ++++++ .../src/univention/uvmm/node.py | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) Package: univention-virtual-machine-manager-daemon Version: 7.0.0-19A~4.3.0.201812141033 Branch: ucs_4.3-0 Scope: errata4.3-3 [4.3-3] 55eae73dc2 Bug #48340: univention-virtual-machine-manager-daemon 7.0.0-19A~4.3.0.201812141033 doc/errata/staging/univention-virtual-machine-manager-daemon.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
What I tested: 33% load on a domain with 3 vcpus shows 25% load on a node with 4 cores -> OK I couldn't reliable reproduce the status problem, but I could never reproduce it with the fix and I don't see a reason why it shouldn't work :) -> OK YAML -> OK
<http://errata.software-univention.de/ucs/4.3/388.html>