=== rangerpb is now known as baude [14:29] hatifnatt: hrm, that looks like a bug, could you file one https://bugs.launchpad.net/cloud-init/+filebug with your config that you posted and log ? [14:50] rharper: i think hatifnatt posted on bug 1746455 and i responded there. [14:51] bug 1746455 in cloud-init "cloud-init vSphere cloud provider DHCP unique hostname issue" [High,Fix released] https://launchpad.net/bugs/1746455 [15:03] Hi everyone! [15:11] hi dmbaturin [15:13] What determines which of these: https://github.com/cloud-init/cloud-init/tree/master/cloudinit/distros will be run? [15:14] Also, what's the policy on including new distros? [15:14] dmbaturin: /etc/cloud/cloud.cfg system_info: distro [15:15] or any override of the same system_info:distro key present in yaml files in /etc/clouc/cloud.cfg.d/* [15:16] It' [15:16] I see, thanks. [15:17] dmbaturin: it'd be nice to have a merge proposal with a new distro module proposed against cloud init following the devel instructions @ http://cloudinit.readthedocs.io/en/latest/topics/hacking.html [15:18] then we can pull that into tip of cloud-init so that the new distro aligns with existing work. [15:18] we can help you get any branches in fairly quickly [15:20] I want to add support for cloud-init to VyOS (https://vyos.io), but since it's only loosely debian-based and the configuration system is completely different, we need to have cloud-init interact with its config system specifically, so I'm looking how I can make that integration. [15:20] Let me read the hacking guidelines. [15:35] What I'm supposed to put in the "Please add the Canonical Project Manager or contact" field? [15:35] In the contributor agreement. [15:37] smoser: ^ [15:38] dmbaturin: are you signing for just you? or for a company? [15:39] dmbaturin: if just for an individual, writing David Britton is fine. [15:39] (that's me) [15:40] In the end, it's just for Canonical legal to have a contact point in case they aren't sure why you are signing. [15:41] As an individual. Can it later be converted to a company contact at some point? [15:41] dmbaturin: at that future point, just have your company rep do a new one [15:42] Well, if anyone is going to be a company rep, most likely that will be me again. [15:43] dmbaturin: ya, you can follow up later with that once you get confirmation from the right entity at your company [15:43] it shouldn't lock you out or anything [15:43] Ah, ok. Signing for myself for now then. [15:49] All contributions to cloud-init must be a allowed to be dual licensed under GPLv3 or Apache 2.0? [15:52] dmbaturin: yes, the current project is licensed gpl/apache2 https://github.com/cloud-init/cloud-init/blob/master/LICENSE [15:54] dmbaturin: from a legal perspective, any thing you do that is licensed apache 2.0 is effectively allowed to be licensed GPLv3 [15:55] (per the FSF, thats not my legal opinion) [15:55] Yes, I know. The original internal libraries of VyOS are GPL, need to be careful not to link to them then. [15:56] err... more clear, that is the FSF's legal opinion, and I do not disagree... I just wanted to be clear that I was not stating *my* legal opinion (which would have no value as IANAL) [15:56] We didn't choose it, our own new libs are either LGPL or MIT, but the ones that were there before the fork are GPL. [15:57] Oh, don't worry, even if you were a lawyer, from worldwide perspective it would be just as worthless as when you are not. ;) [15:57] hah [15:59] I mean, in quite a few jurisdictions GPL (or Apache) would technically be legally void just because it's not in their national language; and in an even greater number of jurisdictions no one really tried it in court. [16:01] A more practical question: would it be fine to introduce dependencies on something that will be in the target distro into those distro-specific modules? [16:05] ok looks like we're at the cloud-init status meeting time again (delayed 1 day for us holiday) [16:05] #startmeeting Cloud-init bi-weekly status meeting [16:05] Meeting started Tue May 29 16:05:51 2018 UTC. The chair is blackboxsw. Information about MeetBot at http://wiki.ubuntu.com/meetingology. [16:05] Available commands: action commands idea info link nick [16:06] dmbaturin: there will be a time for open questions in this meeting in just a few minutes. :) [16:06] so you will have the right people around [16:06] welcome folks to another cloud-init community status meeting, today's meeting delayed by one day due to US holiday. Next meeting will be June 11th. same time [16:07] I've added an actions topic to this meeting so we can wrap up or carry over any actions discussed last time [16:08] the topics will be Previous Actions, Recent Changes, In-progress Development, and Office Hours [16:08] Oh, cool. [16:09] As always notes will be posted to the following site [16:09] #link https://cloud-init.github.io/ [16:09] welcome dmbaturin good timing. :) [16:09] #topic Previous Actions [16:09] Yeah, I'm just in time it seems. ;) [16:09] 2 weeks ago we had a couple of followup items that needed some extra review: [16:10] * ACTION: blackboxsw review distro dection and empty modules list [16:10] * ACTION: robjo review existing chrony support in master per rharper's work [16:10] * ACTION: blackboxsw carryover network hotplug vs network maintenance on reboot-only [16:10] we did get through robjo's branches on distro *detection* and landed them\ [16:11] and I know our team also discussed a potential approach to network hotplug vs network maintenance to better enable SmartOs folks who want to handle network config across reboots only [16:12] I think we decided we needed to draw up a quick shared document on a proposal which would allow for maintenance on reboots only vs true hotplug. [16:12] I'll carry over that action to write up a doc on this and send it to list by the next meeting [16:13] ACTION blackboxsw write up short doc/branch on hotplug versus network maintenance on reboot for comment [16:13] and I believe robjo from SuSE was able to get through rharper's chrony support branch with a couple comments too [16:13] so no other actions from last meeting [16:13] #topic Recent Changes [16:14] this following content landed in cloud init tip over the last two weeks [16:14] - Do not use the systemd_prefix macro, not available in this environment [16:14] [Robert Schweikert] [16:14] - doc: Add config info to ec2, openstack and cloudstack datasource docs [16:14] [Chad Smith] [16:14] - Enable SmartOS network metadata to work with netplan via per-subnet [16:14] routes [Dan McDonald] (LP: #1763512) [16:14] - openstack: Allow discovery in init-local using dhclient in a sandbox. [16:14] Launchpad bug 1763512 in cloud-init "DataSourceSmartOS ignores sdc:routes" [Medium,Fix committed] https://launchpad.net/bugs/1763512 [16:14] lol! [16:14] welcome back [16:14] heh looks like I got kicked for the paste :) [16:14] blackboxsw: your last message was - openstack: Allow discovery in init-local using dhclient in a sandbox. [16:15] - tests: Avoid using https in httpretty, improve HttPretty test case. [16:15] 10:14 (LP: #1771659) [16:15] 10:14 - yaml_load/schema: Add invalid line and column nums to error message [16:15] 10:14 [Chad Smith] [16:15] 10:14 - Azure: Ignore NTFS mount errors when checking ephemeral drive [16:15] 10:14 [Paul Meyer] [16:15] Launchpad bug 1771659 in cloud-init "unittests fail in OpenSuSE 42.3 with httpretty issues" [Medium,Fix committed] https://launchpad.net/bugs/1771659 [16:15] - packages/brpm: Get proper dependencies for cmdline distro. [16:15] 10:14 - packages: Make rpm spec files patch in package version like in debs. [16:15] 10:14 - tools/run-container: replace tools/run-centos with more generic. [16:15] 10:14 - Update version.version_string to contain packaged version. (LP: #1770712) [16:15] 10:14 - cc_mounts: Do not add devices to fstab that are already present. [16:15] 10:14 [Lars Kellogg-Stedman] [16:15] 10:14 - ds-identify: ensure that we have certain tokens in PATH. (LP: #1771382) [16:15] 10:14 - tests: enable Ubuntu Cosmic in integration tests [Joshua Powers] [16:15] 10:14 - read_file_or_url: move to url_helper, fix bug in its FileResponse. [16:15] 10:14 - cloud_tests: help pylint [Ryan Harper] [16:15] 10:14 - flake8: fix flake8 errors in previous commit. [16:15] Launchpad bug 1770712 in cloud-init "It would be nice if cloud-init provides full version in logs" [Medium,Fix committed] https://launchpad.net/bugs/1770712 [16:15] 10:14 - typos: Fix spelling mistakes in cc_mounts.py log messages [Stephen Ford] [16:15] 10:14 - tests: restructure SSH and initial connections [Joshua Powers] [16:15] Launchpad bug 1771382 in cloud-init "ds-identify: fails to recognize NoCloud datasource on boot cause it does not have /sbin in $PATH and thus does not find blkid" [Low,Fix committed] https://launchpad.net/bugs/1771382 [16:15] 10:14 - ds-identify: recognize container-other as a container, test SmartOS. [16:15] ok hopefully we ended on ds-identify [16:16] Yes, we did. [16:16] excellent. sorry for the paste, I'll send this out to cloud-init@lists.canonical.com a day before the next meeting so we don't have to IRC flood here [16:17] make that cloud-init@lists.launchpad.net [16:17] also we finished our SRU (stable release update) of cloud-init 18.2.27 to Bionic. [16:18] Ubuntu Cosmic currently reflects near tip of master 18.2.59 [16:18] ok that's all for Recent Changes [16:18] anything I'm missing powersj ? [16:19] I think you are good [16:19] #topic In-progress Development [16:19] We track upstreams progress publicly in trello [16:19] #link https://trello.com/b/hFtWKUn3/daily-cloud-init-curtin [16:20] any blue labeled cards are cloud-init core work [16:21] we have been fixing a couple of bugs raised by our CI infrastructure on newer series of Ubuntu . currently a minor issue with salt minion on Bionic or later, and a couple of unit and integration test race conditions [16:23] big ticket items for cloud-init in the nearterm are metadata standardization across clouds, so cloud-init scripts/cloud-config template can source these cloud-provided values [16:24] Metadata standardization is something I really would like to see, if you need more hands for that, let me know. [16:24] the standardization of this instance-data will allow folks to script against any standard values provided to cloud-init in the same way on any cloud. Think hostname, fqdn, ip addrs, region name etc. [16:24] SSH keys too! [16:24] definitely dmbaturin I'll point you at a couple branches and what we're thinking [16:25] this conent will show up in /run/cloud-init/instance-data.json [16:25] #link https://cloudinit.readthedocs.io/en/latest/topics/datasources.html?highlight=instance-data#instance-data [16:26] and will also be referenced via jinja template variables [16:26] and a cloud-init query CLI [16:28] The data will be updated whenever a change in the environment is made? [16:28] Also powersj will be working toward a common library for cloud-testing in the weeks to come which cloud-init integration tests will leverage to drive lxd, ec2, openstack azure etc for a cloud testing [16:29] Also, will it be possible to stop cloud-init from doing anything but writing that data and starting an external script to process it? [16:30] dmbaturin: some of that functionality will be handled in the hotplug work we are starting on. There will be operations that can be triggered by either a hotplug monitor on metadata or by cloud-init's CLI to say query from cache (the instance-data.json file) versus query fresh/update [16:30] I see. [16:33] dmbaturin: cloud-inits init-local or init-network stage is what calls "get_data" on the give datasources to collect and write that data to file. Spawning a script is generally done through runcmd which happens in cloud-init's 'final' stage. Trying to decouple them (and skipping the modules:config stage) is possible by altering /etc/cloud/cloud.cfg in a custom image to specify no modules in a given stage. Though it's not [16:33] really recommeded as most of the modules only do a quick sanity check to see if they are specifically enabled before trying to do any realy work [16:33] we try to keep boot time as fast as possible and cut out the fat where we can [16:33] if that's the concern you had [16:34] ok I think that's it for In-progress development we can move to office hours for all addtional discussion [16:34] #topic Office Hours (next ~30 mins) [16:35] No, boot time is not the primary concern here, my concern is how to ensure no module is trying to treat our system as if it was a normal Debian (which either doesn't work or can potentially get the system into an inconsistent state). [16:36] I guess if we are having a real meeting, it may be a good idea to formally introduce myself and the project. :) [16:36] All topics of interest to cloud-init development can be brought up and discussed here. If there are merge proposal that need attention, bugs that need work just bring them up here we should have a few sets of eyes on this channel to discuss and comment [16:36] sounds good dmbaturin introduce away :) [16:37] Chad smith, Canonical, one of the maintainers of cloud-init. We have a few others here (some on vacation). powersj rharper smoser dpb1 all canonical as well. [16:38] idk who blackboxsw is [16:38] he might be crazy [16:38] frequently we have other distribution developers and cloud devs here too (SuSE, RedHat, Microsoft Azure, SmartOS, VMWare ) [16:38] heh, I'm just a bot [16:38] So, I'm one of the maintainers of the VyOS project (http://vyos.io). It's a distro for routers and firewalls whose primary goal is to be just like hardware routers, but not tied to any hardware, which includes a single config file and unified CLI with a commit/rollback model, versioning, and cross-checks (e.g. if you try to reference a non-existent NIC in DHCP configuration, commit fails). [16:39] nice to meet you dmbaturin [16:40] ahh makes sense. So debian-based os kindof, which is why you'd want to lock down what modules run. [16:40] We support all major virtualization platforms now in the sense of including all required drivers and utilities, but autoconfiguration on cloud platforms is only supported for EC2 via a custom script, so we are looking to ways to support more clouds, ideally without doing the work that is already done, or at least contributing those general things into something where more people can benegit from it, not just us. [16:41] alos dmbaturin each config module claims what distro is supported in a distro property, so you could vet what modules you want to run, and only add VyOS to the list of compatible distros. Config modules all live in source at cloudinit/config/cc_*py. [16:41] but we can discuss that confuig module support (or not) once you dig in to look at supporting VyOS [16:42] Yes, I'm thinking how exactly it should be done. [16:42] dmbaturin: cloud-init's a pretty good choice for getting that cloud-support breadth for free [16:43] * robjo sorry I'm late [16:43] robjo: sorry for the late change from yesterday's normal meet time [16:43] The least intrusive option would be to indeed improve the instance data format, so that we can simply pass it to our own script, which is why I'm all for contributing to it. [16:43] blackboxsw: noLnxDistro branch has not yet been merged [16:44] bah robjo ahh you're right [16:44] ok looks like you handled all review comments. I'll get it landed today [16:44] powersj: https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/347060 [16:44] ACTION blackboxsw land https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/336794 today [16:45] you moved that to 'approved' i guess ? [16:45] which meant the bot didnt comment (sorry blackboxsw ... interupted) [16:45] blackboxsw: Could you point me to the branches were the work on instance data is going on? [16:45] dmbaturin: here's one stale one I need to get back to this week. for enabling the template reference of instance-data.json content [16:46] smoser: ah sorry you are right [16:47] powersj: i'm going to land it anyway [16:47] also I think emptyStageOK branch should be ready to go [16:47] ok [16:47] hrm digging on the metadata branch. [16:48] dmbaturin: the trello card I'll be tying branches to is this one [16:48] #link https://trello.com/c/5n5B8x23/802-cloud-init-query-standardized-json-information [16:48] and https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/333904 should be on smoser plate [16:49] or anyone else who wants to pick it up and get it merged, please [16:49] #link https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/335290 [16:50] ^ dmbaturin initial template handling thoughts.... I have to create at least 2 branches to standardize datasource class apis to make the metadata content easier to generalize and I can add your launchpad username to the review as I put them up [16:50] smoser: re: hostname, yes, that's right; we probably could update the set_hostname docs to mention that detail w.r.t early hostname setting [16:51] blackboxsw: sorry to interrupt [16:51] dmbaturin: what's your launchpad user name? (mine's chad.smith) [16:51] blackboxsw: dmbaturin [16:51] heh. [16:51] thx [16:51] I'm too predictable. ;) [16:51] yeah, I lost a bet on blackboxsw :) [16:51] robjo: okay adding that branch too for review/landing [16:51] ACTION land https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/333904 [16:52] ACTION land https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/336794 [16:53] alright, any other topics or discussions? [16:53] Trello is integrated with launchpad? [16:55] dmbaturin: nope, just easy to use for our agile workflow. And simple to cut-paste links, assign people, drag to different lanes as the work progresses [16:55] has a lot of github integraiton if you get the right plugins [16:56] we have some minimal tooling that can talk to lauchpad and inject cards, but that's hand-written, not part of trello product. [16:59] I mean, if you add my username there, will I get any notifications about card changes. [16:59] dmbaturin: I get emails from all trello card moves,changes. let's see [16:59] I can subscribe you to the card (you want the standardized json stuff?) [17:00] Yes. [17:02] hrm can't find your user [17:02] ahh [17:03] I think I invited you [17:03] and added your user to the card so you can watch it progress [17:05] ok I think that about wraps up our meeting for today [17:05] any parting shots? [17:05] I'll post these notes to our github project page [17:05] #link https://cloud-init.github.io/ [17:05] thanks again all [17:05] #endmeeting [17:05] Meeting ended Tue May 29 17:05:59 2018 UTC. [17:05] Minutes: http://ubottu.com/meetingology/logs/cloud-init/2018/cloud-init.2018-05-29-16.05.moin.txt [17:07] blackboxsw: Since I'm not very familiar with the codebase as you can see, some tasks in form of "do this and that to this module" would be perfect. [17:07] blackboxsw: what was the bet? [17:09] dpb1: During world cup I thought the US was going to lose and Dean bet otherwise, at stake was that I had to change my nick from csmith -> blackboxsw (my former side-job company name) because dean(aka, Beret) thought that nick was cooler than name-based nick [17:10] blackboxsw: us men? [17:10] US men. a couple years ago [17:10] * blackboxsw secretly wanted to change my nick anyway [17:11] blackboxsw: seems like a safe bet on your part then, I guess it didn't work out [17:11] :) [17:11] it's amazing how I remember that so differently [17:12] ... and yes I invoked Beret in #cloud-init +1 bbsw [17:12] I question beret's sanity if he bet on the US men to win something in the world cup [17:12] heh, I think it was a semi's game, but Beret can correct me, now that the source of truth is here. :) [17:13] same here [17:13] that's why I remember it differently [17:13] heh, maybe I bet they would win [17:13] now US women would have been different [17:13] absolutely [17:16] hehe [17:16] the picture is now becoming clear [17:18] heh, good think meetingbot didn't record this conversation, otherwise I'd have too many sources of truth refuting my lies ;) [17:26] I use a name-based nick after 70's hackers. [17:31] rharper: re: "the change (agent_command using __builtin__) upstream to the AzureDS would break existing behavior in ubuntu xenial", is this by design or is there more work to be done to address this? :) === blackboxsw changed the topic of #cloud-init to: Reviews: http://bit.ly/ci-reviews | Meeting minutes: https://goo.gl/mrHdaj | Next status meeting: Monday 6/11 16:00 UTC | cloud-init 18.2 released (03/28/2018) [18:21] jocha: by design, we don't want to change behavior on Xenial instances [18:35] alrighty, thanks! === Beret- is now known as Beret