Wednesday, 2023-04-12

*** tweining_ is now known as tweining10:34
opendevreviewTom Weininger proposed openstack/octavia master: todo mypy  https://review.opendev.org/c/openstack/octavia/+/87974915:48
gthiemonge#startmeeting Octavia16:00
opendevmeetMeeting started Wed Apr 12 16:00:13 2023 UTC and is due to finish in 60 minutes.  The chair is gthiemonge. Information about MeetBot at http://wiki.debian.org/MeetBot.16:00
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.16:00
opendevmeetThe meeting name has been set to 'octavia'16:00
gthiemongeHi16:00
johnsomo/16:00
tweiningo/16:00
oschwarto/16:00
QGHello !16:00
gthiemonge#topic Announcements16:01
gthiemonge* Bobcat Release Schedule: R-2516:01
gthiemongethe first commit of the amphorav1-removal chain is merged!16:01
gthiemonge#link https://review.opendev.org/q/topic:amphorav1-removal16:01
gthiemongejohnsom: I updated the next commit16:02
gthiemongehttps://review.opendev.org/c/openstack/octavia/+/87603516:02
gthiemongeyou gave me a -1, could you take a look again? (and other folks please ;-)16:02
johnsomAck16:02
gthiemongethank you!16:02
tweiningok16:03
gthiemongei don't have any other announcements, did I miss something?16:03
tweiningdo we need to update our zuul jobs definition to test py310?16:05
tweiningI think we're only testing 3.9 right now16:06
johnsomIt should be done at the main zuul job16:06
gthiemongeI don't think we need it16:06
gthiemongeyeah we should inherit from "openstack-python3-jobs"16:06
johnsomIt is already there16:07
gthiemongehttps://opendev.org/openstack/octavia/src/branch/master/zuul.d/projects.yaml#L816:07
gthiemongeoh right16:07
johnsomopenstack-tox-py31016:07
tweiningthanks16:07
tweiningI was looking at the "octavia-tox-tips" jobs16:08
tweininganyway, that is not an announcement16:08
johnsompy39 for tips should be fine, py39 is still in the PTI for bobcat16:09
gthiemongehmm16:09
gthiemongeyeah I think we need only one tips job16:09
gthiemonge#topic CI Status16:10
gthiemongewe are still running our jobs on Ubuntu Focal16:11
gthiemongeI'm trying to get the list of the Ubuntu Jammy "broken" hosts16:11
gthiemongewe could report them to vexxhost16:11
gthiemonge(context: https://bugs.launchpad.net/octavia/+bug/2015244)16:11
gthiemonge2nd item:16:11
gthiemongethe periodic job octavia-amphora-image-build is broken (my fault)16:12
gthiemongeThis commit should fix it:16:12
gthiemonge#link https://review.opendev.org/c/openstack/octavia/+/87982416:12
gthiemongejohnsom: could you take a look?16:12
johnsomDone16:13
gthiemongethanks!16:13
gthiemonge#topic Brief progress reports / bugs needing review16:15
tweiningI managed to get py-spy to work with the CI!16:17
gthiemongenice16:17
gthiemongeI proposed a patch that would fix some potential CI issues16:18
tweiningmmh, looking for the patch but can't find it...16:18
gthiemonge(issues that I didn't see upstream, but we've faced them downstream here)16:18
gthiemonge#link https://bugs.launchpad.net/octavia/+bug/201557216:18
gthiemonge#link https://review.opendev.org/c/openstack/octavia/+/87989816:19
gthiemongeMy proposal: for each new subnet plugged into the amphora, the amphora-agent sends a GARP packet16:19
gthiemongePlease ready the story and review the patch16:19
gthiemongethanks16:19
gthiemongetweining: https://review.opendev.org/q/topic:py-spy16:20
gthiemonge?16:20
tweiningsorry for the CR-1, I think I should have CR+1'ed it so that it gets better visibility16:20
tweiningthanks16:20
gthiemongeI'll update it with the annotations16:20
tweining... which brings me to the next topic I've been working on: static code checks with mypy16:21
tweiningI just started working on it and there is still a lot of work to do. However, I suggest we put more care into adding more type annotations in new code.16:22
QGPlease review the RFE for Let's encrypt  #link https://review.opendev.org/c/openstack/octavia/+/87728116:23
gthiemongeQG: ack16:24
gthiemongetweining: do you plan to add annotations to the existing code?16:24
tweiningQG: yeah, it's on my list, but this is a big one16:25
tweininggthiemonge: I am actually in process of doing it where mypy is complaining.16:25
tweiningJust to clarify: Not everything needs to have annotions. mypy can derive that information from context and other sources often times.16:26
tweininghttps://review.opendev.org/c/openstack/octavia/+/879749 is the WIP mypy patch BTW16:27
QGThanls !16:28
tweiningI'm done with octavia.cmd now.16:28
QGthanks ! ^^16:28
gthiemongetweining: if we add annotations to a class, does mypy check that they are correct in an inherited class? I'm thinking about our plugins/interfaces (network driver/rest api driver/etc...)16:29
tweiningyes, I think that should work. mypy is quite smart.16:29
gthiemongeack16:30
gthiemonge#topic Open Discussion16:32
gthiemongeI have one topic here16:32
gthiemongeI proposed a patch that enables zookeeper for jobboard in devstack16:32
tweininghttps://review.opendev.org/c/openstack/openstacksdk/+/867968 is an example where mypy would also need some help. (that change was for helping PyCharm mainly)16:32
gthiemongehttps://review.opendev.org/c/openstack/octavia/+/86267116:32
gthiemongejohnsom raised a good point: why are we installing it from the source instead of using packages16:33
gthiemongeI'm using centos and unfortunately there is no package for zookeeper in the default repositories16:33
gthiemongeso I'm pulling zookeeper from upstream16:33
gthiemongethis week, I tried to add a specific case to my patch for ubuntu (but it seems that the zookeeper package doesn't come with a systemd init file :/)16:34
johnsomThat is odd16:34
gthiemongeif we want to support both methods (deb and source) I need to generate systemd file and config file for both distribs (and of course the content of those files would be different)16:34
gthiemongeI don't know if it's worth it to add the support for .deb (I would rather avoid duplicate things)16:35
gthiemonge(BTW I didn't mention it in the commit, but I stole this code from the monasca-api repo, I'll fix that)16:35
gthiemongeany advices/comments on this?16:36
johnsomYeah, that is fair. If it gets messy because the distros are not complete, we can continue to use the soruce16:36
gthiemongeack16:36
gthiemongeI'm setting W-1 because I found out that I messed with the service name16:36
gthiemongethanks for your feedback johnsom 16:37
gthiemongeany other topics folks?16:38
tweiningoh, I think I know why I didn't find the py-spy patch I was looking for (the link that gthiemonge posted does not contain the one I mean)16:39
tweiningwhen two patches have the same Change-Id will one replace the other?16:39
gthiemongeyes16:39
gthiemonge(and the same branch)16:40
tweiningit's the same target branch if you mean that, but a different topic16:40
gthiemongegerrit uses the change-id and the branch name to identify a unique patch16:41
gthiemonge(and the repo of course)16:41
gthiemongethe topic is only a metadata16:41
gthiemongeBTW you can add hashtags now :D16:42
opendevreviewTom Weininger proposed openstack/octavia master: DNM: profile w/ sqlalchemy2 using py-spy  https://review.opendev.org/c/openstack/octavia/+/88019016:42
tweiningmmh, ^ should have a different change-id now. still I don't see the other patch16:43
gthiemongelet's have this discussion offline (after the meeting) :D16:44
gthiemongethank you folks16:44
gthiemonge#endmeeting16:44
opendevmeetMeeting ended Wed Apr 12 16:44:49 2023 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)16:44
opendevmeetMinutes:        https://meetings.opendev.org/meetings/octavia/2023/octavia.2023-04-12-16.00.html16:44
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/octavia/2023/octavia.2023-04-12-16.00.txt16:44
opendevmeetLog:            https://meetings.opendev.org/meetings/octavia/2023/octavia.2023-04-12-16.00.log.html16:44
tweiningsure16:44
gthiemongetweining: so your patch is probably in the history of this change: https://review.opendev.org/c/openstack/octavia/+/87891716:45
gthiemongeyou can go throught the different patchset16:45
tweiningright16:45
gthiemongewhen you find the right patchset I would suggest that you download it16:45
gthiemonge> git fetch https://review.opendev.org/openstack/octavia refs/changes/17/878917/<patchset_id> && git cherry-pick FETCH_HEAD16:46
gthiemongeand re-submit it with git-review, it will become patchset 2316:46
gthiemonge(maybe there's a smarter way to do that - like reverting a patchset - but I don't know it)16:47
opendevreviewTom Weininger proposed openstack/octavia master: DNM: profile using py-spy  https://review.opendev.org/c/openstack/octavia/+/88019216:48
tweiningmuch better :D16:48
tweiningI downloaded it, ran git commit --amend, removed the change-id line, ran git review again, voila16:49
tweiningthanks16:50
opendevreviewTom Weininger proposed openstack/octavia master: todo mypy  https://review.opendev.org/c/openstack/octavia/+/87974917:36
opendevreviewTom Weininger proposed openstack/octavia master: todo mypy  https://review.opendev.org/c/openstack/octavia/+/87974917:50
opendevreviewMerged openstack/octavia master: Fix octavia-amphora-image-build periodic job  https://review.opendev.org/c/openstack/octavia/+/87982418:25
opendevreviewGregory Thiemonge proposed openstack/octavia master: Send IP advertisements when plugging a new member subnet  https://review.opendev.org/c/openstack/octavia/+/87989819:33

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!