Comment 4 for bug 1959014

Revision history for this message
Kashyap Chamarthy (kashyapc) wrote :

Ah-ha, we don't have the full QMP traces of what libvirt is sending to QEMU because this job is not using DevStack -- as this is TripleO :-(

Can you please re-run this job after configuring libvirt log filters? Here are the notes on how to do it:

Do the following on all relevant compute nodes:

(1) Edit this file:
    /var/lib/config-data/puppet-generated/nova_libvirt/etc/libvirt/libvirtd.conf

    And add the following two entries:

        log_filters="1:libvirt 1:qemu 1:conf 1:security 3:event 3:json 3:file 3:object 1:util"
        log_outputs="1:file:/var/log/libvirt/libvirtd.log"

(2) Restart the 'nova_libvirt' container.

(3) Confirm that the newly added config attributes show up in the
    libvirtd.conf in the 'nova_libvirt' container (if you see something
    else, comment them out and make sure only the below two show up):

        $> egrep -i 'log_filters=|log_outputs=' /etc/libvirt/libvirtd.conf
        log_filters="1:libvirt 1:qemu 1:conf 1:security 3:event 3:json 3:file 3:object 1:util"
        log_outputs="1:file:/var/log/libvirt/libvirtd.log"

(4) Then, repeat the test and attach the /var/log/libvirt/libvirtd.log
    (rename them if need be) from all relevant hosts as plain text to
    the bug.

And don't forget: Once done with debugging, disable the above config
filters by commenting out (or removing) the above two lines, and
restart the 'nova_libvirt' container once again.