Tuesday, 2019-01-29

*** mikecmpbll has joined #openstack-swift00:05
*** itlinux has joined #openstack-swift00:10
*** kei-ichi has joined #openstack-swift00:30
*** gyee has quit IRC00:51
*** mikecmpbll has quit IRC02:12
*** mikecmpbll has joined #openstack-swift02:16
*** openstackgerrit has joined #openstack-swift02:20
openstackgerritCyril Roelandt proposed openstack/swift master: Fix test/unit/common/test_container_sync_realms.py  https://review.openstack.org/63364402:20
openstackgerritCyril Roelandt proposed openstack/swift master: Python3: Fix test/unit/common/test_container_sync_realms.py  https://review.openstack.org/63364402:20
openstackgerritCyril Roelandt proposed openstack/swift master: Python3: fix test/unit/obj/test_replicator.py  https://review.openstack.org/63364502:28
openstackgerritThiago da Silva proposed openstack/swift master: Change how O_TMPFILE support is detected  https://review.openstack.org/63364602:35
openstackgerritThiago da Silva proposed openstack/swift master: Change how O_TMPFILE support is detected  https://review.openstack.org/63364602:46
*** psachin has joined #openstack-swift02:52
*** gkadam has joined #openstack-swift03:11
*** itlinux has quit IRC04:41
*** spsurya has joined #openstack-swift05:05
*** ccamacho has quit IRC06:44
*** mrjk has joined #openstack-swift07:05
*** mrjk has quit IRC07:05
*** mrjk has joined #openstack-swift07:06
*** mrjk has quit IRC07:07
*** mikecmpbll has quit IRC07:18
*** ccamacho has joined #openstack-swift07:20
*** mrjk has joined #openstack-swift07:40
*** mrjk has quit IRC07:40
*** mrjk has joined #openstack-swift07:40
*** e0ne has joined #openstack-swift07:59
openstackgerritSimeon Gourlin proposed openstack/swift master: Fix decryption for broken objects  https://review.openstack.org/63367108:21
openstackgerritSimeon Gourlin proposed openstack/swift master: Fix decryption for broken objects  https://review.openstack.org/63367108:22
zigotimburke: We filed the bug: https://bugs.launchpad.net/swift/+bug/181372508:28
openstackLaunchpad bug 1813725 in OpenStack Object Storage (swift) "Object encryption key truncated sometimes when used with Barbican" [Undecided,New]08:28
*** tkajinam has quit IRC08:48
*** pcaruana has joined #openstack-swift08:51
*** mikecmpbll has joined #openstack-swift09:03
*** mvkr has joined #openstack-swift09:33
*** mvkr has quit IRC10:46
*** mvkr has joined #openstack-swift11:03
*** nguyenhai_ has quit IRC11:47
*** nguyenhai has joined #openstack-swift11:59
*** kukacz has quit IRC12:04
*** kukacz has joined #openstack-swift12:04
*** pcaruana has quit IRC12:40
*** pcaruana has joined #openstack-swift12:50
*** e0ne has quit IRC13:13
*** gkadam has quit IRC13:20
*** e0ne has joined #openstack-swift13:29
*** psachin has quit IRC13:56
*** pcaruana has quit IRC14:45
*** e0ne has quit IRC14:51
*** pcaruana has joined #openstack-swift14:53
*** e0ne has joined #openstack-swift14:54
openstackgerritPete Zaitcev proposed openstack/swift master: Python3: Fix test/unit/common/test_container_sync_realms.py  https://review.openstack.org/63364415:05
claygtdasilva: so you're saying that you think the old check was broken - or at least in the mixed filesystem case the try and fallback code was being hit15:24
claygtdasilva: I still think the best thing to do is make _get_tempfile just try O_TMPFILE, catch the error and cache .fallback_mkstemp15:24
claygif one fifle-system sucks they can all suck15:25
tdasilvaclayg: i don't think it was broken, but it was going based on the fact that we only support three fs (ext4, xfs and brtfs) and since brtfs was the last one to add support (3.16) the code was just checking for that kernel version15:28
claygso on a 3.15 system for example, maybe you *could* have used o_tmpfile on your xfs filesystems and not brtfs - ok... so...15:29
tdasilvaright, or even in the case of rhel/centos systems....i *think* they only backport the support to their 3.10 version for a specific fs (i.e., xfs)15:30
tdasilvafyi..i'm saying the backports happen individually, not that they haven't backported other fs. Also I only checked XFS15:31
claygCan you clarify if your conclusion is advocating "we need to have more complex code to support the mixed-filesystem-support-case" or if... you're just like telling me FYI?15:35
zaitcevIt didn't look more complex to me.15:38
claygfull disclosure, I'm advocating every call to _get_tempfile should just try O_TMPFILE first and if it fails cache a per-process (or per manager instance at least) flag that says "well I guess don't bother with that syscall next time and go straight to fallback_mkstemp mode"15:38
tdasilvaclayg: i'm ok with that approach (the only small piece i'm uncertain is "do we cache per disk or not" ?15:39
tdasilvaI think in the way you are describing, it is not bad to cache per device15:39
claygI definitely think we do not need to cache per disk - we never have before and no one complained - we're making up problems that people don't have15:40
claygI think if it weren't for the kernel check we'd probably already be doing the right thing15:40
claygthe fallback code looks solid15:40
claygbut on old systems I guess we get the double syscall ever PUT - so... so cache fallback mode... I guess15:41
claygit's not like it's going to get better w/o restarting the process15:41
tdasilvaright, the wasted syscall on old systems was what i was trying to avoid15:41
tdasilvalet's go with caching one result only (not per device) and if it becomes we can cache per disk later15:42
tdasilva"if it becomes an issue"15:42
*** ccamacho has quit IRC15:45
zaitcevbut muh BSD on rPI15:45
*** ccamacho has joined #openstack-swift15:46
clayglol15:46
claygzaitcev: I mean... if you run mixed file-system you just get the LCD behavior mkstemp - that's probably acceptable isn't it?15:47
claygtimburke: uhhh... do you have any idea on p 633671 - the bug report... how the?!15:47
patchbothttps://review.openstack.org/#/c/633671/ - swift - Fix decryption for broken objects - 2 patch sets15:47
zaitcevclayg: I agree that we don't care about mixed-filesystem thing.15:47
*** openstackgerrit has quit IRC15:51
tdasilvagotta run, will send new patchset15:54
*** e0ne has quit IRC16:31
*** pcaruana has quit IRC17:01
*** gyee has joined #openstack-swift17:03
*** ccamacho has quit IRC17:18
*** mikecmpbll has quit IRC17:32
*** NM has joined #openstack-swift17:36
*** e0ne has joined #openstack-swift17:46
*** NM has quit IRC17:50
*** NM has joined #openstack-swift17:51
*** NM has quit IRC17:52
*** NM has joined #openstack-swift17:52
*** NM has quit IRC18:03
*** NM has joined #openstack-swift18:06
*** openstackgerrit has joined #openstack-swift18:07
openstackgerritClay Gerrard proposed openstack/swift master: Rebuild frags for unmounted disks  https://review.openstack.org/62905618:07
openstackgerritClay Gerrard proposed openstack/swift master: Quiet down a unittest  https://review.openstack.org/63379318:08
claygyay!  ðŸ¤ž18:08
*** mikecmpbll has joined #openstack-swift18:20
*** e0ne has quit IRC18:53
*** mvkr has quit IRC19:06
*** e0ne has joined #openstack-swift19:07
zaitcevtimburke: I need your attention at this: https://review.openstack.org/#/c/570320/20:09
patchbotpatch 570320 - swift - py3: port the container sharder - 12 patch sets20:09
zaitcevtimburke: It started as a mundane fix-up for sharder CLI, but it grew and turned into a real headache. It's a dependency for anything in the container, even the backend. Although, they are actually interlinked. Also, it affects py2, so needs extra care.20:11
timburkezaitcev: i'll see what i can do20:11
zaitcevI think I would like Matt have a look, but he's frolicking at LCA20:11
*** e0ne has quit IRC20:42
*** NM has quit IRC20:54
*** NM has joined #openstack-swift21:00
*** NM has quit IRC21:04
*** gyee has quit IRC22:35
*** tkajinam has joined #openstack-swift22:55
openstackgerritThiago da Silva proposed openstack/swift master: Change how O_TMPFILE support is detected  https://review.openstack.org/63364622:56
-openstackstatus- NOTICE: http://zuul.openstack.org is not working. https://zuul.openstack.org does work. Please use that while we investigate.23:14
*** rcernin has quit IRC23:53

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