Ask Your Question
1

Instance cannot reach neutron metadate service

asked 2014-09-08 02:17:34 -0600

leethaoqn gravatar image

updated 2014-09-08 03:28:54 -0600

Hi all, I install ice house with three node : 1 controller , 1 compute and 1 network.
From controller , i can ssh and ping my instance. In instance i can see the route 169.254.0.0 but i can't ping it .
I get this error when i started my vm .

checking http://169.254.169.254/2009-04-04/instance-id
failed 1/20: up 12.49. request failed

Here some information :
- ip netns

qrouter-a9e27d9b-ecf2-4b94-97ba-f13d723bdc83
qdhcp-d8ea1d4a-cc6f-4264-aff5-de6d8e40e749
  • ip netns exec qrouter-a9e27d9b-ecf2-4b94-97ba-f13d723bdc83 iptables -S -t nat |grep 169

    A neutron-l3-agent-PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 9697
    Error log in metadata

    Sep 8 15:18:22 NetworkNode 2014-09-08 15:18:22.121 1402 ERROR neutron.agent.metadata.agent [req-576c3a17-5635-4d29-a8e5-9d12197b827b None] Failed reporting state!#0122014-09-08 15:18:22.121 1402 TRACE neutron.agent.metadata.agent Traceback (most recent call last):#0122014-09-08 15:18:22.121 1402 TRACE neutron.agent.metadata.agent File "/usr/lib/python2.7/dist-packages/neutron/agent/metadata/agent.py", line 302, in _report_state#0122014-09-08 15:18:22.121 1402 TRACE neutron.agent.metadata.agent use_call=self.agent_state.get('start_flag'))#0122014-09-08 15:18:22.121 1402 TRACE neutron.agent.metadata.agent File "/usr/lib/python2.7/dist-packages/neutron/agent/rpc.py", line 72, in report_state#0122014-09-08 15:18:22.121 1402 TRACE neutron.agent.metadata.agent return self.call(context, msg, topic=self.topic)#0122014-09-08 15:18:22.121 1402 TRACE neutron.agent.metadata.agent File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/proxy.py", line 129, in call#0122014-09-08 15:18:22.121 1402 TRACE neutron.agent.metadata.agent exc.info, real_topic, msg.get('method'))#0122014-09-08 15:18:22.121 1402 TRACE neutron.agent.metadata.agent Timeout: Timeout while waiting on RPC response - topic: "q-plugin", RPC method: "report_state" info: "<unknown>"#0122014-09-08 15:18:22.121 1402 TRACE neutron.agent.metadata.agent

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-09-08 02:29:27 -0600

dbaxps gravatar image

View thread https://ask.openstack.org/en/question... (my answer with sample metadata_agent.ini) View in particular comment by edlg :-

shared secret must match for metadata_proxy_shared_secret (metadata_agent.ini) and neutron_metadata_proxy_shared_secret (nova.conf) 
also had to set service_neutron_metadata_proxy=true (nova.conf)
edit flag offensive delete link more

Comments

yeah, i viewed that and my config is the same

leethaoqn gravatar imageleethaoqn ( 2014-09-08 03:01:52 -0600 )edit

here a error log about metadata

 Sep  8 15:18:22 NetworkNode 2014-09-08 15:18:22.121 1402 ERROR neutron.agent.metadata.agent [req-576c3a17-5635-4d29-a8e5-9d12197b827b None] Failed reporting state!#0122014-09-08 15:18:22.121 1402 TRACE neutron.agent.metadata.agent Traceback (most recen
leethaoqn gravatar imageleethaoqn ( 2014-09-08 03:26:26 -0600 )edit

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: 2014-09-08 02:17:34 -0600

Seen: 949 times

Last updated: Sep 08 '14