Thursday, 2023-06-08

opendevreviewMerged openstack/glance-specs master: Update new location APIs spec  https://review.opendev.org/c/openstack/glance-specs/+/88349104:13
opendevreviewAndrew Bogott proposed openstack/glance_store master: rbd: compute appropriate resize amount before resizing image  https://review.opendev.org/c/openstack/glance_store/+/88558113:02
opendevreviewAndrew Bogott proposed openstack/glance_store master: rbd: compute appropriate resize amount before resizing image  https://review.opendev.org/c/openstack/glance_store/+/88558113:06
abhishekkdansmith, croelandt, mrjoshi, rosmaita, glance weekly meeting at #openstack-meeting13:56
opendevreviewMerged openstack/python-glanceclient master: Docs generation: mock the six module for autodoc  https://review.opendev.org/c/openstack/python-glanceclient/+/88550514:18
abhishekkthat was quick14:19
opendevreviewDan Smith proposed openstack/glance_store master: WIP: Add per-store weight config element  https://review.opendev.org/c/openstack/glance_store/+/88559516:17
dansmithrosmaita: could you have a glance over my suggestion (and POC) here? https://review.opendev.org/c/openstack/glance-specs/+/881951/3/specs/2023.2/approved/glance/store-id-strategy.rst16:20
dansmithshould be quick I think16:20
dansmithI'm just trying to avoid the need for the operators to define another list-of-store-names, which isn't very friendly for modular deployment stuff where you might put a config file per store in a directory in multiple deploy steps16:21
abhishekkdansmith, so on get call we will just reshuffle (or sort) the locations based on weight, right?16:28
dansmithabhishekk: I haven't seen your PoC, but you should be able to create a list of stores just like you do based on name, but sorted(..., key=weight) right?16:28
abhishekkyeah16:29
abhishekkwe need changes in glance-store as well as glance16:30
dansmithabhishekk: you saw my glance_store poc right?16:30
dansmiththat should be all we need AFAIK16:31
abhishekkyes16:31
abhishekkthat + sort logic at glance download call16:32
abhishekkbecause the above code which I have written will be enabled only if location_strategy is enabled16:32
dansmithright, but the latter should be one ine16:33
abhishekkeasier one16:33
dansmithbut right now, we can just always do the sort, and if no weights are set, it's a no-op16:33
abhishekkack16:33
abhishekkjust gathering information from spec point of view16:33
dansmithcool16:34
abhishekkthis will be much easier than configuring location strategies16:34
abhishekkthanks, I will make sure spec will be up before next meeting16:35
dansmithack16:36
dansmithI think this will be easier too16:36
dansmithand certainly easier for deployment tools16:36
rosmaitadansmith: just got back from lunch, will take a look17:01
dansmithrosmaita: thanks, it was mostly because abhishekk had gone for the day (I thought), but definitely good to get you to sanity check the idea17:10
rosmaitadansmith: seems reasonable ... i'm sure you thought of this, we need to document some kind of deterministic behavior when there are equal weights on stores17:23
dansmithI'm not sure why we would need to do that.. today it's not determinisitic because they're all effectively unweighted right?17:24
dansmithor deterministic even17:24
dansmiththis makes it behave the same today if they're not given any weights17:25
rosmaitawell, you get location order17:25
dansmithorder in which locations were added you mean?17:25
rosmaitawell, we could document that equal weights behave nondeterministically, and if you care, make sure you use unique weights17:26
dansmiththat's stable perhaps but not observable I imagine, and certainly not for a regular user that doesn't know about those things17:26
dansmithyeah, that'd be my preference, but it would also be trivial to sort by weight,name just so it's deterministic17:26
rosmaitawe just need to make a choice and document it so we can tell bugs from intended functioning17:27
dansmithsure17:27
opendevreviewAndrew Bogott proposed openstack/glance_store master: rbd: compute appropriate resize amount before resizing image  https://review.opendev.org/c/openstack/glance_store/+/88558119:01
opendevreviewMerged openstack/glance master: Test glance RBAC old defaults  https://review.opendev.org/c/openstack/glance/+/88360223:33

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