Bug 47137

Summary: Make CPU-Usage Display Optional (Configurable)
Product: UCS Reporter: Christian Völker <voelker>
Component: UMC - Virtual machines (UVMM)Assignee: Erik Damrose <damrose>
Status: CLOSED FIXED QA Contact: Philipp Hahn <hahn>
Severity: normal    
Priority: P5 CC: damrose
Version: UCS 4.2   
Target Milestone: UCS 4.2-4-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: Feature Request 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?: Yes
School Customer affected?: ISV affected?:
Waiting Support: Yes Flags outvoted (downgraded) after PO Review:
Ticket number: 2018060121000389 Bug group (optional):
Max CVSS v3 score:
Bug Depends on:    
Bug Blocks: 47268    

Description Christian Völker univentionstaff 2018-06-05 08:53:54 CEST
From https://forge.univention.org/bugzilla/show_bug.cgi?id=18661#c1 we know the CPU-utilization is not always fully reliable.

Some administrators do not like to have a display which is not reliable while others are fine with an estimated CPU-usage display.

So in the end it should be configurable if UVMM displays CPU-usage or not. Ideally per virtual machine.
Comment 1 Erik Damrose univentionstaff 2018-06-28 17:31:36 CEST
(In reply to Christian Völker from comment #0)
> So in the end it should be configurable if UVMM displays CPU-usage or not.
> Ideally per virtual machine.

I do not think this is helpful, as it would generate questions why the CPU usage is shown some VMs is shown but not on all.

This fix introduces the UCRv uvmm/umc/showcpuusage which sets the visibility for the CPU usage column in the UVMM UMC module. The default is yes, which shows the column. Setting it to 'no' hides the column, a reload of the UVMM module browser session is required.

c70abb51 Make CPU-Usage column visibility configurable
univention-virtual-machine-manager-daemon 6.0.4-14A~4.2.0.201806281726
Branch: ucs_4.2-0
Scope: errata4.2-4

8d7dbd1e yaml

If verified, need to be ported to UCS 4.3, there is Bug 47268 for that
Comment 2 Philipp Hahn univentionstaff 2018-06-29 10:02:42 CEST
OK: c70abb51 8d7dbd1e

OK: errata-announce -V --only univention-virtual-machine-manager-daemon.yaml
OK: univention-virtual-machine-manager-daemon.yaml

OK: apt install {univention-virtual-machine-manager-daemon,python-univention-virtual-machine-manager,univention-management-console-module-uvmm}=6.0.4-14A~4.2.0.201806281726

OK: ucr set uvmm/umc/showcpuusage=no
OK: ucr set uvmm/umc/showcpuusage=yes
OK: ucr unset uvmm/umc/showcpuusage
Comment 3 Arvid Requate univentionstaff 2018-07-04 15:29:54 CEST
<http://errata.software-univention.de/ucs/4.2/425.html>