Tuesday, 2026-03-17

opendevreviewIvan Anfimov proposed openstack/openstackdocstheme master: wip  https://review.opendev.org/c/openstack/openstackdocstheme/+/98086509:46
opendevreviewIvan Anfimov proposed openstack/openstackdocstheme master: wip  https://review.opendev.org/c/openstack/openstackdocstheme/+/98086509:49
opendevreviewIvan Anfimov proposed openstack/openstackdocstheme master: Highlight the current page in the left menu  https://review.opendev.org/c/openstack/openstackdocstheme/+/98086509:49
opendevreviewIvan Anfimov proposed openstack/openstackdocstheme master: Highlight the current page in the left menu  https://review.opendev.org/c/openstack/openstackdocstheme/+/98086509:54
opendevreviewIvan Anfimov proposed openstack/openstackdocstheme master: Highlight the current page in the left menu  https://review.opendev.org/c/openstack/openstackdocstheme/+/98086510:14
opendevreviewLeeChunghwan proposed openstack/osprofiler master: Create root span in the otlp driver  https://review.opendev.org/c/openstack/osprofiler/+/96842814:27
dansmithtkajinam: not trying to pester, but just wanted to remind you about this specific question I directed to you :) https://review.opendev.org/c/openstack/oslo.utils/+/978097/comments/68a98181_0cba9b3216:04
tkajinamdansmith, let a comment but I generally agree that we should consider splitting that format_inspector.py16:22
dansmithtkajinam: okay, so general split regardless of the LUKS one?16:23
dansmithalso, you said "not feasible" to split out the luks stuff, but I think we could have some of those decryption functions in a luks_utils module16:23
dansmithbut maybe if we split all the inspectors out it's not necessary16:24
dansmithor maybe you weren't thinking splitting them all out?16:24
tkajinamIMO it's a bit overkilling at this moment to split each inspector to single file, but we can push (1) too large inspector (luks) or (2) a few we can categorize (like vhd + vhdx) to separate files.16:28
dansmithokay16:30
tkajinamregarding luks_util, we can create a separate helpers, maybe we can create one, but I'm not very clear about how we balance 'generic' implementation and alignment with requirements by format inspector16:34
tkajinamand I assume that inspector can't be very much shrunk even if we prepare helpers outside of it16:35
dansmithI think it would be, but okay.. splitting just luks out (for now) will also address it, so that's fine16:54
dansmithI will push up one more copy of what I have now with some feedback addressed and then will iterate on a reshuffle from there16:55
dansmithtkajinam: I don't really understand the concern(s) over the ContainerFileInspector class... to me, there seems to be a fundamental split between things that contain other things and things that are .. uh, just things :)16:56
dansmithif I move that interface to the base class, then I can't add the obligatory inner_safety check with a standardized name, and will have to rely on anything that is going to implement that to do it16:57
dansmithmaybe I'm misunderstanding your latest comment.. did you mean keep the intermediate class and raise instead of return None? I don't think that makes sense,17:05
dansmithbecause we don't know our inner_format until we have parsed enough of our own container header to know17:05
dansmithin the LUKS case, we have to parse the luks header, then grab the first data block, decrypt it, and then inspect.. that's kinda the whole point of doing that.. to be able to see what is inside17:05

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