/srv/irclogs.ubuntu.com/2020/03/31/#cloud-init.txt

=== tds9 is now known as tds
meenaOdd_Bloke: i see you've started using types! yay! … uhm, what do we get from that? do we have type checkers in the test system?11:33
=== hjensas is now known as hjensas|afk
Odd_Blokemeena: For now, they serve as documentation.  Per https://cloudinit.readthedocs.io/en/latest/topics/hacking.html#type-annotations, we can't use the typing module yet, so we won't really be able to annotate much of the codebase.13:38
rick_h_type hints vs type enforcement?13:39
Odd_BlokeIt's really all type hinting, because Python doesn't use the type annotations at runtime at all.13:47
Odd_BlokeBut yeah, we won't have a CI check that enforces them for now.13:47
Odd_Blokemeena: I would expect @ing a person and commenting on a PR they opened to produce roughly the same notifications in GH.14:09
=== hjensas|afk is now known as hjensas
shibumihi, is dhclient really necessary?16:16
shibumiwhy is cloud-init not using systemd-networkd for dhcp?16:16
shibumiI got a bug report for it on arch: https://bugs.archlinux.org/task/66035?dev=16600&type%5B0%5D=&sev%5B0%5D=&due%5B0%5D=&cat%5B0%5D=&status%5B0%5D=open&percent%5B0%5D=&reported%5B0%5D=16:16
rharpershibumi: dhclient is used in early boot only to bring up nic to talk to IMDS;  after crawling metadata service, if the distro has a renderer cloud-init writes out network config in the requested format;16:18
rharperdhclient is required, on AWS, for example to enable interaction with the IMDS;16:18
blackboxswaaaaaand... it's about that time again :)16:19
rharperthe system is not configured to use dhclient and we do not keep the dhclient around16:19
blackboxsw#startmeeting cloud-init status meeting16:19
meetingologyMeeting started Tue Mar 31 16:19:14 2020 UTC.  The chair is blackboxsw. Information about MeetBot at http://wiki.ubuntu.com/meetingology.16:19
meetingologyAvailable commands: action commands idea info link nick16:19
blackboxswHello and welcome to another cloud-init community status meeting folks. please feel free to continue any current conversations16:19
blackboxswI'll interleave status meeting notes with existing conversations.16:20
blackboxsw#chair Odd_Bloke smoser rharper16:20
meetingologyCurrent chairs: Odd_Bloke blackboxsw rharper smoser16:20
blackboxswour IRC channel topic carries the next planned status meeting for those that wish to participate.  All are welcome to interject or drive converstation topics here16:20
blackboxswlet's set that now. to +2 weeks from now16:21
=== blackboxsw changed the topic of #cloud-init to: pull-requests https://git.io/JeVed | Meeting minutes: https://goo.gl/mrHdaj | Next status meeting April 14 16:15 UTC | 19.4 (Dec 17) drops Py2.7 : origin/stable-19.4 | 20.1 (Feb 18) | https://bugs.launchpad.net/cloud-init/+filebug
blackboxswApril 14th, same time16:21
shibumirharper: thanks!16:21
blackboxsw Previous meeting notes are here16:22
blackboxsw#link https://cloud-init.github.io/status-2020-03-10.html#status-2020-03-1016:22
blackboxswThe topics we generally cover in this meeting are the following: Previous Actions, Recent Changes, In-progress Development, Community Charter, Upcoming Meetings, Office Hours (~30 mins).16:22
blackboxsw#topic Previous Actions16:22
blackboxswand from last meeting, no previous actions were unaccounted for.16:23
blackboxsw#topic Recent Changes16:23
blackboxsw recent changes landed in tip of master via git log --since 2020-03-1016:24
blackboxsw#link https://paste.ubuntu.com/p/55hqVCfnpV/16:24
rharpershibumi: also, the issue with openstack metadata service not being found is likely related to classless statci route support in the EphemeralDHCP class in cloud-init, we fixed an issue there last fall,  https://github.com/canonical/cloud-init/commit/07b17236be5665bb552c7460102bcd07bf8f2be816:24
rharpershibumi: long term, we would like to replace dhclient with a python-based one;  we've just not had a change to implement a minimal dhclient in python only16:24
blackboxswin that paste or recent changes, some big items have landed since last we 'met':   both NetBSD and OpenBSD distro support is now added to cloud-init. vmware support of guest info gc status, SAP Converged cloud gets identified as OpenStack and Ubuntu Focal prioritizing netplan over ifupdown if both are present16:27
blackboxswAlso Odd_Bloke has been landing and improving cloud-init automated process with near daily branches. github actions/workflows and docs about review and coding style expectations are landing to make it a lot easier for upstream to help speed contributions and reviews16:28
blackboxswAlso, you'll note a lot of dropping python six and other py2-related artifacts from our codebase. Since upstream support is py3.4 or later we can simplify and prune a lot of the vestigial py2 functionality.16:29
blackboxswAhh I also forgot, Ec2 now by default (Ubuntu Focal or tip of cloud-init) renders  full networking, including secondary IPv4/IPv6 addresses, for all interfaces attached to a VM based on network config supplied by IMDS. Old releases of cloud-init used to only render basic networking on the primary (eth0) nic.16:31
blackboxsw#topic In-progress Development16:32
blackboxswthanks Goneri and meena for all your the BSD ongoing development and support work  there BTW16:33
* Goneri waves16:33
blackboxsw:)     upstream is focused a bit on continuing to clean up py2 remnants from tip, adding support for reading netplan configuration from initramfs and continuing to add automation to the github development and release process/tooling to speed reviews.16:38
blackboxswwe are also hammering the review queue a bit better than in the past with daily PR assignments to ensure the system remains more efficient16:39
blackboxswthanks again for all the code submits folks!16:40
blackboxswwaiting In the wings we will eventually get around to handling the network hotplug solution for cloud-init (if configured)16:41
blackboxsw#topic  Community Charter16:42
blackboxswThis section is generally reserved to discuss any general community goals for cloud-init. Per last cloud-init summit we discussed prioritizing the following:16:43
blackboxsw* json schema validation for each cloudinit/config/cc_*py module16:43
blackboxsw* correcting, extending stale datasource documentation under doc/rtd/topics/datasources16:43
blackboxswthose tasks are easy to split up and so we set a goal to try to chunk through it this year16:44
blackboxswthey are also categorized as bugs for easy pickup/assignment for anyone interested.16:44
blackboxsw#link https://bugs.launchpad.net/cloud-init/+bugs?field.tag=bitesize16:45
blackboxsw#topic Office hours (next ~30 mins)16:45
blackboxswthanks for listening to the above......   In this section a couple upstream devs should be available with eyes on the channel for the next 30 minutes for and bug, feature, PR review questions or concerns.16:46
blackboxswagain thanks for joining. We'll have this meeting again in 2 weeks16:46
blackboxswI'm going to spend this time working on our cherry-pick script for publishing the Netplan -> ENI work into Ubuntu Focal today.16:47
blackboxswThanks for tuning in.17:17
blackboxsw#endmeeting17:17
meetingologyMeeting ended Tue Mar 31 17:17:39 2020 UTC.17:17
meetingologyMinutes:        http://ubottu.com/meetingology/logs/cloud-init/2020/cloud-init.2020-03-31-16.19.moin.txt17:17
* meena blames baby for *not* doing BSD work or support lately.17:35
blackboxswohhhh sssssuuuuure meena. blame it on the baby ;) that's why I have kids too ;)17:47
blackboxswthat, and I needed someone in the house that also likes board games17:48
meenacurrently, she loves screaming, a lot. And honestly, as the youth say: mood.17:49
blackboxsw:)17:50
rick_h_that's the problem, you think "a kid, yea we're going to do all these fun things together!"17:56
rick_h_and then you realize none of that starts until you put in a LOT of foundation time (like 3+ years)17:56
blackboxswtrue story17:57
sarnold"have you considered a puppy instead?"17:58
meenasarnold: we already have 2 cats (they're not fans)18:27
sarnoldhaha :)18:29
GaffelDo I have to resort to raw commands to create a system user and group where a home dir is created and its ownership and security label is set properly? (UID and GID below 1000, but create home)20:13
Odd_BlokeGaffel: It does look like not creating a homedir for a system user is hardcoded, unfortunately: https://github.com/canonical/cloud-init/blob/master/cloudinit/distros/__init__.py#L471-L47820:22
GaffelI was worried about that. That's not how useradd works though, which makes me disappointed. :[20:23
GaffelI want to create a user+group with a UID & GID between 500 and 999 that also creates a home directory with the right ownership and SELinux labels. But I guess I'll have to do it differently.20:24
Odd_BlokeYeah, I'm not sure what the reasoning there is, but it looks like that behaviour has been in place since 2012.20:26
Odd_BlokeIt certainly seems like overriding that default behaviour would be desirable.20:26
Odd_BlokeThis looks like https://bugs.launchpad.net/cloud-init/+bug/1864728 to em.20:26
ubot5Ubuntu bug 1864728 in cloud-init "Unable to create interactive "system" user" [Undecided,Incomplete]20:26
Odd_Bloke*me20:26
Odd_BlokeGaffel: Do you have any interest in addressing the issue in cloud-init? ^_^20:27
GaffelChanging the behaviour will be tricky, won't it?20:27
GaffelI guess no_create_home could be checked and the current behaviour would remain unless you set that to false.20:28
GaffelI assume that leaving it blank results in none though.20:29
Odd_BlokeYeah, I think you're along the right path with using no_create_home.20:30
Odd_BlokeThe defaulting would be a little tricky, but not super hard once you've reasoned out the matrix of possible combinations.20:32
GaffelI have the same usecase and OS family as that person. I'm trying to introduce more security hardening at work. I'll look into this. :]20:39
GaffelI'm new to cloud-init so I'll do my best. :)20:43
Odd_BlokeGaffel: \o/ You'll want to read through https://cloudinit.readthedocs.io/en/latest/topics/hacking.html to get started.20:46
Odd_BlokeGaffel: Though actually the CLA info there is out-of-date, you can just fill in your GH username and that's sufficient.20:46
Odd_Bloke(The wording here predates that field being in the CLA form. :p)20:46
GaffelYou mean the field where it wants my Launchpad ID?20:53
GaffelOr just leave that blank?20:53
GaffelI can't even read the text in the verification image. :/20:56
rharperOdd_Bloke: I guess we should update the docs and mention the field in the form20:58
Odd_Blokerharper: Yep, addressing that now.20:58
rharperawesome!20:58
GaffelAnd do I really need to enter my physical address? :|20:59
Odd_BlokeAFAIK, you do.21:00
Gaffel:/21:01
Odd_Blokerharper: https://github.com/canonical/cloud-init/pull/29721:06
rharperreviewing21:06

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