Bug 24135 - Viele Log-Meldungen bei inaktivem Pool
Viele Log-Meldungen bei inaktivem Pool
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Virtualization - UVMM
UCS 2.4
Other Linux
: P5 normal (vote)
: UCS 3.1
Assigned To: Philipp Hahn
Janek Walkenhorst
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-21 09:07 CEST by Janis Meybohm
Modified: 2012-12-12 21:09 CET (History)
4 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
Silence libvirt in UVMMd (1.56 KB, patch)
2011-10-21 12:35 CEST, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Janis Meybohm univentionstaff 2011-10-21 09:07:28 CEST
Ticket#: 2011102121003049

UCS 2.4-3-5; Xen

Ist ein Pool aus dem noch Instanzen laufen inaktiv, so werden sehr viele "libvir: Storage error : Storage volume not found: no storage vol with matching path" Meldungen in die /var/log/univention/virtual-machine-manager-daemon-errors.log geschrieben.

Beim Kunden ist die Logdatei damit innerhalb kurzer zeit um einige hundert MB gewachsen.
Comment 1 Philipp Hahn univentionstaff 2011-10-21 09:52:30 CEST
UVMMd fragt jetzt im Rahmen der zyklischen Aktualisierung seiner internen Daten alle 15s auch die Größe der Image-Dateien ab. Ist eine nicht Datei nicht auffindbar, loggt libvirt über seine "virDefaultErrorFunc()" diese Meldungen zusätzlich zur Python-Exception auch immer nach stderr, so daß diese in der u/v-m-m-daemon-errors.log landen.

Aus Python heraus kann mit registerErrorHandler() eine eigene Funktion als registriert werden, die dann das Logging der Fehler übernimmt.
Comment 2 Philipp Hahn univentionstaff 2011-10-21 12:35:26 CEST
Created attachment 3667 [details]
Silence libvirt in UVMMd

After patching only Python's stderr will be logged to u/v-m-m-d-error.log
Comment 3 Tobias Scherer univentionstaff 2012-08-01 14:28:24 CEST
Nachgefragt an Ticket#: 2012073021004204
Comment 4 Alexander Kläser univentionstaff 2012-08-07 15:43:32 CEST
→ 3.1
Comment 5 Philipp Hahn univentionstaff 2012-08-07 19:44:50 CEST
Patch wurde eingespielt.
svn34688, univention-virtual-machine-manager-daemon_2.0.1-1.386.201208071940

ChangeLog: svn14237
\item The \ucsUVMM{ daemon} was changed to not log \ucsName{libvirt} related
messages
\ucsFile{/var/log/univention/virtual-machine-manager-daemon-errors.log}, since
they are also logged to
\ucsFile{/var/log/univention/virtual-machine-manager-daemon.log}
(\ucsBug{24135}).
Comment 6 Janek Walkenhorst univentionstaff 2012-11-16 15:17:33 CET
Changelog: OK
Meldung taucht nicht mehr auf: OK
Comment 7 Stefan Gohmann univentionstaff 2012-12-12 21:09:30 CET
UCS 3.1-0 has been released: 
 http://forum.univention.de/viewtopic.php?f=54&t=2125

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