Ask Your Question

[mitaka]neutron agent-list 404 error

asked 2016-05-17 08:01:03 -0500

RHK gravatar image

updated 2016-06-30 08:57:11 -0500

in my neutron service , the agent-list is showing 404 error,

root@ubuntu:~# neutron agent-list
404-{u'error': {u'message': u'The resource could not be found.', u'code': 404, u'title': u'Not Found'}}
Neutron server returns request_ids: ['req-861606a5-2671-4346-817a-7022b35b8894']

all the agents and neutron server are running.

root@ubuntu:~# service neutron-l3-agent status
neutron-l3-agent start/running, process 18925
root@ubuntu:~# service neutron-dhcp-agent status
neutron-dhcp-agent start/running, process 18857
root@ubuntu:~# service neutron-metadata-agent status
neutron-metadata-agent start/running, process 18759
root@ubuntu:~# service neutron-openvswitch-agent status
neutron-openvswitch-agent start/running, process 18700
root@ubuntu:~# service neutron-server status
neutron-server start/running, process 19164
root@ubuntu:~# service dnsmasq status
 * Checking DNS forwarder and DHCP server dnsmasq                                                                                                                        * (running)

i am doing a mitaka installation this is my neutron db sync ouput.

root@ubuntu:~# su -s /bin/sh -c "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini --config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini upgrade head" neutron
No handlers could be found for logger "oslo_config.cfg"
INFO  [alembic.runtime.migration] Context impl MySQLImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
  Running upgrade for neutron ...
INFO  [alembic.runtime.migration] Context impl MySQLImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
INFO  [alembic.runtime.migration] Running upgrade  -> kilo, kilo_initial
INFO  [alembic.runtime.migration] Running upgrade kilo -> 354db87e3225,
INFO  [alembic.runtime.migration] Running upgrade 354db87e3225 -> 599c6a226151, neutrodb_ipam
INFO  [alembic.runtime.migration] Running upgrade 599c6a226151 -> 52c5312f6baf, Initial operations in support of address scopes
INFO  [alembic.runtime.migration] Running upgrade 52c5312f6baf -> 313373c0ffee, Flavor framework
INFO  [alembic.runtime.migration] Running upgrade 313373c0ffee -> 8675309a5c4f, network_rbac
INFO  [alembic.runtime.migration] Running upgrade 8675309a5c4f -> 45f955889773, quota_usage
INFO  [alembic.runtime.migration] Running upgrade 45f955889773 -> 26c371498592, subnetpool hash
INFO  [alembic.runtime.migration] Running upgrade 26c371498592 -> 1c844d1677f7, add order to dnsnameservers
INFO  [alembic.runtime.migration] Running upgrade 1c844d1677f7 -> 1b4c6e320f79, address scope support in subnetpool
INFO  [alembic.runtime.migration] Running upgrade 1b4c6e320f79 -> 48153cb5f051, qos db changes
INFO  [alembic.runtime.migration] Running upgrade 48153cb5f051 -> 9859ac9c136, quota_reservations
INFO  [alembic.runtime.migration] Running upgrade 9859ac9c136 -> 34af2b5c5a59, Add dns_name to Port
INFO  [alembic.runtime.migration] Running upgrade 34af2b5c5a59 -> 59cb5b6cf4d, Add availability zone
INFO  [alembic.runtime.migration] Running upgrade 59cb5b6cf4d -> 13cfb89f881a, add is_default to subnetpool
INFO  [alembic.runtime.migration] Running upgrade 13cfb89f881a -> 32e5974ada25, Add standard attribute table
INFO  [alembic.runtime.migration] Running upgrade 32e5974ada25 -> ec7fcfbf72ee, Add network availability zone
INFO  [alembic.runtime.migration] Running upgrade ec7fcfbf72ee -> dce3ec7a25c9, Add router availability zone
INFO  [alembic.runtime.migration] Running upgrade dce3ec7a25c9 -> c3a73f615e4, Add ip_version to AddressScope
INFO  [alembic.runtime.migration] Running upgrade c3a73f615e4 -> 659bf3d90664, Add tables and attributes to support external DNS integration
INFO  [alembic.runtime.migration] Running upgrade 659bf3d90664 -> 1df244e556f5, add_unique_ha_router_agent_port_bindings
INFO  [alembic.runtime.migration] Running upgrade 1df244e556f5 -> 19f26505c74f, Auto Allocated Topology - aka Get-Me-A-Network
INFO  [alembic.runtime.migration] Running upgrade 19f26505c74f -> 15be73214821, add dynamic routing model data
INFO  [alembic.runtime.migration] Running upgrade 15be73214821 -> b4caf27aae4, add_bgp_dragent_model_data
INFO  [alembic.runtime.migration] Running upgrade b4caf27aae4 -> 15e43b934f81, rbac_qos_policy
INFO  [alembic.runtime.migration] Running upgrade 15e43b934f81 -> 31ed664953e6, Add resource_versions row to agent table
INFO  [alembic.runtime.migration] Running upgrade 31ed664953e6 -> 2f9e956e7532, tag support
INFO  [alembic ...
edit retag flag offensive close merge delete


Issue fixed on its own, after 12 hrs of recheck

RHK gravatar imageRHK ( 2016-05-18 03:37:50 -0500 )edit

where was the mistake? I am aslo on the same boat..

Ali Solangi gravatar imageAli Solangi ( 2016-06-08 08:33:19 -0500 )edit

i didn't change any thing, it got fixed on its own, when i check it on next day. I am again facing this issue in multi-node. Will figure out and update.

RHK gravatar imageRHK ( 2016-06-30 08:00:02 -0500 )edit

I am getting this, troubleshooting this issue.

root@controller:~# neutron agent-list
An auth plugin is required to fetch a token

If any one aware of this issue before please let me know.

RHK gravatar imageRHK ( 2016-06-30 08:11:10 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-06-30 08:46:24 -0500

RHK gravatar image

updated 2016-06-30 08:58:27 -0500

Issue fixed,

1) Reboot Controller Instance.  
   Once login to instance after reboot,  
2) Restarted keystone and verify the status.  
3) Restart all neutron services and agents, verify the status.  
4) neutron agent-list 
   ****now showing all alive :)****

It worked for me. I have seen this behavior in Mitaka release.

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


Asked: 2016-05-17 08:01:03 -0500

Seen: 1,414 times

Last updated: Jun 30 '16