/srv/irclogs.ubuntu.com/2016/06/09/#cloud-init.txt

copumpkinokay, I'm seeing something super puzzling00:01
copumpkinwhen my cc_copumpkin_custom_crap runs at instance startup, cloud.datasource.metadata only contains a subset of the stuff it contains when I run it interactively later after boot00:02
copumpkinon the same machine00:02
copumpkinoh!00:03
copumpkinit's hardcoded to request an older version of the metadata :(00:04
copumpkinARGH, it's the version right before the one that has the feature I want00:05
copumpkin2011-01-01 introduced the network hierarchy, and cloud-init explicitly asks for 2009-04-0400:05
copumpkinsmoser: is there an easy way to override DataSourceEc2's api_ver from my cloud-init config?00:05
=== Toger_ is now known as Toger
smosercopumpkin, we can probably move to the nwere version...13:07
copumpkinyeah, they only ever seem to add to it13:07
copumpkinmy really elegant solution right now is to patch cloud-init in place before I snap the image ;)13:08
smoserright. it should be just that one string, right ?13:08
smoseri'm not opposed to something that checks and is able to use a newer version13:08
smoserbut if we bump the version we have to be able to fall back13:08
copumpkinyep! super simple sed13:08
copumpkinfall back how?13:08
smoseras other clouds impersonate ec2 and likely dont' have newer YYYY-MM-DD13:09
copumpkinoh, hmm13:09
copumpkindidn't know that13:09
smoserits very common to impersonate ec213:09
smoser:)13:09
copumpkinaha13:11
copumpkinalthough if we just bump it up to the 2011 date13:11
copumpkinthat's still pretty ancient13:11
copumpkinI wonder if there are impersonators who impersonate one particularly ancient version but not the one right afterwards13:11
copumpkin"we have a policy to only replicate APIs that are 6 or more years old, and yours is only 5 years old"13:11
copumpkin:P13:11
smosercopumpkin, yeah, what i think i'd do is read the old one, and if its present then go looking for new ones.13:11
copumpkinoh, that makes sense13:12
smoserand i'd just jump fro 2009 to whatever is most recent.13:12
smoserthere is an index too13:12
smoserif you just get the metadata/ i think you get a list of versions13:12
smoserbut since we never got that before we'd then be adding some new expectation, which probably does work.13:13
=== Toger_ is now known as Toger
=== rangerpbzzzz is now known as rangerpb
harlowjasmoser u review my stuff yet, shall i merge it16:36
harlowjai will be around to fix shit if i broke it :-P16:37
harlowja(which of course it does not)16:37
harlowja(obviously)16:37
smoserharlowja, reading...16:38
smoseri will review today.16:38
konetzedHay anyone know how to get cloud-init to set hostnames via reverse dns or will i need to write a custom module for that?19:29
rtheisHow do I request a revert of https://github.com/openvswitch/ovs/commit/b00bdc728e7a0ae697b4fc59a4f9958b688c6789 ?  networking-ovn gate is failing because ovs-bugtool.in fails flake820:00
rtheissorry wrong channel20:01
=== Toger_ is now known as Toger
=== rangerpb is now known as rangerpbzzzz

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