]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add logging of agent heartbeats
authorEugene Nikanorov <enikanorov@mirantis.com>
Tue, 5 May 2015 14:18:28 +0000 (18:18 +0400)
committerEugene Nikanorov <enikanorov@mirantis.com>
Mon, 29 Jun 2015 01:40:26 +0000 (05:40 +0400)
commite50e1a236983e0a59b9667bc546c92555c3d0e34
treebc8dddc5d8b73cbcb1d1d7a2c11de211cbf220fa
parentab971d78cc7373026542f912174d73b46fde756b
Add logging of agent heartbeats

When troubleshooting problems with cluster it would be
very convenient to have information about agent heartbeats
logged with some searchable identifier which could create
1-to-1 mapping between events in agent's logs and server's logs.

Currently agent's heartbeats are not logged at all on server side.
Since on a large cluster that could create too much logging
(even for troubleshooting cases), it might make sense to make
this configurable both on neutron-server side and on agent-side.

DocImpact

Change-Id: I0a127ef274a84bba5de47395d47b62f48bd4be16
Closes-Bug: #1452582
12 files changed:
etc/dhcp_agent.ini
etc/l3_agent.ini
etc/metadata_agent.ini
etc/neutron/plugins/ml2/openvswitch_agent.ini
neutron/agent/common/config.py
neutron/agent/dhcp/agent.py
neutron/agent/l3/agent.py
neutron/agent/metadata/agent.py
neutron/agent/rpc.py
neutron/db/agents_db.py
neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py
neutron/tests/unit/db/test_agents_db.py