Thursday, 2020-10-01

*** recyclehero has quit IRC00:26
*** recyclehero has joined #openstack-swift00:27
*** mikecmpbll has quit IRC00:28
*** mikecmpbll has joined #openstack-swift00:33
*** gyee has quit IRC01:26
*** rcernin has quit IRC01:28
*** rcernin has joined #openstack-swift01:43
*** rcernin has quit IRC01:43
*** rcernin has joined #openstack-swift01:44
*** psachin has joined #openstack-swift03:35
*** evrardjp has quit IRC04:33
*** evrardjp has joined #openstack-swift04:33
*** m75abrams has joined #openstack-swift04:53
*** Hamidreza has joined #openstack-swift05:26
*** mikecmpbll has quit IRC05:39
*** mikecmpbll has joined #openstack-swift05:40
*** mikecmpbll has quit IRC06:58
*** mikecmpbll has joined #openstack-swift07:01
*** zigo has joined #openstack-swift07:12
*** rcernin has quit IRC07:19
*** persia has quit IRC08:32
*** persia has joined #openstack-swift08:32
*** tkajinam has quit IRC08:47
*** mikecmpbll has quit IRC10:02
*** mikecmpbll has joined #openstack-swift10:05
*** rcernin has joined #openstack-swift10:20
*** rcernin has quit IRC10:26
*** rcernin has joined #openstack-swift10:26
*** godog has quit IRC11:23
*** godog has joined #openstack-swift11:23
*** ozzzo has quit IRC12:10
*** psachin has quit IRC12:35
*** rcernin has quit IRC13:38
openstackgerritClay Gerrard proposed openstack/swift master: Test proxy-server.conf-sample  https://review.opendev.org/75508714:18
openstackgerritClay Gerrard proposed openstack/swift master: Add staticweb to default pipeline  https://review.opendev.org/75513214:18
openstackgerritClay Gerrard proposed openstack/swift master: Log error processing manifest as ServerError  https://review.opendev.org/75277014:18
*** mikecmpbll has quit IRC14:29
*** mikecmpbll has joined #openstack-swift14:32
*** Hamidreza has quit IRC14:47
*** m75abrams has quit IRC14:55
clayggrepping through my logs on my saio for " SW " i'm realizing that all my s3api requests are getting hit by that env hijacking15:13
claygthat's some bs `%20StaticWeb`15:14
*** djhankb has quit IRC15:54
*** djhankb has joined #openstack-swift15:54
*** gyee has joined #openstack-swift16:12
openstackgerritClay Gerrard proposed openstack/swift master: Log storage policy with s3api requests  https://review.opendev.org/75558716:25
*** mikecmpbll has quit IRC16:33
*** mikecmpbll has joined #openstack-swift16:36
*** renich has joined #openstack-swift17:21
openstackgerritTim Burke proposed openstack/swift master: Update master for stable/victoria  https://review.opendev.org/75275217:29
timburkeclayg, i'm increasingly convinced that when s3_acl is enabled, s3api needs to set REMOTE_USER to some special value17:31
claygseems reasonable to me - mostly in the context of "static web breaks everything again" https://bugs.launchpad.net/swift/+bug/183328717:33
openstackLaunchpad bug 1833287 in OpenStack Object Storage (swift) "staticweb redirects cause 500s in s3api" [Undecided,Confirmed]17:33
claygI mean... what is REMOTE_USER supposed to indicate exactly?  why does staticweb not apply for ... what?  "authenticated" requests?  why does it get screw up everything else?17:33
timburkeyeah, so my understanding is that auth middlewares will populate it when they see a user that they recognize. often, it'll be populated with both users and groups/roles, though the format varies: tempauth sets it to a csv, keystoneauth sets it to a tuple, swiftstackauth sets it to a NUL-delimited string17:39
timburkein theory, auth middlewares could use it to do some cross-IDP magic, but i think generally each just thinks about itself17:40
claygwell, is s3_acl handling an authenticated request - can it put some kind of identity in REMOTE_USER?  maybe static web is just terrible?17:41
timburkes3_acl almost becomes its own independent auth system that's mostly divorced from anything you can do on the swift side -- it's part of why i don't much like the option :-(17:45
timburkeyeah, it probably *could* do something more useful than just some "i'm s3api doing my own thing" sentinel... hmm...17:46
timburke(fwiw, timur has a patch to try to unify the REMOTE_USER formats: https://review.opendev.org/#/c/630415/ -- i should dust that off)17:47
patchbotpatch 630415 - swift - Fix the handling of keystone groups in tempauth. - 5 patch sets17:47
*** renich has quit IRC18:10
*** renich has joined #openstack-swift18:10
*** fingo has joined #openstack-swift18:17
*** renich has quit IRC18:21
*** renich has joined #openstack-swift18:38
*** renich has quit IRC18:47
timburkeclayg, the changes in https://review.opendev.org/#/c/755087/4/swift/common/wsgi.py seem weird -- why hasn't this been an issue before?? we use ConfigString for container-sync if there isn't an internal_client_conf_path configured -- is it some difference between using the InternalClient constructor and calling loadapp() directly? or is that busted too, and nobody noticed? i'm so confused...19:05
patchbotpatch 755087 - swift - Test proxy-server.conf-sample - 4 patch sets19:05
*** renich has joined #openstack-swift19:06
claygi don't think we ever tried to load a full pipeline from a ConfigString or we would have seen the problem with middlewares like dlo that re-parse the config for legacy settings19:06
claygit's possible that whole mess is a distraction - rather than trying to test that we keep env's through the pipeline we could just kick out stupid broken nonsense like staticweb19:07
claygalso I could make a new test-case that validates the default pipeline - but not ALSO validate it works with a ConfigString pipeline19:08
timburkeoh, yeah... so container-sync uses the default allow_modify_pipeline=False... so we won't auto-insert any of the middlewares that used to be in the proxy app. got it19:15
renichI'm having issues pushing my corrections for the apache deployment. Here's a screenshot: https://paste.pics/28ca044d8112f2067a9e61f180cdd23619:16
renichI dunno what I'm missing...19:16
claygmaybe it has something to do with https://review.opendev.org/#/c/748043/ being closed?19:19
patchbotpatch 748043 - swift - docs: Clean up some formatting around using server... (MERGED) - 1 patch set19:19
clayglike if you've rebased or something - you probably can't push up  a new version of an already merged change 🤷‍♂️19:19
renichclayg: rebase? OK, I gotta find out how to do this properly19:20
claygmaybe rebase the whole stack on on eefe35755c8b9f53ed9f018cac9886879b68b0b6 or just diff d659d84ea and master to see what changed?19:22
openstackgerritClay Gerrard proposed openstack/swift master: New proxy logging field for wire status  https://review.opendev.org/75563919:54
clayg@timburke ^ what do you think of adding catch_errors in the pipeline before logging instead of messing with env message passing p 75277019:59
patchbothttps://review.opendev.org/#/c/752770/ - swift - Log error processing manifest as ServerError - 4 patch sets19:59
claygi think YOU had a patch that tried to add bye counting to proxy logging somewhere too?20:00
renichOK, I figured out the rebase. Now, it says I am not allowed. https://paste.pics/2aaf5082dad042a31e282aebfdb0493420:43
renichI thought I signed the CLA and stuff.20:43
renichICLA, that is.20:47
timburkerenich, have you double-checked that your ssh key is set up? https://review.opendev.org/#/settings/ssh-keys20:50
renichtimburke: I just did that. It is.20:50
renichI can share a screenshot, hehe.20:51
renichis it being rejected because of the titles?20:51
timburkeoh, the merge! i see now. try a `git rebase origin/master`; i think that might square it? you may also want to squash them all into a single commit with a title like "Clean up apache deployment docs"20:55
renichOK, the rebase is done. But, the push, isn't working. I'll try squashing.20:56
timburkethe long message lines really are just warnings -- i push up commits with long messages a decent bit20:56
timburkeif you do something like `git log --oneline origin/master..` are there still any merges?20:57
renichtimburke: https://paste.centos.org/view/04624beb20:59
timburkelooks good... is it the same "you are not allowed to upload merges" error as before?21:04
renichI'm in the middle of squashing, hehe21:05
openstackgerritRenich Bon Ciric proposed openstack/swift master: docs: Switching to /srv/www from /var/www to be more FHS 3.0 conformat  https://review.opendev.org/75565121:06
openstackgerritRenich Bon Ciric proposed openstack/swift master: Clean up apache deployment docs  https://review.opendev.org/75565221:06
renichtimburke: OK, that worked, hehe. The squash thingy21:06
timburkethanks, renich!21:40
renichtimburke: I am glad to help. You've helped me much!21:55
renichI see the comments... trying to figure out how to comment back, hehe.22:00
openstackgerritRomain LE DISEZ proposed openstack/swift master: Fix a race condition in case of cross-replication  https://review.opendev.org/75424222:06
*** rcernin has joined #openstack-swift22:24
*** renich has quit IRC22:40
*** tkajinam has joined #openstack-swift23:00
openstackgerritMerged openstack/swift master: docs: Switching to /srv/www from /var/www to be more FHS 3.0 conformat  https://review.opendev.org/75565123:06
openstackgerritMerged openstack/swift master: Clean up apache deployment docs  https://review.opendev.org/75565223:06
*** djhankb has quit IRC23:15
*** djhankb has joined #openstack-swift23:15
openstackgerritMerged openstack/swift master: Update master for stable/victoria  https://review.opendev.org/75275223:54
*** mikecmpbll has quit IRC23:57

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