Neutron dhcp agent no heartbeat to server?
The neutron agent-list show below. DHCP and L3 is not in alive status
+--------------------+--------------+-------------------+-------+----------------+
| agent_type | host | availability_zone | alive | admin_state_up |
+--------------------+--------------+-------------------+-------+----------------+
| DHCP agent | controller01 | nova | xxx | True |
| L3 agent | controller01 | nova | xxx | True |
Also in neutron server log:
2016-07-13 04:10:34.076 12657 WARNING neutron.db.agents_db [req-09eab61a-7531-4c4a-b002-68bcacd09b70 1442c8a152f84186b7afd31eb689737f 8d334a37516c45df9b8a3f973747f07e - - -] Agent healthcheck: found 2 dead agents out of 6:
Type Last heartbeat host
DHCP agent 2016-07-11 08:00:41 controller01
L3 agent 2016-07-13 07:59:55 controller01
Seems L3 and DHCP is having some problem. But I can see the process of these two service. Also there is no error in DHCP agent log and L3 agent log
Logs of l3 agent showing it is started
2016-07-13 04:16:55.700 15085 INFO neutron.common.config [-] Logging enabled!
2016-07-13 04:16:55.700 15085 INFO neutron.common.config [-] /usr/bin/neutron-l3-agent version 8.1.0
2016-07-13 04:16:55.836 15085 INFO eventlet.wsgi.server [req-7cbaf31a-31f9-4c60-83ea-35a3118c9582 - - - - -] (15085) wsgi starting up on http:/var/lib/neutron/keepalived-state-change
2016-07-13 04:16:55.871 15085 INFO neutron.agent.l3.agent [req-7cbaf31a-31f9-4c60-83ea-35a3118c9582 - - - - -] Agent has just been revived. Doing a full sync.
2016-07-13 04:16:55.885 15085 INFO neutron.agent.l3.agent [req-7cbaf31a-31f9-4c60-83ea-35a3118c9582 - - - - -] L3 agent started