Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1511543

Summary: [RFE] Make /var/log/libvirt/* available on the host (i.e. outside the 'nova_libvirt' container)
Product: Red Hat OpenStack Reporter: Kashyap Chamarthy <kchamart>
Component: openstack-tripleo-heat-templatesAssignee: Sven Anderson <svanders>
Status: CLOSED ERRATA QA Contact: Gurenko Alex <agurenko>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: awaugama, dhill, jhakimra, jslagle, lyarwood, mburns, owalsh, rhel-osp-director-maint, sgordon, svanders
Target Milestone: Upstream M3Keywords: FutureFeature, Triaged
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-8.0.0-0.20180304031146.6cd4184.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-27 13:39:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kashyap Chamarthy 2017-11-09 14:31:31 UTC
At present, the libvirt log directory (/var/log/libvirt/*) from the 'nova_libvirt' container aren't available on the host mount point (/var/log/containers/)

Exposing them (/var/log/libvirt/* directory and its contents) on the Compute host would be helpful for debugging issues across the Virt Driver stack.

Comment 1 Kashyap Chamarthy 2017-11-17 14:21:25 UTC
I see that Sven has triaged it as valid.

Just to be clear, Nova should care two kinds of logs from libvirt:

(1) From wherever the libvirt daemon and the Nova instances are running, all the instance specific logs located in: /var/log/libvirt/qemu/*.log

(2) This is not enabled by default, but when explicitly configured with logging filters, the file: /var/log/libvirt/libvirt.log

So exposing the /var/log/libvirt directory from the container to the host would address both the above requirements.


[*] https://kashyapc.fedorapeople.org/virt/openstack/request-nova-libvirt-qemu-debug-logs.txt

Comment 6 Sven Anderson 2017-12-15 15:46:21 UTC
Merged upstream. Will be in M3.

Comment 10 errata-xmlrpc 2018-06-27 13:39:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:2086