October 2024
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  

Categories

October 2024
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  

Openstack log files

OpenStack log files contains different structures and distributed across multiple folders which make a real challenge to provide real proactive insights on your deployment. Loom Cloud Intelligence can simply save your time and make sense of your Openstack deployment on going issues.
Most services use the convention of writing their log files to subdirectories of the /var/log directory, as listed in the following list.

Compute nova-*
/var/log/nova

Image Service glance-*
/var/log/glance

Block Storage cinder-*
/var/log/cinder

Identity service keystone-*
/var/log/keystone

Networking neutron-*
/var/log/neutron

Dashboard horizon
/var/log/apache2 or /var/log/httpd

Orchestration service heat
/var/log/heat

Telemetry service ceilometer
/var/log/ceilometer

All nodes misc (swift, dnsmasq)
/var/log/syslog

Compute nodes libvirt
/var/log/libvirt/libvirtd.log

Compute nodes Console (boot upmessages) for VM instances: /var/lib/nova/instances/instance-/console.log

Block Storage nodes cinder-volume
/var/log/cinder/cinder-volume.log

How to confiugre logging in Openstack enviroment?

Separately configure the Compute service (nova), the Identity service (keystone), the Image service (glance), and, if you are using it, the Block Storage service (cinder) to send log messages to syslog. Open these configuration files:

/etc/nova/nova.conf
/etc/keystone/keystone.conf
/etc/glance/glance-api.conf
/etc/glance/glance-registry.conf
/etc/cinder/cinder.conf
In each configuration file, add these lines:

debug = False

use_syslog = True

syslog_log_facility = LOG_LOCAL0

In addition to enabling syslog, these settings also turn off debugging output from the log.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>