Tuesday, 2019-02-05

*** mikecmpbll has quit IRC02:00
*** mikecmpbll has joined #openstack-swift02:05
*** mikecmpbll has quit IRC02:21
*** vr42 has joined #openstack-swift02:29
*** gyee has quit IRC02:35
*** rchurch_ has joined #openstack-swift02:35
*** rchurch has quit IRC02:36
*** vr42 has quit IRC02:38
openstackgerritMerged openstack/swift master: Python3: fix test/unit/obj/test_replicator.py  https://review.openstack.org/63364502:54
*** psachin has joined #openstack-swift03:04
*** gkadam__ has joined #openstack-swift04:17
*** e0ne has joined #openstack-swift07:33
*** pcaruana has joined #openstack-swift07:45
*** hseipp has joined #openstack-swift07:46
*** ccamacho has joined #openstack-swift07:58
*** tkajinam has quit IRC08:06
*** mikecmpbll has joined #openstack-swift08:28
*** mikecmpbll has quit IRC08:58
*** mikecmpbll has joined #openstack-swift09:11
*** mikecmpb_ has joined #openstack-swift09:29
*** mikecmpbll has quit IRC09:30
*** hseipp has quit IRC09:47
*** hseipp has joined #openstack-swift09:59
*** ccamacho has quit IRC11:05
*** ccamacho has joined #openstack-swift11:12
*** cschwede has quit IRC12:15
*** cschwede has joined #openstack-swift12:23
*** ChanServ sets mode: +v cschwede12:23
*** e0ne has quit IRC12:41
*** gkadam__ has quit IRC12:58
*** vintbra has joined #openstack-swift13:14
*** e0ne has joined #openstack-swift13:42
*** mvkr has quit IRC13:52
*** psachin has quit IRC14:09
*** mvkr has joined #openstack-swift14:20
*** frickler has joined #openstack-swift14:54
tdasilvagood morning14:54
rledisezgood morning14:56
tdasilvarledisez: hope you had a good trip home15:00
tdasilvano trains and cars this time ??15:01
rledisezwe were close to miss our flight connections, but we made it :)15:01
tdasilvanice!15:03
rlediseztdasilva: about p 527405, do you think it would be reasonable to directly patch here: https://github.com/openstack/swift/blob/master/swift/common/utils.py#L17715:39
rledisezsomething like SWIFT_CONF_FILE = os.path.join(os.env.get('SWIFT_DIR', '/etc/swift'), 'swift.conf')15:39
patchbothttps://review.openstack.org/#/c/527405/ - swift - environment variable to set swift_dir - 2 patch sets15:40
rledisezit would majke it more generic (eg: so I can start a reconstructor with a different swift.conf)15:40
tdasilvarledisez: yeah, i think so. was just looking back at that patch and I think timburke's idea is also good15:45
rlediseztdasilva: you're right, it seems a good idea15:50
*** gyee has joined #openstack-swift16:02
*** e0ne has quit IRC16:05
*** ccamacho has quit IRC16:19
*** ccamacho has joined #openstack-swift16:20
timburkeenv vars are cool, too16:23
timburkenow i'm reminded of https://review.openstack.org/#/c/393952/ ...16:26
patchbotpatch 393952 - swift - Allow custom swift configuration directory - 5 patch sets16:26
*** openstackgerrit has quit IRC16:35
*** ccamacho has quit IRC16:41
*** openstackgerrit has joined #openstack-swift16:49
openstackgerritTim Burke proposed openstack/swift master: Fix flakey symlink setup/teardown  https://review.openstack.org/63497616:49
*** mvkr has quit IRC16:53
tdasilvaalecuyer, rledisez: this is the doc I was talking about: https://github.com/openstack/swift/blob/master/REVIEW_GUIDELINES.rst17:06
rlediseztdasilva: thx17:13
*** hseipp has quit IRC17:25
claygtimburke: oh nice p 634976 is for the flakey 202 vs 200 thing in the functests on p 62905617:27
patchbothttps://review.openstack.org/#/c/634976/ - swift - Fix flakey symlink setup/teardown - 1 patch set17:28
patchbothttps://review.openstack.org/#/c/629056/ - swift - Rebuild frags for unmounted disks - 6 patch sets17:28
timburkeclayg: so. many. flakey tests17:28
claygok, well - hopefully p 634797 is pretty uncontroversial17:29
patchbothttps://review.openstack.org/#/c/634797/ - swift - Cleanup EC and SSYNC frag index parameters - 3 patch sets17:29
claygtimburke: if you wanna point out some of my stupid on the rebuild change maybe we can discuss it tomorrow in the meeting with an eye towards landing this week-ish (if it's ready)17:30
claygtimburke: I'd be happy to look at some test flakey patches - or anything else that's a higher priority?17:30
timburkeiirc, yesterday 13/15 of my gerrit comments were "recheck" so... flakey tests sure feel like a high priority to me right now17:31
*** mikecmpb_ has quit IRC17:31
claygok, i'll start with the symlink one - do you have a list?17:32
timburkep 634456 should be working its way through the gate now, though -- i think that one was causing me the most pain17:32
patchbothttps://review.openstack.org/#/c/634456/ - swift - func tests: Be willing to retry PUTs - 3 patch sets17:32
timburkep 634362, p 634449, p 634976 should all fix other failures i've seen recently17:33
patchbothttps://review.openstack.org/#/c/634362/ - swift - Fix flakey func test setup - 1 patch set17:33
patchbothttps://review.openstack.org/#/c/634449/ - swift - Fix flakey func test teardown - 1 patch set17:33
patchbothttps://review.openstack.org/#/c/634976/ - swift - Fix flakey symlink setup/teardown - 1 patch set17:33
timburkeafter that... i know i've had people complaining to me about some things recently; see p 621055 (tripped by minio-go and various aws-sdk-* clients) and p 63434217:36
patchbothttps://review.openstack.org/#/c/621055/ - swift - s3api: Look for more indications of aws-chunked up... - 4 patch sets17:36
patchbothttps://review.openstack.org/#/c/634342/ - swift - sharding: Make replicator logging less scary - 1 patch set17:36
timburkemeanwhile, i think i might take a stab at addressing root causes for https://bugs.launchpad.net/swift/+bug/1813725 https://bugs.launchpad.net/swift/+bug/1758710 and https://bugs.launchpad.net/swift/+bug/180646817:38
openstackLaunchpad bug 1813725 in OpenStack Object Storage (swift) "Object encryption key truncated sometimes when used with Barbican" [Undecided,New]17:38
openstackLaunchpad bug 1758710 in OpenStack Object Storage (swift) "get internal error on download multi-part file" [Undecided,New] - Assigned to Bulat Gaifullin (bulat.gaifullin)17:38
openstackLaunchpad bug 1806468 in OpenStack Object Storage (swift) "internal error in symlink proxy" [Undecided,New]17:38
timburkehttps://memegenerator.net/img/instances/84069856/cant-get-a-500-if-your-proxy-server-refuses-to-start.jpg17:41
notmynamegood morning17:50
DHEwell technically I'd get a 50318:00
*** mikecmpbll has joined #openstack-swift18:00
zaitcevMan18:31
zaitcevThe worst part of py3 port is external libraries18:31
timburkezaitcev: which now?18:32
zaitcevThe port of the bulk middleware is stalled solid because I cannot figure out how to make the tarball module work in py3 like we need it (with binary filenames).18:32
zaitcevBut that was a while ago.18:32
zaitcevNow, a test for proxy MIMEputter uses email module, which absolutely cannot work in py3 with binary data. Unlike bulk, I probably can inherit some classes in it and override its behavior. Also, it's merely a test. Worst come to worst, I can just hand-roll a full-on MIME parser without affecting the actual server code.18:34
openstackgerritMerged openstack/swift master: func tests: Be willing to retry PUTs  https://review.openstack.org/63445618:34
zaitcevI just could not understand how they document that they handle binary attachments with a straight face and then this18:35
zaitcevApparently they are always base6418:35
zaitcevHad to examine the source to see that they just always do this: https://github.com/python/cpython/blob/3.7/Lib/email/message.py#L31618:36
zaitcevThen I searched for a way to convert the "surrogatescape" unicode back into binary18:37
timburke...which you can... it's just a bit of a pain18:37
timburkebut yeah... the stdlib's a bit of a piece of work... you reminded me of https://bugs.python.org/issue33973 and https://bugs.python.org/issue3469818:37
zaitcevtimburke, do you remember where Sam dealt with surrogates? I cannot figure it out and I'm too snobbish to google through stackoverflow...18:38
timburkeactually, i think it was me: https://github.com/openstack/swift/blob/2.20.0/swift/common/swob.py#L302-L305 -- so, native_str.encode('utf8', errors='surrogateescape')18:40
timburkebut maybe you were thinking of https://github.com/openstack/swift/blob/2.20.0/swift/common/constraints.py#L373-L388 in check_utf8()?18:42
*** ccamacho has joined #openstack-swift18:44
zaitcevwait, that can't be right18:46
zaitcevThe original binary is not UTF-8, it's our EC fragments18:47
zaitcevBut thanks18:47
timburkewell, what encoding is the stdlib using?18:47
zaitcevself._payload = payload.decode('ascii', 'surrogateescape')18:47
timburkewhoa! *ascii* with surrogate escape?? how does that even work?18:48
zaitcevwell, anything that's 0x80 to 0x100 is escaped, I guess.18:48
timburkelooks like18:48
zaitcevBut I need to stuff it back in order to compare with the original18:49
timburkeseems like .encode('ascii', 'surrogateescape') should still work18:49
zaitcevOkay, it's clearly easier to override email.Message's methods18:49
*** itlinux has joined #openstack-swift18:49
zaitcevtimburke: although u'A\udcff'.encode('ascii','surrogateescape') does work!18:51
timburkeyeah, looks like it's reversible: http://paste.openstack.org/show/744589/18:52
*** pcaruana has quit IRC19:27
openstackgerritMerged openstack/swift master: Move KMIP conf validation out of _get_root_secret  https://review.openstack.org/58967319:30
openstackgerritMerged openstack/swift master: Fix flakey symlink setup/teardown  https://review.openstack.org/63497619:41
*** kei-ichi has quit IRC19:48
*** e0ne has joined #openstack-swift20:03
*** mvkr has joined #openstack-swift20:09
*** vintbra has quit IRC20:42
openstackgerritTim Burke proposed openstack/swift master: Include some pipeline validation during proxy-server start-up  https://review.openstack.org/63504021:12
timburkethat...probably deserves an UpgradeImpact...21:12
*** itlinux has quit IRC21:29
*** e0ne has quit IRC21:33
zaitcevhttps://www.meetup.com/GDG-Cloud-Austin/events/258700734/ gRPC you say21:42
*** tkajinam has joined #openstack-swift22:55

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