Ask Your Question
0

neutron.agent.metadata.agent EndpointNotFound: adminURL endpoint for network service not found

asked 2015-07-16 09:56:03 -0600

Seth gravatar image

Having trouble with metadata service with juno release. I installed controller node and neutron networking node on one host and compute node on another host. VM can be launched up fine and have reachability. However, metadata service is not working properly.

From the instance, when I do "curl http://169.254.169.254/%22 (http://169.254.169.254/") I got the following error 500 Internal Server Error

500 Internal Server Error

Remote metadata server experienced an internal server error.

From the metadata-agent.log, following is the traceback.

2015-07-16 16:36:58.099 6970 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): op-controller 2015-07-16 16:36:58.205 6970 ERROR neutron.agent.metadata.agent [-] Unexpected error. 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent Traceback (most recent call last): 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent File "/usr/lib/python2.7/dist-packages/neutron/agent/metadata/agent.py", line 125, in __call__ 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent instance_id, tenant_id = self._get_instance_and_tenant_id(req) 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent File "/usr/lib/python2.7/dist-packages/neutron/agent/metadata/agent.py", line 189, in _get_instance_and_tenant_id 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent ports = self._get_ports(remote_address, network_id, router_id) 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent File "/usr/lib/python2.7/dist-packages/neutron/agent/metadata/agent.py", line 177, in _get_ports 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent networks = self._get_router_networks(router_id) 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent File "/usr/lib/python2.7/dist-packages/neutron/common/utils.py", line 100, in __call__ 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent return self._get_from_cache(target_self, args, *kwargs) 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent File "/usr/lib/python2.7/dist-packages/neutron/common/utils.py", line 78, in _get_from_cache 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent item = self.func(target_self, args, *kwargs) 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent File "/usr/lib/python2.7/dist-packages/neutron/agent/metadata/agent.py", line 145, in _get_router_networks 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent n_const.DEVICE_OWNER_DVR_INTERFACE])['ports'] 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 99, in with_params 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent ret = self.function(instance, args, *kwargs) 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 313, in list_ports 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent *_params) 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1335, in list 2015-07-16 16:36:58.205 6970 TRACE neutron.agent.metadata.agent for r in ...



(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-07-16 13:59:58 -0600

Seth gravatar image

Not sure why some of the packages were gone. The issue is resolved after doing the following below:

root@op-controller:/var/log/neutron# apt-get install neutron-server neutron-plugin-ml2 python-neutronclient Reading package lists... Done Building dependency tree
Reading state information... Done python-neutronclient is already the newest version. The following extra packages will be installed: neutron-common neutron-dhcp-agent neutron-l3-agent neutron-metadata-agent neutron-plugin-openvswitch-agent python-neutron The following packages will be upgraded: neutron-common neutron-dhcp-agent neutron-l3-agent neutron-metadata-agent neutron-plugin-ml2 neutron-plugin-openvswitch-agent neutron-server python-neutron 8 upgraded, 0 newly installed, 0 to remove and 60 not upgraded.

$ curl http://169.254.169.254/ 1.0 2007-01-19 2007-03-01 2007-08-29 2007-10-10 2007-12-15 2008-02-01 2008-09-01 2009-04-04

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: 2015-07-16 09:56:03 -0600

Seen: 352 times

Last updated: Jul 16 '15