[Juno] Neutron-metadata-agent can't start

asked 2015-06-20 09:24:21 -0500

tab87vn gravatar image

updated 2015-06-20 09:45:32 -0500

Hi there,

I've been trying to deploy OpenStack Juno on a 4-node (controller-network-computerx2 cluster of real server and am facing now the issue of metadata related services being unable to start.

here is the output of /var/log/upstart/neutron-metadata-agent.log in Network node (full log: http://pastebin.com/QG2edmkt)

Traceback (most recent call last):
  File "/usr/bin/neutron-metadata-agent", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/dist-packages/neutron/agent/metadata/agent.py", line 378, in main
    config.init(sys.argv[1:])

(...)
  File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 2061, in _do_get
    info = self._get_opt_info(name, group)
  File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 2185, in _get_opt_info
    group = self._get_group(group)
  File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 2169, in _get_group
    raise NoSuchGroupError(group_name)
oslo.config.cfg.NoSuchGroupError: no such group: <oslo_config.cfg.OptGroup object at 0x7feb0689ba50>

And output of /var/log/nova/nova-api-metadata.log in Compute node (full log: http://pastebin.com/ZJtJX8zP)

2015-06-20 10:03:14.163 62820 INFO nova.network.driver [-] Loading network driver 'nova.network.linux_net'
2015-06-20 10:03:14.347 62820 INFO nova.openstack.common.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2015-06-20 10:03:14.350 62820 ERROR nova.wsgi [-] Could not bind to 130.104.230.109:8775
2015-06-20 10:03:14.351 62820 CRITICAL nova [-] error: [Errno 99] Cannot assign requested address
2015-06-20 10:03:14.351 62820 TRACE nova Traceback (most recent call last):
2015-06-20 10:03:14.351 62820 TRACE nova   File "/usr/bin/nova-api-metadata", line 10, in <module>
2015-06-20 10:03:14.351 62820 TRACE nova     sys.exit(main())
2015-06-20 10:03:14.351 62820 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/cmd/api_metadata.py", line 52, in main
2015-06-20 10:03:14.351 62820 TRACE nova     server = service.WSGIService('metadata', use_ssl=should_use_ssl)

(...)

2015-06-20 10:03:14.351 62820 TRACE nova   File "/usr/lib/python2.7/socket.py", line 224, in meth
2015-06-20 10:03:14.351 62820 TRACE nova     return getattr(self._sock,name)(*args)
2015-06-20 10:03:14.351 62820 TRACE nova error: [Errno 99] Cannot assign requested address

As a consequence, I suppose this missing of metadata services result in problem of retrieving metadata info for VM instance: (/var/log/neutron/neutron-ns-metadata-proxy-27fc9d3c-fa3b-4637-a486-dbcf0cfab454.log on Network node. Full log: http://pastebin.com/jKmfTCCM)

2015-06-20 01:45:36.135 3275 INFO neutron.wsgi [-] (3275) accepted ('11.0.0.6', 49583)
2015-06-20 01:45:36.136 3275 ERROR neutron.agent.metadata.namespace_proxy [-] Unexpected error.
2015-06-20 01:45:36.136 3275 TRACE neutron.agent.metadata.namespace_proxy Traceback (most recent call last):
2015-06-20 01:45:36.136 3275 TRACE neutron.agent.metadata.namespace_proxy   File "/usr/lib/python2.7/dist-packages/neutron/agent/metadata/namespace_proxy.py", line 72, in __call__
(...)
2015-06-20 01:45:36.136 3275 TRACE neutron.agent.metadata.namespace_proxy   File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 37, in socket_connect
2015-06-20 01:45:36.136 ...
(more)
edit retag flag offensive close merge delete