/srv/irclogs.ubuntu.com/2018/04/02/#cloud-init.txt

blackboxswlook out, It's that time again.16:05
blackboxsw#startmeeting bi-weekly status meeting16:05
meetingologyMeeting started Mon Apr  2 16:05:50 2018 UTC.  The chair is blackboxsw. Information about MeetBot at http://wiki.ubuntu.com/meetingology.16:05
meetingologyAvailable commands: action commands idea info link nick16:05
blackboxswWelcome to the post-Easter episode of cloud-init's status meeting 🐰16:06
blackboxswToday's meeting will probably be light as we are fairly light on attendees given various holiday schedules16:06
rharpero/16:07
rharpernice rabbit ears16:07
blackboxswheya! As always, we'll go through recent changes, in progress work and ~30 minutes of office hours16:07
blackboxswfeel free to interject and ask quesitons at any time.16:08
blackboxsw#topic Recent Changes16:08
blackboxswHere's a brief run down of what we have committed to master in the last couple weeks16:09
blackboxsw- Support for setting hostname from metadata prior to network bringup.16:10
blackboxsw  This fixes vsphere multi-vm deployments all coming up with the same16:10
blackboxsw  'ubuntu' hostname. [LP: #1746455](http://pad.lv/1746455)16:10
blackboxsw- Support initramfs iscsi root so network devices aren't disconnected16:10
blackboxsw  before shutdown16:10
blackboxsw- Added cloud-config module `cc_snap` which enables loading snap16:10
blackboxsw  assertions, configuring snapd and installing snap packages on Ubuntu.16:10
ubot5Launchpad bug 1746455 in cloud-init "cloud-init vSphere cloud provider DHCP unique hostname issue" [High,Fix released]16:10
blackboxsw  Deprecated `cc_snappy` and `cc_snap_config` modules.16:10
blackboxsw- Make salt minion work on FreeBSD (Dominic Schlegel)16:10
blackboxsw  [LP:#1721503](http://pad.lv/1721503)16:10
blackboxsw- Simplify compound conditionals (Rémy Léone)16:10
ubot5Launchpad bug 1721503 in cloud-init "salt module not able to be used on FreeBSD" [Medium,Fix released]16:10
blackboxsw- Change some list creation and population to literals (Rémy Léone)16:10
blackboxsw- Add puppet 4 support configurable in `cc_puppet` module (Romanos16:10
blackboxsw  Skiadas)16:10
blackboxsw- Fix datasouce Azure `get_hostname` function for hostname bounce16:10
blackboxsw  (Douglas Jordan) [LP:#1754495](http://pad.lv/1754495)16:10
blackboxsw- OpenNebula datasource now uses network config v2 to support IPv616:10
ubot5Launchpad bug 1755965 in cloud-init (Ubuntu) "duplicate for #1754495 util.subp regression: no longer accept commands as string" [Critical,Fix released]16:10
blackboxsw  config (Akihiko Ota)16:10
blackboxsw- Add Hetzner Cloud datasource support (Markus Schade)16:10
blackboxswThe highlights of this work that will affect various clouds:   hostname setting before network bringup, in cloud-init's init-local stage.16:11
blackboxswso if your cloud's metadata provides hostname information (per your instance creation) that hostname gets set before any potential dhcp discovery on the instance. This is a big win for Azure and may allow us to avoid/deprecate some of the hostname_bounce functionality16:12
blackboxswwhich was baked in to re-dhcp in order to publish updated hostname information to DDNS16:13
blackboxswWe also have landed support for two new clouds: Hetzner Cloud and IBMCloud. A big thanks to Markus Schade for the Hetzner work there and smoser for the IBMCloud datasource16:14
blackboxswdo3meli (Dominic Schlegel) has also been on a blitz fixing and updating a lot of FreeBSD support in cloud-init tip so thank you sir for that work as well.16:15
blackboxswWe've just also landed some zfs resize support by rharper as well that should be making it's way into your friendly neighborhood Ubuntu Bionic series in a cloud near you16:16
blackboxswanything else I'm missing on rharper or powersj ?16:16
blackboxswahh hold the phone16:16
rharperblackboxsw: well, not my zfs-resize16:16
rharperbut I do have some fixes for it16:17
rharper https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+ref/fix/cc_resizefs_on_zfs_root16:17
blackboxswWe officially released cloud-init 18.2  in master. There is an 18.2 tag in the repo for folks wanting to take an early cut of it.16:17
rharperour ci-test backend normally runs with zfs, it's not right now so it missed a couple edge cases that we need to handle16:17
blackboxswPer cloud-init 18.2 here is an email sent to the cloud-init mailing list describing the details: https://lists.launchpad.net/cloud-init/msg00145.html16:18
blackboxsw#link https://lists.launchpad.net/cloud-init/msg00145.html16:18
blackboxsw#link https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+ref/fix/cc_resizefs_on_zfs_root16:18
blackboxsw#topic In-progress Development16:19
blackboxswThe upstream team has released 18,2 to Bionic as of last week, and we started an Ubuntu SRU process into Xenial and Artful.16:20
blackboxswWe expect the 18.2 to be present in Xenial and Artful within 2 weeks in your cloud, so if you are waiting on a feature, it won't be very long.16:21
blackboxswAlso in-progress are some of rharper's zfs fixes, and some exception callback cleanup that will affect Azure, EC2, OpenStack and  Scaleway clouds.16:22
blackboxsw#link  https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+ref/fix/cc_resizefs_on_zfs_root16:22
blackboxsw#link https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/34200716:22
blackboxswAnd we are doing our part to finally purge net-tools dependencies from cloud-init (in favor of iproute2)16:23
blackboxsw#link https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/34242816:23
rharperblackboxsw: I responded to your ip -6 route q from last week, did you see that ?16:24
blackboxswrharper: haven't yet, but I'll grab those comments today for sure (I think I missed some of your earlier review comments)16:24
rharperok16:24
rharperthe tl;dr for that one is that you want this: ip -6 route list table all16:25
blackboxswahh excellent, I was wondering why we were missing content for local routes etc16:25
rharperright16:25
blackboxswthanks16:25
rharpernp16:26
blackboxswalso, on our continuous integration front , powersj  has put up a branch that I'd like to see us land with some ssh improvements16:26
blackboxsw#link https://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/34201016:26
powersj:) yep16:26
blackboxswany other in-progress work worth noting?16:26
blackboxswIntereseted parties can always track our public trello board for a glimpse of what we are working on16:27
blackboxsw#link https://trello.com/b/hFtWKUn3/daily-cloud-init-curtin16:27
blackboxsw#topic Office Hours (next ~30 minutes)16:27
blackboxswWe'll all have eyes glued to the screen for the next 30 minutes for rants, feature discussion and bug work.16:28
blackboxswWith that, the floor is open for any topics. Thanks for tuning in.16:29
blackboxswMy day today will be Ubuntu SRU(stable release update)-related, so I'm getting on rharper's zfs branch now and they running a couple manual tests on ec2/azure/openstack16:30
rharper+116:30
rharperoh, the ntp-spec update is ready for review and testing16:30
rharperhttps://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/33943816:31
blackboxswahh +1 we want that in too16:32
blackboxsw#link https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/33943816:32
blackboxswAlrighty, happy spring break all.17:02
blackboxswNext meeting will be two weeks from today.17:02
blackboxswpowersj: rharper 4/16 look good for folks?17:03
powersj+1 from me17:03
=== blackboxsw changed the topic of #cloud-init to: Reviews: http://bit.ly/ci-reviews | Meeting minutes: https://goo.gl/mrHdaj | Next status meeting: Monday 4/16 16:00 UTC | cloud-init 18.2 released (03/28/2018)
blackboxsw#endmeeting17:03
meetingologyMeeting ended Mon Apr  2 17:03:58 2018 UTC.17:03
meetingologyMinutes:        http://ubottu.com/meetingology/logs/cloud-init/2018/cloud-init.2018-04-02-16.05.moin.txt17:03
blackboxswrharper: done with https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/34246718:26
blackboxswminor nit18:26
rharperk18:26
rharperblackboxsw: added18:32
rharperpushed update18:32
rharperblackboxsw: ci says yes, are you going to run the lander or should I for the merge ?19:25
blackboxswrharper: yep, yep, I'll run the lander.  I was just getting through your ntp one19:26
rharpercool19:26
blackboxswcouple doc nits (on all schema dedent) I'll just post that now. How do I ascertain on timsyncd that the proper settings were honored, systemctl status systemd-timesyncd is not really too helpful19:27
blackboxswdefault timsync service detection looks to work fine on ubuntu19:27
blackboxswjust going though a couple of tests19:27
blackboxswlanded https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/34246719:34
rharperblackboxsw: we *cant* really19:36
rharperso the ci-test checks that we wrote the conf file correctly19:37
blackboxswhrm, also when I have ntp installed, should I expect timesyncd to also report that it is configured and running?19:37
rharpervia journalctl -u systemd-timesyncd.service, if you know the ips, it shows you stuff, but there is no *direct* way to confirm configuration19:37
blackboxsw   Active: active (running) since Mon 2018-04-02 19:34:37 UTC; 2min 15s ago19:37
rharperso, in containers, no19:37
rharperntp is special in that it just continues even if it can't modify host clock (you'll see a failure due to missing CAP_SYS_TIME)19:38
rharperbut, timesyncd and chrony both have a CondtionContainer!19:38
rharperwhich prevents them from actually starting in a container19:38
rharper % journalctl -o short-precise -u systemd-timesyncd19:38
rharper-- Logs begin at Thu 2018-03-15 18:44:40 CDT, end at Mon 2018-04-02 14:38:12 CDT. --19:38
rharperMar 20 16:07:20.165833 neipa systemd-timesyncd[1962]: Timed out waiting for reply from [2001:67c:1560:8003::c8]:123 (ntp.ubuntu.com).19:38
blackboxswI'm on ec2 instances which is xen right.19:39
rharperah, that should work fine19:40
blackboxswhttps://www.irccloud.com/pastebin/rZTvr122/19:40
rharperyeah, vms are OK19:40
rharpercontainers which share the same kernel (and time) don't need to sync themselves19:41
blackboxswyeah, I just forgot if there was a conflict issue w/ timesyncd or ntp where one or the other realizes that another client is running an falls over19:41
rharpervms maintain their own clock offset due to how time is kept (in registers)19:41
rharperso, xenial only, timesyncd won't stop if ntp or any other client is installed19:41
blackboxswok yeah I'm on xenial and seeing that19:41
rharperin bionic, there is a conficts in timesyncd config which forces timesyncd to stop if ntp/chrony is installed19:41
blackboxswthanks for the context. had forgotten19:42
blackboxswrharper: another round on ntp https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/33943820:45
blackboxswI'm almost there.20:45
blackboxswbut I'll probably have a few more comments20:45
rharpersure20:45
rharperblackboxsw: ok, I already pushed the rebase to drop the zfs, and I *think* all of the doc changes;  working on the rest of your comments20:52
rharperblackboxsw: maybe you can help, the decode_text() is subtly different than decode_binary(); note we testing if the input is a six.binary_type  and if so decode, where as the other case test if it's a string-type and converts;20:56
blackboxsws/check_exec/check_exe/ throughout20:56
blackboxswoops, I may have misread those functions. looking again20:56
rharperblackboxsw: generally this was to work around the fact that if we util.load_file() on our chrony template, we get a UTF-8 char that's not decodeable without specifying the encoding value, py27 needed this before we call the jinja template render code20:57
blackboxswhrm, not specifically hitting the problem just on load_file but you are talking during template render we hit this issue?21:16
blackboxswload_file in py27 on all template files worked for me the additional decode_text. and I see you folded that into the detect_template call; will check21:17
blackboxswrharper: dpb1 I know I'm not going to be able to wrap up the ntp spec branch reviews today and I'd like to get both that and powersj branch in before we re-upload to bionic and start a refresh on the SRU into xenial and artful. So, can we wait to post a bionic upload on zfs fixes until tomorrow?21:20
blackboxswrharper: I'm looking to you for "criticality" on zfs resize how much do we want to do two uploads to bionic today and tomorrow?21:21
* dpb1 parses21:22
rharperblackboxsw: tox -e py27 blows up without the decode_text wrapper when redendering from the "real" templates in tree21:22
dpb1blackboxsw: rharper, I mean, we should put all those in the upload to bionic, why waste cycles?21:23
dpb1tomorrow sounds like a better target21:23
blackboxswright, I'm for waiting on uploads to bionic until we get everything we want21:23
dpb1on one hand, there is no reason to wait21:23
dpb1it's like "committing" your source code21:23
rharperright, push what we want (or can) to master today, and then prepare an upload tomorrow21:23
dpb1however21:23
dpb1in this case, we don't have the upload rights at work21:24
blackboxswright, commiting the source code is easy, but upload rights being the 'hard' at the moment21:24
dpb1so, let's just be a bit judicious21:24
blackboxsw:)21:24
blackboxswok thx21:24
blackboxswwill continue on ntp spec branch review/assessment21:24
dpb1ok21:24
dpb1yes, lining it up for tomorrow: +121:24
blackboxswinstead of changing gears for upload21:24
blackboxswtomorrow it is21:25
blackboxswok rharper I think I'm done on ntp config comments. a couple more timeconsuming changes requested for ntp config validation.21:52
rharpersure21:53

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