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 
    . . .

(2) Restart libvirtd:

    $ systemctl restart libvirtd

(3) Enable Nova debug logs in /etc/nova/nova.conf:

    . . .  
    verbose = True
    debug = True
    . . .

(4) Restart the Nova service:

    $ openstack-service restart nova

(5) Repeat the offending test.

The libvirtd.log file should have the relevant details.

Other resources

- http://wiki.libvirt.org/page/DebugLogs
- https://fedoraproject.org/wiki/How_to_debug_Virtualization_problems


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe

Reply via email to