Monday, 2025-04-21

opendevreviewAbhishek Kekane proposed openstack/glance-specs master: Add spec to bypass chunked transfer of data  https://review.opendev.org/c/openstack/glance-specs/+/94742304:54
opendevreviewAbhishek Kekane proposed openstack/glance master: Refactor scrubber to remove use of eventlet  https://review.opendev.org/c/openstack/glance/+/94763708:36
opendevreviewAbhishek Kekane proposed openstack/glance master: Refactor scrubber to remove use of eventlet  https://review.opendev.org/c/openstack/glance/+/94763708:45
-opendevstatus- NOTICE: notice Reminder: The Gerrit service on review.opendev.org will be offline for a server replacement maintenance between 16:00-17:00 UTC today per https://lists.opendev.org/archives/list/service-announce@lists.opendev.org/message/D6VGKXHKXCV6TD6MFJY4H4KQBIM3AQYI/14:14
opendevreviewAbhishek Kekane proposed openstack/glance-specs master: Add spec to bypass chunked transfer of data  https://review.opendev.org/c/openstack/glance-specs/+/94742314:15
abhishekkrosmaita: added you as a reviewer to a spec, we have ongoing discussion about size calculation at client side which needs to be answered, please have a look when you get some time14:45
rosmaitaabhishekk: ack14:45
abhishekkthanks!14:45
dansmithabhishekk: rosmaita: yeah, maybe a video chat would be warranted here so we can get on the same page14:47
rosmaitai would not be averse to that14:48
dansmithfree now? everyone is still on vacay it seems so I'm pretty free14:49
dansmithabhishekk: ^14:49
abhishekkme not around but can join over mobile if we want to discuss it now14:50
dansmithyou're not around? you seem around :)14:51
abhishekkI was,  but left home few minutes before for some work :D14:51
dansmithah okay14:51
dansmitheither way, maybe rosmaita will have some important context for me to change my mind14:52
rosmaitado you want to talk about Scientology?14:52
dansmithum14:54
dansmithno?14:54
rosmaitaok, works for me ... want to chat now?14:54
abhishekkIf you managed to discuss this then great, else we can revisit it tomorrow or during weekly meeting14:55
dansmithmeet.google.com/knj-jbvv-etp14:55
rosmaitaomw14:55
dansmithabhishekk: ^ if you want, but I can summarize on the review if there's anything useful14:55
abhishekkthat will be great,14:56
dansmithabhishekk: rosmaita: summarized, check my work: https://review.opendev.org/c/openstack/glance-specs/+/94742315:27
rosmaitaack15:27
abhishekkSo are we going to provide another command line option for this?15:35
dansmithno option should be required.. what are you thinking would be necessary?15:36
dansmithif we're provided a filename to upload we just set the size on the image from that file15:36
abhishekkack, will sparse image upload will have any impact here?15:40
dansmithhow does that work? specifying a bunch of chunks with size and offset?15:41
abhishekkyes15:41
dansmiththe client provides that?15:42
dansmiththe spec I'm looking at makes it seem like glance just inspects the stream for holes and doesn't write them15:42
dansmithis this just the upload to the backing store from staging during import?15:44
abhishekkit is during upload as well15:45
abhishekkhttps://github.com/openstack/glance_store/blob/master/glance_store/_drivers/rbd.py#L61615:45
dansmithyeah, so that's just it refusing to write chunks that are all zeroes right?15:45
dansmithnot sure how this would change that at all15:45
abhishekkanyway we don't compare image_szie with bytes_written if image_size is provided15:46
dansmiththat is already kindof a bug right? :)15:47
abhishekk:D15:48
dansmithlooks to me like even if we upload with a content-length of 4 but we actually send 6, we'll just write the 6 and use that value instead of erroring about the inconsistency15:49
dansmith(on rbd, the others could be different I guess)15:49
abhishekkneed to check others, I think file has similar code15:49
dansmithbut that's broken right?15:50
dansmithlike, we could probably say content-length=4 and then upload a constant stream of data until we fill the disk and DoS the store?15:51
abhishekkyes :/15:53
-opendevstatus- NOTICE: notice The Gerrit service on review.opendev.org is offline for a server replacement maintenance between 16:00-17:00 UTC today per https://lists.opendev.org/archives/list/service-announce@lists.opendev.org/message/D6VGKXHKXCV6TD6MFJY4H4KQBIM3AQYI/16:00
dansmithabhishekk: https://bugs.launchpad.net/python-openstackclient/+bug/210780216:09
abhishekkack16:10
abhishekkSeems like it does not happen if I provide --file /dev/zero so it must be something with the stdin handling. Just curious what happens with --file /dev/zero does image becomes active or rejects it due to format inspeection or before that?16:12
dansmithabhishekk: I just updated, I was wrong16:12
abhishekkack16:12
dansmithI was trying glanceclient with --file not osc.. --file with osc behaves the same16:12
abhishekkack16:13

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