<div dir="ltr"><div>Hello all,</div><div><br></div><div>We are testing a fresh installation of icehouse un ubuntu 14.04 following the official docs.</div><div><br></div><div>The problem: on certain reboots of our compute nodes, we get the stack trace below when the instances try to obtain their metadata from nova-api-metadata, and timeout errors appear in the instance's cloud-init logs. After several minutes the errors disappear.</div>
<div><br></div><div>We've checked rabbitmq connectivity and it's ok; after the compute node is running, everything works ok, ie. we can reboot instances without errors, so... It seems to be a boot process specific error, and it's not raised on all the reboots.</div>
<div><br></div><div>Any clue where to look now?</div><div>Thanks!</div><div><br></div><div><br></div><div>nova-api-metadata.log:</div><div><br></div><div>TRACE nova.api.metadata.handler Traceback (most recent call last):</div>
<div>TRACE nova.api.metadata.handler File "/usr/lib/python2.7/dist-packages/nova/api/metadata/handler.py", line 132, in _handle_remote_ip_request</div><div>TRACE nova.api.metadata.handler meta_data = self.get_metadata_by_remote_address(remote_address)</div>
<div>TRACE nova.api.metadata.handler File "/usr/lib/python2.7/dist-packages/nova/api/metadata/handler.py", line 74, in get_metadata_by_remote_address</div><div>TRACE nova.api.metadata.handler data = base.get_metadata_by_address(self.conductor_api, address)</div>
<div>TRACE nova.api.metadata.handler File "/usr/lib/python2.7/dist-packages/nova/api/metadata/base.py", line 507, in get_metadata_by_address</div><div>TRACE nova.api.metadata.handler ctxt)</div><div>TRACE nova.api.metadata.handler File "/usr/lib/python2.7/dist-packages/nova/api/metadata/base.py", line 514, in get_metadata_by_instance_id</div>
<div>TRACE nova.api.metadata.handler return InstanceMetadata(instance, address)</div><div>TRACE nova.api.metadata.handler File "/usr/lib/python2.7/dist-packages/nova/api/metadata/base.py", line 165, in __init__</div>
<div>TRACE nova.api.metadata.handler instance)</div><div>TRACE nova.api.metadata.handler File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 94, in wrapped</div><div>TRACE nova.api.metadata.handler return func(self, context, *args, **kwargs)</div>
<div>TRACE nova.api.metadata.handler File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 389, in get_instance_nw_info</div><div>TRACE nova.api.metadata.handler result = self._get_instance_nw_info(context, instance)</div>
<div>TRACE nova.api.metadata.handler File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 405, in _get_instance_nw_info</div><div>TRACE nova.api.metadata.handler nw_info = self.network_rpcapi.get_instance_nw_info(context, **args)</div>
<div>TRACE nova.api.metadata.handler File "/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py", line 222, in get_instance_nw_info</div><div>TRACE nova.api.metadata.handler host=host, project_id=project_id)</div>
<div>TRACE nova.api.metadata.handler File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 150, in call</div><div>TRACE nova.api.metadata.handler wait_for_reply=True, timeout=timeout)</div>
<div>TRACE nova.api.metadata.handler File "/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 90, in _send</div><div>TRACE nova.api.metadata.handler timeout=timeout)</div><div>TRACE nova.api.metadata.handler File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 412, in send</div>
<div>TRACE nova.api.metadata.handler return self._send(target, ctxt, message, wait_for_reply, timeout)</div><div>TRACE nova.api.metadata.handler File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 403, in _send</div>
<div>TRACE nova.api.metadata.handler result = self._waiter.wait(msg_id, timeout)</div><div>TRACE nova.api.metadata.handler File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 267, in wait</div>
<div>TRACE nova.api.metadata.handler reply, ending = self._poll_connection(msg_id, timeout)</div><div>TRACE nova.api.metadata.handler File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 217, in _poll_connection</div>
<div>TRACE nova.api.metadata.handler % msg_id)</div><div>TRACE nova.api.metadata.handler MessagingTimeout: Timed out waiting for a reply to message ID f9fb930ba84b491e886e746f3df788a5</div><div><br></div></div>