Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VM not accessing Metadata #5

Open
rohagan opened this issue Feb 6, 2014 · 1 comment
Open

VM not accessing Metadata #5

rohagan opened this issue Feb 6, 2014 · 1 comment

Comments

@rohagan
Copy link

rohagan commented Feb 6, 2014

Hi,

I have been trying to get this install up and running, I have tried installing clean 3 times on a physical machine. Every time I launch an instance I get;

Sending discover...
Sending select for 10.27.27.2...
Sending select for 10.27.27.2...
Sending select for 10.27.27.2...
No lease, failing
WARN: /etc/rc3.d/S40-network failed
cloud-setup: checking http://169.254.169.254/2009-04-04/meta-data/instance-id
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 1/30: up 9.79. request failed

I then get this on my dhcp log I get;

2014-02-06 11:37:53.423 2249 TRACE neutron.agent.dhcp_agent
2014-02-06 11:37:53.426 2249 WARNING neutron.openstack.common.loopingcall [-] task run outlasted interval by 60.302662 sec
2014-02-06 11:41:05.994 2162 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver
2014-02-06 11:41:06.319 2162 ERROR neutron.openstack.common.rpc.common [-] AMQP server on 10.10.10.51:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.
2014-02-06 11:41:06.328 2162 ERROR neutron.openstack.common.rpc.common [-] AMQP server on 10.10.10.51:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.
2014-02-06 11:41:07.336 2162 ERROR neutron.openstack.common.rpc.common [-] AMQP server on 10.10.10.51:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 3 seconds.
2014-02-06 11:41:07.337 2162 ERROR neutron.openstack.common.rpc.common [-] AMQP server on 10.10.10.51:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 3 seconds.
2014-02-06 11:42:10.359 2162 ERROR neutron.agent.dhcp_agent [-] Failed reporting state!
2014-02-06 11:42:10.359 2162 TRACE neutron.agent.dhcp_agent Traceback (most recent call last):
2014-02-06 11:42:10.359 2162 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/dhcp_agent.py", line 555, in _report_state
2014-02-06 11:42:10.359 2162 TRACE neutron.agent.dhcp_agent self.state_rpc.report_state(ctx, self.agent_state, self.use_call)
2014-02-06 11:42:10.359 2162 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/rpc.py", line 72, in report_state
2014-02-06 11:42:10.359 2162 TRACE neutron.agent.dhcp_agent return self.call(context, msg, topic=self.topic)
2014-02-06 11:42:10.359 2162 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/proxy.py", line 130, in call
2014-02-06 11:42:10.359 2162 TRACE neutron.agent.dhcp_agent exc.info, real_topic, msg.get('method'))
2014-02-06 11:42:10.359 2162 TRACE neutron.agent.dhcp_agent Timeout: Timeout while waiting on RPC response - topic: "q-plugin", RPC method: "report_state" info: ""
2014-02-06 11:42:10.359 2162 TRACE neutron.agent.dhcp_agent
2014-02-06 11:42:10.362 2162 WARNING neutron.openstack.common.loopingcall [-] task run outlasted interval by 60.32905 sec

there is nothing in my Metadata-agent.log

I am doing everything by the book, I know that once the metadata comes up everything will work.

Any help would be greatly appreciated,

Ryan

@rohagan
Copy link
Author

rohagan commented Feb 8, 2014

Figured it out!

DHCP was basically being blocked,

Added: iptables -A POSTROUTING -t mangle -p udp --dport 68 -j CHECKSUM --checksum-fill

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant