Friday, 2016-12-02

*** jamielennox is now known as jamielennox|away00:17
*** jamielennox|away is now known as jamielennox00:23
*** isotope has joined #openstack-swift00:25
*** gyee has joined #openstack-swift00:31
*** dmorita has quit IRC00:46
*** dmorita has joined #openstack-swift00:46
*** jamielennox is now known as jamielennox|away00:46
*** jamielennox|away is now known as jamielennox00:53
*** gyee has quit IRC01:06
kota_good morning01:07
timburkegood morning kota_!01:08
kota_hi timburke!01:08
mattoliveraukota_: morning01:10
kota_mattoliverau: o/01:10
*** openstackgerrit has joined #openstack-swift01:20
openstackgerritKota Tsuyuzaki proposed openstack/pyeclib: ISA-L Cauchy support  https://review.openstack.org/39327601:20
kota_just rebased01:20
claygkota_: oh sorry - i think i had a diff on that and got distracted! :\01:25
kota_clayg: no worries, you had great work to find my miss with not-4 spaces indent :/01:26
kota_in the patch 39327601:26
patchbothttps://review.openstack.org/#/c/393276/ - pyeclib - ISA-L Cauchy support01:26
claygkota_: lol :P01:27
openstackgerritKota Tsuyuzaki proposed openstack/liberasurecode: ISA-L Cauchy support  https://review.openstack.org/39326301:29
kota_rebased also liberasurecode patch to 1.3.1 because i find the warning log with the newest pyeclib01:30
kota_hmmm, in my environment, test_get_metadata_memory_usage is getting failing...01:31
kota_but gate got succeeded01:32
clayghr.... AssertionError: Memory usage is increased unexpectedly 28864 -> 2915601:32
kota_clayg: oh you also can see that?01:33
claygoh nice01:34
clayger.. yah omm it does that - dunno?01:34
kota_yeah, i saw that assertion error01:35
claygoh, it's sporadic01:36
kota_lemme chck01:37
kota_check01:37
claygkota_: it's making it through quite a few iterations before it bloats -> https://gist.github.com/clayg/079c06db0f980b478add8fcb90d9ca0c01:39
*** _JZ_ has quit IRC01:40
*** zaitcev has joined #openstack-swift01:40
*** ChanServ sets mode: +v zaitcev01:40
claygi think this might just be python vm allocating something or something?  I'm not sure this test is that great, or how baddly exactly it was failing when the known bug was in there?01:40
kota_i'm not sure the gist fixes real issue that is because similar test in test_get_segment_info_memory_usage doesn't get failed01:43
claygkota_: that gist doesn't "fix" anything01:43
kota_clayg: sure01:44
claygi was just observing that it's making it 100's of iterations before the memory goes up01:44
claygin fact - OMM it was pop at either 804 or 932 iterations pretty consistently?01:44
claygwhat iteration does it break for you?01:44
kota_idk for now but when i changes the count of iteration up to 1000, 10000, the memory resource was increasing so I'm doughting it could be real memory leak01:46
claygzomg what is going on?  if i increaes the iteration to 10000 it takes longer to bloat?01:47
openstackgerritKota Tsuyuzaki proposed openstack/pyeclib: Add -v option to let us know which tests are passed in the gate  https://review.openstack.org/40571001:47
claygwas or was *not* increasing?01:47
*** klrmn has quit IRC01:47
*** isotope has quit IRC01:47
*** isotope has joined #openstack-swift01:48
*** isotope has quit IRC01:48
*** isotope has joined #openstack-swift01:48
claygkota_: I have liberasurecode installed from master and I still get this warning -> WARNING:pyeclib:DEPRECATED WARNING: your liberasurecode 1.2.0 will be deprecated in the near future because of the issue https://bugs.launchpad.net/swift/+bug/1639691; Please upgrade to >=1.3.1 and rebuild pyeclib to suppress this message01:49
openstackLaunchpad bug 1639691 in PyECLib "EC: Swift can return corrupted Data and be able to go data lost at isa_l_rs_vand policy with >=5 parities" [Undecided,In progress]01:49
kota_AssertionError: Memory usage is increased unexpectedly 56424 -> 87576 # range(1000000)01:49
*** isotope has quit IRC01:49
claygwell but then that *does* sound like a memory leak then yeah?  the get_segment_info test doesn't go up like that?01:49
claygit takes a while to 1M anything...01:50
kota_clayg: you need to rebuild *pyeclib* because even if you update your liberasurecode .so file with 1.3.1>=, non-rebuilt pyeclib regards your liberasurecode as 1.2.0 due to the erasurecode_version.h header when pyeclib built.01:51
kota_clayg: get_segment_info doesn't01:51
claygumm...01:52
kota_clayg: yeah, the version dependency is getting my headacke, i have an idea to resolve that, but sorry not yet start to work on that.01:52
*** dmorita has quit IRC01:52
claygso but... how do i rebuild pyeclib?  i just `sudo pip install -e .`01:52
* kota_ is diving into c source01:52
kota_or likely `python setup.py install`?01:53
*** dmorita has joined #openstack-swift01:53
clayghow is that...01:53
kota_clayg: maybe you have to `rm build -rf`01:53
kota_before rebuilding01:53
*** klrmn has joined #openstack-swift01:54
kota_oh... wait??? has we fixed the issue really???02:00
kota_the code looks different way I know the memory leak in get_segment_info02:00
kota_and it has landed02:00
claygrm the build dir seemed to do the trick02:00
kota_clayg: you know https://review.openstack.org/#/c/385185 ?02:00
patchbotpatch 385185 - pyeclib - Fix formatted get_metadata memory leak (MERGED)02:00
kota_clayg: it looks you add +2 +A for that02:01
claygyeah i remmeber looking at that02:01
claygtim had put your name on it and it seemed to wfm - the existing code seemed quite wrong?02:02
kota_sorry, I had another meeting in my office. looking code and irc in parallel though02:02
kota_clayg: my work is only adding the test02:02
kota_clayg: i didn't look at the code yet02:02
claygafter `rm -fr build` and reinstall the test is passing more reliably for me (how do computers work!?)02:03
claygthe Py_BuildValue stuff looks great IMHO - basically it's idomatic code to do exactly the right thing without all the annoying footguns and boiler plate02:04
claygthis is crazy, it's working for me reliably at 1000x but not at 1010x (!?)02:06
claygnm, it's not even that reliably at 1000x02:07
kota_clayg: not sure right now, can it steal ownership?02:07
kota_reference ownership, i mean02:08
claygi have no idea what that means - but i generally support petty crimes in favor of the greater good - steal away!02:10
timburkekota_: my (very limited) understanding is yes, but since none of the stuff we're putting into the dict is a python object, there's no reference to steal02:12
openstackgerritMerged openstack/pyeclib: Add -v option to let us know which tests are passed in the gate  https://review.openstack.org/40571002:14
timburkehttps://docs.python.org/2.0/ext/ownershipRules.html seems to agree? and my assumption is that they manage all the DECREFs when there's an error midway through02:15
kota_hmm... https://docs.python.org/2.7/c-api/arg.html#c.Py_BuildValue BuildValue make a new referenc02:15
kota_timburke: yeah I'm talking about around it02:15
kota_but sorry, my head cannot work on both topics (one in irc and the other in f2f in my office)02:16
timburkeno worries :-)02:16
kota_will track the logs and also check the rule02:16
kota_in my understanding, when we returns the dict to python vm, we should drop the reference in the each item before returning the value.02:17
*** tqtran has quit IRC02:18
claygstupid hex_encode_string has an alloc02:21
kota_curious, http://logs.openstack.org/10/405710/1/check/gate-pyeclib-python27-ubuntu-xenial/832406c/console.html#_2016-12-02_01_49_09_28904502:24
clayghttps://gist.github.com/clayg/f3055f975d2288e164cba57b824cc57902:25
claygBuffers provided by the caller are never referenced by the objects created by Py_BuildValue(). In other words, if your code invokes malloc() and passes the allocated memory to Py_BuildValue(), your code is responsible for calling free() for that memory once Py_BuildValue() returns.02:26
clayg^ yeah i think that shit is good02:26
kota_clayg:  https://gist.github.com/clayg/f3055f975d2288e164cba57b824cc579 is nice, my assertion error resolved with that.02:31
kota_FWIW, PyBuildValue seems to work well on each item in the dict inside if the gist is a complete fix.02:32
timburkegiven an example like https://github.com/python/cpython/blob/1bfbbbf/Python/sysmodule.c#L149-L160 i think *not* DECREFing the created object before returning it is the right thing?02:36
kota_clayg: make sense, https://github.com/openstack/pyeclib/blob/master/src/c/pyeclib_c/pyeclib_c.c#L1017 hex_encode_string could make definately lost if we dosn't free the alloced memory02:39
kota_timburke: the example looks like for tuple of PyObjects?02:41
* kota_ is back to desk 02:41
kota_timburke: FWIW for the BuildValue, it looks safe as you said w/o DECREF because the get_metadata_memory_usage passed with no changes about the BuildValue and the references.02:43
kota_i think we should merge clayg's fix immediately because IMHO, current get_metadata has definately lost (alloced memory at hex_encode_string but not free) and it means, we lost swift memory for each audit time in ec object, right?02:45
kota_clayg: timburke:^^02:45
kota_the last question, is why we couldn't detect that in the gate...02:46
timburkei'm all for merging the fix; the cause and solution make sense02:46
*** Jeffrey4l_ has quit IRC02:47
timburkebut i don't think we get formatted metadata anywhere yet? we just get_metadata, yeah? https://github.com/openstack/swift/blob/master/swift/obj/diskfile.py#L263702:48
kota_timburke: oh, i was missing it02:48
kota_timburke: yeah, that's good we're safe.02:49
kota_probably, one point we are using formatted dict is in testing.02:49
kota_IIRC02:49
*** Jeffrey4l_ has joined #openstack-swift02:50
kota_phew02:51
* kota_ is going to lunch02:55
*** clu_ has quit IRC02:57
*** jamielennox is now known as jamielennox|away03:11
*** jamielennox|away is now known as jamielennox03:20
*** winggundamth has quit IRC03:25
*** dmorita has quit IRC03:26
*** jamielennox is now known as jamielennox|away03:30
*** winggundamth has joined #openstack-swift03:31
*** winggundamth has joined #openstack-swift03:32
*** winggundamth_ has joined #openstack-swift03:35
*** jamielennox|away is now known as jamielennox03:37
*** psachin has joined #openstack-swift03:46
*** links has joined #openstack-swift03:52
claygmattoliverau: I agree whatever we do for lp bug #1619408 - we should do it in the object-updater03:58
openstackLaunchpad bug 1619408 in OpenStack Object Storage (swift) "old async pendings result in ghost listings" [High,New] https://launchpad.net/bugs/161940803:58
mattoliverauclayg: I thought as much but just wanted to be clear, cause otherwise it would effect sharding03:59
clayggood eye ;)04:00
jrichliclayg: would it be overkill to be prudent and just change the isdir to a stat, and make sure the creation time is over an hour ago?04:03
claygjrichli: i'm not sure if you're way ahead of me or still looking at timburke's lock_path race thing?04:04
jrichlilock_path race thing :-)04:04
claygok, let me try and re-parse04:04
jrichlisorry about that04:04
claygno it's great!04:04
claygjrichli: ok, I think i see where you're going - that *does* sound pretty good04:06
jrichlitimburke ^^ any thoughts?04:07
claygjrichli: still feels a little LBYL - like there could still be a chance that some guy does try: mkdir; except OSError: pass # it exists and is 1hr old --- meanwhile "oh look, this is an old empty dir!"04:08
claygjrichli: if you look at the third change in the series where I start rm'ing files much to timburke's dismay - in that change I think i get rid of the isdir checks in favor of expecting the errors and dealing with them04:09
jrichliah, ok I didnt realize these would be reused. and yes, haven't looked at that patch yet.  will do04:10
claygjrichli: with that attitude that method becomes safe - if lockdir exibits similar problems it should *also* be updated to be safe04:10
claygthe suffix dirs or the hashdirs?  they could all be re-used in theory04:10
*** winggundamth_ has quit IRC04:10
jrichlihonestly, i just didnt think about the dirs and how they get created when considering that idea04:11
claygif it's an empty suffix (because of e.g. quarantine) a replicator could push a replacement db into the old empty suffix dir just as the local sweep is trying to rmdir04:11
jrichliso, is there always a lock done around these things?04:12
jrichlii haven't seen the particular lock that timburke talked about04:12
claygjrichli: i went looking and couldn't find a the good example - *somewhere* in utils (or diskfile?) we have a helper function that makes a joke about two processes racing when it does a mkdir; touch; ENOENT # where'd my directory go!?04:13
clayglock_path is in common.utils04:13
jrichliyes, i can look for all the usages.  just haven't done that yet04:13
claygif you stick a sleep right here https://github.com/openstack/swift/blob/e9749606327fed03bad85abb2160dbf7b2f42d9c/swift/common/utils.py#L222804:14
jrichliah, i see04:16
claygthere's a good chance IME you can get a traceback, esp. with timburke's race script04:16
*** isotope has joined #openstack-swift04:16
*** klrmn has quit IRC04:22
claygtdasilva: good merge over here!  https://review.openstack.org/#/c/400126/04:50
patchbotpatch 400126 - swift-bench - Replace assertEquals with assertEqual (MERGED)04:50
claygi never look at swift-bench patches - there's probably so many repo's I should pay attention to04:50
claygi'm totally feeling accomplished just keeping up with liberasurecode and pyeclib04:50
claygalso someone merge this -> https://review.openstack.org/#/c/39326304:51
patchbotpatch 393263 - liberasurecode - ISA-L Cauchy support04:51
claygya'll know that like rs_vand is bad right?  like even if you use liberasurecode 1.3.1 you can still get boned if you have a policy with > 4 parities - and it's not like we *say* somewhere you shouldn't use > 4 parity04:52
claygwe need an alternative isa-l policy then we can just say "use whatever k+m you want!" - just use rs_cauch instead of rs_vand ;)04:52
claygit's going to be great!04:52
notmynamefantastic, even04:54
claygwerd04:54
claygand then we'll release the ssync fixes and suffix hashing fixes and ten deprecate everything in favor of hummingbird then *bam* eat it aws we win04:55
notmynameand kota_'s global ec and cschwede part power increase :-)05:02
notmynameso a while back, I bought a desk chair at ikea. and now when I sit on it, it slowly sinks down05:10
notmynamebut too slow to notice05:10
notmynamejust like every 10 or 20 minutes, I need to raise it back up05:10
notmynamenot often enough to think about it, but so often that it distracts me about ever 15 minutes05:10
notmynamewhat I'm saying is that I think I need a new desk chair05:11
si1verOr thicker oil05:11
claygsomedays your first benchmark on the new cloud deployment for your experimental build with the latest tip of master swift looks like this https://cloud.swiftstack.com/v1/AUTH_clayg/junk/bench.jpg05:12
clayg<shrug>05:12
claygat least *some* of them 200'd?05:12
notmynameme right now https://www.youtube.com/watch?v=x1Fcfr7MP2U05:13
claygwhat's a good relaxing song?  some marley maybe?05:15
psachinclayg: If you got time, any thought on this patch? https://review.openstack.org/#/c/349199/05:16
patchbotpatch 349199 - swift - Fix swift-get-nodes arg parsing for missing ring05:17
claygntata: likes it?!  let's merge it?05:18
clayghell it even says fixes a bug I reported?  what's not to like?05:19
claygkota_: i'm getting so sick of this error message!  ERROR: Invalid Storage Policy Configuration in /etc/swift/swift.conf (Wrong ec_type isa_l_rs_cauchy for policy ec, should be one of "flat_xor_hd_3, flat_xor_hd_4, isa_l_rs_vand, liberasurecode_rs_vand")05:20
claygwhy is isa_l_rs_cauchy not a valid type yet?  ;)05:20
claygpsachin: why does `swift-get-nodes -P default a c o` say ERROR: Ring file does not exist05:23
psachinclayg: let me check05:25
*** dmorita has joined #openstack-swift05:26
*** ppai has joined #openstack-swift05:26
jrichlinotmyname: lol.  I got an awesome chair from Relax-the-Back.  but it was pricey05:27
claygRelax-the-Back does not sound like a reall thing05:27
jrichliclayg: oh, but it is :-)05:28
jrichlihttps://www.relaxtheback.com/05:28
jrichliits like Backrite05:29
claygwow05:29
jrichliand no, i dont get paid to advertise for them.  and i will try not to spam anymore with commercials :-)05:29
kota_clayg: have you had https://review.openstack.org/#/c/393276/?05:30
patchbotpatch 393276 - pyeclib - ISA-L Cauchy support05:30
*** dmorita has quit IRC05:31
notmynamejrichli: is that a thing? you work in that leaned back position?05:31
notmynameI had always thought that something like http://store.hermanmiller.com/Products/Embody-Chair was the top-end chair05:31
claygkota_: i just keep swithing back to master w/o changing my swift.conf05:32
claygkota_: it was a (bad) joke - i'm trying to emphasize how much I am looking forward to isa_l_rs_cauchy support!05:33
kota_clayg: in current pyeclib master, we don't have isa-l cauchy as supported yet.05:33
kota_yup05:33
psachinclayg: I got same error05:35
jrichlinotmyname: that isn't my desk chair.  you can search their web site for desk chairs and see all the cool things.  but we do have an early version of that laid back chair called "the perfect chair"05:36
notmynamewait. how can you have "the perfect chair" that's also "an early version"?!?! if it's perfect, why would there be a second version?05:37
openstackgerritKota Tsuyuzaki proposed openstack/liberasurecode: Add get_version functionality to liberasurecode lib  https://review.openstack.org/40592605:38
jrichlilol.  we bought it years ago.  perhaps there have been no changes to the basics - but there prob have been05:38
claygwow, so you know what's fun - a 15+3 policy in a cluster with 18 disks - you know what's less fun?  trying to slam a concurrency of 100 at it and not running into a single default timeout because you don't have any handoff nodes.05:39
zaitceveven with a node down?05:40
claygwrite q per disk is much different in (18 * 100 / 18) and (3 * 100 / 18)05:40
claygreplicated ftw on swift in the small05:41
claygalso don't build 18 disk swift clusters like some sort jerk05:41
openstackgerritKota Tsuyuzaki proposed openstack/pyeclib: WIP: Change the version reference  https://review.openstack.org/40592905:49
kota_notmyname, clayg: if you consider ISA-L cauchy soon (it may be before version dependency), it would be good to include both patch 405926, patch 40592905:50
patchbothttps://review.openstack.org/#/c/405926/ - liberasurecode - Add get_version functionality to liberasurecode lib05:50
patchbothttps://review.openstack.org/#/c/405929/ - pyeclib - WIP: Change the version reference05:50
kota_that patches enables to refer actual shared lib object instead of  c header file and if it's available, we don't have to rebuild pyeclib i.e. you won't see some warning logs or errors.05:52
kota_refactoring merge proccess I supporse right now (which is a bit different from this week's irc meeting), 1. land patch 393263 and patch 40592605:54
patchbothttps://review.openstack.org/#/c/393263/ - liberasurecode - ISA-L Cauchy support05:54
patchbothttps://review.openstack.org/#/c/405926/ - liberasurecode - Add get_version functionality to liberasurecode lib05:54
kota_and bump liberasurecode 1.3.205:54
kota_then05:55
kota_2. land patch 405929 and patch 393276 and patch 39599805:56
patchbothttps://review.openstack.org/#/c/405929/ - pyeclib - WIP: Change the version reference05:56
patchbothttps://review.openstack.org/#/c/393276/ - pyeclib - ISA-L Cauchy support05:56
patchbothttps://review.openstack.org/#/c/395998/ - pyeclib - Make hard-coded dependency for liberasurecode>=1.3.105:56
kota_patch 395998 should be >=1.3.2 and resolved the gate issue though05:56
patchbothttps://review.openstack.org/#/c/395998/ - pyeclib - Make hard-coded dependency for liberasurecode>=1.3.105:56
kota_and then bump pyeclib to 1.3....2?3?05:57
kota_which version for the newest pyeclib...05:57
kota_er 1.3.1 in the newest, so bump to 1.3.205:58
*** sams-gleb has joined #openstack-swift05:58
*** sams-gleb has quit IRC05:58
*** sams-gleb has joined #openstack-swift05:58
kota_ocne the get_version fucntionality land to master, we could resolve gate issue for a while until distros supports the newest via sort of test-install.sh??06:01
kota_i forgot the name of scripts we can use in the gate for running test...06:02
kota_tracking irc meeting logs...06:02
kota_ah, test-setup.sh06:02
kota_Is test-setup.sh available for now?06:04
notmynamenot yet, as far as i know06:06
kota_notmyname: thx, is there any other tools we can use for root before testing. I think tentative way to build liberasurecode from master for testing purpose resolves to land pyeclib isa-l cauchy support quickly06:08
kota_so the problem is we cannot land pyeclib isa-l cauchy until package managers supports the newest liberasurecode which supports isa-l cauchy in their repos.06:09
notmynameright now, I don't know06:12
*** Jeffrey4l_ has quit IRC06:12
kota_notmyname: k06:12
*** Jeffrey4l has joined #openstack-swift06:12
kota_so i thought the dependency should be managed step-by-step, however, at this time, it's better all fixes (isa-l cauchy, dependency tools) we need included in the liberasurecode 1.3.206:13
kota_and then expect distro suppliers set it as default06:14
claygmerge everything!06:14
kota_clayg: yey!06:14
claygkota_: but why can't we release pyeclib with cauchy support before distro packages release liberasurecode?06:14
claygthat requirement irks me if it's true i'm curious how to remove that restriction06:15
kota_clayg: gate didn't pass unless it's availabele in the distros06:15
clayggate doesn't use isa-l cauchy06:15
kota_ah06:15
claygand the unittests for pyeclib should skip?06:15
kota_I may be missing something?06:15
kota_yeah06:15
kota_clayg: good point, it may be ok06:16
kota_let me check06:16
patchbot(let <variable> = <value> in <command>) -- Defines <variable> to be equal to <value> in the <command> and runs the <command>. '=' and 'in' can be omitted.06:16
claygshut UP patchbot06:16
kota_no patch bot06:16
*** isotope has quit IRC06:16
kota_ah, yeah, https://review.openstack.org/#/c/393276/ passes06:16
patchbotpatch 393276 - pyeclib - ISA-L Cauchy support06:17
kota_nice work pachbot06:17
kota_so we can land isa-l cauchy first06:17
kota_that's great06:17
kota_thx clayg06:17
kota_split repo is too hard dependency chains I was doing ever...06:18
kota_so we can land isa-l cauchy in pyeclib whenever but it still requires the master (not 1.3.1) even if isa-l cauchy in liberasureccode landed.06:19
kota_it's time to move to another meeting :/06:20
*** ChubYann has quit IRC06:31
*** openstackgerrit has quit IRC06:33
kota_clayg, timburke: I added a little info about the conversation for pyeclib get_metadata to https://bugs.launchpad.net/pyeclib/+bug/1634006 to be track-able06:49
openstackLaunchpad bug 1634006 in PyECLib "Memory leak on get_metadata(formatted=True)" [Undecided,New]06:49
claygkewl06:50
*** SkyRocknRoll has joined #openstack-swift07:01
cschwedeclayg: acoles_: can we squash patch 405295 and patch 405559 into 402324 ? i’d prefer that to have a single patch to backport, and being able to run tests on stable/newton and stable/mitaka07:14
patchbothttps://review.openstack.org/#/c/405295/ - swift - Cleanup tests from deterministic suffix updates07:14
patchbothttps://review.openstack.org/#/c/405559/ - swift - Further improvement to deterministic suffix re-has...07:14
*** jamielennox is now known as jamielennox|away07:18
*** manous has joined #openstack-swift07:20
claygcschwede: squash all of my patches always07:33
claygcschwede: i try to say so explicitly - i think acoles_ might have also07:34
cschwedeclayg: alright, will do that - i’ll wait for acoles_ to get online, and if Alistair is ok with squashing his patch too i will squash both07:34
claygcschwede: i agree for the squash for all the reasons you said07:34
claygdidn't he say something in his review comment?  i'm *pretty* sure he would agree with your reasoning - having a chain is very bad for backport reasons :'(07:34
claygwe need to just get better at pushing over each other - i always feel like that's the easiest thing to do - i'm sure like 1 out of 100 times it will end up being more work for the author but if it was done with good intentions i'm sure there's pleanty of forgiveness to go around07:36
* clayg hugs07:36
cschwedeclayg: yeah, i fully agree with you. more squashing, less patches!07:38
claygsquash and merge squash and merge squash and merge07:38
*** rcernin has joined #openstack-swift07:40
*** jamielennox|away is now known as jamielennox07:44
*** openstackgerrit has joined #openstack-swift07:44
openstackgerritChristian Schwede proposed openstack/swift: Fix non-deterministic suffix updates in hashes.pkl  https://review.openstack.org/40232407:44
cschwedeclayg: acoles_ ^^07:44
*** openstackgerrit has quit IRC08:03
claygload average 25 on a two core system is bad right?08:04
patchbotError: You don't have the owner capability. If you think that you should have this capability, be sure that you are identified before trying again. The 'whoami' command can tell you if you're identified.08:04
zaitcevI'm kinda idly wondering why Pavel felt it necessary to create a oneliner _do_listdir() where an anonymous function would do the job as well... The indentation is not yet severe at the invocation site. Hmm. Everyone has a style.08:07
zaitcevI realy have to drop now, we have a meeting in 6 hours08:08
zaitcevNo, wait08:08
claygzaitcev: and more importantly everyone *elses* style sucks08:08
zaitcevheheh08:08
*** amoralej|off is now known as amoralej08:15
claygpublic service announcement "if you call spawn, pass in your logger thread locals and restore them in the greenthread"08:37
claygi'm getting a bunch of log lines w/o tnxid's08:37
*** hseipp has joined #openstack-swift08:38
claygquick audit of proxy.controller.obj has like... two raw in EC and one common in Putter08:38
clayg.. that you know .. don't pass their threadlocals threw08:39
*** geaaru has joined #openstack-swift08:44
*** zhengyin has quit IRC08:48
claygman... we gotta get in that fix for min_part_hours = 008:51
claygwhere is that patch08:51
*** zhengyin has joined #openstack-swift08:59
claygzaitcev: oh you ment why did *I* make the _do_listdir a module level oneliner!09:00
claygzaitcev: makes it easier to monkey-patch in tests09:00
claygcschwede: maybe when you're back above water on this rsync mess - patch 34647509:03
patchbothttps://review.openstack.org/#/c/346475/ - swift - For any part, only one replica can move in a rebal...09:03
*** openstackgerrit has joined #openstack-swift09:04
openstackgerritSachin Patil proposed openstack/swift: Fix swift-get-nodes arg parsing for missing ring  https://review.openstack.org/40601209:04
*** zhugaoxiao has joined #openstack-swift09:16
*** asettle has joined #openstack-swift09:42
*** rcernin has quit IRC09:49
*** rcernin has joined #openstack-swift09:50
*** zhugaoxiao has quit IRC09:54
*** davideagle_ has joined #openstack-swift10:01
*** abalfour has quit IRC10:03
*** abalfour has joined #openstack-swift10:03
openstackgerritKazuhiro MIYAHARA proposed openstack/swift: Rename ObjectUpdater variables in unit test to appropriate names  https://review.openstack.org/40528110:07
*** davideagle_ has quit IRC10:09
*** acoles_ is now known as acoles10:24
*** tesseract has joined #openstack-swift10:27
*** tesseract is now known as Guest7998610:27
asettleacoles: quick question if you have a second10:35
acolesasettle: go ahead10:35
asettleIs swift also changing to the openstack command, or keeping the swift command? (For CLI). I thought it was staying as swift, but I saw some people attempting to update10:36
acolescschwede: sorry, late start today....do squash!10:36
*** davideagle_ has joined #openstack-swift10:37
*** davideagle_ has quit IRC10:38
acolesasettle: my opinion...it would be great to have all of the swiftclient functionality supported under openstack cli. but reality is that there has yet to be resource given to that effort (as far as I am aware), so for time being we still maintain swiftclient.10:39
*** asettle__ has joined #openstack-swift10:39
onovynotmyname: hi, can you look into patch 402508 and patch 402509 pls?10:39
patchbothttps://review.openstack.org/#/c/402508/ - swift (stable/mitaka) - Fixed regression in consolidate_hashes10:39
patchbothttps://review.openstack.org/#/c/402509/ - swift (stable/newton) - Fixed regression in consolidate_hashes10:39
asettle__Damnit I dropped from the channel.10:39
acolesasettle: openstack cli does support some swift operations but swiftclient has a lot of other functionality.10:40
acolesasettle__: did you miss my response?10:40
asettle__Oof, didn't think that answer would be simple. I think I just got it.10:40
-asettle__- acoles10:40
-asettle__- asettle: openstack cli does support some swift operations but swiftclient has a lot of other functionality.10:40
asettle__That the response? :)10:40
acolesasettle__: asettle: my opinion...it would be great to have all of the swiftclient functionality supported under openstack cli. but reality is that there has yet to be resource given to that effort (as far as I am aware), so for time being we still maintain swiftclient.10:41
asettle__Yep, okay, cool, thank you. I think we might just leave it then if possible.10:41
acolesasettle__: notmyname, timburke and joeljwright may have better opinions10:42
asettle__That'll be helpful later :) thank acoles !10:42
acolesjoel<tab>, where are you?10:42
*** asettle has quit IRC10:42
asettle__No idea, I actually went to message him first but he hasn't been online much lately10:42
*** asettle__ is now known as asettle10:42
acolesasettle: he has a habit of doing real work ;)10:43
asettleThat's just outrageous!10:43
asettle:p10:43
*** manous has quit IRC10:44
*** 17SAAPBC7 has joined #openstack-swift10:45
*** joeljwright has joined #openstack-swift10:46
*** ChanServ sets mode: +v joeljwright10:46
asettlejoeljwright: thank you for appearing upon command10:46
joeljwright:)10:46
asettleI was just asking acoles about the swift command in the CLI. Have you guys migrated to the openstack command, or sticking to the swift one?10:47
asettleAnd you're the guy that knows that.10:47
joeljwrightno, we haven't migrated to the openstack command10:47
asettleOkay,  cool, thanks. Any plans to do so?10:47
joeljwrightthere's work to be done there, and some serious inter-project negotiations10:48
joeljwrightthe openstack support for swift is very basic atm10:48
joeljwrightwe need support for keystone auth sessions before we can even consider giving them a library they can use10:48
joeljwrightwe are working towards it10:48
asettlejoeljwright: do you have a list at all of the command that support the openstack command?10:49
asettlecommand command command10:49
joeljwrighttimburke has done a lot of work in that direction10:49
joeljwrightas far as I'm aware the openstack command can do very basic operations on single objects10:49
joeljwrightbut I don't have a nice list of what it supports10:50
asettleBummer, okay. I think we pretend you guys don't support it at the moment, and stick with the swift command.10:50
joeljwrightcan we define 'you guys' in this context10:51
joeljwright?10:51
joeljwrightI would say that sticking with the swift command is much better at the moment10:51
joeljwrightunless your only requirement is to upload/download individual small objects one at a time10:52
acolesjoeljwright: hi!10:53
joeljwrightacoles: hi (didn't realise I wasn't logged in!)10:54
joeljwrightthought irc was quiet :)10:54
acoleslol. its the best way to be. blissful ignorance.10:55
*** joeljwright has quit IRC11:10
*** joeljwright has joined #openstack-swift11:19
*** ChanServ sets mode: +v joeljwright11:19
joeljwrightacoles: well that was a thoroughly inconvenient power cut11:19
joeljwrightdid I miss anything?11:19
acolesjoeljwright: ummm, no11:20
joeljwrightsorry, I got a message from you, then everything went dark11:20
acoleslol. others have also said I have that effect on them11:20
joeljwright:D11:21
acolesat least you made it back11:21
acoleswe seem to have more power cuts since brexit11:21
joeljwrightI'm going to add a review to the openstack-manuals patch11:21
joeljwrightI'm a little worried about recommending using openstack commends for swift11:22
joeljwrightwhen the support is so limited11:22
asettlejoeljwright: sorry I missed all this, got distracted.11:23
asettlejoeljwright: yeah I agree. Thanks for reviewing :) appreciate it11:24
*** siva_krish has joined #openstack-swift11:28
*** zhengyin has quit IRC11:31
claygpsachin: sorry i missed your response - so you were able to duplciate the error - can you fix it?  do you want me to leave a note on the review?11:39
psachinclayg: Yes. https://review.openstack.org/#/c/406012/11:40
patchbotpatch 406012 - swift - Fix swift-get-nodes arg parsing for missing ring11:40
psachinclayg: But sorry I have this new environment and new we have new review link11:41
psachinmy bad11:41
*** Jeffrey4l has quit IRC11:44
*** manous has joined #openstack-swift11:46
*** Jeffrey4l has joined #openstack-swift11:58
*** siva_krish has quit IRC12:01
claygpsachin: was there a test case missing?12:02
*** ppai has quit IRC12:02
claygi didn't really look before, but now i see # -P test -p 1 <- that was the one I haveing problems with right?12:02
psachinclayg: Yes.T he relevant test was missing12:03
claygpsachin: oh, nope - it's the last one # -P test a c o12:03
claygpsachin: hah!  that's awesome!  go unittest!12:03
psachinclayg: :)12:04
claygpsachin: nice work, i don't see a test for # -P test a/c/o  (sry, have another change checked out right now)12:04
claygif you change again, just `git commit --amend` then when you `git review` it'll keep the same change-id in the commit message (which is all that gerrit cares about for keeping track of change sets)12:05
psachinclayg: Yeah. Let me add that one too12:05
claygpsachin: right on!12:05
openstackgerritSachin Patil proposed openstack/swift: Fix swift-get-nodes arg parsing for missing ring  https://review.openstack.org/40601212:09
*** rcernin has quit IRC12:12
psachinclayg: ^^12:14
*** rcernin has joined #openstack-swift12:15
claygpsachin: sweet - is that all of them?12:18
psachinclayg: That will be all12:19
claygpsachin: i wonder what it does if you give it a policy name *and* a ring12:20
claygit must have a preference or print an error or something...12:21
psachinclayg: Yeah! it should be policy requires partition number12:23
openstackgerritMerged openstack/swift: Fix non-deterministic suffix updates in hashes.pkl  https://review.openstack.org/40232412:38
onovynotmyname: and patch 406101 pls :]12:46
patchbotError: Spurious "]".  You may want to quote your arguments with double quotes in order to prevent extra brackets from being evaluated as nested commands.12:46
patchbothttps://review.openstack.org/#/c/406101/ - swift (stable/newton) - Fix non-deterministic suffix updates in hashes.pkl12:46
claygpsachin: well the -P is like an alternative way to specify the ring - but policy name instead of path?12:53
claygthe -p option is like an alternative to a specific a/c/o name12:54
*** psachin has quit IRC12:57
*** geaaru has quit IRC12:59
*** nikivi has joined #openstack-swift13:02
*** manous has quit IRC13:04
openstackgerritOpenStack Proposal Bot proposed openstack/swift: Updated from global requirements  https://review.openstack.org/8873613:06
*** rcernin has quit IRC13:06
*** rcernin has joined #openstack-swift13:08
*** geaaru has joined #openstack-swift13:12
openstackgerritClay Gerrard proposed openstack/swift: Initial placement gets one go  https://review.openstack.org/40611113:13
*** manous has joined #openstack-swift13:16
*** links has quit IRC13:17
claygoh snap!  402324 merged!13:19
*** kei_yama has quit IRC13:28
*** ma9 has joined #openstack-swift13:33
*** ma9 has left #openstack-swift13:33
*** nikivi has quit IRC13:37
*** nikivi has joined #openstack-swift13:42
*** nikivi has quit IRC13:42
*** geaaru has quit IRC13:49
*** geaaru has joined #openstack-swift14:02
*** nikivi has joined #openstack-swift14:11
openstackgerritShashirekha Gundur proposed openstack/swift: Invalidate cached tokens api  https://review.openstack.org/37031914:13
*** nikivi has quit IRC14:14
*** 17SAAPBC7 has quit IRC14:16
cschwedeonovy: backport of patch 402324 for mitaka: patch 40613314:16
patchbothttps://review.openstack.org/#/c/402324/ - swift - Fix non-deterministic suffix updates in hashes.pkl (MERGED)14:16
patchbothttps://review.openstack.org/#/c/406133/ - swift (stable/mitaka) - Fix non-deterministic suffix updates in hashes.pkl14:16
cschwedenotmyname: ^^14:16
*** StraubTW has joined #openstack-swift14:18
*** StraubTW has quit IRC14:18
*** StraubTW has joined #openstack-swift14:18
*** geaaru has quit IRC14:18
onovycschwede: https://review.openstack.org/#/c/406101/ ?14:18
patchbotpatch 406101 - swift (stable/newton) - Fix non-deterministic suffix updates in hashes.pkl14:18
onovyi was first!14:18
onovyah sry, mitaka/newton14:19
onovygot it14:19
cschwedeonovy: thats newton, my backport is for mitaka - i saw yours14:19
onovythere was collision in tests for mitaka14:19
cschwedeonovy: yeah, saw that and fixed them14:21
onovycool!14:21
*** bkopilov_ has joined #openstack-swift14:23
onovycschwede: i added notmyname to all stable reviews14:24
cschwedethx!14:24
*** bkopilov has quit IRC14:25
*** geaaru has joined #openstack-swift14:32
*** rcernin has quit IRC14:33
*** nikivi has joined #openstack-swift14:34
*** nikivi has quit IRC14:35
*** amoralej is now known as amoralej|lunch14:36
*** nikivi has joined #openstack-swift14:37
*** nikivi has quit IRC14:38
*** nikivi has joined #openstack-swift14:40
*** rcernin has joined #openstack-swift14:41
*** jamielennox is now known as jamielennox|away14:45
*** nikivi has quit IRC14:45
*** nikivi has joined #openstack-swift14:47
*** silor has joined #openstack-swift14:52
*** rcernin has quit IRC14:55
*** rcernin has joined #openstack-swift14:58
*** amoralej|lunch is now known as amoralej15:03
*** dmorita has joined #openstack-swift15:27
*** dmorita has quit IRC15:32
*** openstackgerrit has quit IRC15:33
*** klamath has joined #openstack-swift15:38
*** klamath has quit IRC15:43
*** chlong has joined #openstack-swift15:47
*** admin6 has left #openstack-swift15:51
*** openstackgerrit has joined #openstack-swift15:52
openstackgerritShashirekha Gundur proposed openstack/python-swiftclient: modify 'swift <sub_command> —help' display  https://review.openstack.org/39011915:52
*** Guest79986 has quit IRC15:54
*** isotope has joined #openstack-swift15:59
*** rcernin has quit IRC16:05
*** isotope has quit IRC16:12
*** david-lyle_ has joined #openstack-swift16:17
*** david-lyle has quit IRC16:19
*** chlong has quit IRC16:20
*** chlong has joined #openstack-swift16:20
*** jistr is now known as jistr|biab16:33
*** tqtran has joined #openstack-swift16:38
*** Jeffrey4l has quit IRC16:42
*** jlvillal has quit IRC16:45
*** rcernin has joined #openstack-swift16:45
*** tqtran_ has joined #openstack-swift16:50
*** geaaru has quit IRC16:51
*** tqtran has quit IRC16:53
*** jlvillal has joined #openstack-swift16:57
*** jlvillal has quit IRC16:58
*** jlvillal has joined #openstack-swift16:59
*** chlong has quit IRC17:02
*** arch-nemesis has joined #openstack-swift17:04
*** mingyu has joined #openstack-swift17:04
*** jlvillal has quit IRC17:08
*** jlvillal has joined #openstack-swift17:08
*** asettle has quit IRC17:11
*** nikivi has quit IRC17:15
*** nikivi has joined #openstack-swift17:19
*** nikivi has quit IRC17:19
notmynamegood morning17:22
openstackgerritChristian Schwede proposed openstack/swift: Add support to increase object ring partition power  https://review.openstack.org/33729717:27
*** dmorita has joined #openstack-swift17:35
*** hseipp has quit IRC17:36
*** gmmaha has quit IRC17:38
*** gmmaha has joined #openstack-swift17:40
*** chlong has joined #openstack-swift17:41
openstackgerritPavel Kvasnička proposed openstack/swift: Optimize hash calculation when suffix hash invalidated  https://review.openstack.org/40204317:42
*** rledisez has quit IRC17:43
*** rcernin has quit IRC17:45
*** rcernin has joined #openstack-swift17:46
notmynameI just heard about http://status.openstack.org/openstack-health/#/?searchProject=swift17:46
*** sams-gleb has quit IRC17:47
*** sams-gleb has joined #openstack-swift17:47
*** sams-gleb has quit IRC17:52
*** jistr|biab is now known as jistr17:53
*** sams-gleb has joined #openstack-swift17:54
*** sams-gleb has quit IRC17:56
*** sams-gleb has joined #openstack-swift17:59
*** sams-gleb has quit IRC17:59
*** sams-gleb has joined #openstack-swift17:59
*** isotope has joined #openstack-swift18:00
*** klrmn has joined #openstack-swift18:01
openstackgerritPavel Kvasnička proposed openstack/swift: Optimize hash calculation when suffix hash invalidated  https://review.openstack.org/40204318:03
*** mingyu has quit IRC18:06
*** david-lyle_ is now known as david-lyle18:08
openstackgerritPavel Kvasnička proposed openstack/swift: Optimize hash calculation when suffix hash invalidated  https://review.openstack.org/40204318:11
*** asettle has joined #openstack-swift18:11
*** manous has quit IRC18:15
openstackgerritPavel Kvasnička proposed openstack/swift: Optimize hash calculation when suffix hash invalidated  https://review.openstack.org/40204318:17
*** asettle has quit IRC18:19
*** asettle has joined #openstack-swift18:19
openstackgerritAlistair Coles proposed openstack/swift: Refactor recon to use single md5_hash_for_file function  https://review.openstack.org/40627718:21
*** asettle has quit IRC18:22
openstackgerritAlistair Coles proposed openstack/swift: Refactor recon to use single md5_hash_for_file function  https://review.openstack.org/40627718:23
*** acoles is now known as acoles_18:29
*** PavelK has joined #openstack-swift18:30
*** daemontool has joined #openstack-swift18:32
PavelKonovy: cschwede: acoles_: Patch 402043 is ready for review and hints are welcome.18:34
PavelKOne hint for you: do not delete .pkl files in your storage, because new files stored between directory listing and new pkl created are not taken into hashes and not invalidated.18:36
*** PavelK has quit IRC18:37
*** daemontool has quit IRC18:38
*** joeljwright has quit IRC18:41
*** diogogmt has joined #openstack-swift18:50
*** _JZ_ has joined #openstack-swift18:58
*** mingyu has joined #openstack-swift19:01
*** ChubYann has joined #openstack-swift19:02
claygnotmyname: i don't think i entirely grasp that ci failure thingy19:27
notmynameclayg: which one?19:27
claygnotmyname: we used to joke that the goal of ci was not to have ci always pass - if ci always passed - you don't need ci19:27
claygnotmyname: the health?19:27
*** silor has quit IRC19:30
*** isotope has quit IRC19:32
*** serverascode has quit IRC19:34
*** nottrobin has quit IRC19:34
*** zhiyan has quit IRC19:34
*** vint_bra has joined #openstack-swift19:43
*** nottrobin has joined #openstack-swift19:47
*** serverascode has joined #openstack-swift19:50
*** zhiyan has joined #openstack-swift19:53
*** isotope has joined #openstack-swift20:02
*** chlong has quit IRC20:42
*** amoralej is now known as amoralej|off20:51
*** chlong has joined #openstack-swift20:55
openstackgerritTim Burke proposed openstack/swift: SLO: Make etag and size_bytes fully optional  https://review.openstack.org/39109020:56
*** sams-gleb has quit IRC20:59
claygtimburke: I think we should find a dependency we like for subUnit and add it to test-requires in Swift (!?)21:15
claygi'm *constantly* wanting it21:15
*** dmorita has quit IRC21:25
*** dmorita has joined #openstack-swift21:25
*** dmorita has quit IRC21:25
*** asettle has joined #openstack-swift21:26
*** asettle has quit IRC21:28
*** mingyu has quit IRC21:29
*** dmorita has joined #openstack-swift21:29
*** dmorita has quit IRC21:39
*** nexusz99 has quit IRC21:39
*** nexusz99 has joined #openstack-swift21:40
*** nexusz99 has quit IRC21:40
*** vint_bra has quit IRC21:48
*** sams-gleb has joined #openstack-swift21:54
*** SkyRocknRoll has quit IRC21:56
*** daemontool has joined #openstack-swift22:04
*** sams-gleb has quit IRC22:07
*** dmorita has joined #openstack-swift22:19
*** dmorita has quit IRC22:20
*** jamielennox|away is now known as jamielennox22:22
*** dmorita has joined #openstack-swift22:22
*** npf has joined #openstack-swift22:32
*** chlong has quit IRC22:44
mattoliveraumorning all22:59
MooingLemurmroing23:00
*** sams-gleb has joined #openstack-swift23:05
*** henryn has joined #openstack-swift23:08
*** isotope has quit IRC23:08
openstackgerritClay Gerrard proposed openstack/swift: Add Status Code tests for Container GET  https://review.openstack.org/40639223:09
notmynamemattoliverau: clayg: what am I missing in test_db.py? (looking at patch 405031)23:10
patchbothttps://review.openstack.org/#/c/405031/ - swift - Quarantine malformed database schema SQLite errors23:10
notmynamemattoliverau: clayg: how are the different exception messages ever actually raised?23:11
notmynamein test_get(), ~lin743 and following23:11
notmynamelooks like the exact same setup and calls, just a different db name?23:11
*** daemontool has quit IRC23:13
*** isotope has joined #openstack-swift23:13
*** npf has quit IRC23:15
mattoliveraunotmyname: there are actually currupted dbs living in our test repo, we copy them, open them in the broker and then runs a select. This then raises the error (currupted db)  that gets gets caught and we check the message23:16
*** sams-gleb has quit IRC23:19
*** dmorita has quit IRC23:19
notmynameoh wow. wow. my editor isn't showing those files. at all. but yeah, there they are23:20
mattoliverauits magic23:20
notmynamethe wrong kind of magic23:20
mattoliverauyeah, clayg was just as surprised :)23:20
*** StraubTW has quit IRC23:21
*** dmorita has joined #openstack-swift23:22
notmynamelook at that. my editor by default excluded *.db23:25
notmynamewell, I just fixed that23:25
notmynamemattoliverau: how'd you create the schema fail? like some partial wirte or something?23:26
mattoliveraunotmyname: I documented it in the bug :)23:27
notmynamekk23:27
mattoliverauBecause it's a schema fail, you can turn a editable schemas with a pragma23:27
*** _JZ_ has quit IRC23:31
notmynameclayg: what do you think about adding a few extra lines to patch 406392? https://gist.github.com/notmyname/8933e9e7f9e53c991f122317476f3d3723:52
patchbothttps://review.openstack.org/#/c/406392/ - swift - Add Status Code tests for Container GET23:52
notmynameI can push that an approve23:53
notmynameit's good stuff overall23:53

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