[Bug 894279] [NEW] cloud-init fails to fetch metadata with OpenStack

Launchpad Bug Tracker 894279 at bugs.launchpad.net
Mon Nov 28 06:58:51 UTC 2011


You have been subscribed to a public bug:

Tested the UEC Lucid, Maverick, Natty and Oneiric images with OpenStack
Diablo. When launching multiple (20+) instances at the same time the
OpenStack metadata server becomes quite slow and cloud-init fails to
fetch the metadata due to its short timeout of 2 (3 for Oneiric) seconds
in DataSourceEc2.py. This is an unreasonably small timeout value. I'd
suggest a timeout of 60 secs and 5 retries as the default.

init: cloud-init-local main process (217) terminated with status 1 
init: cloud-init-nonet main process (290) killed by TERM signal 
init: udev-fallback-graphics main process (317) terminated with status 1 
init: plymouth main process (59) killed by SEGV signal 
init: plymouth-splash main process (345) terminated with status 2 
cloud-init start running: Fri, 30 Sep 2011 12:01:48 +0000. up 2.17 seconds 
2011-09-30 12:01:50,874 - DataSourceEc2.py[WARNING]: waiting for metadata service at http://169.254.169.254/2009-04-04/meta-data/instance-id 
2011-09-30 12:01:50,875 - DataSourceEc2.py[WARNING]: 12:01:50 [ 1/30]: url error [timed out] 
2011-09-30 12:01:53,879 - DataSourceEc2.py[WARNING]: 12:01:53 [ 2/30]: url error [timed out] 
2011-09-30 12:01:54,883 - DataSourceEc2.py[WARNING]: 12:01:54 [ 3/30]: url error [[Errno 113] No route to host] 
2011-09-30 12:01:57,887 - DataSourceEc2.py[WARNING]: 12:01:57 [ 4/30]: url error [timed out] 
2011-09-30 12:01:58,893 - DataSourceEc2.py[WARNING]: 12:01:58 [ 5/30]: url error [[Errno 113] No route to host] 
2011-09-30 12:02:01,897 - DataSourceEc2.py[WARNING]: 12:02:01 [ 6/30]: url error [timed out] 
2011-09-30 12:02:05,902 - DataSourceEc2.py[WARNING]: 12:02:05 [ 7/30]: url error [timed out] 
2011-09-30 12:02:09,907 - DataSourceEc2.py[WARNING]: 12:02:09 [ 8/30]: url error [timed out] 
2011-09-30 12:02:13,913 - DataSourceEc2.py[WARNING]: 12:02:13 [ 9/30]: url error [timed out] 
2011-09-30 12:02:17,918 - DataSourceEc2.py[WARNING]: 12:02:17 [10/30]: url error [timed out] 
2011-09-30 12:02:21,923 - DataSourceEc2.py[WARNING]: 12:02:21 [11/30]: url error [timed out] 
2011-09-30 12:02:26,773 - DataSourceEc2.py[WARNING]: 12:02:26 [12/30]: url error [[Errno 113] No route to host] 
2011-09-30 12:02:31,778 - DataSourceEc2.py[WARNING]: 12:02:31 [13/30]: url error [timed out] 
2011-09-30 12:02:36,785 - DataSourceEc2.py[WARNING]: 12:02:36 [14/30]: url error [timed out] 
2011-09-30 12:02:41,791 - DataSourceEc2.py[WARNING]: 12:02:41 [15/30]: url error [timed out] 
2011-09-30 12:02:46,797 - DataSourceEc2.py[WARNING]: 12:02:46 [16/30]: url error [timed out] 
2011-09-30 12:02:52,013 - DataSourceEc2.py[WARNING]: 12:02:52 [17/30]: url error [[Errno 113] No route to host] 
2011-09-30 12:02:58,019 - DataSourceEc2.py[WARNING]: 12:02:58 [18/30]: url error [timed out] 
2011-09-30 12:03:04,026 - DataSourceEc2.py[WARNING]: 12:03:04 [19/30]: url error [timed out] 
2011-09-30 12:03:10,033 - DataSourceEc2.py[WARNING]: 12:03:10 [20/30]: url error [timed out] 
2011-09-30 12:03:16,040 - DataSourceEc2.py[WARNING]: 12:03:16 [21/30]: url error [timed out] 
2011-09-30 12:03:23,023 - DataSourceEc2.py[WARNING]: 12:03:23 [22/30]: url error [[Errno 113] No route to host] 
2011-09-30 12:03:30,030 - DataSourceEc2.py[WARNING]: 12:03:30 [23/30]: url error [timed out] 
2011-09-30 12:03:37,038 - DataSourceEc2.py[WARNING]: 12:03:37 [24/30]: url error [timed out] 
2011-09-30 12:03:44,046 - DataSourceEc2.py[WARNING]: 12:03:44 [25/30]: url error [timed out] 
2011-09-30 12:03:51,054 - DataSourceEc2.py[WARNING]: 12:03:51 [26/30]: url error [timed out] 
2011-09-30 12:03:59,063 - DataSourceEc2.py[WARNING]: 12:03:59 [27/30]: url error [timed out] 
2011-09-30 12:04:07,071 - DataSourceEc2.py[WARNING]: 12:04:07 [28/30]: url error [timed out] 
2011-09-30 12:04:15,082 - DataSourceEc2.py[WARNING]: 12:04:15 [29/30]: url error [timed out] 
2011-09-30 12:04:23,091 - DataSourceEc2.py[WARNING]: 12:04:23 [30/30]: url error [timed out] 
2011-09-30 12:04:29,097 - DataSourceEc2.py[CRITICAL]: giving up on md after 160 seconds 

no instance data found in start

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

-- 
cloud-init fails to fetch metadata with OpenStack
https://bugs.launchpad.net/bugs/894279
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu.



More information about the Ubuntu-server-bugs mailing list