Friday, 2025-01-10

rpittaugood morning ironic! o/07:47
*** jroll01 is now known as jroll008:45
*** tosky_ is now known as tosky09:33
rpittauTheJulia, JayF, dtantsur, iurygregory: I'm out on Monday, if someone could take care of the meeting would be great, thanks :)09:42
*** diablo_rojo_phone is now known as Guest549609:51
opendevreviewMerged openstack/ironic bugfix/27.0: Calculate missing checksum for file:// based images  https://review.opendev.org/c/openstack/ironic/+/93867409:55
opendevreviewMerged openstack/ironic bugfix/25.0: [bugfix only] Pin upper-constraints  https://review.opendev.org/c/openstack/ironic/+/93866110:16
opendevreviewVerification of a change to openstack/ironic bugfix/26.0 failed: Calculate missing checksum for file:// based images  https://review.opendev.org/c/openstack/ironic/+/93862810:20
*** Guest5496 is now known as diablo_rojo_phone10:40
opendevreviewMerged openstack/ironic bugfix/24.0: Calculate missing checksum for file:// based images  https://review.opendev.org/c/openstack/ironic/+/93862710:46
iurygregoryrpittau, ack11:01
opendevreviewMerged openstack/ironic bugfix/26.0: Calculate missing checksum for file:// based images  https://review.opendev.org/c/openstack/ironic/+/93862811:37
opendevreviewMerged openstack/ironic bugfix/25.0: Calculate missing checksum for file:// based images  https://review.opendev.org/c/openstack/ironic/+/93862911:42
TheJuliagood morning14:24
rpittauhey TheJulia :)14:26
opendevreviewJulia Kreger proposed openstack/ironic master: WIP OCI container adjacent artifact support  https://review.opendev.org/c/openstack/ironic/+/93789614:29
opendevreviewJulia Kreger proposed openstack/ironic master: WIP: Automatic zstd detection and decompression...  https://review.opendev.org/c/openstack/ironic/+/93890414:29
TheJuliadoh, meant to upload that last night14:31
rpittauTheJulia: if you have a moment please check my comment here https://review.opendev.org/c/openstack/metalsmith/+/93315414:32
rpittauI'd like to merge that before releasing metalsmith14:32
TheJuliarpittau: why not shutter it?14:47
TheJuliaI'm not a fan of expending resources on it at this point14:48
TheJuliaI have no capacity for it, and no business mandate for it at this point14:48
rpittausounds good to me 14:51
JayFWe should send out a call for maintainers to the mailing list or something before we completely shutter it15:01
rpittauBye everyone see you on Tuesday have a great weekend o/15:37
* TheJulia watches bytes transfer which started on a container registry17:38
* TheJulia parties.... Fedora CoreOS just booted 17:42
TheJuliapulled from podman's machine-os image17:42
TheJulia#success Got ironic to deploy from an OCI container registry!17:43
opendevstatusTheJulia: Added success to Success page (https://wiki.openstack.org/wiki/Successes)17:43
JayFnice job18:14
TheJuliaLots of rough edges since we're so focused on glance and the OCI model is just so drastically different18:20
TheJuliaand... we're sort of leaving the door open to lazy definition and precise definition18:20
TheJuliaand as such, that adds a little more complexity, blend in the fact files may need additional work... like uncompressing from Zstandard format... its gets a bit more "fun"18:21
JayFI mean, getting it to work at all is a meaningful milestone anyway :)18:24
TheJuliaoh absolutely18:24
TheJulia... and honestly, if I were to upload a raw disk image which was not Zstandard compressed to quay *today*, IPA could totally directly download it with the code today as-is18:25
TheJuliaSpeaking of, I suspect we ought to do some stream content checking in IPA's http download class at some point18:25
TheJulianext step is likely getting an local container registry online and doing authy things with it.18:27
JayFbtw, you all still in the clear from all the fire down there?18:28
TheJuliayeah18:29
opendevreviewJay Faulkner proposed openstack/ironic master: SCIENCE: Test against oslo.utils image format inspector changes  https://review.opendev.org/c/openstack/ironic/+/93895619:13
JayFhttps://review.opendev.org/c/openstack/ironic/+/928920 is a good change and has been waiting on another core review for a good long time19:17
JayFwe are a bit behind on review in general as a project tbh19:17
JayFlots of big changes and post-holiday though so makes sense19:17
TheJuliaAlso, very heads down to try and get items in a good shape in time to land some things19:57
JayFyeah, but also like re: the API schema stuff, folks like adamcarthur5 are blocked a bit on review and getting things landed, we're usually good about finding a balance so I'm sure it's a temporary thing20:02
TheJuliaJayF: got a good starting point to unblock adamcarthur5 ?20:10
JayFthe one linked at 11:17, the stephenfin change, he's taking over that project on the ironic side20:12
JayFschema refactors + tempest tests for  microversion handling20:12
JayFthose and the i-t-p changes with em20:12
adamcarthur5I can re-send the links, just let me know TheJulia20:13
JayFthat Ironic patch 928920 is the first of the ironic chain20:13
JayFhttps://review.opendev.org/c/openstack/ironic-tempest-plugin/+/937206 is the one in the itp chain20:13
JayFhttps://review.opendev.org/c/openstack/ironic/+/92892020:13
JayFthere's the ironic link again20:13
JayFour hope is if we can get the pattern established, future changes can go  the pattern of: 1) add tempest test to validate behavior 2) do schema refactor, with those tests as a safety net 3) goto 1 with the next endpoint20:14
JayFand once it's all done, we're in line with the way schemas are handled elsewhere and setup for openapi generation stuff20:15
TheJuliawait? we're forcing tempest plugin changes?20:18
TheJulia... thats a bad sign20:18
JayFno no, think of it the opposite direction20:19
JayFwe're ensuring tempest test coverage exists20:19
JayFbefore we do any refactoring20:19
JayFwe're not changing existing tests; we're adding coverage for microversion handling where it is missing (which is almost everywhere)20:20
TheJuliaAhh, okay20:20
JayFas long as the test passes with both old and new code, the code is good (assuming the test is good)20:20
opendevreviewJulia Kreger proposed openstack/ironic master: WIP OCI container adjacent artifact support  https://review.opendev.org/c/openstack/ironic/+/93789620:20
opendevreviewJulia Kreger proposed openstack/ironic master: Automatic zstd detection and decompression...  https://review.opendev.org/c/openstack/ironic/+/93890420:20
TheJuliaFWIW, I could use a sanity check pass on the wip ^ change. Steve gave me a quick pass last week20:21
JayFack; I'll do that now20:21
TheJuliacool, thanks20:21
TheJuliaat least, before I go writing more unit tests :)20:22
TheJuliado keep in mind, there is quite a bit there to also try and keep everyone happy20:24
TheJuliaand walk that weird middle ground20:24
TheJulia... like... conductor side configuration authentication should be *easy* to wire in after the fact20:24
TheJuliaadamcarthur5: o/ question for you!20:27
TheJuliaadamcarthur5: Regarding https://review.opendev.org/c/openstack/ironic-tempest-plugin/+/937213/7/ironic_tempest_plugin/tests/api/admin/test_microversion_enforcement.py#30 20:27
TheJuliaDoes that mean the tests are not going to work on versions which don't support that microversion, version20:27
adamcarthur5Yes - but to be honest, me and Jay had a really hard time (mostly me) trying to predict these edge cases in advance, but I will probably keep ownership of doing this code for a while, so the hope is that get this solution passed for now, knowing it probably has to change later?20:28
TheJuliaYeah, I just confirmed that as well20:29
JayFIs there a guard that needs to be in place for that which we're missing?20:29
adamcarthur5I think in general most features support the latest microversion? 20:29
TheJulia... the important test point is *really* master branch anyhow20:29
TheJuliaso, its likely okay that it doesn't run them on older versions20:29
adamcarthur5Ah - you mean branch issues. 20:29
JayFyeah20:29
TheJuliayup, exactly20:29
adamcarthur5I tried to do something dynamic, but didn't get anywhere with it.20:29
JayFITP is branchless?20:29
JayFI guess that makes sense20:30
JayFwe run every job in the universe on it20:30
TheJuliayes, and expects to be able to be run against n-2 versions if not oler...20:30
TheJulias/oler/older/20:30
JayFthey can't get thru the gate if they don't pass back to I think 2023.120:30
TheJuliaJayF: but the new tests don't run where the microversion defined on line 30 is not available20:30
adamcarthur5Hmmm. I could just specify a local microversion per-test. It's not ideal, since we now state the microversion in two places, but if we need to I can do it 20:30
TheJuliathe issue is min_microversion triggers skipping logic20:31
TheJuliaso if you go look at 2024.1, no microversion testsing20:31
TheJuliaam I making sense?20:31
JayFyou're saying if, for a given tempest run20:31
JayFthe latest microversion is < min_microversion20:31
JayFwe won't run the test20:32
JayFthat sounds like a good thing?20:32
TheJuliaexactly20:32
TheJuliaWell, it won't even setup the test classes20:32
JayFoooh, so we can't use that to do negative testing20:32
TheJuliaso if your deleting tests which were around for xyz versions, shifting them to a new micoversoin test class20:32
TheJuliathen that class no longer runs...20:32
adamcarthur5Hmmm. But right now, that microversion is global for all tests, regardless of the microversion of everything individual API part 20:32
TheJuliaeh, not actually20:33
JayFmin_microversion is set at the top of the test class20:33
JayFI think you'd just need a different class for positive vs negative testing20:33
JayFand for the negative testing, min_microversion is effectively null since you wanna be able to check that those methods aren't available on the older version20:33
JayFe.g. to ensure we don't regress and expose /v1/shards on an Ironic microversion before it should exist20:33
* JayF not 100% sure he's following right20:34
adamcarthur5Okay, so basically we think when I run into that case (my current work doesn't?) we'll need a second class? 20:34
adamcarthur5I'm with Jay, not 100% following20:34
TheJuliaJayF: your focusing on negative testing, I'm speaking in general of older versions20:34
TheJuliawould the spoken word be faster?20:34
JayFI can jump into a zoom if adam can20:35
adamcarthur5Sorry, it's 8:30pm here now and I'm away from a laptop20:35
JayFwell, I'll jump in with ya TheJulia and maybe I can summarize20:35
JayFor convey it on Monday or something20:35
TheJuliathat works20:35
adamcarthur5Yeah - I think that works me and Jay are pretty in sync now. Thanks folks 20:36
JayFmoving to my desktop; will post a zoom link or click a meet.google link when I get there :D 20:36
TheJuliahttps://meet.google.com/rwy-jzcw-bwf20:36
TheJuliadtantsur: thanks for the replies on the container registry spec re auth, I think it might help to get on a call and discuss and even team up a little if you have a couple spare cycles21:04
TheJuliaI'm not trying to bake anything beyond the simplest case in the patch but leaving the door open to do more. Maybe get people to fight over config file formats ;)21:09
TheJuliaBut seriously, a higher bandwidth discussion would be good21:09
JayFcombined with a demo that'd be neat21:09
JayFand I'd wanna attend21:09
JayFWe should do more live demos with these chats when things are working, makes the chats more exciting :D 21:10
TheJuliaI could totally do a quick demo... well, it won't be *that* quick21:10
TheJulia.... and I'll need to forward ssh to that VM, but its all good :)21:10
TheJuliaI *do* like just being able to set image_source to oci:///quay.io/podman/machine-os:5.3 and things just work21:11
JayFI am excited to be compatible with that ecosystem; less excited about that ecosystem in general21:12
TheJuliaThere is a nice side-effect21:13
JayFI think imagetype:latest (or any :tag that can remain the same while the file behind changes) is a scary antipattern21:13
JayFbut I can't move the entire industry just because I dislike something so 🤷‍♂️21:13
TheJuliathat container registry can have arm and x86 images (actually... does today), and i just set the same registry as image_source regardless of cpu type21:13
JayFyeah, that's in the same category of the gross stuff I don't like :)21:15
JayFeven if I can see why that's an ergonomic interface21:15
TheJuliastructual data model is... painful21:18
JayFComments on those OCI changes. I didn't review unit tests 21:26
TheJuliaa... lot of work is still needed on unit tests, but it is getting there21:33
JayFhonestly when something is WIP, I rarely review unit tests, I assume it's still a development tool 21:34
JayFhard to test behavior that's still a bit in flux21:34
TheJuliaYeah, good comments, and a good suggestion regarding "unknown"21:41
JayFlike, at least how the IPA code is written21:41
JayFimage_disk_format of None being passed sets off klaxons21:42
JayFbut Ironic has stronger guards -- the convert to raw always runs the security check -- so I shouldn't need to be as paranoid21:42
opendevreviewMerged openstack/ironic-tempest-plugin master: Microversion Test Generator  https://review.opendev.org/c/openstack/ironic-tempest-plugin/+/93720621:52

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