Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

neutron.agent.metadata.agent [-] Failed reporting state!

I get the following error in my OpenStack Juno installation (one-node) on Ubuntu 14.04:

2015-02-16 17:47:49.073 1517 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on os-controller.bui.materna.com:5672
2015-02-16 17:47:49.093 1517 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on os-controller.bui.materna.com:5672
2015-02-16 17:47:49.104 1517 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on os-controller.bui.materna.com:5672
2015-02-16 17:47:49.122 1517 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on os-controller.bui.materna.com:5672
2015-02-16 17:50:49.127 1517 ERROR neutron.agent.metadata.agent [-] Failed reporting state!
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent Traceback (most recent call last):
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/metadata/agent.py", line 351, in _report_state
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent     use_call=self.agent_state.get('start_flag'))
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/rpc.py", line 70, in report_state
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent     return self.call(context, msg)
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/neutron/common/log.py", line 34, in wrapper
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent     return method(*args, **kwargs)
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/neutron/common/rpc.py", line 161, in call
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent     context, msg, rpc_method='call', **kwargs)
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/neutron/common/rpc.py", line 187, in __call_rpc_method
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent     return func(context, msg['method'], **msg['args'])
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 389, in call
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent     return self.prepare().call(ctxt, method, **kwargs)
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 152, in call
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent     retry=self.retry)
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 90, in _send
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent     timeout=timeout, retry=retry)
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in send
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent     retry=retry)
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 397, in _send
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent     result = self._waiter.wait(msg_id, timeout)
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 285, in wait
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent     reply, ending = self._poll_connection(msg_id, timeout)
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent   File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 235, in _poll_connection
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent     % msg_id)
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent MessagingTimeout: Timed out waiting for a reply to message ID 5402357c9117491794ca7817c68e8997
2015-02-16 17:50:49.127 1517 TRACE neutron.agent.metadata.agent

This is my metadata_agent.ini

[DEFAULT]
# Show debugging output in log (sets DEBUG log level output)
verbose = True
debug = True

# The Neutron user information for accessing the Neutron API.
auth_url = http://os-controller.bui.materna.com:5000/v2.0
auth_region = regionOne
# Turn off verification of the certificate for ssl
# auth_insecure = False
# Certificate Authority public key (CA cert) file for ssl
# auth_ca_cert =
admin_tenant_name = service
admin_user = neutron
admin_password = XXX

# Network service endpoint type to pull from the keystone catalog
# endpoint_type = adminURL

# IP address used by Nova metadata server
nova_metadata_ip = os-controller.bui.materna.com

# TCP Port used by Nova metadata server
# nova_metadata_port = 8775

# Which protocol to use for requests to Nova metadata server, http or https
# nova_metadata_protocol = http

# Whether insecure SSL connection should be accepted for Nova metadata server
# requests
# nova_metadata_insecure = False

# Client certificate for nova api, needed when nova api requires client
# certificates
# nova_client_cert =

# Private key for nova client certificate
# nova_client_priv_key =

# When proxying metadata requests, Neutron signs the Instance-ID header with a
# shared secret to prevent spoofing.  You may select any string for a secret,
# but it must match here and in the configuration used by the Nova Metadata
# Server. NOTE: Nova uses a different key: neutron_metadata_proxy_shared_secret
metadata_proxy_shared_secret = 2a9c2c3a435ad6fefd61

# Location of Metadata Proxy UNIX domain socket
# metadata_proxy_socket = $state_path/metadata_proxy

# Number of separate worker processes for metadata server. Defaults to
# half the number of CPU cores
# metadata_workers =

# Number of backlog requests to configure the metadata server socket with
# metadata_backlog = 4096

# URL to connect to the cache backend.
# default_ttl=0 parameter will cause cache entries to never expire.
# Otherwise default_ttl specifies time in seconds a cache entry is valid for.
# No cache is used in case no value is passed.
# cache_url = memory://?default_ttl=5

I have already increased the rpc_timeout. It does not help. Any hints?