=== harlowja is now known as harlowja_away === zz_gondoi is now known as gondoi === harlowja_away is now known as harlowja [17:59] harmw, hey. just thought i'd share : http://paste.ubuntu.com/7227342/ [17:59] thtas just a "test cirros" [19:05] harlowja, [19:05] 2014-04-09 19:04:16,975 - url_helper.py[DEBUG]: Calling 'http://169.254.169.254/openstack/2012-08-10/meta_data.json' failed [10/-1s]: request error [(, 'Connection to 169.254.169.254 timed out. (connect timeout=10.0)')] [19:05] 2014-04-09 19:04:16,975 - url_helper.py[DEBUG]: [0/1] open 'http://169.254.169.254/openstack/2013-04-04/meta_data.json' with {'url': 'http://169.254.169.254/openstack/2013-04-04/meta_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.5'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 10.0} configuration [19:05] 2014-04-09 19:04:26,986 - url_helper.py[DEBUG]: Calling 'http://169.254.169.254/openstack/2013-04-04/meta_data.json' failed [20/-1s]: request error [(, 'Connection to 169.254.169.254 timed out. (connect timeout=10.0)')] [19:05] why u timing out :-P [19:05] because its not there. [19:05] the -1 is what i was annoyed at [19:05] [10/-1s] [19:05] ya, thats odd, lol [19:06] are u in a time machine [19:06] will investigate [19:07] well that is maxwait [19:07] oh. [19:12] it seems like it should timup should have happened [19:18] did ntpd jump? [19:18] looking at code, one sec [19:22] i think there is no timeout set (or it is actually set to -1) [19:22] for that datasource [19:22] but for some reason its trying agiain [19:30] smoser ya, its trying the provided urls, but failing after all of them don't work [19:30] http://169.254.169.254/openstack/2012-08-10/meta_data.json, http://169.254.169.254/openstack/2013-04-04/meta_data.json' [19:30] then after none of those work, it gives up [19:31] ah. i see. you're right. [19:31] https://code.launchpad.net/~harlowja/cloud-init/no-negative-max-wait/+merge/215020 [19:31] so i guess ideally if we got a timeout [19:31] then we wouldn't try other entries. [19:31] as opposed to a 404 [19:31] well should we :) [19:32] might be different hostname in other urls [19:32] right? [19:32] bb, got a friend coming over [19:32] well it hink its urls ar ll just the MD url [19:32] but with different versions [19:33] unlikely a.) that you have a friend coming over :) , and b.) that you'd find one metadata version on the same metadata server after timing out on another i think [19:33] ie: [19:33] lol [19:33] he's not here yet :-P [19:33] wget http://$IP/2012-08-10/meta_data.json [19:33] but i agree [19:33] in this case we can abort early [19:34] *or likely can abort early [19:34] so i'm not really opposed to the -1 [19:34] that seems not entirely unreasonable [19:34] i just didn't realize htat it was trying different urls [19:34] i thought it was re-trying, waiting for some future time when -1 seconds had passed :) [19:35] back to the future [19:35] if i sit around and wait long enough, it will be -1 seconds from now. [19:35] lol [19:36] let me do the change to abort it if its all the same hostname [19:36] bb === harlowja is now known as harlowja_away === harlowja_away is now known as harlowja [21:12] smoser https://code.launchpad.net/~harlowja/cloud-init/early-abort/+merge/215036 [21:12] think that should do it === gondoi is now known as zz_gondoi