Friday, 2021-02-05

*** zzzeek has quit IRC00:01
*** zzzeek has joined #openstack-glance00:02
*** Underknowledge has quit IRC00:23
*** Underknowledge has joined #openstack-glance00:24
openstackgerritDan Smith proposed openstack/glance master: DNM: Test volume quota increase  https://review.opendev.org/c/openstack/glance/+/77417400:26
openstackgerritDan Smith proposed openstack/glance master: DNM: Test volume quota increase  https://review.opendev.org/c/openstack/glance/+/77417400:27
openstackgerritDan Smith proposed openstack/glance master: DNM: Test volume quota increase  https://review.opendev.org/c/openstack/glance/+/77417400:31
*** zzzeek has quit IRC01:33
*** zzzeek has joined #openstack-glance01:34
*** baojg has joined #openstack-glance01:42
*** zzzeek has quit IRC01:45
*** zzzeek has joined #openstack-glance01:48
*** zzzeek has quit IRC01:57
*** zzzeek has joined #openstack-glance01:59
*** dasp has quit IRC02:04
*** dasp has joined #openstack-glance02:32
*** lbragstad has quit IRC02:35
*** lbragstad has joined #openstack-glance03:15
*** rcernin has quit IRC03:24
*** rcernin has joined #openstack-glance03:27
*** Underknowledge has quit IRC03:33
*** Underknowledge2 has joined #openstack-glance03:33
*** Underknowledge2 is now known as Underknowledge03:34
*** baojg has quit IRC03:34
*** baojg has joined #openstack-glance03:36
*** udesale has joined #openstack-glance03:46
*** baojg has quit IRC04:07
*** zzzeek has quit IRC04:08
*** zzzeek has joined #openstack-glance04:09
*** ratailor has joined #openstack-glance04:57
*** baojg has joined #openstack-glance05:24
*** udesale has quit IRC06:27
*** udesale has joined #openstack-glance06:56
*** udesale has quit IRC07:08
*** udesale has joined #openstack-glance07:09
*** lpetrut has joined #openstack-glance07:17
*** rcernin has quit IRC07:57
*** vesper11 has joined #openstack-glance07:58
*** ralonsoh has joined #openstack-glance08:02
*** rcernin has joined #openstack-glance08:14
*** rcernin has quit IRC08:19
*** rcernin has joined #openstack-glance08:26
*** vesper11 has quit IRC08:30
*** udesale has quit IRC08:30
*** rcernin has quit IRC08:32
*** rcernin has joined #openstack-glance08:44
*** udesale has joined #openstack-glance08:49
*** rcernin has quit IRC08:50
*** rcernin has joined #openstack-glance09:01
*** rcernin has quit IRC09:06
*** rcernin has joined #openstack-glance09:27
*** rcernin has quit IRC09:43
*** nikparasyr has joined #openstack-glance09:44
*** rcernin has joined #openstack-glance10:19
*** rcernin has quit IRC10:21
*** udesale_ has joined #openstack-glance11:10
*** udesale has quit IRC11:13
*** k_mouza has joined #openstack-glance11:23
*** baojg has quit IRC11:25
*** baojg has joined #openstack-glance11:27
*** baojg has quit IRC11:52
*** baojg has joined #openstack-glance11:53
*** udesale_ has quit IRC12:07
*** baojg has quit IRC12:08
*** baojg has joined #openstack-glance12:09
*** baojg has quit IRC12:13
*** baojg has joined #openstack-glance12:28
*** lbragstad_ has joined #openstack-glance12:56
*** lbragstad has quit IRC12:56
*** ratailor has quit IRC13:06
openstackgerritRajat Dhasmana proposed openstack/glance master: Add functional tests for cinder multiple store  https://review.opendev.org/c/openstack/glance/+/75014413:11
*** tkajinam has quit IRC13:50
*** whoami-rajat__ has joined #openstack-glance14:01
whoami-rajat__dansmith: hey, I've updated the patch with your proposed changes https://review.opendev.org/c/openstack/glance/+/75014414:01
dansmithwhoami-rajat__: thanks, did you see the devstack patch I put up to address the quota bug with that cinder job?14:20
whoami-rajat__dansmith:  ah, there are failures on the cinder job? looking...14:23
dansmithwhoami-rajat__: occasionally, and at least some of the time we run out of cinder quota while trying to do the glance upload14:23
dansmithprobably because we're also running volume jobs for something else I would guess14:24
dansmithor maybe just a bunch of glance tests at the same time14:24
dansmith(I meant volume *tests* above not jobs)14:24
dansmithwhoami-rajat__: https://bugs.launchpad.net/glance/+bug/191466514:24
openstackLaunchpad bug 1914665 in Glance "Cinder Multistore job hits Cinder Quota error" [Undecided,New]14:24
whoami-rajat__dansmith: ack, your patch makes sense +1, thanks for fixing this14:28
whoami-rajat__(and is also working)14:28
dansmithwhoami-rajat__: cool, thanks, just +2d your tests, maybe smcginnis would like to ack them for us :P14:29
whoami-rajat__:D thanks \o/14:30
dansmithwhoami-rajat__: how come the cinder job is non-voting? if we want to run it each time we might as well make it voting, or move it to the experimental queue14:30
*** udesale has joined #openstack-glance14:33
whoami-rajat__dansmith: that job is treated as a backend third party CI run on the cinder gate, it's non-voting (as it may be unstable and doesn't affect all patches) but it's good to make sure any glance change doesn't break the glance cinder setup14:35
*** k_mouza has quit IRC14:44
*** k_mouza has joined #openstack-glance14:44
dansmithwhoami-rajat__: but it can be voting in our tree, even if not in cinder14:49
smcginnismultistore test patch looks good. Were there other patches that I should look at dansmith?14:51
dansmithsmcginnis: yeah, this is actually what I meant for you: https://review.opendev.org/c/openstack/glance/+/75014414:51
smcginnisLooking...14:51
dansmithoh that'ss the one you got14:51
smcginnisHah, yep.14:52
smcginnisI was like, wait, this looks just like the other one. :D14:52
dansmithsorry14:52
smcginnisNo worries!14:52
dansmithI thought maybe you meant you looked at the devstack patch14:52
dansmithyou're not core over there TOO are you?14:52
smcginnisHaha, nope.14:52
dansmithhttps://review.opendev.org/c/openstack/devstack/+/77417214:52
dansmithheh okay14:52
smcginnisI can certainly take a look though.14:52
dansmithoh yeah, it has cinder in the name, so your +1 is like gold14:53
smcginnishah14:53
dansmithwhoami-rajat__: there is something else about that job I want to look at.. the 30 second sleep that it does before it starts glance -- we really really shouldn't do that14:53
dansmithwhoami-rajat__: what are we waiting for there, just cinder api being reachable?14:53
whoami-rajat__dansmith: if glance team doesn't have issues i will make it voting14:54
dansmithwhoami-rajat__: if we're going to run it on every patch and expect it to be stable, we should make it voting.. if we're not expecting it to be stable, it really should be in experimental.. nonvoting should be for things we're trying to stabilize, so yes, please propose to make it voting14:55
whoami-rajat__dansmith:  when cinder volume gets active, it collects the capabilities from backend and publishes it to the scheduler, i tested it manually and on gate as well so the range i saw was from 10sec to 22sec so kept a safe of 30 sec. i didn't have any alternative solution to it ...14:56
dansmithwhoami-rajat__: okay, so this is some internal cinder thing we're waiting to happen.. you really think there's no way to tell from the outside that it has happened?14:57
dansmithmaybe smcginnis knows?14:57
dansmithor rosmaita. between them I think they have all knowledge of humanity14:58
whoami-rajat__dansmith: it's logged in the scheduler and that's how i get to know it, not sure of a way to tell devstack the same14:59
whoami-rajat__i mean the scheduler logs14:59
dansmithwhoami-rajat__: it also seems like if this *has* to be in place before glance starts that's very fragile14:59
dansmithwhoami-rajat__: can we make glance lazy-load that the first time so we don't need it until we actually need it?14:59
dansmithwhoami-rajat__: we should be able to do more work in devstack *while* that is happening, instead of having to block all work until it finishes15:00
dansmithlike, would restarting the c-sch service cause it to happen immediately?15:01
dansmithor SIGHUP?15:01
whoami-rajat__c-sch has no role in it but it should have received the capabilities from the backend when a create volume request comes to the scheduler15:01
dansmithis it create volume or volume type?15:02
whoami-rajat__create volume15:02
dansmithokay, what volume is created at this point? doesn't glance create a volume for each image? or is it creating one volume to hold all the images?15:03
dansmithsurely seems like the former because of the quota bug15:03
*** lbragstad_ is now known as lbragstad15:03
whoami-rajat__glance creates a different volume for each image, when devstack triggers the cirros image creation then the first image-volume is created which fails if we don't wait for c-sch and c-vol to be properly setup15:04
whoami-rajat__hence the wait time15:04
dansmithokay hold on let me go look at the code again, I thought you did this before you start g-api15:04
dansmithyeah, this happens before we even start g-api15:05
dansmithokay so maybe there are two things here15:05
dansmithlemme get some links15:06
dansmiththis is the sleep: https://github.com/openstack/devstack/blob/edee6dc341e40939360b36ce9fd09052dea1ee4d/stack.sh#L1293-L129715:06
dansmithand you're saying that needs to happen before we try to upload an image the first time, yeah?15:06
dansmiththen there is this: https://github.com/openstack/devstack/blob/edee6dc341e40939360b36ce9fd09052dea1ee4d/stack.sh#L130015:07
dansmithwhich says we need to wait on starting g-api until the *volume types* are created, somewhat separate issue, is that right?15:07
whoami-rajat__the second one I'm not aware of but the first one is my finding15:09
whoami-rajat__it seems to be a separate issue15:09
dansmithokay, I was squashing the two together because they're close and both related to cinder and glance15:09
dansmithwhoami-rajat__:  can you show me what c-sch logs that indicates we're ready?15:10
whoami-rajat__let me find it15:11
whoami-rajat__dansmith: sorry got involved in some other work, this is one comment i found in an old patch http://paste.openstack.org/show/802394/15:23
whoami-rajat__dansmith: this one i found from a recent run http://paste.openstack.org/show/802396/15:29
whoami-rajat__https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_269/773566/1/check/glance-multistore-cinder-import/269d075/controller/logs/screen-c-sch.txt15:30
whoami-rajat__scheduler logs if you want to look for more info ^15:30
dansmithwhoami-rajat__:  okay, so wouldn't restarting c-vol make that happen immediately instead of waiting for a periodic?15:31
whoami-rajat__hmm, not really sure that would work but I haven't tested that out myself15:32
dansmithI'm just going on how this kind of thing works in nova,15:32
dansmithbut usually we do this sort of thing immediately at startup and then periodically after startup, which makes me think a quick bounce of c-vol would make it happen quicker15:32
openstackgerritLance Bragstad proposed openstack/glance master: Pass oslo.context RequestContext objects directly to policy enforcement  https://review.opendev.org/c/openstack/glance/+/76742515:33
whoami-rajat__we can surely try it, will save a lot of time if it works15:33
dansmithwhoami-rajat__:  of those log lines,15:38
dansmithwhat are we looking for specifically? I see that's where capabilities gets updated, but what needs to be in there specifically?15:38
whoami-rajat__dansmith: all the capabilities, it makes sure the scheduler detects a backend exists then it checks if it passes all configured filters from the capabilities (like has appropriate storage space for operation to complete)15:41
dansmithoh, so not some specific capability, just that the volume node has reported in at some point?15:41
whoami-rajat__yep15:42
dansmithhrm,15:42
dansmithso this would be a thing for nova too surely15:42
dansmithjust maybe we're always winning the race because we don't do the first nova op until much later?15:42
dansmithwhoami-rajat__: would this not be enough to poll? $ openstack volume service list -f value -c Binary | grep volume15:45
dansmiththat shows that the volume has registered15:45
openstackgerritRajat Dhasmana proposed openstack/glance master: DNM: testing glance cinder job with restarting c-vol  https://review.opendev.org/c/openstack/glance/+/77425515:45
dansmithI dunno when that happens compared to the communication to scheduler, but I'd kinda expect it to be the same.. do you know it's not?15:45
whoami-rajat__c-vol service is registered and becomes active instantly still the reporting takes time15:46
dansmithokay15:46
whoami-rajat__but i may be missing things since it's a long time i looked at that15:46
whoami-rajat__i proposed glance + devstack patches to test the behavior with restart ^^15:46
dansmithwhoami-rajat__: cool, thanks15:47
dansmithwhoami-rajat__: my async devstack patches make it so we can do other things while we wait for this,15:48
dansmithbut I'd also like to wait for the actual thing to happen instead of just arbitrarily 30s all the time, and even better if we can poke c-vol to do its thing :)15:48
dansmithanyway, I'll look for some guidance from cinder people on what our options are here15:51
whoami-rajat__dansmith: I'm also inclined to do it the right way but debugging it once took a lot of time and currently I'm involved in some other tasks15:54
whoami-rajat__but i will surely look into it again15:54
whoami-rajat__thanks for bringing it to attention :)15:54
dansmithwhoami-rajat__: ack, yeah, I'm not trying to make it your problem, I just wanted to understand15:54
dansmithsounds like it's sufficiently obscure to justify the sleep on the first pass, but I'd like to make it better if we can15:54
whoami-rajat__yeah, agree15:56
*** lpetrut has quit IRC15:57
openstackgerritLance Bragstad proposed openstack/glance master: nit: Clarify why check() is different from enforce()  https://review.opendev.org/c/openstack/glance/+/77428216:15
openstackgerritMerged openstack/glance master: Add functional tests for cinder multiple store  https://review.opendev.org/c/openstack/glance/+/75014416:20
dansmithwoot16:21
*** nikparasyr has left #openstack-glance16:34
openstackgerritMerged openstack/glance master: Add devstack plugin script  https://review.opendev.org/c/openstack/glance/+/77356616:34
*** k_mouza_ has joined #openstack-glance16:36
*** k_mouza has quit IRC16:37
*** ralonsoh has quit IRC17:14
*** udesale has quit IRC17:33
*** k_mouza_ has quit IRC18:11
*** hoonetorg has quit IRC18:19
*** hoonetorg has joined #openstack-glance18:22
*** k_mouza has joined #openstack-glance18:46
*** k_mouza has quit IRC18:50
*** hoonetorg has quit IRC19:06
*** hoonetorg has joined #openstack-glance19:10
*** hoonetorg has quit IRC19:22
*** hoonetorg has joined #openstack-glance19:28
*** hoonetorg has quit IRC20:18
*** hoonetorg has joined #openstack-glance20:22
openstackgerritLance Bragstad proposed openstack/glance master: Bump requirements to perpare for secure RBAC  https://review.opendev.org/c/openstack/glance/+/76423621:15
openstackgerritLance Bragstad proposed openstack/glance master: Add basic/common personas to base policies  https://review.opendev.org/c/openstack/glance/+/76424121:15
openstackgerritLance Bragstad proposed openstack/glance master: Pass oslo.context RequestContext objects directly to policy enforcement  https://review.opendev.org/c/openstack/glance/+/76742521:15
openstackgerritLance Bragstad proposed openstack/glance master: Implement secure RBAC for image actions  https://review.opendev.org/c/openstack/glance/+/76475421:15
openstackgerritLance Bragstad proposed openstack/glance master: WIP: add logic to properly enforce secure RBAC when handling images  https://review.opendev.org/c/openstack/glance/+/76521021:15
openstackgerritLance Bragstad proposed openstack/glance master: Explicitly unset tempest_roles in devstack plugin  https://review.opendev.org/c/openstack/glance/+/77430821:15
openstackgerritLance Bragstad proposed openstack/glance master: Properly handle InvalidScope exceptions  https://review.opendev.org/c/openstack/glance/+/77430921:15
*** Underknowledge3 has joined #openstack-glance21:39
*** Underknowledge has quit IRC21:41
*** Underknowledge3 is now known as Underknowledge21:41
*** k_mouza has joined #openstack-glance22:12
*** k_mouza has quit IRC22:17
*** dasp_ has joined #openstack-glance22:18
*** dasp has quit IRC22:20
openstackgerritDan Smith proposed openstack/glance master: Pass ImageActionWrapper to internal plugins  https://review.opendev.org/c/openstack/glance/+/77431322:24
openstackgerritDan Smith proposed openstack/glance master: Make web-download revert all stores on fail  https://review.opendev.org/c/openstack/glance/+/77431422:24
openstackgerritDan Smith proposed openstack/glance master: DNM: Test web-download tempest negative test  https://review.opendev.org/c/openstack/glance/+/77431522:24
*** rchurch has quit IRC22:29
*** rchurch has joined #openstack-glance22:32
openstackgerritDan Smith proposed openstack/glance master: DNM: Test web-download tempest negative test  https://review.opendev.org/c/openstack/glance/+/77431522:36
*** whoami-rajat__ has quit IRC22:39
openstackgerritDan Smith proposed openstack/glance master: DNM Reproduce failure for bug 1914826  https://review.opendev.org/c/openstack/glance/+/77431722:40
openstackbug 1914826 in Glance "web-download with invalid url does not report error" [Undecided,In progress] https://launchpad.net/bugs/1914826 - Assigned to Dan Smith (danms)22:40

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