/var/log directory
, as listed in Node type | Service | Log location |
---|---|---|
nova-* |
/var/log/nova |
|
glance-* |
/var/log/glance |
|
cinder-* |
/var/log/cinder |
|
keystone-* |
/var/log/keystone |
|
neutron-* |
/var/log/neutron |
|
/var/log/apache2/ |
||
/var/log/syslog |
||
/var/log/libvirt/libvirtd.log |
||
/var/lib/nova/instances/instance- <instance id>/console.log
|
||
/var/log/cinder/cinder-volume.log
|
logger_root
and handler_file
sections.nova-*
services and across both the cloud controller
and compute nodes.faf7ded8-4a46-413b-b113-f19590746ffe
. If you search for this
string on the cloud controller in the
nova-*
services.nova
. Notifications are essentially the
same as logs but can be much more detailed. A good overview of
notifications can be found at System Usage Data.nova
to send notifications, add the following
to nova
is sending notifications, install and
configure StackTach. Since StackTach is relatively new and constantly
changing, installation instructions would quickly become outdated. Please
refer to the StackTach GitHub
repo for instructions as well as a demo video.nova-api
service is running on the cloud controller:nova-compute
process is running on compute nodes, create an
alert on your Nagios server that looks like this:nova
command:nova
database contains three tables that
store usage information.nova.quotas
and nova.quota_usages
tables store quota information. If a tenant's quota is different from
the default quota settings, its quota is stored in the nova.quotas
nova.quota_usages
table keeps track of how many
resources the tenant currently has in use:glance-api
and glance-registry
processes are running or by seeing whether glace-api
is
responding on port 9292.nova-api
usage can allow you
to track the need to scale your cloud controller. By keeping an eye on
nova-api
requests, you can determine whether you need to
spawn more nova-api
. To get
an approximate count of the requests, look for standard INFO messages in
/var/log/nova/nova-api.log
:nova-api
usage is increasing, decreasing, or keeping
steady.