Ask Your Question
0

agent-list all fail [closed]

asked 2016-01-21 04:58:48 -0500

Lucas LAMBOLEY gravatar image

updated 2016-01-21 07:37:26 -0500

Hi,

I install openstack with packstack. I configure vxlan, i create network,ovs, router, vm, etc, all works. BUT, after ONE reboot, all agent-list are down.

    [root@controller ~(keystone_admin)]# neutron agent-list
+--------------------------------------+--------------------+----------+-------+----------------+---------------------------+
| id                                   | agent_type         | host     | alive | admin_state_up | binary                    |
+--------------------------------------+--------------------+----------+-------+----------------+---------------------------+
| 05eb1336-2a07-4541-b924-5bb7a4d37198 | L3 agent           | network  | xxx   | True           | neutron-l3-agent          |
| 3303094b-6239-4982-92c7-9a8249f73366 | Open vSwitch agent | compute2 | xxx   | True           | neutron-openvswitch-agent |
| 4e1466ed-59b2-4e3b-996c-110d89b74e30 | Open vSwitch agent | compute1 | xxx   | True           | neutron-openvswitch-agent |
| 820e388d-df54-4459-860c-d1eaf672e832 | Open vSwitch agent | network  | xxx   | True           | neutron-openvswitch-agent |
| 82b3e531-4d60-4131-adda-f19203895f64 | DHCP agent         | network  | xxx   | True           | neutron-dhcp-agent        |
| 85ab299e-ce0b-4fb2-8704-ffe574ff2570 | Metadata agent     | network  | xxx   | True           | neutron-metadata-agent    |
+--------------------------------------+--------------------+----------+-------+----------------+---------------------------+

Now, the network fail. In log of compute et network, for openvswitch, etc, 0 ERROR. But, in my log neutron-server on controller, i can see :

2016-01-21 14:05:13.450 2959 DEBUG neutron.db.agents_db [req-300e2b95-4607-466c-95ef-bc830664e0d4 - - - - -] Stale message received with timestamp: 2016-01-21T12:19:39Z. Skipping processing because it's older than the server start timestamp: 2016-01-21T12:52:37Z report_state /usr/lib/python2.7/site-packages/neutron/db/agents_db.py:300
2016-01-21 14:05:13.719 2958 DEBUG neutron.db.agents_db [req-42390666-7664-4894-b945-44c52e164e15 - - - - -] Stale message received with timestamp: 2016-01-21T10:53:06Z. Skipping processing because it's older than the server start timestamp: 2016-01-21T12:52:37Z report_state /usr/lib/python2.7/site-packages/neutron/db/agents_db.py:300
2016-01-21 14:05:14.242 2959 DEBUG neutron.db.agents_db [req-997d32cf-8620-4ad8-98d8-d8ee84021e6e - - - - -] Stale message received with timestamp: 2016-01-21T12:19:40Z. Skipping processing because it's older than the server start timestamp: 2016-01-21T12:52:37Z report_state /usr/lib/python2.7/site-packages/neutron/db/agents_db.py:300
2016-01-21 14:05:14.260 2958 DEBUG neutron.db.agents_db [req-ca78d680-5ebb-46e4-a8fe-49d043d58730 - - - - -] Stale message received with timestamp: 2016-01-21T12:19:40Z. Skipping processing because it's older than the server start timestamp: 2016-01-21T12:52:37Z report_state /usr/lib/python2.7/site-packages/neutron/db/agents_db.py:300
2016-01-21 14:05:14.369 2959 DEBUG neutron.db.agents_db [req-f8a8a933-4ed4-41b1-ab74-3e221613f6aa - - - - -] Stale message received with timestamp: 2016-01-21T11:53:37Z. Skipping processing because it's older than the server start timestamp: 2016-01-21T12:52:37Z report_state /usr/lib/python2.7/site-packages/neutron/db/agents_db.py:300
2016-01-21 14:05:14.537 2958 DEBUG neutron.db.agents_db [req-05a0c450-8b46-41e1-bcd7-3019a53e68c3 - - - - -] Stale message received with timestamp: 2016-01-21T12:19:40Z. Skipping processing because it's older than the server start timestamp: 2016-01-21T12:52:37Z report_state /usr/lib/python2.7/site-packages/neutron/db/agents_db.py:300

6 errors timestamp, and i have six agent down.... Do I need to configure NTPD ? But, the dns in the company doesn't resolve the ntp server pool ...

Thanks u for your help.

Best Regards,

a noob in openstack..

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Lucas LAMBOLEY
close date 2016-01-21 09:11:12.005975

1 answer

Sort by ยป oldest newest most voted
3

answered 2016-01-21 07:48:03 -0500

ntp is an important part of OpenStack. You need to set it up properly, otherwise the communication between machines will be a chaos.

Check if your company has an own ntp server. Otherwise, maybe you can use google's DNSs instead... 8.8.4.4, just to get it working or add an entry on /etc/hosts to resolv the address of the ntp servers.

edit flag offensive delete link more

Comments

thanks for reply. Finaly, i use the ntp of my compagny. So i add the server in all node conf, and finally it's fine.

Lucas LAMBOLEY gravatar imageLucas LAMBOLEY ( 2016-01-21 09:10:17 -0500 )edit
1

In these Q/A sites you can also thank by giving an upvote/accepted answer... ;)

Julen Larrucea gravatar imageJulen Larrucea ( 2016-01-21 15:45:41 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-01-21 04:58:48 -0500

Seen: 176 times

Last updated: Jan 21 '16