/srv/irclogs.ubuntu.com/2017/03/06/#cloud-init.txt

=== shardy is now known as shardy_lunch
=== shardy_lunch is now known as shardy
rharpersmoser: where does the cloud-init package handle the debconf_setselection inputs from maas?  what parses that and renders those .cfg files ?17:08
smoserrharper, .postinst17:23
rharperthanks17:23
logan-I'm trying to hunt down docs on how to configure the renderer for /etc/network/interfaces.d/50-cloud-init.cfg that is generated on Xenial images. I'd like it to render with v6 configuration in addition to v4.17:23
smoserlogan-, what do you have now ?17:24
smoserwhere are you running ?17:24
smoserbasiclaly cloud-init reads from the datasource to get the networking information17:25
smoserif it finds nothing it renders "dhcp on eth0"17:25
smoserthere is not currently a way to configure that to use dhcpv6 on eth017:25
logan-http://cdn.pasteraw.com/k10obywd29qws85z8q976qwnkk0nxdt (+ prepended to the line I need)17:25
logan-on an Openstack based cloud17:26
logan-gotcha. thanks17:26
jgrimmsmoser, rharper:  we still need this, yes? https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/31791717:28
rharpery17:28
smoserlogan-, are you able to use config drive ?17:29
smoserif so, it might "just work"17:29
smoserif not, its more complicated...17:29
jgrimmwe should try to get that landed next, i'd think17:29
smoserthere is no way for cloud-init to know if it shoudl dhcp v6 or not if it doesnt have a datasource telling it what to do17:29
smoserjgrimm, ack17:30
logan-I was just looking thru the metadata being exposed at http://169.254.169.254/openstack/latest/network_data.json, it seems to be missing ipv6. maybe it is an openstack metadata service issue :)17:30
jgrimmsmoser, rharper: cool, just trying to line things up for landing (once ds-identify is up)17:31
smoserrharper, https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/31897517:39
smoseryou're just complainig about the 'd', right?17:39
rharpersmoser: yes, enable|disable vs enable[d]|disabled[d]17:40
rharperpick one, for both places their used, IMO17:40
rharperit's documented properly; but easy to misremember17:40
smoserfixed.17:41
rharperthanks17:43
logan-in /etc/cloud.cfg.d/, are yaml overrides to dicts treated as complete overrides of the dict or is the earlier dict merged with later overrides using .update()? ie I want to override system_info: { package_mirrors: {} }, can I just enumerate package_mirrors in the override dict, or do I need to redefine the whole system_info17:44
smoserrharper, you ACK that review ?18:24
=== rangerpbzzzz is now known as rangerpb
rharpersmoser: I'll do that now18:47
powersjFYI getting CI automation going on cloud-init today, so some reviews might start showing up19:22
rharperpowersj: \o/ cool19:42
powersj*sigh*20:06
powersjthis is what is going to happen for nearly every cloud-init CI run:20:07
powersjhttp://paste.ubuntu.com/24126637/20:07
magicalChickenpowersj: it may be worht looking into the bddeb cloud tests branch again20:09
magicalChickenit currently still requires tags to be in place20:09
magicalChickenbut we were talking before about updating packages/bddeb and the bddeb in a container feature to be able to generate a debian/ on its own20:09
magicalChickenand it may be possible to have some sort of workaround to have a temporary tag with that20:10
powersjso remind me, that branch was to automatically build a deb, however in this case I'm just trying to run tox, which will package up the code. I don't exactly what a deb in that case.20:10
magicalChickenyeah that was to build a deb from current tree and run cloud-tests with the deb20:11
magicalChickenso not quite the same thing, nvm20:11
powersjI still think this should be "fixed" somehow, as this means the person proposing the merge definitely did not run tox, but also could not run tox until they know that they need to pull the tags20:12
magicalChickeni think they could still have the tags locally, they just forgot to push the tags out to their repo20:12
magicalChickenthat's what happened with mine before20:12
powersjah right20:13
powersjput what other projects require you to push tags and keep them up-to-date...20:13
magicalChickenit may also work to just have git pull tags from the main repo20:13
powersjmagicalChicken: is git clone for you slow at times?20:14
powersjI've noticed it can be, but this is a first: http://paste.ubuntu.com/24126670/20:14
magicalChickenlaunchpad sometimes times out on me for random stuff, it may just be a glitch20:14
naccpowersj: working fine for me at home20:15
magicalChickenits working for me too right now20:15
powersjnacc: thx20:15
powersjk20:15
Odd_Blokesmoser: Can one override the frequency of a config module using /etc/cloud.cfg{,.d/*}?22:10
smoseryes.22:10
smoserhttps://git.launchpad.net/cloud-init/tree/doc/examples/cloud-config.txt#n14722:11
smoserbut not without re-declaring the list.22:11
smoserand generally you shouldnot have to do that.22:11
Odd_Blokesmoser: We have a cloud who want to do password configuration (i.e. cc_set_password) every boot; thoughts on how else we could enable them to do that?22:12
smoserwell cloud-init wont re-read the metadata ever boot, so it wouldnt know that that got changed.22:14
smoserso without more thinking i dont have an easy way to do what you're after.22:14
Odd_BlokeAh, right, of course.22:14
Odd_BlokeAh, OK, perhaps we've misunderstood what they were trying to achieve.22:16
Odd_Bloke(They ship a modified cc_set_password.py.)22:16
rharper=(22:16
* powersj pushes the 'go go ci button'22:18
=== rangerpb is now known as rangerpbzzzz
powersjwell... first round of CI looks good :D23:07
jgrimm\o/23:08

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