Bug 974222 - Cloud-init various fails obtain instance-id
Summary: Cloud-init various fails obtain instance-id
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: distribution
Version: 3.0
Hardware: x86_64
OS: Linux
Target Milestone: ---
: 4.0
Assignee: RHOS Maint
QA Contact: Ami Jeain
Depends On:
TreeView+ depends on / blocked
Reported: 2013-06-13 17:35 UTC by Jaroslav Henner
Modified: 2015-06-04 21:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-06-13 19:11:14 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 971188 0 unspecified CLOSED Console log lacks dashes. 2021-02-22 00:41:40 UTC

Internal Links: 971188

Description Jaroslav Henner 2013-06-13 17:35:08 UTC
Description of problem:
Cloud-init blocks the booting of instance about 2 minutes, spitting following errors to log.
20130613 12:59:00,910  url_helper.py[WARNING]: Calling '' failed [3/120s]: url error [[Errno 113] No route to host

note there is a bug about missing dashes from log

20130613 12:59:00,910  url_helper.py[WARNING]: Calling '' failed [3/120s]: url error [[Errno 113] No route to host

Note that after login is available, there is no route to in ip r, but curl returns the instance id, no problem. This is because the default route will deliver the packets to the router, where the port gets translated to some quantum-proxy port, which should proxy it to nova.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:

Comment 2 Jaroslav Henner 2013-06-13 17:40:49 UTC
Also note that during the time the cloud-init has problems, claiming "no route to host", the instance is pingable.

Comment 4 Jaroslav Henner 2013-06-13 18:06:19 UTC
The problem is that cloud-init adds temporary routing rule, saying that the is local, therefore the packets are not routed to gateway from the sending machine, but ARP requests are being sent:

13:53:02.634932 ARP, Request who-has tell, length 28

Nothing replies since there is no such listener (there is only NAT rule on the controller). The sender than realizes there is no route to host.

I believe this problem is not present when using nova-network, but I would need confirmation.

Comment 5 Jaroslav Henner 2013-06-13 19:11:14 UTC
I think I had some problem in my deployment.

Note You need to log in before you can comment on or make changes to this bug.