/srv/irclogs.ubuntu.com/2023/05/23/#cloud-init.txt

meenaI'm surprised we didn't push systemd reload into distro12:49
meenabut it's only used in cc_mounts.py12:49
meenaanyone alive yet?13:39
meenaI need some python help13:39
falcojrmeena: I'm here13:40
meenafalcojr: i moved some code that i had written for cc_rsyslog to distro/freebsd.py because it seems very useful… as in, I think I should use the pattern in cc_ntp as well13:41
meenahttps://github.com/canonical/cloud-init/pull/4119/files#diff-fe982edf26ef805fad5785749df9d688a6afd90927e8d1771f6a68da523fed2fR40-R5213:41
-ubottu:#cloud-init- Pull 4119 in canonical/cloud-init "cc_rsyslog: Refactor for better multi-platform support" [Open]13:41
meenahowever, when trying to call the code, https://github.com/canonical/cloud-init/pull/4119/files#diff-26c4aba2c01832721f68e7da42e48b3c8bb4bad90dfadca71bf482e55f6b2c70R375-R376 I'm now getting: TypeError: reload_rc() takes 0 positional arguments but 1 was given13:42
falcojryour def reload_rc() has a classmethod decorator but takes no cls parameter. Looks like it can probably be a @staticmethod instead (without having fully grokked what's happening)13:46
meenaa13:47
meenawhee. it's ready.14:16
meenawell, except for the failing tests14:16
meenacloudinit/config/cc_rsyslog.py:380: error: "Distro" has no attribute "reload_rc"14:19
meenamypy is not a fan of my @staticmethod14:19
meenafalcojr: i have opened the flood gates with this stupid pr14:30
=== cpaelzer_ is now known as cpaelzer
meenaThis was supposed to be a really easy PR14:30
meenaa quick distraction before I get back to refactoring cloudinit.net14:31
falcojrfrom what I've looked at its a good refractor though, so thanks! 15:02
meenafalcojr: just one more lint fix, and it's ready to go15:04
meenaactually, i have no idea what this means: /home/meena/src/cloud/cloud-init/cloudinit/config/cc_rsyslog.py:docstring of cloudinit.config.cc_rsyslog:10:Inline literal start-string without end-string.15:07
meenahmmm given how much code I've touched in that file, I might as well add my ©15:10
minimalwhat's that phrase? "you broke it, you bought it" ;-)15:16
falcojrmeena: Did you start the docstring without ending it? I.e., triple quote at the start but no triple quote at the end?15:20
meenafalcojr: nope. i didn't start anything15:20
meenathat line has been there for a few decades now15:20
* meena needs to go pick up her daughter15:20
aciba[m]Do we know any contributor from DigitalOcean? It would be nice to double-check this PR from their side https://github.com/canonical/cloud-init/pull/4130 . Looking at the history of that cloud, I do not see any recent / active contributor.15:21
-ubottu:#cloud-init- Pull 4130 in canonical/cloud-init "Move DigitalOcean before ConfigDrive datasource in default list" [Open]15:21
minimalaciba[m]: Hi. If either of the 2 email addresses aren't valid then i'm not sure who/how to contact next15:32
minimalaciba[m]: or find a member of the digitalocean github repo who appears to work for DO as a starting point?15:47
aciba[m]minimal: good idea, thanks! I have done so.15:57
meenaaciba[m]: fixed https://github.com/canonical/cloud-init/pull/412916:42
-ubottu:#cloud-init- Pull 4129 in canonical/cloud-init "BSD: simplify finding MBR partitions" [Open]16:42
meenaholmanb: what are your plans for https://github.com/canonical/cloud-init/pull/2127 ?16:46
-ubottu:#cloud-init- Pull 2127 in canonical/cloud-init "Support Ephemeral Networking for BSD" [Open]16:46
blackboxsw[community notice] final packaging builds are running currently for tip of main, we'll be kicking off one more round of testing for the potential 23.2 upstream release later today. If there are any critical pull requests that we'd need in today's build, please raise them here16:47
meenablackboxsw: the mbr fix should go in, cuz the last one was a half fix16:50
blackboxswmeena: regardless of the 23.2 release.... I think we owe you some reviews. anything you are blocked on currently that needs more eyes? I think we probably need to round out the failing case Brett mentioned in #2127 then we can tackle your 2165 right?16:50
meenathe rsyslog change is now extremely well tested and can go in, except for a failing doc test16:53
meenai put  2165 ti rest, until the holmanb's pr is merged16:53
meenaI think that's it16:54
meenaexcept for: https://github.com/canonical/cloud-init/pull/2157 i have no idea how to get started with tests there16:56
-ubottu:#cloud-init- Pull 2157 in canonical/cloud-init "Added / fixed support for static routes on OpenBSD and FreeBSD" [Open]16:56
meenait looks good to go, but that area of code has no tests16:58
meenaI think that's it now, for real17:02
blackboxswmeena: thanks I force pushed a change to your https://github.com/canonical/cloud-init/pull/4129 fix/fbsd-mbr branch with the desired unittest/comments19:28
-ubottu:#cloud-init- Pull 4129 in canonical/cloud-init "BSD: simplify finding MBR partitions" [Open]19:28
blackboxswif that works I think we are good to go there19:28
meenanice!19:28
blackboxswif that works **for you**19:28
blackboxswdumb, umm n/m on that unittest I completely misread. reworking it 5 mins19:32
* meena is walking dog, then it's bedtime for kiddo, and then I'll have to do dishes or shopping. *then* I'm back to work19:34
blackboxswrock, no worries. will force push a unittest in the proper place. if you are ok with that. then I'll merge when unittest is in place19:35
meena👍19:37
blackboxswunittest added. just awaiting CI20:01
blackboxswthen, we can cut our upstream release 23.220:02
meenawould be cool to get the rsyslog change in as well, but there's anyways 23.2.1 next week ;) 20:46
meenaI just realised: it's own-goal not self-goal: https://github.com/lxc/lxd/pull/1162620:51
-ubottu:#cloud-init- Pull 11626 in lxc/lxd "lxd-agent: Allow building on freebsd" [Closed]20:51
falcojrI think we should wait on rsyslog just because there might still be a few more days of updates/reviews20:52
meenaI'll get on a real computer in about half an hour20:53
blackboxswhttps://github.com/canonical/cloud-init/pull/4129 merged.    And https://github.com/canonical/cloud-init/pull/4142 up for review for 23.2 21:00
-ubottu:#cloud-init- Pull 4129 in canonical/cloud-init "BSD: simplify finding MBR partitions" [Merged]21:00
-ubottu:#cloud-init- Pull 4142 in canonical/cloud-init "Release 23.2" [Open]21:00
blackboxswintegration tests on mantic looking good so far on azure/lxd/gce w/ latest pyclodlib21:00
blackboxsw*pycloudlib21:01
falcojrblackboxsw: one request on the PR that I probably should have done earlier21:07
blackboxsw@falcojr great pt21:09
blackboxswfalcojr: should I drop the ChangeLog 23.2 duplicated `Make user/vendor data sensitive and remove log permissions` 21:11
blackboxswhttps://github.com/canonical/cloud-init/pull/4142/files#r120301879221:12
-ubottu:#cloud-init- Pull 4142 in canonical/cloud-init "Release 23.2" [Open]21:12
falcojrI think it's ok. We've left the duplicated messages in the past21:13
blackboxswWFM21:13
* meena at real computer now22:08
meenafalcojr: on FreeBSD, cc_rsyslog runs long after we have a network… so package install was no issue22:17

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