Wednesday, 2020-06-24

*** rcernin has quit IRC01:12
*** rcernin has joined #openstack-swift01:17
*** camelCaser has quit IRC02:23
*** camelCaser has joined #openstack-swift02:25
*** rcernin has quit IRC02:34
*** rcernin has joined #openstack-swift02:36
openstackgerritMerged openstack/swift master: Remove lxml deprecated methods  https://review.opendev.org/73746802:46
*** psachin has joined #openstack-swift03:43
openstackgerritMerged openstack/swift master: Bump up probe test timeout  https://review.opendev.org/73738503:44
*** rcernin has quit IRC03:46
*** rcernin has joined #openstack-swift03:55
*** rcernin has quit IRC04:04
*** rcernin has joined #openstack-swift04:05
*** evrardjp has quit IRC04:33
*** evrardjp has joined #openstack-swift04:33
*** m75abrams has joined #openstack-swift05:23
*** manuvakery has joined #openstack-swift06:46
*** gyee has quit IRC06:51
*** rpittau|afk is now known as rpittau06:57
*** rcernin has quit IRC07:39
*** josephillips has quit IRC08:47
*** manuvakery has quit IRC09:06
*** tkajinam has quit IRC10:03
*** rcernin has joined #openstack-swift10:10
*** rpittau is now known as rpittau|bbl10:11
*** rcernin has quit IRC10:15
*** psachin has quit IRC10:57
*** rcernin has joined #openstack-swift11:27
*** rcernin has quit IRC11:34
*** rcernin has joined #openstack-swift11:40
*** rcernin has quit IRC12:08
*** rpittau|bbl is now known as rpittau12:13
*** rcernin has joined #openstack-swift12:35
*** rcernin has quit IRC13:29
*** ormandj has quit IRC13:58
*** ormandj has joined #openstack-swift14:13
*** m75abrams has quit IRC15:07
timburkeormandj, just wrote up https://bugs.launchpad.net/swift/+bug/188499115:47
openstackLaunchpad bug 1884991 in OpenStack Object Storage (swift) "s3api on py3 doesn't use the bytes-on-the-wire when calculating string to sign" [Undecided,New]15:47
*** gyee has joined #openstack-swift15:57
*** rpittau is now known as rpittau|afk16:41
ormandjtimburke: checking, sounds interesting ;)17:04
ormandjyep. thank you!17:08
ormandjwe'll hold off on train/ussuri on proxies until we have a fix/plan in place17:08
ormandjbut once you're ready to have someone test for you with real-deal traffic, we're happy to help17:09
timburke👍17:11
claygman, i'm struggling to load the s3_acl/auth stuff in s3 unittests into my head17:15
claygthere's some *crazy* stuff going on down there17:15
clayglike - I think the s3acl decorator maybe makes tests run *twice* does that sound even remotely correct?!17:15
openstackgerritTim Burke proposed openstack/swift master: py3: Stop munging RAW_PATH_INFO  https://review.opendev.org/73785618:01
timburkeclayg, that's absolutely what it does -- top and bottom of https://github.com/openstack/swift/blob/2.25.0/test/unit/common/middleware/s3api/test_s3_acl.py#L79-L8618:04
timburkeit's a little bit crazy18:04
timburkeand among the many reasons i'd love to find a path to no longer having that option -- to have the swift acl story become a superset of what's expressible via s3. but i've got this feeling like it's going to be a long, hard road -- and we've got a history of not really thinking hard about auth18:07
claygwell what is with the fake_authorization - i'm getting a signature does not match error, but then if I set remote_user it's  make a get_info request to the null namespace!?18:07
timburkei've got this feeling like you're gonna want to take out https://github.com/openstack/swift/blob/2.25.0/test/unit/common/middleware/s3api/helpers.py#L66 -- i think we want to hit https://github.com/openstack/swift/blob/2.25.0/test/unit/common/middleware/s3api/helpers.py#L52 on both calls now18:11
timburkebut i haven't thought through everything else that might need to change as a result18:11
openstackgerritTim Burke proposed openstack/swift master: s3api: Allow CompleteMultipartUpload requests to be retried  https://review.opendev.org/73391918:13
openstackgerritTim Burke proposed openstack/swift master: s3api: test abort after complete  https://review.opendev.org/73757018:13
openstackgerritTim Burke proposed openstack/swift master: Add py3 probe tests on CentOS 8  https://review.opendev.org/69071718:16
claygtests are hard; let's go shopping18:31
*** irclogbot_1 has quit IRC18:34
*** irclogbot_1 has joined #openstack-swift18:38
claygoh, get_container_info does a HEAD requests to the null namespace to get bytes and stuff - so there you go18:47
timburkeclayg, why, that was more or less my take-away on p 737856, too! i started poking at tests for it... then realized that i wanted to round-trip through eventlet and stdlib, too...18:59
patchbothttps://review.opendev.org/#/c/737856/ - swift - py3: Stop munging RAW_PATH_INFO - 1 patch set18:59
timburkeand then i remembered that i have other things to look at like p 72257018:59
patchbothttps://review.opendev.org/#/c/722570/ - swift - WIP: PLaying around with a basic shard-cleanup tool - 3 patch sets18:59
claygyay sharding!19:00
claygI think i can see a reasonable path forward for p 735738 - thanks @timburke19:01
patchbothttps://review.opendev.org/#/c/735738/ - swift - s3api: Don't do naive HEAD request for auth - 1 patch set19:01
timburkei'm worried about shrinking :-(19:40
timburkeif i crank my reclaim_age down to like 10s, i start seeing failures. that alone probably isn't so surprising -- but i didn't expect it to happen at https://github.com/openstack/swift/blob/@%7B2020-06-24%7D/test/probe/test_sharder.py#L149419:41
timburkeswift-container-info on one of the shards gives me output like http://paste.openstack.org/show/795177/19:42
timburkeso, account starts with .shards_, db has a delete timestamp, and it's supposedly a root container??19:44
timburkethere are no objects in the db -- just a record of the acceptor shard range -- which is what's causing it to think that it has 4 objects19:45
timburkealmost meeting time!20:51
seongsoochomorning~!21:00
claygtimburke: i maybe have spoken too soon about s3api tests - I'm still confused about the test path forward21:00
alecuyerhere's what I have done so far to check the liberasurecode library issue: https://etherpad.opendev.org/p/ec_ubuntu_issue , sorry if that's already known and fixed and if missed something!22:09
timburkealecuyer, no, that seems like a very real bug -- might be able to get the object-server working again by using LD_PRELOAD to ensure zlib gets loaded first22:14
alecuyerok I can try that22:15
timburkestill seems like we might want to look for some env var like LIBERASURECODE_WRITE_LEGACY_CRC; if set, write frags like pre-1.6.022:16
alecuyerOr document the supported upgrade order? (this happened to us as a result of a broken IPMI and manual install of the wrong version on a lab machine, not planning to mix versions like that :) )22:19
timburkeidk -- seems like the sort of thing where there isn't a great upgrade order at the moment. if we upgrade libec on proxy then object, proxy sends frags object can't read. going the other way works better, but as soon as you need to rebuild a frag, object will write a frag that proxy can't read22:29
*** rcernin has joined #openstack-swift22:42
*** tkajinam has joined #openstack-swift22:51

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