[01:20] blackboxsw: i'im goin gto upload with the IBMCloud to ubuntu [01:20] just the ubuntu/devel as it is [01:37] +1 smoser [09:17] hi, I am testing with the NoCloud provider and noticed that cloud-init will try to reconfigure if I change the instanceid; is there a way to only allow cloud-init to run once [09:18] this is currently on a fedora atomic image === shardy is now known as shardy_afk === shardy_afk is now known as shardy [15:46] apollo13: I think you could touch /etc/cloud/cloud-init.disabled after first boot and cloud-init won't do anything anymore [15:49] per http://cloudinit.readthedocs.io/en/latest/topics/boot.html#generator [15:59] apollo13: also manual_cache_clean: true would work as well; https://git.launchpad.net/cloud-init/tree/doc/examples/cloud-config.txt#n450 [17:06] smoser: comments on https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/342948 [17:10] rharper: I'll pull together a quick patch adding ntp:config key validation and post it [17:13] thx [19:18] blackboxsw: https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/342948 updated. [19:18] ntp? [19:19] on that now. [20:14] rharper: smoser my final patch suggestion ntp validation http://paste.ubuntu.com/p/dcKcYrM5ty/ [20:15] i had just posted some coments there. === natorious_ is now known as natorious === powersj_ is now known as powersj === voja_ is now known as voja === holser___ is now known as holser_ === aimeeu__ is now known as aimeeu [20:32] rharper: i will check back in later. i have to go now. [20:32] but your issues with util.read_file_or_url [20:32] is that it was just busted. [20:32] it is supposed to return bytes in .contents [20:33] and str() should give you text on that thing. [20:33] https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/342948 merged [20:36] you could just as well use load_file sinc eyou'rre loading a file in all cases [20:36] http://paste.ubuntu.com/p/fHSjws2hR9/ [20:37] that set of changes works correclty, and uses the response of read_file_or_url "correctly" such that it works witih a url or a file. [20:51] addressed review comments on https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/342761 [20:51] changed description [21:14] smoser: my issue was that in tox -e python2.7 without my code changes, jinja blows up, not the unittests; [21:15] jinja2 's render_template expects decoded str (ie, not utf-8); but it does load_file() on the template (chrony) and gets back utf-8 chars; those have to be decoded before you can call jinja.render_template() [21:16] once we decode the contents before rendering, the next issue was python2.7 calling str.decode() fails because the default encoding for python2.7 wasn't UTF-8; [21:16] that's my analysis; [21:17] I'm working on switching to attribute; I like that better than the calling in init; let's see if that makes it easier [21:51] something is fishy there still [22:24] smoser: yes, the simple recreate is the test using the "real' templates in test_handle_ntp*.py; if you run that one under py2.7 and remove the util.decode_text() calls, you'll see the jinja error [22:24] blackboxsw: thanks for the schema update; pulling that in [22:25] smoser: I'm just about ready to push an update switch to property for the preferred_ntp_clients; that works quite well and avoids mocking in non-ntp related test cases that use distro objects [22:25] np rharper [22:26] ok, i've pushed, I've not squashed yet but will do so before we land [22:46] lander squashes so you don't have to [22:54] blackboxsw: interesting [22:54] * rharper likes to squash