/srv/irclogs.ubuntu.com/2016/10/21/#cloud-init.txt

=== rangerpbzzzz is now known as rangerpb
nrezinornwhat populates netcfg ? it seems to be a merger of what a system has configured already and what cloud-init has in its datasource.  running into an issue where its trying to parse 'loopback' and fails to set up eth019:46
nrezinorntemp fixed by adding an extra elif  line to handle the subnet_type == 'loopback', and that works so far.  the issue after that is that the default gateway is not being set in the ifcfg-eth0 file19:48
nrezinornany ideas on where to look / how to fix it "proper"19:48
smosernrezinorn, its quite possible it doesnt "clean" the old state out well.20:46
smoserthat code path can be largely unit tested i think.20:46
smoserto let you play more quickly20:47
mdorman“can be largely unit tested” meaning the tests don’t exist at this point?21:00
mdormanwhat we did as a quick fix was just added a conditional for subnet_type == ‘loopback’ with a pass here:  https://git.launchpad.net/cloud-init/tree/cloudinit/net/sysconfig.py#n222   although i’m not totally clear why cloud-init is (re)configuring the lo interface in the first place.21:03
mdormanso not clear to me if what we did to fix this is appropriate or not21:04
mdormandidn’t have a chance to look at it any further today but can probably pick back up next week21:05
smosermdorman, no.. is tested, just meaning you can modify the unit tests to do it.21:21
mdormangottcha21:22
=== rangerpb is now known as rangerpbzzzz
=== barjavel.freenode.net changed the topic of #cloud-init to: cloud-init 0.7.8 released 2016-09-12. 0.7.9 open. reviews: https://code.launchpad.net/~cloud-init-dev/cloud-init/+git/cloud-init/+ref/master/+activereviews
=== rcj is now known as Guest57444
=== aberdine is now known as Guest88961

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