/srv/irclogs.ubuntu.com/2015/06/11/#cloud-init.txt

=== zz_natorious is now known as natorious
=== natorious is now known as zz_natorious
Odd_Blokesmoser: Do we have a good way of specifying apt mirrors for different distros via vendor-data?07:08
Odd_Blokeharlowja: Tut, tut, only 25% coverage of url_helper.py.08:26
Odd_BlokeOh, no, tox wasn't recreating a virtualenv to include new test deps.08:36
Odd_Blokeharlowja: Tut, tut, only 81% coverage of url_helper.py. ^_^08:36
Odd_BlokeOh, hmph, the Windows changes have completely broken the coverage reporting.09:07
Odd_BlokeTo ensure that we're getting accurate numbers (including modules not touched by tests), nose imports all the modules.09:07
Odd_BlokeAs you might imagine, this goes poorly.09:07
openstackgerritDaniel Watkins proposed stackforge/cloud-init: Don't use --cover-inclusive; Windows modules break it.  https://review.openstack.org/19055709:23
Odd_Blokeharlowja: claudiupopa: ^ fixes the coverage breakage.09:24
Odd_BlokeI'm looking at a fix in nose, which will allow us to reintroduce it.09:24
Odd_BlokeBut, for now, there's no way around it.09:24
Odd_Blokehttps://github.com/nose-devs/nose/pull/924 is the nose fix.10:24
=== strikov is now known as strikov-lunch
=== strikov-lunch is now known as strikov
smoserOdd_Bloke, i'd have to look.15:06
smosernot really here today, just came in for a call.15:06
Odd_Blokesmoser: No worries; enjoy your absence. :)15:07
a-talhey, does anyone know how I can configure cloud-init to use a metadata version endpoint that's not 2009-04-04 ?15:12
Odd_Blokea-tal: Which data source are you using?15:14
a-talec215:14
Odd_Blokea-tal: I don't think you can.15:16
Odd_Blokea-tal: But even if you could, cloud-init wouldn't know what to do with anything more recent than that without code changes.15:16
Odd_Blokea-tal: Is there something specific that you need?15:16
a-talso, it's not the real ec2, but it does respond to http://169.254.169.254/latest/meta-data/instance-id and the other endpoints using latest. you can configure the datasource metadata_urls; but that's the path/version seems to be hardcoded?15:17
a-tals/that's//15:18
Odd_Blokea-tal: Yeah, we hard-code the version because we know we'll work against that version.15:18
Odd_Blokea-tal: EC2 could completely change where everything is located in 2015-06-11, but we'd still be fine because we're pinned at that version.15:19
Odd_Bloke(Where 'that version' is 2009-04-04')15:19
a-talmakes sense15:20
Odd_BlokeSo your fake EC2 will have to provide those URLs and, crucially, actually do what the API should do in that version.15:22
Odd_BlokeI would imagine that's not much of a problem (though I haven't looked at it at all), I suspect the parts of the API that cloud-init exercises aren't changed a great deal.15:23
a-talyeah. i think i'll have to try to get a rewrite rule added15:23
a-talhopefully nothing explodes :)15:23
Odd_Bloke:)15:24
=== zz_natorious is now known as natorious
=== natorious is now known as zz_natorious
ByPasSOdd_Bloke : hi again :)16:10
Odd_BlokeByPasS: Hola!16:11
ByPasSOdd_Bloke : I realized that I had libvirt injection set to true which well from what Ive read is not needed and should be set to false for cloud-init admin password injection16:11
ByPasSOdd_Bloke : back to square one :)16:15
ByPasSOdd_Bloke : so I disabled libvirt password and key injection (keys are injected according to the log)16:16
ByPasSOdd_Bloke : which metadata url exactly you wanted me to paste ?16:16
=== zz_natorious is now known as natorious
Odd_BlokeByPasS: So how are you expecting the password to be set at the moment?16:21
ByPasSOdd_Bloke : via cloud-init + nova metadata16:22
ByPasSOdd_Bloke : leet me try something I found a probable cause brb16:22
Odd_BlokeSure. :)16:23
fricklerhow are chances to get manage_resolv_conf working on Ubuntu? we have a case where we want to override nameservers for a specific subset of instances only16:53
fricklersee https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1394224 and https://answers.launchpad.net/ubuntu/+source/cloud-init/+question/23404116:53
* frickler waves to smoser a bit ashamed about not having responded yet regarding cirros :D16:55
harlowjaOdd_Bloke only 81% i want 181%18:41
harlowjalol18:41
harlowjaharder faster, stronger, lol18:41
harlowjaor else fired18:41
harlowjaha18:41
openstackgerritMerged stackforge/cloud-init: Don't use --cover-inclusive; Windows modules break it.  https://review.openstack.org/19055719:03
=== natorious is now known as zz_natorious

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!