*** k_mouza has joined #openstack-glance | 00:01 | |
*** k_mouza has quit IRC | 00:06 | |
*** k_mouza has joined #openstack-glance | 00:16 | |
*** k_mouza has quit IRC | 00:21 | |
*** rcernin has quit IRC | 02:27 | |
*** gyee has quit IRC | 02:29 | |
*** rcernin has joined #openstack-glance | 02:30 | |
*** keper7 has quit IRC | 03:00 | |
*** k_mouza has joined #openstack-glance | 04:17 | |
*** ratailor has joined #openstack-glance | 04:21 | |
*** k_mouza has quit IRC | 04:21 | |
*** ratailor has quit IRC | 04:26 | |
*** evrardjp has quit IRC | 04:33 | |
*** evrardjp has joined #openstack-glance | 04:33 | |
*** m75abrams has joined #openstack-glance | 04:46 | |
*** nikparasyr has joined #openstack-glance | 05:00 | |
*** udesale has joined #openstack-glance | 05:36 | |
openstackgerrit | Merged openstack/glance master: [goal] Migrate glance jobs to focal https://review.opendev.org/743092 | 05:55 |
---|---|---|
*** belmoreira has joined #openstack-glance | 06:15 | |
openstackgerrit | Abhishek Kekane proposed openstack/glance-specs master: Make cinder driver compatible with multiple stores https://review.opendev.org/695152 | 07:00 |
*** rcernin has quit IRC | 07:22 | |
*** rcernin has joined #openstack-glance | 07:48 | |
*** ralonsoh has joined #openstack-glance | 07:50 | |
*** ralonsoh has quit IRC | 07:50 | |
*** ralonsoh has joined #openstack-glance | 07:52 | |
*** rcernin has quit IRC | 07:53 | |
*** rcernin has joined #openstack-glance | 08:26 | |
*** rcernin has quit IRC | 08:31 | |
*** priteau has joined #openstack-glance | 08:43 | |
*** k_mouza has joined #openstack-glance | 08:53 | |
*** rcernin has joined #openstack-glance | 08:59 | |
*** lpetrut has joined #openstack-glance | 09:12 | |
*** rcernin has quit IRC | 09:16 | |
*** ralonsoh has quit IRC | 09:40 | |
*** ralonsoh has joined #openstack-glance | 09:41 | |
* abhishekk will be back at 1400 hrs | 09:44 | |
*** k_mouza has quit IRC | 09:47 | |
*** k_mouza has joined #openstack-glance | 09:59 | |
*** udesale_ has joined #openstack-glance | 10:12 | |
*** tkajinam has quit IRC | 10:12 | |
*** udesale has quit IRC | 10:14 | |
*** belmoreira has quit IRC | 10:17 | |
*** k_mouza has quit IRC | 10:21 | |
*** k_mouza has joined #openstack-glance | 10:27 | |
openstackgerrit | Merged openstack/glance stable/ussuri: Releasenotes for Ussuri point release https://review.opendev.org/744093 | 10:37 |
*** rcernin has joined #openstack-glance | 10:55 | |
*** jv_ has joined #openstack-glance | 11:15 | |
*** Luzi has joined #openstack-glance | 11:20 | |
*** jv__ has joined #openstack-glance | 11:26 | |
*** udesale has joined #openstack-glance | 11:27 | |
*** jv_ has quit IRC | 11:27 | |
*** udesale_ has quit IRC | 11:27 | |
*** udesale_ has joined #openstack-glance | 11:31 | |
*** udesale has quit IRC | 11:32 | |
*** udesale_ has quit IRC | 11:38 | |
*** udesale has joined #openstack-glance | 11:41 | |
*** k_mouza has quit IRC | 11:47 | |
*** belmoreira has joined #openstack-glance | 11:51 | |
*** rcernin has quit IRC | 11:53 | |
*** takamatsu has joined #openstack-glance | 12:04 | |
*** k_mouza has joined #openstack-glance | 12:12 | |
*** belmoreira has quit IRC | 12:23 | |
*** ralonsoh_ has joined #openstack-glance | 12:26 | |
*** ralonsoh__ has joined #openstack-glance | 12:28 | |
*** ralonsoh has quit IRC | 12:30 | |
*** ralonsoh_ has quit IRC | 12:31 | |
*** njohnston has joined #openstack-glance | 12:33 | |
*** ralonsoh__ is now known as ralonsoh | 12:44 | |
abhishekk | dansmith, around? | 13:13 |
dansmith | abhishekk: just got back | 13:21 |
dansmith | mnaser: devstack or osc? the former maybe but not the latter that I know of | 13:22 |
abhishekk | dansmith, ack, welcome to the core group | 13:22 |
dansmith | heh, thanks :) | 13:22 |
abhishekk | could you please confirm you have +2 ability? | 13:22 |
dansmith | yup, looks like I do | 13:23 |
abhishekk | cool | 13:23 |
dansmith | thanks for that :) | 13:33 |
dansmith | I've got some big cleanups to the format inspector almost done which make it a lot easier to follow, | 13:34 |
dansmith | and will get some tests in place today | 13:34 |
abhishekk | dansmith, ack | 13:35 |
abhishekk | so now we could have virtual size set for those images whoever uses upload or import api | 13:36 |
*** hoonetorg has quit IRC | 13:36 | |
abhishekk | Only problem is with nova snapshot with copy-on-write as those will use locations API | 13:36 |
dansmith | meaning when nova does a snapshot direct in rbd and doesn't upload? | 13:39 |
*** hoonetorg has joined #openstack-glance | 13:39 | |
abhishekk | yes | 13:39 |
dansmith | I thought you said something about nova setting the virtual_size in that case? | 13:40 |
abhishekk | dansmith, no | 13:41 |
dansmith | nova *should* only be using raw on rbd, so the virtual_size should be the same as the raw size anyway right? | 13:43 |
abhishekk | yes | 13:43 |
mnaser | dansmith: it ended up being that when osc fails to upload, it tries to import, so that was really a distraction | 13:46 |
mnaser | i fixed my failure but the osc behaviour of import-if-upload-fails was reverted cause it was very unpredictable | 13:46 |
mnaser | esp if its against a cloud that is running under uwsgi which there are many | 13:47 |
mnaser | dansmith: https://review.opendev.org/#/c/744254/ | 13:47 |
dansmith | mnaser: ack, yeah.. that might've been monty trying to future-proof it for a pending removal of upload, but agree that's confusing behavior for most | 13:47 |
dansmith | gmann: do you know, if I need to use qemu-img from unit tests (or code for that matter), do I need to put qemu-something into bindep.txt? I think nova probably gets it from the libvirt things it has there | 13:51 |
abhishekk | rosmaita, fixed your comments on the cinder multi-store spec | 13:55 |
rosmaita | abhishekk: thanks, will take a look a bit later today | 13:56 |
rosmaita | hope they were reasonable? | 13:56 |
abhishekk | rosmaita, no problem, just wanted to let you know | 13:56 |
abhishekk | rosmaita, yes, | 13:56 |
* abhishekk in meeting | 14:01 | |
*** Luzi has quit IRC | 14:27 | |
*** udesale_ has joined #openstack-glance | 14:35 | |
*** udesale has quit IRC | 14:38 | |
*** donnyd has joined #openstack-glance | 14:40 | |
*** nikparasyr has left #openstack-glance | 14:47 | |
*** jv__ has quit IRC | 14:58 | |
*** jv__ has joined #openstack-glance | 15:10 | |
openstackgerrit | Abhishek Kekane proposed openstack/glance-specs master: Calculate virtual size of image https://review.opendev.org/741121 | 15:11 |
* abhishekk dinner break, back in 45 mins | 15:12 | |
gmann | dansmith: you can add explicitly also like ironic does - https://opendev.org/openstack/ironic/src/branch/master/bindep.txt | 15:14 |
dansmith | gmann: ah perfect, thanks | 15:15 |
*** lpetrut has quit IRC | 15:15 | |
jokke | dansmith: welcome welcome and thanks for helping us out! | 15:16 |
dansmith | \o/ | 15:17 |
*** openstackgerrit has quit IRC | 15:20 | |
*** jv__ has quit IRC | 15:22 | |
*** k_mouza has quit IRC | 15:40 | |
*** lpetrut has joined #openstack-glance | 15:43 | |
*** k_mouza has joined #openstack-glance | 15:54 | |
* abhishekk back from break | 15:57 | |
*** m75abrams has quit IRC | 16:04 | |
*** lpetrut has quit IRC | 16:21 | |
*** openstackgerrit has joined #openstack-glance | 16:21 | |
openstackgerrit | Dan Smith proposed openstack/glance master: Stream-friendly disk format inspection module https://review.opendev.org/744205 | 16:21 |
dansmith | abhishekk: ^ | 16:21 |
abhishekk | dansmith, ack | 16:22 |
abhishekk | dansmith, lee yarwood from nova has reported one bug against nova-ceph job | 16:25 |
abhishekk | I guess it is related to race condition, do you get any chance to have a look at it? | 16:25 |
abhishekk | #link https://bugs.launchpad.net/bugs/1890193 | 16:26 |
openstack | Launchpad bug 1890193 in Glance "nova-ceph-multistore fails with rbd.OSError: [errno 116] error removing image" [Undecided,New] | 16:26 |
dansmith | abhishekk: I saw and asked you a question on there.. I haven't dug into the logs yet, but I figured you must have because you said that | 16:26 |
abhishekk | ohh, I didn't got notification about it | 16:26 |
dansmith | do you know that glance can fail to delete an rbd if something is still writing or? | 16:26 |
abhishekk | not sure | 16:28 |
abhishekk | but from log it looks like that it can | 16:28 |
dansmith | okay did you see a second glance task not yet finished before the delete happens? | 16:31 |
abhishekk | I see failure message which states that no file present in staging area | 16:32 |
abhishekk | Now the file in staging area can be deleted only by DeleteFromFS task or revert operation or image is deleted while operation is in progress | 16:33 |
dansmith | okay and that's your indication that the staging file was deleted by the first thread when it completed but that there's likely another thread still going? | 16:36 |
abhishekk | i think so | 16:39 |
dansmith | ack | 16:40 |
*** gregwork has joined #openstack-glance | 16:40 | |
dansmith | I have been pretty much striking out trying to figure out a good way to test for this, more than just mocked unit tests, | 16:40 |
dansmith | so maybe if we're hitting it reasonably reliably in the gate, we should just merge that stack as soon as possible so we have time to watch it in the gate well in advance of the release in case we need to fix or revert | 16:41 |
dansmith | are there comments I need to address on it, or are we just waiting for wider review? | 16:41 |
abhishekk | dansmith, one of the suggestion is busted states | 16:42 |
abhishekk | if task state some how remains in pending state then it is not possible to unlock the image without admin intervention | 16:43 |
abhishekk | same thing can be said about reverting/reverted state | 16:43 |
abhishekk | reverted will not come into picture as once task is successfully reverted that means we have released the lock as well | 16:44 |
dansmith | abhishekk: in my current thing there is no pending state and the lock can be busted by the API as soon as it becomes old enough | 16:44 |
abhishekk | another one is should we increase the logging of progress by some more time? | 16:44 |
dansmith | so I'm confused I guess | 16:44 |
abhishekk | let me have a look again | 16:44 |
dansmith | meaning less than once per minute? | 16:45 |
dansmith | is this feedback collected somewhere? if there are comments on the patches I think I'm missing them | 16:46 |
abhishekk | nope I was going to add them | 16:46 |
dansmith | ah okay | 16:46 |
abhishekk | last friday I linked you flow diagram of task flow, remember? | 16:47 |
dansmith | yeah | 16:47 |
dansmith | I was scrambling to get ready for my trip, so I don't remember if something actionable came out of that... | 16:47 |
*** gyee has joined #openstack-glance | 16:49 | |
*** priteau has quit IRC | 16:51 | |
abhishekk | dansmith, ack, I was also on PTO yesterday so totally forget about that | 16:51 |
*** priteau has joined #openstack-glance | 16:52 | |
*** ralonsoh has quit IRC | 17:00 | |
*** ralonsoh has joined #openstack-glance | 17:01 | |
*** ralonsoh has quit IRC | 17:06 | |
*** ralonsoh has joined #openstack-glance | 17:07 | |
*** udesale_ has quit IRC | 17:16 | |
openstackgerrit | Dan Smith proposed openstack/glance master: Stream-friendly disk format inspection module https://review.opendev.org/744205 | 17:30 |
openstackgerrit | Dan Smith proposed openstack/glance master: Inspect upload stream and set virtual_size on upload https://review.opendev.org/744234 | 17:30 |
jokke | that was the other thing I was suppose to get done. review those patches | 17:31 |
*** priteau has quit IRC | 17:33 | |
dansmith | abhishekk: ah *that* pending, I see.. will reply :) | 17:35 |
abhishekk | ack | 17:36 |
*** k_mouza has quit IRC | 17:36 | |
*** lpetrut has joined #openstack-glance | 17:49 | |
*** lpetrut has quit IRC | 17:50 | |
*** jv__ has joined #openstack-glance | 17:51 | |
* abhishekk leaving for the day | 18:02 | |
dansmith | rosmaita: so I know you're already in glance review debt, but your feedback on this, at least at a high level might be useful: https://review.opendev.org/#/c/744205/6 | 18:30 |
dansmith | rosmaita: note the small patch after that to integrate it into the upload data pipeline | 18:30 |
dansmith | might also be useful for cinder? | 18:30 |
rosmaita | dansmith: i'll take a look | 18:31 |
dansmith | something could use this to examine a disk that isn't stored locally by just streaming enough of it until the module finds what it needs and then stops | 18:33 |
dansmith | so, like read chunks from ceph until that happens, without having to download the whole thing, in the case where we just need to inspect something stored in ceph already | 18:33 |
rosmaita | yes, that could be very useful | 18:46 |
*** k_mouza has joined #openstack-glance | 18:48 | |
*** k_mouza has quit IRC | 19:07 | |
jokke | dansmith: rosmaita: I mostly like that. Only problem I'm seeing is those exceptions are not caught anywhere. As we have never done actual verification of the image data (and lots of people are just using bunch of random bytes as part of their canary tests) IIUC this will start throwing 500s out of the API like no tomorrow? | 19:15 |
dansmith | jokke: nope, it swallows any/all failures to detect or process the image | 19:15 |
dansmith | jokke: right here: https://review.opendev.org/#/c/744205/6/glance/common/format_inspector.py@517 | 19:16 |
dansmith | tested in both cases here: https://review.opendev.org/#/c/744205/6/glance/tests/unit/common/test_format_inspector.py@235 | 19:16 |
rosmaita | tests!!! | 19:16 |
dansmith | rosmaita: ikr? | 19:16 |
rosmaita | dansmith: it is a pleasure to have you working on glance | 19:16 |
rosmaita | :) | 19:16 |
dansmith | :P | 19:17 |
jokke | aha, yet another wrapper ... missed that. Thanks for taking it in cnsideration | 19:17 |
dansmith | those tests also feed each format thingy random data | 19:17 |
jokke | cool ... yeah, maybe debug rather than error logs there but indeed that looks nifty | 19:19 |
dansmith | I still need to remove a bunch of debug from those format handlers btw | 19:19 |
dansmith | that's too much debug for actual use I think | 19:19 |
dansmith | maybe I can have a separate knob to turn those on if we need to debug and repro a problem or something | 19:20 |
jokke | it's quite a lot indeed | 19:20 |
dansmith | well, I blame MSFT's overly complicated VHDX format for making me add all that in the first place :P | 19:20 |
jokke | Log level debugdebug ;) | 19:20 |
dansmith | heh | 19:21 |
jokke | dansmith: nono, I totally understand why you would want to have it in there while actually writing the code, in gate and production it indeed might be bit much | 19:21 |
dansmith | definitely.. I also hesitate to throw it out because in a year, it'll be easier to turn it on to debug things than re-read the spec docs | 19:22 |
dansmith | I'll add a separate knob and you can see if what I have is reasonable | 19:22 |
dansmith | s/see/judge/ | 19:22 |
jokke | Honestly it would be great if we had level in between debug and info we could use in the gate | 19:22 |
dansmith | well, we used to have logging.TRACE for uuberdebug like this | 19:23 |
dansmith | but it was non-standard and thus shunned | 19:23 |
jokke | and if there is something which needs it, one could just flip that | 19:23 |
jokke | dansmith: I know ... missing those times | 19:23 |
dansmith | yeah | 19:23 |
dansmith | I think the misunderstanding in that effort was "no, people run with debug=True all the time, so we *do* need another" | 19:23 |
jokke | cause tbh, gate in normal day doesn't need to debug on that level, but like you said, in certain times it would be beneficial | 19:23 |
jokke | well it was the times when OpenStack logging was all over the place | 19:24 |
jokke | It was actually one of the early things I took on when I joined the Glance team. I wen't through every single logging line, made sure that the level and message made at least somewhat sense | 19:25 |
jokke | That' why I also pay a lot of attention on how people log in their changes :P | 19:25 |
jokke | it's an exercise I don't want to do again | 19:25 |
dansmith | aye | 19:27 |
jokke | I learned hell of a lot of the code and drove rosmaita and the rest of the cores totally mental trying to review those :P | 19:29 |
jokke | dansmith: rosmaita: smcginnis: any chance to get those bugfixes https://review.opendev.org/744024 https://review.opendev.org/744030 https://review.opendev.org/744011 https://review.opendev.org/744010 looked over. Would be great to get them backported before we pull the trigger of releasing ussuri and train | 19:35 |
jokke | if you're too busy for it, just say. Version numbers are cheap | 19:37 |
dansmith | I will in a sec | 19:37 |
openstackgerrit | Dan Smith proposed openstack/glance master: Stream-friendly disk format inspection module https://review.opendev.org/744205 | 19:38 |
openstackgerrit | Dan Smith proposed openstack/glance master: Inspect upload stream and set virtual_size on upload https://review.opendev.org/744234 | 19:38 |
dansmith | ^with tracing knob | 19:38 |
jokke | lets hpe grenade likes them this time. Tried to look, but have no idea why it failed | 19:41 |
jokke | hope | 19:41 |
dansmith | jokke: grenade is failing for swift reasons, AFAICT | 19:47 |
dansmith | jokke: if there's a rush on these, let me know and I'll write these tests for you | 19:47 |
*** ralonsoh has quit IRC | 19:47 | |
dansmith | for a bug, surely seems like it's reasonable to require tests... :) | 19:47 |
jokke | I'll have a look. one of them misses the tests all together ... it's not exactly trivial to get there. Abhishek found the behaviour by pausing the execution with debugger and whacking the data :P | 19:50 |
jokke | so kind of those that one should not face in real life | 19:51 |
dansmith | pretty sure each of these things are at least trivially testable just to make sure the exception handler runs | 19:51 |
dansmith | but let me know and I'll take a go at it :) | 19:51 |
dansmith | approved that client one as my first glance +W! | 19:52 |
jokke | thnx | 19:54 |
jokke | https://review.opendev.org/#/c/744011/ this is the one we really struggled to have any meaningful tests for | 19:55 |
jokke | And Abhishek is in general pretty good mocking enough things to get some kind of starting point :P | 19:55 |
dansmith | why, isn't that trivial to run such that delete() will explode and we run the log and assert we didn't re-raise? | 19:57 |
dansmith | like, if someone changed the log content and didn't add a new parameter to the arg dict, we wouldn't notice until it exploded in real life | 19:57 |
dansmith | that's not meaningful in the larger integration sense, but it is meaningful in making sure that we catch such a trivial error way before it generates a stack trace in someone's log instead of a useful error message :) | 19:58 |
jokke | graah indeed .... you might not know yet ... I'm really bad doing unit tests and I hate them in general. | 19:58 |
dansmith | heh, well, I might've guessed, but.. still :) | 19:59 |
dansmith | but again, if you're EOD or out of time, I'll happily write you something | 19:59 |
jokke | it's 9pm for me ... but tbh I don't think there's such panic if grenade is not working anyways. Meaning I think it's better to get the releases done this week than keep them waiting for these. | 20:01 |
jokke | like siad ersion numbers are cheap | 20:01 |
dansmith | well, up to you, it won't take me long and it's notably *not* 9pm here :) | 20:02 |
jokke | if you're up for it, sure, I'll take it. Otherwise I jump into the wonderous world of black magic called mocking once I've had my dinner :P | 20:03 |
jokke | It's funny. Still after 5 years mocking stuff for testing if true is true makes absolutely no sense to me :P | 20:04 |
dansmith | jokke: what's your answer about the task naming? | 20:04 |
jokke | damn it's actually way over that | 20:04 |
jokke | dansmith: I really don't care what it's called apart from SaveImage in it's current form was very much off to warrant changing it | 20:05 |
dansmith | ack | 20:05 |
jokke | VerifyState, VerifyImageState, ConfirmActive ... any would work for me | 20:06 |
smcginnis | JokkesTask | 20:06 |
jokke | Preferably nothing crazy long as that name gets stuff added areound it when it's logged | 20:06 |
jokke | not fun having 200 character strings in your logs | 20:07 |
*** jv__ has quit IRC | 20:29 | |
openstackgerrit | Dan Smith proposed openstack/glance master: Fix active image when all uploads fail https://review.opendev.org/744010 | 20:38 |
openstackgerrit | Dan Smith proposed openstack/glance master: Fix active image without data https://review.opendev.org/744011 | 20:38 |
dansmith | jokke: unless I'm missing something, your log message would always explode in the second patch, so I fixed it in the above ^ ... let me know if I'm missing why that's not right. | 20:38 |
dansmith | smcginnis: since I have my fingerprints on those I'm hesitant to ninja approve, but they had a +2 from abhishekk before I came along, in case you have change to skim and approve :) | 21:26 |
*** freerunner has quit IRC | 22:55 | |
*** sorrison has quit IRC | 22:55 | |
*** dansmith has quit IRC | 22:55 | |
*** frickler has quit IRC | 22:55 | |
*** tkajinam has joined #openstack-glance | 22:55 | |
*** freerunner has joined #openstack-glance | 22:57 | |
*** sorrison has joined #openstack-glance | 22:57 | |
*** dansmith has joined #openstack-glance | 22:57 | |
*** frickler has joined #openstack-glance | 22:57 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!