[openstack-dev] [nova][libvirt] Logging interactions of libvirt + QEMU in Nova

Davanum Srinivas davanum at gmail.com
Wed Feb 4 16:15:18 UTC 2015


Daniel, Kashyap,

One question that came up on IRC was, how/where to configure say a
directory where core dumps from qemu would end up. Sean was seeing a
scenario where he noticed a core dump from qemu in dmesg/syslog and
was wondering how to specify a directory to capture a core dump
if/when it occurs.

thanks,
dims

On Wed, Feb 4, 2015 at 8:48 AM, Kashyap Chamarthy <kchamart at redhat.com> wrote:
> On Wed, Feb 04, 2015 at 10:27:34AM +0000, Daniel P. Berrange wrote:
>> On Wed, Feb 04, 2015 at 11:23:34AM +0100, Kashyap Chamarthy wrote:
>> > Heya,
>> >
>> > I noticed a ping (but couldn't respond in time) on #openstack-nova IRC
>> > about turning on logging in libvirt to capture Nova failures.
>> >
>> > This was discussed on this list previously by Daniel Berrange, just
>> > spelling it out here for reference and completness' sake.
>> >
>> >
>> > (1) To see the interactions between libvirt and QEMU, in
>> >     /etc/libvirt/libvirtd.conf, have these two config attributes:
>> >
>> >     . . .
>> >     log_filters="1:libvirt 1:qemu 1:conf 1:security 3:event 3:json 3:file 1:util"
>>
>> You really want  "3:object" in there /before/  1:util too otherwise you'll
>> be spammed with object ref/unref messages
>
> Thanks for this detail.
>
>>
>> >     log_outputs="1:file:/var/tmp/libvirtd.log"
>>
>> Use  /var/log/libvirt/libvirtd.log instead of /var/tmp
>
> Ah, yeah, it was an incorrect copy/paste.
>
> --
> /kashyap
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



-- 
Davanum Srinivas :: https://twitter.com/dims



More information about the OpenStack-dev mailing list