Monday, 2024-11-18

opendevreviewTakashi Kajinami proposed openstack/metalsmith master: Drop reference to removed services  https://review.opendev.org/c/openstack/metalsmith/+/93547503:57
miladhello friends I hope everyone is doing well.  I've been adding the ironic service to OpenStack for a while now and I've been challenged. Can anyone guide me or provide me with a good document? 08:13
*** dmellado0755391 is now known as dmellado07553908:34
ykarelrpittau, TheJulia if you can check again https://review.opendev.org/c/openstack/ironic/+/93403608:37
dtantsurJayF: I think the priority list is solid, thank you!10:56
dtantsurJayF: ARM IPA is published under IPA-builder because it's sorta experimental. If we now have a CI where these images are validates, we can talk about promoting them.10:57
dtantsurthem/it/y'know10:57
dtantsur(still morning for me)10:57
dtantsuriurygregory: good morning. A quick review needed if you're around: https://review.opendev.org/c/openstack/bifrost/+/928895 11:21
iurygregorydtantsur, sure11:26
iurygregorygood morning Ironic11:26
opendevreviewMerged openstack/bifrost master: Add support for Ubuntu 24.04  https://review.opendev.org/c/openstack/bifrost/+/92889513:27
TheJuliagood morning13:55
opendevreviewVerification of a change to openstack/ironic stable/2023.1 failed: [Stable Only] pin virtualbmc/sushy-tools/ironic-tempest-plugin to last released tag  https://review.opendev.org/c/openstack/ironic/+/93403613:59
TheJuliaykarel: 2024-11-18 13:40:23.182068 | controller | ERROR: Package 'neutron' requires a different Python: 3.8.10 not in '>=3.9' in the job logs <-- given https://github.com/openstack/neutron/blob/stable/2023.1/setup.cfg, I can't help but wonder if something else is going on14:27
fricklerstable/2023.1 is gone for neutron and a lot of other repos14:34
TheJuliaugh14:35
TheJuliaso there goes stable branch testing14:35
fricklerso zuul uses the default branch instead for required_projects, which is master14:36
fricklerany reason you didn't change to unmaintained yet?14:37
TheJuliano idea, I didn't realize they changed14:38
ykarelyeap fallback to master triggered these failures, i noticed similar failures in neutron periodics for glance14:38
ykarelthere is open patch for ironic to transition to unmaintained https://review.opendev.org/c/openstack/releases/+/93447614:39
ykarelsame for many other projects https://review.opendev.org/q/topic:%22antelope-unmaintained%22+status:open14:41
JayFJfyi: I will miss the meeting. My wife's car broke down and I have to take her to her job.14:50
TheJuliaack14:52
TheJulia#startmeeting ironic15:01
opendevmeetMeeting started Mon Nov 18 15:01:03 2024 UTC and is due to finish in 60 minutes.  The chair is TheJulia. Information about MeetBot at http://wiki.debian.org/MeetBot.15:01
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.15:01
opendevmeetThe meeting name has been set to 'ironic'15:01
TheJuliao/15:01
iurygregoryo/15:01
kubajjo/15:01
cido/15:01
cardoe\o15:01
* iurygregory wondering if we will have quorum 15:02
TheJuliaHmm, this is feeling like on critical mass15:02
dtantsuro/15:02
TheJuliaWe really don't have much on the agenda15:03
TheJulia... if the save ever finishes :)15:03
TheJulia#topic Announcements / Reminders15:04
TheJuliaStanding reminder to review patches tagged ironic-week-prio and to hashtag any patches ready for review with ironic-week-prio: https://tinyurl.com/ironic-weekly-prio-dash15:04
TheJulia2025.1 Epoxy Release Schedule https://releases.openstack.org/epoxy/schedule.html15:04
TheJuliaAnd since we're starting to get our way into the beginning of the epoxy schedule, please take a few minutes and review spec changes!15:05
TheJulia#link https://review.opendev.org/q/project:openstack/ironic-specs+and+status:open15:05
TheJuliaSince we have no discussion topics listed today, who was the bug deputy for the last week?15:06
cidJayF was. And I can take it for the week.15:07
TheJulia#action cid to be the bug deputy for this week, Thanks cid!15:07
TheJuliaSince Jay had to step away, I guess no bug update this week.15:08
TheJuliaI guess that means it is time for Open Discussion!15:08
TheJulia#topic Open Discussion15:08
TheJuliaAnyone have anything?15:08
* TheJulia gets out a giant "review specs" sign15:09
* dtantsur has nothing15:09
TheJuliaWell, if there is nothing else, I'll end the meeting in a minute.15:10
TheJuliaThanks everyone!15:11
TheJulia#endmeeting15:11
opendevmeetMeeting ended Mon Nov 18 15:11:42 2024 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)15:11
opendevmeetMinutes:        https://meetings.opendev.org/meetings/ironic/2024/ironic.2024-11-18-15.01.html15:11
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/ironic/2024/ironic.2024-11-18-15.01.txt15:11
opendevmeetLog:            https://meetings.opendev.org/meetings/ironic/2024/ironic.2024-11-18-15.01.log.html15:11
TheJuliaI need to send out the networking meeting and make appropriate changes15:12
opendevreviewMerged openstack/ironic master: Add support for Ubuntu 24.04  https://review.opendev.org/c/openstack/ironic/+/93415015:20
cardoeSo only post meeting asking, how would you folks feel about some of the pre-commit changes? How would you feel if I used ruff over pep8 and bandit? What's our line length target? 79?15:21
cardoeoh and using pyupgrade to upgrade to our minimum supported Python15:21
cardoeAnd we prefer single quotes?15:27
cardoeI'm trying to figure out where we differ from black to create a black config.15:27
TheJuliathe existing hacking lint checks enforce line length, afaik15:28
cardoeyeah at 7915:29
cardoeIt's really just running flake815:29
TheJuliayeah15:29
dtantsurBlack can be really annoying IMO15:29
cardoeJust seeing if I can't make stuff match.15:29
dtantsurI was thinking about periodically running pyupgrade as well, btw15:30
cardoeI'm starting on sushy.15:30
TheJuliaQuote wise, there was talk of changing something last year style wise which would have leaned into double quoting, I don't remember what that was anymore15:30
dtantsurI'd not mind settling down on one style15:30
dtantsurSingle quotes are easier to type :)15:30
dtantsurWhere I don't like black is enforcing the way line breaks are done too aggressively15:31
cardoeSo some places we've set a longer line length somehow.15:31
dtantsur(and I think its defaults are not compatible with PEP8)15:31
cardoeAnd then quotes seem to be mostly single but there's a lot of double.15:31
opendevreviewDoug Goldstein proposed openstack/sushy master: enable pyupgrade via ruff to Python 3.9  https://review.opendev.org/c/openstack/sushy/+/93491615:32
JayFI have zero preference about what to choose. It must be enforced in pre-commit though or else my quality of life will degrade significantly 😂15:32
TheJuliaAs long as CI enforces it as well...15:32
JayFEverything pre-commit runs automatically runs in our lint job the way everything is structured now15:34
JayFAnd it saves me from the embarrassment of pushing a patch with lint failures15:34
TheJuliaReally? We are after all, only human.15:34
TheJuliaimperfection/flaw/mutation is in our DNA, literally :)15:35
cardoeJayF: So I agree with you with ONE caveat. I want pre-commit to AUTOFIX where possible. Don't make me reformat stupid whitespace manually when a tool can do it.15:39
cardoedtantsur: https://review.opendev.org/c/openstack/sushy/+/934916 that's doing pyupgrade via ruff.15:39
cardoeSo I'm using bandit via ruff. There's some differences.15:39
cardoeWith sushy there isn't but with the ironic repo there is.15:39
* TheJulia fears increased backport pain in the future15:40
cardoeTheJulia: I agree with you. I don't wanna regularly drag us up with pyupgrade but there are some things we need to do.15:40
cardoeWe've got a bunch of Python 2.x syntax that goes away in 3.14 in sushy.15:40
cardoeSo I dragged us up to Python 3.9 in that patch.15:41
cardoeWhat it's doing now is that if you write some syntax that's older syntax, it'll automatically update you to Python 3.915:41
cardoeI would like to drag us up to Python 3.10 and then stay there for a while. So I can add typing across the board.15:41
cardoeAfter 3.10 all the syntax changes are just ergonomic and not functional.15:42
cardoeCPython changed its parser in 3.9 I think?15:44
cardoeI also had some asks on changes like... https://review.opendev.org/c/openstack/sushy/+/934911/115:44
cardoeI don't want the blanket allow those issues so I used "noqa". Currently in the ironic repo we blanket allow that but it seems dangerous.15:45
dtantsurcardoe: are we going to fail CI if somebody uses an old syntax?15:45
TheJuliayeah, I'm just worried about lots of whitespace and quoteation mark changes since that is going to turn backports into patch rewrites past the boundry which will be lots of pain15:46
dtantsurif so, we should be really conservative with the baseline version15:46
dtantsuryeah, backports15:46
TheJuliabut, the show must go on15:46
cardoedtantsur: yeah you would fail CI if someone uses old syntax.15:47
dtantsurcardoe: then master should use the older Python version on *any* branch as the baseline15:47
dtantsurthe oldest15:47
cardoeagreed15:47
cardoeI can set it to Python 3.6 syntax if ya want?15:48
dtantsurare there any branches with 3.6 still alive? If yes, then please do15:48
cardoeJust there's been a change in CPython's ast parser in 3.9 I think and it fully landed in 3.1015:48
cardoeI just checked, Python 3.15 is where some old syntaxes go away.15:49
dtantsurLooking at your patch, f-strings is the newest feature you use, and it was in 3.6 already15:49
dtantsurwow, 81 file, gonna get tired..15:50
dtantsurif you ever do this for Ironic, please don't do all files at once :D15:51
JayFcardoe: Yes-ish? As long as CI still is angry when it runs and there's things to fix :)15:51
cardoedtantsur: I'll break it up however you guys wish. That's why I started with this sushy patch set. I'm looking for feedback on how you want me to approach it.15:52
JayFusing the oldest-still-supported python version on *any* ironic branch is a nice approach to that15:52
JayFTheJulia: those human flaws is *exactly* why we have to have robots do this stuff :D  15:53
cardoeSo like https://review.opendev.org/c/openstack/sushy/+/934911/1 is me breaking out the change for the one error and explaining just that one change.15:53
cardoeSimilarly here https://review.opendev.org/c/openstack/sushy/+/934912/115:53
dtantsurI've spotted one place that I'd personally never do.. if gerrit lets me comment, I'll explain15:53
cardoeAnd then the next commit https://review.opendev.org/c/openstack/sushy/+/934913/1 enables enforcement since it's now passing.15:54
dtantsurf'"enabled" value.*{list(sushy.BootSourceOverrideEnabled)}'15:54
dtantsurI hope this works, but I'd hate to be forced to write it15:54
dtantsurI wonder if we can ask the f-strings migration (which is good IMO) to limit itself to the simplest cases15:54
cardoeI can hand rewrite it better.15:54
cardoeIt tries to infer from the types.15:55
JayFyeah that's some of the trick with black and similar tools15:55
dtantsurnot if you enforce it in the CI?15:55
JayFit may pick a crappy way of doing it15:55
JayFbut if you do it /manually/ it won't change it back15:55
JayFaround those awful edge cases15:55
cardoeExactly.15:55
dtantsurah, it won't?15:55
cardoeNope15:55
cardoeAs long as you use a f-string.15:55
JayFbasically if it sees a line too long, it'll shorten it, sometimes stupidly15:55
JayF(e.g.) 15:55
JayFbut you can shorten it sanely and it'll leave it be15:55
JayFI've yet to find a case where it insisted on the bad way after a manual fix; but I would never assume that case doesn't exist :) 15:56
dtantsurcardoe: done with comments15:56
dtantsurmy personal preference would be do use f-strings for any variables or properties but avoid them when functions are involved15:57
cardoeI'm happy to keep tweaking the config rules.16:00
cardoeSo biggest question... everyone okay with using ruff where possible?16:00
dtantsurAs long as we expect an average contributor to be able to install it..16:01
cardoeTheJulia, rpittau, dtantsur, JayF, iurygregory, cid: ^16:01
JayFthat has 100% been my statement the whole time16:01
JayFit's gotta have packages everywhere16:02
JayFGentoo has an ebuild for it and if it didn't I'd self serve16:02
cardoeIt's run and installed via pre-commit16:02
cardoeyou can "pip install ruff"16:02
cardoeOnly complaint I've gotten from the orney Xen folks have been that "pip install ruff" didn't work on someone's OpenRISC board.16:04
dtantsur:D16:04
dtantsurIf it needs Rust, we might want to update our contributor guide. Maybe link to rustup or any official page.16:04
cardoeIt doesn't.16:04
cardoeIf you're okay with using a binary build.16:04
cardoeIt ships binaries via Python wheels.16:05
JayFI agree we should at least update contributor docs to reference this16:05
dtantsurIf :)16:05
JayFwe have a really good doc on our tox targets and unit tests16:05
JayF(I (re)wrote it last year)16:05
cardoeI'll happily update the docs.16:05
JayFI'd strongly prefer that not bitrot :D 16:05
dtantsurI definitely remember some people pissed at cryptography for having rust dependencies because wheels were not installable everywhere16:05
JayFdtantsur: cryptography mainly blazed those trails for everyone else 16:06
dtantsurtrue16:06
cardoeI've been fixing them (the contributor docs) as me and our folks hit stuff.16:06
dtantsurAnd yet, something like "If it complains about missing rustc or cargo, look here: <link>"16:06
cardoeIt's just Jay trying to revert my fixes in his postgres clean ups... ;)16:06
dtantsurThat Jay!!16:07
JayFI'm specifically thinking about https://docs.openstack.org/ironic/latest/contributor/dev-quickstart.html#unit-testing-environment16:07
JayFre: docs to update16:08
opendevreviewMerged openstack/ironic master: Fix policy checks added with runbooks  https://review.opendev.org/c/openstack/ironic/+/93523016:12
opendevreviewDoug Goldstein proposed openstack/ironic stable/2024.2: Fix policy checks added with runbooks  https://review.opendev.org/c/openstack/ironic/+/93553016:13
opendevreviewDoug Goldstein proposed openstack/ironic stable/2024.2: Fix policy checks added with runbooks  https://review.opendev.org/c/openstack/ironic/+/93553016:13
cardoeI would super duper appreciate a quick +1 on ^16:15
Pcmalih_Hi, In our baremetal machine PXE booting use case, controller and compute seems to exchange following message but no further communication happening.   Controller send Discover broadcast message Compute send Request message  Controller send Request message  Compute send ACK  No further TFTP boot communication 16:39
JayFJust a slight update: itamar is still looking at SNMP support, and is basically running into eventlet migration bits (since pysnmp is asyncio now, and loading it into Ironic causes pain) 17:31
JayFas he put it he's gonna "pop another yak on the stack" and dig into those now17:31
dtantsureventlet--17:36
opendevreviewJay Faulkner proposed openstack/ironic stable/2024.2: [stable-only] [ci] Remove metal3 job  https://review.opendev.org/c/openstack/ironic/+/93554917:49
JayFcardoe: ^ your patch to stable ain't going anywhere without that :D 17:50
opendevreviewMerged openstack/ironic master: trivial: remove libpq from bindep file  https://review.opendev.org/c/openstack/ironic/+/93522618:18
opendevreviewDoug Goldstein proposed openstack/ironic master: Task Manager: Log if the lock takes too long  https://review.opendev.org/c/openstack/ironic/+/89241219:35
opendevreviewMerged openstack/ironic stable/2024.2: [stable-only] [ci] Remove metal3 job  https://review.opendev.org/c/openstack/ironic/+/93554921:02
opendevreviewDoug Goldstein proposed openstack/ironic stable/2024.2: Fix policy checks added with runbooks  https://review.opendev.org/c/openstack/ironic/+/93553021:13
TheJuliajeeze where has the day gone21:22
TheJuliaJayF: hopefully not a literal yak. :)21:23
JayFI told him to oil his shears21:26
TheJulia... eek21:27
adamcarthur5Hey stephenfin, I was looking at https://review.opendev.org/c/openstack/ironic/+/928920/3, and was wondering if you think we could get it merged just for shard now? You have it marked as WIP, and I see you've written "We do not use any of the new code yet", but for v1/shard, I think it is being used unless I am mistaken? And then your comment on21:46
adamcarthur5needing a "new mechanism", I am assuming that is the schema you have started writing in /api/schemas + what you do in nova, like https://opendev.org/openstack/nova/src/commit/1acaf899a6964484e5b5be4337618ebbe6ca8dbb/nova/api/openstack/compute/schemas/attach_interfaces.py21:46
adamcarthur5TLDR, Unless you have objections, I'd like to remove the WIP and get some reviews going on this change specifically.21:46
adamcarthur5And I think I have a clear idea of how to do further changes, starting with allocations as you have21:47
opendevreviewPierre Riteau proposed openstack/tenks stable/2.0: CI: Use 2024.1 requirements on stable/2.0 branch  https://review.opendev.org/c/openstack/tenks/+/93556721:54
TheJuliaA quick review on https://review.opendev.org/c/openstack/networking-baremetal/+/933149 would be appreciated22:01
*** dmellado0755393 is now known as dmellado07553922:09
opendevreviewVerification of a change to openstack/ironic-python-agent bugfix/9.9 failed: Inspect non-raw images for safety  https://review.opendev.org/c/openstack/ironic-python-agent/+/92798422:21
opendevreviewMerged openstack/networking-generic-switch master: Add note about requirements lower bounds  https://review.opendev.org/c/openstack/networking-generic-switch/+/93352822:22
opendevreviewVerification of a change to openstack/networking-generic-switch stable/2023.2 failed: Do not make actual device changes in bind_port()  https://review.opendev.org/c/openstack/networking-generic-switch/+/89611222:22
opendevreviewMerged openstack/ironic-tempest-plugin master: Testing microversions on v1/shards  https://review.opendev.org/c/openstack/ironic-tempest-plugin/+/93521922:55
opendevreviewVerification of a change to openstack/ironic stable/2024.2 failed: Gracefully handle bad request exception  https://review.opendev.org/c/openstack/ironic/+/93303622:55
opendevreviewDoug Goldstein proposed openstack/ironic master: Task Manager: Log if the lock takes too long  https://review.opendev.org/c/openstack/ironic/+/89241223:41

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