Tuesday, 2020-04-21

*** gyee has quit IRC00:11
openstackgerritTim Burke proposed openstack/swift master: sharding: Add probe test that exercises swift-manage-shard-ranges  https://review.opendev.org/72137600:45
openstackgerritTim Burke proposed openstack/swift master: WIP: sharding: Add some more shard-related output to swift-container-info  https://review.opendev.org/72137700:45
openstackgerritTim Burke proposed openstack/swift master: sharding: Add probe test that exercises swift-manage-shard-ranges  https://review.opendev.org/72137601:46
openstackgerritTim Burke proposed openstack/swift master: WIP: sharding: Add some more shard-related output to swift-container-info  https://review.opendev.org/72137701:46
*** manuvakery has joined #openstack-swift02:24
*** psachin has joined #openstack-swift03:25
openstackgerritMerged openstack/python-swiftclient master: Add py38 classifier  https://review.opendev.org/72131303:26
openstackgerritMatthew Oliver proposed openstack/swift master: Auto-sharding: Initial steps  https://review.opendev.org/66703004:24
openstackgerritMatthew Oliver proposed openstack/swift master: sharding: first attempt at _elect_leader  https://review.opendev.org/66757904:24
timburkei think we only have one func test job that uses the saio config we updated in p 704920 -- and it's the rolling upgrade one :-/04:29
patchbothttps://review.opendev.org/#/c/704920/ - swift - Add etag quoter to saio proxy config (MERGED) - 2 patch sets04:29
openstackgerritTim Burke proposed openstack/swift master: func tests: Allow test_etag_quoter to be run multiple times  https://review.opendev.org/72151804:33
*** manuvakery has quit IRC04:34
*** evrardjp has quit IRC04:35
*** evrardjp has joined #openstack-swift04:35
openstackgerritTim Burke proposed openstack/swift master: Make rolling-upgrade job non-voting  https://review.opendev.org/72151904:37
timburkestill at least two items of follow-up needed: (1) have an in-process func test that enables the etag-quoter and (2) re-spin p 695131 as *just* the func test cleanup so they won't care if the etag-quoter is on by default04:40
patchbothttps://review.opendev.org/#/c/695131/ - swift - Add proxy-server option to quote-wrap all ETags - 5 patch sets04:40
*** manuvakery has joined #openstack-swift06:53
*** rpittau|afk is now known as rpittau07:03
*** ccamacho has joined #openstack-swift07:47
*** threestrands has quit IRC07:55
*** godog has quit IRC08:31
*** godog has joined #openstack-swift08:35
*** dtantsur|afk is now known as dtantsur09:00
*** rdejoux has quit IRC09:58
mattoliverauStarting to take a look back at auto-sharding, especially so we can, hopefully, talk about it at the virtual PTG. Just whipped up this: https://docs.google.com/document/d/17NllKQmH6tfTsKm5nAx3KCKUvs0zs_qamXtkreOQDWg/edit?usp=sharing will make sure it's in the etherpad. But thought I'd paste it here first :)09:59
*** rpittau is now known as rpittau|bbl10:31
*** rdejoux has joined #openstack-swift11:35
*** dtantsur is now known as dtantsur|brb12:30
*** rpittau|bbl is now known as rpittau12:31
*** psachin has quit IRC12:53
*** rcernin has quit IRC13:14
*** dtantsur|brb is now known as dtantsur14:47
*** viks____ has quit IRC15:07
*** abelur has quit IRC15:24
*** abelur has joined #openstack-swift15:25
timburkemattoliverau, i've been thinking about sharding lately, too -- on my list of things to look at soon :-)15:30
*** tkajinam has quit IRC15:40
*** gyee has joined #openstack-swift15:52
*** evrardjp has quit IRC16:35
*** evrardjp has joined #openstack-swift16:35
*** rpittau is now known as rpittau|afk16:39
*** abelur has quit IRC16:39
*** jrosser has quit IRC16:41
*** abelur has joined #openstack-swift16:42
*** manuvakery has quit IRC16:43
*** jrosser has joined #openstack-swift16:44
*** manuvakery has joined #openstack-swift16:46
*** dtantsur is now known as dtantsur|afk16:59
timburketdasilva, thanks for the rechecks, but we can hold off until p 721519 merges17:46
patchbothttps://review.opendev.org/#/c/721519/ - swift - Make rolling-upgrade job non-voting - 1 patch set17:46
tdasilvatimburke: thanks for the heads up! I had missed that issue17:48
timburkeno worries! the whole thing reminds me that i still want to do something like p 691747 -- i really need to think harder about what kind of test matrix we want 🤔17:51
patchbothttps://review.opendev.org/#/c/691747/ - swift - Enable s3api and staticweb tests across all func t... - 8 patch sets17:51
timburkei feel like a bit of an idiot for not having done the etag-quoter func test like p 721518 from the get-go17:53
patchbothttps://review.opendev.org/#/c/721518/ - swift - func tests: Allow test_etag_quoter to be run multi... - 1 patch set17:53
DHEif a DELETE request for an object comes up but the proxy server returns 404, did it still check with the container DB and delete any possible matching row?17:57
DHEusing bulk-delete if that's applicable17:58
openstackgerritTim Burke proposed openstack/swift master: func tests: work with etag-quoter on by default  https://review.opendev.org/69513118:00
timburkeDHE, as long as the container exists, yes. bulk-delete doesn't really matter -- it just has the proxy fan out a bunch of backend DELETEs similar to if the client did them individually -- the main benefit is in reducing WAN traffic18:05
timburkeon older swifts, the delete may 404 thinking that the container doesn't exist when it's actually just temporarily unavailable (say, because it's overwhelmed trying to eat a bunch of deletes), but newer swifts should 503 in that case18:07
DHEtimburke: hmm.. I'm getting back from bulk-delete "Number Deleted: 4720  Number Not Found: 280"  and concerned about those not-found objects18:07
timburkemight be worth looking at proxy logs to confirm that those 404s actually resulted in tombstones getting laid down -- what version of swift is this?18:08
timburkeas long as the delete makes it to the object servers, it should write down a tombstone and make sure the container finds out about the delete18:10
DHE2.23.118:10
DHEerror 499 logged by proxy server.. aw hell...18:11
timburkeversion's good -- the change i was looking for was https://github.com/openstack/swift/commit/563e16718:13
DHEI'm mainly concerned about objects still on disk despite not being in the container db any more...18:15
timburkewhat's the swift.source for the 499? i know i cleaned up a bunch of those later in https://github.com/openstack/swift/commit/2a8d47f but that was pretty recent -- and i maybe should have touched bulk as part of that :-/18:16
DHEit's the 'BD' individualized bulk delete requests18:16
timburkecontainer DB should be a lagging indicator -- if the object *was* in listings but now *isn't*, it should have gotten cleaned up18:17
timburkeyeah, i probably need to have it drain app_iters for 404s, too :-(18:17
timburkei'm fairly certain those 499s were 404s, though -- now that you know which object tripped it, you can use swift-get-nodes to find where it should have been written down and confirm that the data's gone (and a .ts took its place)18:18
DHEI suspect I know the problem. One object server machine is a big bogged down due a rebalance gone not so well and it's probably moving everything stored on it...18:19
DHE-rwxr-xr-x 1 swift swift  0 Apr 21 14:04 1587492297.65613.ts18:19
DHEWell that's a relief. I can live with that18:20
DHEthanks18:20
timburkefwiw, the way i usually see 404s in bulk deletes is that a client takes a container listing and pipes it to a bulk delete. then a little while later, client sees that there's still data in the listing and does it again. but, since the listing can (and often does) lag, some of the data's already gone18:21
timburkethat's why we treat 404s as basically successful18:22
DHEmy program sorta does that, but there's a postgresql database in between. container listing -> postgresql -> bulk-delete18:22
DHEalthough objects should sit in the postgres DB for an extended period, not just deleted...18:22
*** gmann is now known as gmann_lunch18:31
*** gmann_lunch is now known as gmann18:51
openstackgerritTim Burke proposed openstack/swift master: func tests: work with etag-quoter on by default  https://review.opendev.org/69513119:27
openstackgerritTim Burke proposed openstack/swift master: py3: Make etag-quoter work  https://review.opendev.org/72171419:27
*** ccamacho has quit IRC19:34
zaitcevI'm trying to use both keystone and tempauth. An HEAD authorized with keystone token makes tempauth to traceback with "AttributeError: 'tuple' object has no attribute 'split'".21:16
timburkeREMOTE_USER :-/ i should dust off p 63041521:45
patchbothttps://review.opendev.org/#/c/630415/ - swift - Fix the handling of keystone groups in tempauth. - 5 patch sets21:45
zaitcevThanks a lot21:46
rledisezdid anybody already try to increase the max_manifest_segments of SLO to something like 10,000? except increasing concurrency (and maybe max_manifest_size), anything I should be worried of?22:10
*** rcernin has joined #openstack-swift22:17
timburkezaitcev, i know the dsvm jobs run with both keystone and tempauth though -- is this something with cross-reseller_prefix access, or is this happening all the time? if the latter, it might be a pipeline ordering issue...22:20
timburke(one which we should fix, of course. but at least we know `pipeline = ... authtoken keystoneauth tempauth ...` should work, since that's what the gate uses)22:22
openstackgerritTim Burke proposed openstack/swift master: WIP: swift-dsvm: Create more Keystone users so we skip fewer tests  https://review.opendev.org/62018922:29
timburkeugh, right -- p 613681 :-(22:32
patchbothttps://review.opendev.org/#/c/613681/ - keystonemiddleware - [WIP] Correct auth_token headers to be WSGI compliant (ABANDONED) - 5 patch sets22:32
*** tkajinam has joined #openstack-swift22:53
zaitcevI already arrived at the "authtoken keystone tempauth" order, because nothing else worked.23:33
zaitcevWith this, at least authentication passes, the traceback happens at the access to account itself.23:33
openstackgerritTim Burke proposed openstack/swift master: WIP: swift-dsvm: Create more Keystone users so we skip fewer tests  https://review.opendev.org/62018923:34
timburkei wonder if it'd be worth us working with env['keystone.token_info'] directly and side-stepping the WSGI string issue...23:48
timburkei mean, s3token already knows about most of the structure: https://github.com/openstack/swift/blob/2.25.0/swift/common/middleware/s3api/s3token.py#L101-L13423:48

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!