Tuesday, 2025-12-02

opendevreviewcid proposed openstack/ironic master: `is-empty` inspection rule to handle missing field  https://review.opendev.org/c/openstack/ironic/+/96899900:32
*** hroy_ is now known as hroy02:37
rpittaugood morning ironic! o/08:18
Ayo[m]Good morning ironic:)08:52
Ayo[m]Hi there rpittau :)08:52
rpittauAyo[m]: hi! :)08:53
rpittauAyo[m] I'm replying to your email now08:53
Ayo[m]Well received rpittau 09:14
Ayo[m]Thank you for your time09:14
opendevreviewAbhishek Bongale proposed openstack/networking-generic-switch master: clean up codespell jobs  https://review.opendev.org/c/openstack/networking-generic-switch/+/96924313:25
opendevreviewcid proposed openstack/ironic master: Drop xinetd/tftpd on CentOS 9  https://review.opendev.org/c/openstack/ironic/+/96444913:49
opendevreviewcid proposed openstack/ironic master: Trivial: Fix typo in documentation  https://review.opendev.org/c/openstack/ironic/+/96924513:50
TheJuliagood morning14:30
cardoeso it looks like I turned off enforcement in master of E127 for over-indention of % formatted strings accidentally14:40
cardoeJayF noticed it reviewing https://review.opendev.org/c/openstack/ironic/+/96912014:42
TheJuliaInteresting!14:43
cardoeSo its because ruff devs expect that folks have moved away from % format. Which they by default will convert the syntax. So they never added the check.14:48
cardoeSo I can re-enable flake8 to run that check.15:09
cardoeWe can also decide to reformat the code and let ruff auto-format always.15:09
cardoeWe can set the target Python version as 3.7 so we can backport as far as possible.15:09
opendevreviewDoug Goldstein proposed openstack/ironic stable/2025.2: fix: ensure that the bootloader path exists  https://review.opendev.org/c/openstack/ironic/+/96912015:12
opendevreviewcid proposed openstack/ironic master: Redfish VirtualMedia NFS and SMB/CIFS Support  https://review.opendev.org/c/openstack/ironic/+/95850515:30
opendevreviewMerged openstack/ironic master: Trivial: Fix typo in documentation  https://review.opendev.org/c/openstack/ironic/+/96924515:49
TheJuliaseems like auto-reformatting might be a way to go although we would need to be super careful in such a review15:50
opendevreviewIury Gregory Melo Ferreira proposed openstack/ironic master: Make post-firmware-update reboot conditional on component  https://review.opendev.org/c/openstack/ironic/+/96634416:19
cardoeAre we removing the tinyipa jobs?16:53
cardoeoh we just renamed them to take tinyipa out of the name16:54
TheJuliawell, renaming them, I think they've already been changed17:02
opendevreviewJulia Kreger proposed openstack/ironic master: Add an option to fallback to HTTP  https://review.opendev.org/c/openstack/ironic/+/96927717:22
opendevreviewJulia Kreger proposed openstack/bifrost master: WIP: upload and use the OCI image  https://review.opendev.org/c/openstack/bifrost/+/96841717:29
cardoedtantsur: I don't understand your review on https://review.opendev.org/c/openstack/ironic/+/968246 I'm not changing at all the wording or the message from what you committed. The change is to indent it differently to ensure the proper cleanup happens.17:51
dtantsurah, yeah, it was not quite correct before too..17:52
cardoeYou've got 3 path variables involved and display 2 of them.17:53
TheJuliaclearly, we need longer variable names17:53
TheJulia:)17:54
cardoeI had a branch to un-wind all this but threw in the towel after like 90 minutes with Claude.17:54
dtantsurYou're not the first, I'm afraid..17:54
dtantsur:)17:54
cardoeAnd to answer your question where the OSError is coming from... yes... deep inside of _fetch()17:55
cardoeIf the periodic job to clean up fires while a download is happening, it will delete the tmp file that is being downloaded to. So once the download completes and we move to the os.link(), the file is gone.17:55
dtantsurEeeek, that should not be happening17:56
cardoethe cleanup doesn't respect the locks17:56
cardoeIf you need to convert file formats and oslo.utils reports a size large enough to trigger a cleanup... it'll delete your downloaded file.17:57
dtantsurMy my, image cache was one of my first assignments on the project, whole 11 years ago https://opendev.org/openstack/ironic/commit/fb771158d0c7b3876e09808b9897f9d64a9fdcf4 :D17:57
dtantsurPlease make sure this is filed as a bug, it definitely was not intended17:58
cardoeIf you're crossing file system boundaries for the conversion (tmp in one place and master in another) it'll fail17:58
cardoeI think the issue is that we need to not have conversion be a magical step in the fetch process.17:59
cardoeBut a deliberate step17:59
dtantsurThe whole thing is worth a complete rewrite18:00
dtantsurMaybe somebody will celebrate 12 years of image cache by writing a new one? :D18:01
TheJuliaI think the last time we discussed that... maybe 2-ish years ago, we talked about drinking. a lot.18:01
dtantsuras we usually do :)18:02
cardoeSo anyway, my goal was to split up the messages a little bit to give folks a bread crumb where it went south.18:03
cardoeJohn Garbutt also saw something here recently and so the hope was with the two separate log statements maybe one of the two of us would see in prod where it fired.18:04
opendevreviewIury Gregory Melo Ferreira proposed openstack/ironic-prometheus-exporter master: Remove `reading_celsius` label from baremetal_temperature_status  https://review.opendev.org/c/openstack/ironic-prometheus-exporter/+/96928818:04
cardoeI think long term I'd want to have _fetch() just do the fetch and then we create a _convert_if_needed() and call it.18:04
cardoeOn certain filesystems I can have it fail 100% of the time. Cause they'll order the files back by recently created inode so it'll choose to cleanup your downloaded file first.18:06
TheJuliacertain filesystems being?18:10
opendevreviewJulia Kreger proposed openstack/ironic master: Add an option to fallback to HTTP  https://review.opendev.org/c/openstack/ironic/+/96927718:17
* JayF suspects NFS/CIFS18:20
cardoeyeah it was NFS that I did it18:24
cardoeI'll make some bugs18:25
dtantsurif we don't have access to mtime, they yeah, probably18:25
cardoeAt least I assume that PVC read-write-many was NFS on ceph18:25
opendevreviewIury Gregory Melo Ferreira proposed openstack/ironic-prometheus-exporter master: Ignore unstable label for metrics to avoid multiple Alerts  https://review.opendev.org/c/openstack/ironic-prometheus-exporter/+/96928818:39
TheJuliahmm... getting closer, need to get authentication deets in18:54
opendevreviewJulia Kreger proposed openstack/bifrost master: Upload a disk image to OCI  https://review.opendev.org/c/openstack/bifrost/+/96841619:21
opendevreviewJulia Kreger proposed openstack/bifrost master: WIP: upload and use the OCI image  https://review.opendev.org/c/openstack/bifrost/+/96841719:24
* TheJulia hopes for success.19:38
opendevreviewVerification of a change to openstack/networking-generic-switch master failed: clean up codespell jobs  https://review.opendev.org/c/openstack/networking-generic-switch/+/96924320:27
opendevreviewJulia Kreger proposed openstack/ironic master: WIP/DNM: Debug oci authentication  https://review.opendev.org/c/openstack/ironic/+/96931420:44
opendevreviewJulia Kreger proposed openstack/bifrost master: WIP: upload and use the OCI image  https://review.opendev.org/c/openstack/bifrost/+/96841720:52
TheJuliahmm, I think I finally grok what dtantsur was complaining about authentication for the oci stuffs at one point.20:53
TheJuliaIt feels like there is a case one can fall into where it becomes unhappiness, which is not that surprising really21:09
opendevreviewJay Faulkner proposed openstack/ironic master: Separate states code from states constants  https://review.opendev.org/c/openstack/ironic/+/96931821:15
TheJuliatechnically, looks like there is a case where you are thought to end up in a basic auth path but really want to use bearer auth based token21:16
opendevreviewSteve Baker proposed openstack/ironic master: Add a conductor liveness check utility script  https://review.opendev.org/c/openstack/ironic/+/96932021:22
opendevreviewJulia Kreger proposed openstack/bifrost master: Upload a disk image to OCI  https://review.opendev.org/c/openstack/bifrost/+/96841621:40
opendevreviewJulia Kreger proposed openstack/bifrost master: WIP: upload and use the OCI image  https://review.opendev.org/c/openstack/bifrost/+/96841721:40
TheJuliagaaaah21:40
* TheJulia goes into town21:41
TheJuliamy frustration was oras, it appears21:44
opendevreviewJay Faulkner proposed openstack/ironic-python-agent master: Add request logging for API requests  https://review.opendev.org/c/openstack/ironic-python-agent/+/95830722:05
cardoeTheJulia: orcas are just misunderstood animals! They're not killers!22:18
stevebaker[m]cardoe: no you're thinking of Orcas. I'm pretty sure she was referring to Pokémon Omega Ruby and Alpha Sapphire (ORAS)22:26
cardoeah right you are.22:28
cardoeSo trying to make these bugs against the image cache... Is there a reason we don't trust the virtual_size that gets returned by glance? I checked the code and it's using the same code we now use.22:32
cardoeThe code comment says that glance returns a different value which I suspect was true when we didn't share the same oslo code.22:37
cardoeHonestly the glance code is pretty solid.22:44
JayFI suspect it's OK to change some of those assumptions there at this point, since we do share code for it now -- but make sure you're not checking  in a place that could be post-conversion22:53
opendevreviewMerged openstack/networking-generic-switch master: clean up codespell jobs  https://review.opendev.org/c/openstack/networking-generic-switch/+/96924323:08
* TheJulia blinks23:09
TheJuliaUhh, surelly Blahaj will have an answer later today23:09
opendevreviewJulia Kreger proposed openstack/bifrost master: WIP: Upload a disk image to OCI  https://review.opendev.org/c/openstack/bifrost/+/96841623:25
opendevreviewJulia Kreger proposed openstack/bifrost master: WIP: upload and use the OCI image  https://review.opendev.org/c/openstack/bifrost/+/96841723:25

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