Monday, 2025-12-01

*** mhen_ is now known as mhen02:22
opendevreviewAbhishek Kekane proposed openstack/glance stable/2025.2: Fix FileNotFoundError when registering task operations  https://review.opendev.org/c/openstack/glance/+/96901707:17
opendevreviewAbhishek Kekane proposed openstack/glance master: Cache PropertyRules instances in Gateway  https://review.opendev.org/c/openstack/glance/+/96876607:34
croelandtrosmaita: Hey! Did you get a chance to look at the logs frmo Thursday meeting? We were trying to figure out what to call the parameters for https://review.opendev.org/c/openstack/glance-specs/+/96323913:14
croelandtdansmith: ^13:14
rosmaitacroelandt: i kind of don't care about the parameters tbh, but need a bit more time to think about the cache situation13:27
rosmaitathanks to abhishekk for pointing it out in his comments, btw13:27
rosmaitai had seen it and thought it was fine, but on rereading, it would be good if we could have consistent return code behavior with the new stuff13:27
rosmaitathough i am not sure that is possible13:27
abhishekkrosmaita: o/ I think not everyone uses caching though13:28
rosmaitainteresting ... i would have thought everyone would use it!13:29
abhishekkI remembered to have few customers in past which were not using glance caching 13:30
rosmaitawell, maybe we handle it through documentation ... if an operator wants "require" to work correctly, they must not use caching13:30
abhishekkYeah, I am going to add it in documentation about the same13:30
abhishekkother than this I am not sure how we are going to have consistent behavior with this13:32
abhishekkmay be option to bypass caching?13:32
rosmaitadon't know ... like you point out in the spec, the caching happens in the middleware, so the request wouldn't even hit the api13:37
rosmaitaso we'd have to handle it in the middleware13:37
rosmaitawhich i guess is do-able?13:38
abhishekkCan be, need to have a look, but I think the 1st step is document this behavior and then later we can think about enhancing it to baypass caching13:39
abhishekkWe definitely have query param access in middleware I guess, so can be doable13:39
rosmaitathe issue is, a 200 response from GET images/{id}/file?stores=one&required=true could mean the image is coming from store one, or could mean it's coming from the cache ... you don't know13:43
rosmaitai guess maybe that doesn't matter?13:43
abhishekkyeah, it doesn't matter13:43
abhishekkbecause it's the same case now with download api call 13:44
rosmaitaok, but what is the use case for having the "require" there at all? does the list of stores really need to be anything other than a suggestion?13:46
abhishekkI think that should be a additional support for deployer to mention that you need to have image in this store others may be disabled for them?13:50
rosmaitalooks like the case would be "Operators cannot test if a specific store is working" (under the current scheme)13:50
rosmaitabut if caching is enabled, they can't test this anyway13:50
abhishekkThey can, by creating new image :D13:50
rosmaitathat's true13:51
rosmaitai guess it depends on how you GET images/{id}/file ... if the idea is "give me that image data (unless it is not public or community or not shared with me)", then it would make sense that the store list is just suggestions for the order to try if the image isn't cached13:56
abhishekkyep13:59
rosmaitathat makes me think that "required" isn't necessary for this ... we just want to allow the requestor to pick the store order that will be tried, but we figure if they request a file, they mean it14:01
rosmaitai mean, they could do an image-show to see what stores the image is in if they really care, before they make the download request14:02
abhishekkeither works for me, my initial idea is was to give a store preference 14:03
rosmaitaok, i will leave a comment on the spec ... thanks for the discussion!14:05
abhishekkNP, thank you for your time 14:15
rosmaitacroelandt: left a comment on the spec14:31
abhishekkrosmaita: thank you, does that means just stores query param is enough?14:35
rosmaitayes, from my perspective14:35
abhishekkack, i will wait for dansmith and croelandt about there suggestions and then update the spec14:36
dansmithI'm fine with just the store list and fall back to any store14:38
abhishekkcool thank you!!14:38
opendevreviewAbhishek Kekane proposed openstack/glance-specs master: [spec] Download image from specific store  https://review.opendev.org/c/openstack/glance-specs/+/96323914:50
rosmaita"AI Overview: "Glance-specs" can refer to several products or services, including the specifications for Mobile Pixels Glance portable monitors, the Mobile Pixels Glance Pro, or the design specifications for the OpenStack Glance project. "15:30
dansmithrosmaita: lol18:02
croelandtrosmaita: damn, now I don't know which one this channel is about!18:21

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