Ask Your Question
0

Not able to see l3-agent in neutron agent-list

asked 2017-04-27 05:14:37 -0500

surabhi gravatar image

updated 2017-04-27 06:11:27 -0500

Actually we are configuring liberty all-in-one setup according to openstack-liberty . We have an issue while configuring neutron, neutron agent-list doesn't show l3-agent.

neutron agent-list
+--------------------------------------+--------------------+--------+-------+----------------+---------------------------+
| id                                   | agent_type         | host   | alive | admin_state_up | binary                    |
+--------------------------------------+--------------------+--------+-------+----------------+---------------------------+
| c9cc7536-a68b-4e55-a7f6-10c8196512cb | Metadata agent     | ubuntu | :-)   | True           | neutron-metadata-agent    |
| dfa45b22-ddfb-46a4-9258-9c94bab86c77 | Open vSwitch agent | ubuntu | :-)   | True           | neutron-openvswitch-agent |
| f08ba917-84c6-491a-8b8f-c2bcb9e7421a | DHCP agent         | ubuntu | :-)   | True           | neutron-dhcp-agent        |
+--------------------------------------+--------------------+--------+-------+----------------+------------------------

And if we restart l3-agent service the output is like:

root@ubuntu:~# service neutron-l3-agent restart
stop: Unknown instance:
neutron-l3-agent start/running, process 15352

If I stop and start the services seperately it runs. But, it starts and be active only for 3-5 secs again it stops. How to deal with this issue??? please help

edit retag flag offensive close merge delete

Comments

How about looking at the L3 log? It should contain messages that clarify this.

Bernd Bausch gravatar imageBernd Bausch ( 2017-04-27 06:10:48 -0500 )edit

No log file is missing in /var/log/neutron/ . neutron-l3.log file is missing to checkout the error

surabhi gravatar imagesurabhi ( 2017-04-27 06:39:18 -0500 )edit

This is odd. Can you run it manually in the foreground? There should be debug or verbose options that help you understand why it doesn't run.

Bernd Bausch gravatar imageBernd Bausch ( 2017-04-27 08:54:06 -0500 )edit

can you share your l3-agent conf file ?

anurag-jindal29 gravatar imageanurag-jindal29 ( 2017-04-27 22:31:07 -0500 )edit

please share the complete file.

anurag-jindal29 gravatar imageanurag-jindal29 ( 2017-04-28 03:10:19 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-05-03 05:29:04 -0500

surabhi gravatar image

The issue was solved!! The log file was present in /var/log/upstart path. From log file got to know the error like /etc/neutron/fwaas_driver.ini file is missing. Hence, I just created the fwaas_driver.ini file in the above mentioned path and restarted neutron services. Then listed neutron agents:

root@ubuntu:~# neutron agent-list +--------------------------------------+--------------------+--------+-------+----------------+---------------------------+ | id | agent_type | host | alive | admin_state_up | binary | +--------------------------------------+--------------------+--------+-------+----------------+---------------------------+ | 803bb290-7922-42b6-9de6-5fb5ff1a84d7 | L3 agent | ubuntu | :-) | True | neutron-l3-agent | | c9cc7536-a68b-4e55-a7f6-10c8196512cb | Metadata agent | ubuntu | :-) | True | neutron-metadata-agent | | dfa45b22-ddfb-46a4-9258-9c94bab86c77 | Open vSwitch agent | ubuntu | :-) | True | neutron-openvswitch-agent | | f08ba917-84c6-491a-8b8f-c2bcb9e7421a | DHCP agent | ubuntu | :-) | True | neutron-dhcp-agent | +--------------------------------------+--------------------+--------+-------+----------------+---------------------------+

The l3-agent was up and running!!!!!!!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-04-27 05:14:37 -0500

Seen: 695 times

Last updated: May 03 '17