Friday, 2024-01-05

abhishekk_dansmith, sorry, I just saw your ping now related to glance_store patch, but I don't think this is related to what we currently witnessing, @pranali please confirm 08:09
abhishekk_https://review.opendev.org/c/openstack/glance_store/+/884524 this is the patch dansmith is referenced yesterday08:10
pranaliabhishekk_, dansmith no the this glance_store fix is not related to the deletion issue we noticed, rbd throws ImageBusy exception not the ImageHashSnapshot, I have also confirmed that by testing the image download and new loaation api without this glance_store patch as well09:27
pranalidansmith, this ceph issue is not only with new location api but also with image download api which i've reported already https://bugs.launchpad.net/glance/+bug/204576909:29
dansmithabhishekk: I guess pranali is already gone, but.. if this is not just related to the location API, surely this must be causing failures in the gate without the location api changes right?14:32
dansmithif so, then fine, but if not, including it in the location api set means we're changing two things at once...14:33
abhishekkwhat kind of failure you are talking about?14:33
dansmithokay re-thinking what you said yesterday... you think we literally don't have anything that tests the sequence of steps listed at the top of the bug currently right?14:35
abhishekkyes14:36
dansmithokay, and why do you think we're hitting that procedure with no changes other than the location api?14:36
abhishekkI just created large size image, then simultaneously while downloading deleted that image, it failed image was active but it was deleted from ceph14:38
abhishekkcreated image with image-create/imgae-create-via-import command not using location API14:39
dansmithyeah I understand, like in the bug right?14:39
abhishekkyes14:39
dansmithI'm asking about why you think moving to the location api (usage by nova) means we now hit the problem with the existing tests14:40
abhishekkbecause earlier we were not calculating hash in old location API14:40
abhishekkwhat changed with new location API is we set image to active and then download it in background to calculate the hash 14:41
dansmithright, and the concern is that now we can't delete that image until the hash is done right?14:42
abhishekkceph deletes it but imgae state is still active in glance14:43
dansmithor, the problem as nova/tempest see it14:43
abhishekkceph deletes the image even if IsInUse raised from store side14:43
dansmithoh, is it? that's not what I was expecting, but I also haven't seen anyone lay out *why*, which is what I'm trying to get at14:43
abhishekkyes14:43
abhishekkthere is one ceph link in the bug I guess which caused this regression I think14:44
dansmithokay, and that's a problem for the location api stuff why? because glance leaves the image as active?14:44
abhishekkyeah14:44
abhishekkand as an workaround in the patch we changing the state to deleted in the location API patch14:45
dansmithwait, what?14:45
dansmiththen why do we need to switch the ceph release in my nova patch?14:45
abhishekkhttps://review.opendev.org/c/openstack/glance/+/886749/32/glance/async_/flows/location_import.py#9114:45
abhishekkI was not aware about that, let me check14:46
dansmithokay, *that* is my whole concern here :)14:46
abhishekkI think she left it there by mistake14:47
dansmiththat except clause in the import seems reasonable to me14:47
abhishekkI asked her to test it with pacific as well14:47
dansmithabhishekk: okay that's what I've been trying to dig at this whole time :)14:47
abhishekkreally sorry14:47
abhishekkI think even removing that it will work14:47
dansmithhence this: [07:45:10]  <dansmith> it seems like just moving ceph back to pacific is not a good solution if pacific doesn't match what we're actually going to run on the current openstack/distro/ceph releases14:48
dansmithno, I wasn't clear I guess14:48
dansmithI'll revert that and push it up and let it run14:48
abhishekkI thought you were talking about local testing after reading comment from the bug14:48
dansmithnope14:49
dansmithI thought she was asserting that we'd roll back to pacific until it gets fixed in ceph, which I think is not reasonable14:49
abhishekkalso my irc bouncer stopped working lately so was not able to see all messages (so I missed it yesterday)14:50
abhishekkyep, looking at patch anyone has thought the same14:50
dansmithack14:50

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