Bug 17869 - Statistiken über libvirt
Statistiken über libvirt
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: Virtualization - UVMM
UCS 2.3
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-12 14:36 CET by Andreas Büsching
Modified: 2023-06-28 10:46 CEST (History)
3 users (show)

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 Andreas Büsching univentionstaff 2010-03-12 14:36:14 CET
libvirt bietet laut der API die Möglichkeit Statistiken über die virtuellen Instanzen und die Dom0 abzufragen. Für die Domain-0 sind die Informationen stark eingeschränkt. Zusätzlich haben erste Tests gezeigt, dass die Methoden nicht alle funktionieren:

virsh # domblkstat ucs1 hda
error: Failed to get block stats ucs1 hda
error: internal error read_bd_stats: Frontend block device not connected

virsh # dominfo ucs1
Id:             5
Name:           ucs1
UUID:           16feabb0-4df9-a7d5-0c55-527628280554
OS Type:        hvm
State:          idle
CPU(s):         1
CPU time:       14,0s
Max memory:     528384 kB
Used memory:    528300 kB
Autostart:      disable

virsh # vol-info /var/lib/libvirt/images/ucs1.img
Name:           ucs1.img
Type:           file
Capacity:       7,81 GB
Allocation:     943,97 MB


virsh # dominfo 0
Id:             0
Name:           Domain-0
UUID:           00000000-0000-0000-0000-000000000000
OS Type:        linux
State:          running
CPU(s):         2
CPU time:       1017,8s
Max memory:     no limit
Used memory:    3325952 kB
Autostart:      disable

Zur Dom0 bekommt man so keine Plattenstatistiken, da dafür kein Volume definiert ist. Es wäre zu prüfen, ob die Statistikfunktionen für Dom0 erweitert werden können und ob domblkstat "repariert" werden kann (das domblkstat nicht funktioniert ist schon bekannt, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524434).
Comment 1 Philipp Hahn univentionstaff 2012-12-14 09:58:15 CET
(In reply to comment #0)
> (das domblkstat nicht funktioniert ist schon bekannt,
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524434).

Mit UCS-3.1 wird libvirt-0.9.12 verwendet, wo das korrigiert ist und inzwischen funktioniert.
Comment 2 Stefan Gohmann univentionstaff 2014-02-18 21:38:17 CET
This issue has been filed against UCS 2.3.

UCS 2.3 is out of maintenance and many UCS components have vastly 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".
In this case please provide detailed information on how this issue is affecting
you.