Thursday, 2015-03-19

*** lpabon has quit IRC00:03
*** vinsh has quit IRC00:04
*** jamielennox is now known as jamielennox|away00:09
*** ozialien has joined #openstack-swift00:16
*** jrichli has joined #openstack-swift00:21
*** vinsh has joined #openstack-swift00:22
*** jamielennox|away is now known as jamielennox00:23
*** welldannit has joined #openstack-swift00:23
*** welldannit has quit IRC00:23
*** gyee has quit IRC00:30
*** ho has joined #openstack-swift00:32
*** zhill has quit IRC00:50
notmynameEC update: https://gist.github.com/notmyname/ddde46b782957dec667500:51
*** ChanServ changes topic to "Review Dashboard: http://goo.gl/uRzLBX | Overview Dashboard: http://goo.gl/2By1qv | Priority Reviews: https://wiki.openstack.org/wiki/Swift/PriorityReviews | EC status: https://gist.github.com/notmyname/ddde46b782957dec6675 | Logs: http://eavesdrop.openstack.org/irclogs/%23openstack-swift/"00:52
*** kota_ has joined #openstack-swift00:54
notmynamekota_: ho: thanks for waking up early for the meeting today! At the summit, I do want to talk about possibilities of better times. or just better ways to incorporate everyone across the timezones00:56
kota_notmyname: No worries, I often join the meeting. Because the EC status is important for my company, I have to watch it and I am very happy to talk the great member in the meeting, every time.01:03
notmynamekota_: great :-)01:03
notmynamekota_: I jsut pasted a status update in the channel topic message01:04
kota_notmyname: And then, the disussion about possibilities of better time sounds good for my sleep :P01:04
notmynameheh01:04
kota_notmyname: ok, thanks01:04
notmynameI've got to run01:07
*** ozialien has quit IRC01:53
*** G________ has joined #openstack-swift01:53
*** kota_ has quit IRC02:01
*** zhill has joined #openstack-swift02:01
*** zhill has quit IRC02:06
*** ozialien has joined #openstack-swift02:14
openstackgerritThiago da Silva proposed openstack/swift: Refactoring the PUT method  https://review.openstack.org/15682502:18
*** reed has quit IRC02:20
tdasilvanotmyname: great summary of EC update, thanks for putting that together!02:27
*** haomaiwang has joined #openstack-swift02:29
*** dmorita_ has quit IRC02:36
*** aswadr has joined #openstack-swift02:43
*** erlon has quit IRC02:51
*** yuan has joined #openstack-swift03:18
*** G________ has quit IRC03:29
*** Gue______ has joined #openstack-swift03:29
*** echevemaster has quit IRC03:34
*** greghaynes has quit IRC03:43
*** kota_ has joined #openstack-swift03:55
*** ozialien has quit IRC04:01
*** ozialien has joined #openstack-swift04:02
*** lpabon has joined #openstack-swift04:02
*** lpabon has quit IRC04:02
*** echevemaster has joined #openstack-swift04:03
*** jamielennox is now known as jamielennox|away04:06
*** ppai has joined #openstack-swift04:33
*** jrichli has quit IRC04:38
*** Gue______ has quit IRC04:52
*** Gue______ has joined #openstack-swift04:53
*** Gue______ has quit IRC05:04
*** bkopilov has quit IRC05:26
*** zaitcev has quit IRC05:32
*** ozialien has quit IRC05:32
*** greghaynes has joined #openstack-swift05:40
*** SkyRocknRoll has joined #openstack-swift05:44
*** SkyRocknRoll has joined #openstack-swift05:44
*** echevemaster has quit IRC06:16
*** srsakhamuri has quit IRC06:18
*** srsakhamuri has joined #openstack-swift06:19
*** mmcardle has joined #openstack-swift06:25
*** mmcardle has quit IRC06:30
*** pcaruana has quit IRC06:33
*** ppai has quit IRC07:03
*** ppai has joined #openstack-swift07:16
*** bkopilov has joined #openstack-swift07:31
*** haomaiwang has quit IRC07:32
*** Bsony has joined #openstack-swift07:45
*** chlong has quit IRC07:47
honotmyname: thanks for cosideration of the meeting time. I appreciate it :-)08:05
*** jistr has joined #openstack-swift08:37
*** geaaru has joined #openstack-swift08:40
*** jordanP has joined #openstack-swift09:05
*** logan2 has quit IRC09:22
*** logan2 has joined #openstack-swift09:22
*** bkopilov has quit IRC09:23
openstackgerritMerged openstack/swift: Per-policy DiskFileRouter  https://review.openstack.org/16438009:31
*** silor has joined #openstack-swift09:33
*** mmcardle has joined #openstack-swift09:47
*** Trozz has quit IRC09:50
*** acoles_away is now known as acoles09:51
*** Trozz has joined #openstack-swift09:53
*** Trozz is now known as Trozz_09:55
*** Trozz_ is now known as Trozz09:55
*** nshaikh has joined #openstack-swift10:00
*** joeljwright has joined #openstack-swift10:08
*** silor has quit IRC10:28
*** nshaikh has quit IRC10:29
*** kota_ has quit IRC10:41
openstackgerritAlistair Coles proposed openstack/swift: Add swift-recon feature to track swift-drive-audit error count  https://review.openstack.org/16388910:44
*** ppai has quit IRC10:58
*** pcaruana has joined #openstack-swift11:05
openstackgerritAlistair Coles proposed openstack/swift: Tighten up recon middleware unit tests  https://review.openstack.org/16577411:08
openstackgerritAlistair Coles proposed openstack/swift: Add swift-recon feature to track swift-drive-audit error count  https://review.openstack.org/16388911:13
*** stockpirate has joined #openstack-swift11:55
*** Slashme_ has joined #openstack-swift11:59
*** mmcardle has quit IRC12:00
Slashme_Hi, I'm trying to set size quota's on swift at a tenant level. I've used "swift post -m quota-bytes:<size>" and I can see the metadata but it is not enforced. Am I missing something ?12:02
*** geaaru has quit IRC12:07
*** chlong has joined #openstack-swift12:13
*** geaaru has joined #openstack-swift12:20
*** chlong has quit IRC12:26
*** mahatic has joined #openstack-swift12:36
*** chlong has joined #openstack-swift12:42
*** silor has joined #openstack-swift13:03
*** rdaly2 has joined #openstack-swift13:08
*** jistr has quit IRC13:08
*** jistr has joined #openstack-swift13:09
*** mmcardle has joined #openstack-swift13:10
*** chlong has quit IRC13:21
cschwedeSlashme_: do you have the quota middleware enabled in your proxy server?13:23
Slashme_container-quotas and account-quotas, yes13:26
*** Gu_______ has joined #openstack-swift13:31
Slashme_Okay, nevermind, it just takes a long time to update the total size, so you can still upload during this time.13:32
Slashme_Thanks for your help though13:32
*** silor1 has joined #openstack-swift13:37
*** silor has quit IRC13:40
cschwedeSlashme_: np, you’re welcome. You’re right, there might be a delay the update of the currently used space and the reported space, which is due to the eventual consistency13:46
openstackgerritAlistair Coles proposed openstack/swift: Enable in-process functional test policy to be configured  https://review.openstack.org/15920513:49
*** lpabon has joined #openstack-swift13:56
*** silor has joined #openstack-swift13:58
*** Gu_______ has quit IRC13:58
*** silor1 has quit IRC14:01
*** vinsh has quit IRC14:10
*** erlon has joined #openstack-swift14:26
*** rdaly2 has quit IRC14:29
*** jrichli has joined #openstack-swift14:30
*** Guest___ has joined #openstack-swift14:34
*** Guest___ has quit IRC14:46
*** ChanServ sets mode: +v cschwede14:52
*** marcusvrn has joined #openstack-swift14:56
*** tsufiev_ has left #openstack-swift15:05
notmynamegood morning15:12
pelusemornin'15:16
pelusePer-policy DiskFileRouter landed on feaure/ec.... nice!15:18
notmynamecool!15:19
acolesmorning. yes saw that landed, just rev'ing the per-policy classes patch (next one up chain) to simplify it15:20
peluseinteresting..15:21
acolespeluse: and adding back tests that got lost in the move somehow :?15:23
*** vinsh has joined #openstack-swift15:25
peluseacoles, hope its not something I did!15:27
* peluse hasn't been on that chain yet though :)15:27
acolespeluse: no all my fault just didn't copy the tests15:28
pelusekey word:  yes15:28
peluseerr... yet :)15:28
acolesclayg: (when you're awake) i decided to get rid of ReplicationDiskFileManager - excess baggage, can always go back in in future15:29
*** gyee has joined #openstack-swift15:37
*** reed has joined #openstack-swift15:37
*** SkyRocknRoll has quit IRC15:39
*** Bsony has quit IRC15:39
*** lpabon has quit IRC15:40
peluseacoles, still there?15:45
acolespeluse: here15:46
pelusequestion that you might be able to answer on .meta and ssync....15:46
*** Trozz has quit IRC15:46
*** Trozz has joined #openstack-swift15:47
acolesok15:47
pelusewithout digging super deep, it looks like if I have a .data and a .meta that need to get ssync'd over to somewhere else, the .meta is put into headers and ends up in xattr on the .data on the other end??15:47
peluseso .meta never gets actually copied over??15:47
acolesin short, yes.15:48
acolesimho that is wrong - because the .data file on receiver ends up with timestamp of the .meta on sender15:48
acolesi have fixes for it in my fast-post work15:49
peluseahhh OK, good to know I'm not seeing things.  I hadn't looked before and just *assumed* .meta was copied over but couldn't find the code anywere :)15:49
peluseI see what you mean about the dates being wrong though15:50
acolesis that a problem for you? i.e. are you using fast-post?15:50
pelusenope, that makes life easier for me right now on the reconstructor15:50
acolesphew15:50
peluse:)15:51
cschwedeacoles: does that mean we need 138498 merged asap as well?15:51
cschwedepatch 13849815:52
patchbotcschwede: https://review.openstack.org/#/c/138498/15:52
pelusewow, hadn't seen that one15:52
peluseits independent of EC work (just FYI)15:53
acolescschwede: 138498 is where i fixed it but that depends on the fast-post container update patch!!15:53
cschwedeyeah, i know that, and that makes me wonder (if we need the fix for EC now)15:54
acolesi'd love to see it merged :D but i think we'll need to stay focussed on EC :(15:54
pelusewe don't need it for EC, no15:54
acolescschwede: i could separate out the ssync fix, but it only applies if using fast-post15:54
cschwedeacoles: ok, now i got it. thx15:55
*** geaaru has quit IRC15:59
*** welldannit has joined #openstack-swift16:01
*** Slashme_ has left #openstack-swift16:14
*** aswadr has quit IRC16:14
peluseacoles, so given my revelation about .ts and .meta not actually being treated as files wrt ssync, I think the changes you made to fname_to_ts for EC were slightly off in that the function only ever needs to manipulate .data file names - for .ts and .meta it should just be a pass through16:15
peluseacoles, I've made the changes on the resconstructor patch and will point them out for you once I push it... no hurry to think about it this second just wanted to mention it since we talked about it yesterday16:16
acolespeluse: ok lets take a look once everything is stacked on one chain16:18
pelusesounds good16:19
acolespeluse: but, .ts files must be considered  by ssync, in order to replicate deletes - on master, yield_hashes will yield a ts timestamp and the ssync missing_check finds that is newer than receiver, then ssync updates calls a send_delete16:20
peluseguess I should write some tests to make sure deletes and meta are properly sync'd via reconstructor....16:20
acolespeluse: as for the meta's, need to think more but only matters with fast-post16:21
peluseacoles, so I was just looking at that and it appears its done via diskfile exception.  Once sec, I'll point to the code I was looking at16:21
acolesyes, it is , but you only get to the place where it will try to open the file if the missing_check is performed using the .ts timestamp16:21
acoles(i think)16:21
peluseso on master, the send_list is a list of obj hashes and timestamps only16:22
acolesso if sender has t0.data and t2.ts and receiver has t1.data, then if sender yield_hashes ignores t2.ts and sends (t0, hash) the receiver will not detect anything missing??16:23
peluseone sec...16:23
acolesso nothing for that hash gets into send_list16:23
*** Guest__ has joined #openstack-swift16:25
pelusewait, why would the sender yield_hashes ignore t2.ts?16:25
acolespeluse: well, thats what has always confused me about the change to yield_hashes, that t2.ts has no #frag_index to match the trailing_filter16:26
* acoles is easily confused by that method 16:26
peluseso I'm just focusing on master now to try and understand how .ts is propogated16:26
peluseso forget Ec for a second :)16:27
acolesalso, your statement above ".ts and .meta not actually being treated as files wrt ssync" made me think .ts would be ignored16:27
acolesnotmyname: peluse just said 'forget EC' :D16:28
peluseheh16:28
notmynametsk tsk16:28
notmyname;-)16:28
pelusehey, can I call you real quick?16:28
notmynameme? sure16:28
peluseacoles actually16:28
notmynameoh, I see how it is16:28
acolessure you have my number still16:28
acoleshey notmyname can join in ;)16:29
notmynameno, I'm ok16:29
acolespeluse: have my number?16:29
* notmyname goes back to blasting music at high volumes16:29
pelusemaybe shoot it to me again, can't find it in my scrollback16:29
*** dmorita has joined #openstack-swift16:32
*** Bsony has joined #openstack-swift16:32
*** tsg_ has joined #openstack-swift16:33
*** jrichli has quit IRC16:35
*** jrichli has joined #openstack-swift16:35
*** Guest__ has quit IRC16:39
*** sandywalsh has joined #openstack-swift16:40
*** thumpba has joined #openstack-swift16:46
*** Guest__ has joined #openstack-swift16:48
*** thumpba_ has joined #openstack-swift16:48
*** thumpba has quit IRC16:51
*** sandywalsh has quit IRC16:51
acolespeluse: the extra ssync tests i wrote for fast post are here https://review.openstack.org/#/c/138498/9/test/unit/obj/test_ssync_sender.py16:54
acolespeluse: see class TestSenderAndReceiver16:55
acolespeluse: and guess what i have right there: "# TODO: add tests to exercise deleted diskfile cases" :)16:55
acolespeluse: i'll revisit them and see if they can be generalised and lifted over to EC or master16:56
*** gyee has quit IRC16:56
*** kbee has joined #openstack-swift16:57
*** zhill has joined #openstack-swift16:59
*** zhill has quit IRC16:59
*** pcaruana has quit IRC17:05
*** jistr has quit IRC17:07
peluseacoles, awesome thanks17:12
*** sandywalsh has joined #openstack-swift17:12
*** mahatic_ has joined #openstack-swift17:17
*** Bsony has quit IRC17:17
*** Bsony has joined #openstack-swift17:19
*** mahatic has quit IRC17:20
notmynamefor those who didn't see it last night, I put an EC status update link in the channel topic17:22
claygmorning17:24
claygacoles: peluse: I'm still working on the tests for the hash suffix support for multi-fi17:25
acolesclayg: ack17:25
claygpeluse: acoles: not sure if makes a difference, but I'm ending up finding that the per_fi part of hashes_per_fi really only applies to .data files17:26
notmynametsg_: around? I have isa-l compiling questions17:27
claygpeluse: acoles: everything else about ssyncing suffixes looks like it's going to be the same - basically .ts .meta .durable are all expected to be equal accross all the fa's in the suffix17:27
tsg_notmyname: sure17:27
notmynametsg_: I'm sure I'm jsut missing some dev headers or something17:27
notmynametsg_: https://gist.github.com/notmyname/e02a5b2249f68571fd3d17:28
tsg_notmyname: what platform is this on?17:28
tsg_notmyname: Mac? Linux?17:28
notmynametsg_: Linux saio 3.13.0-46-generic #79~precise1-Ubuntu SMP Tue Mar 10 20:25:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux17:28
tsg_notmyname: OK17:29
tsg_notmyname: just a moment .. checking in my precise VM17:29
notmynamels17:29
acolesclayg: sounds reasonable17:30
*** silor has quit IRC17:31
claygacoles: just saw your note about dropping the base class - sounds good17:32
claygacoles: does that mean I need a rebase?  Or have you not pushed it yet?17:32
tsg_notmyname: can you check your yasm version - mine reads '1.2.0'17:32
acolesclayg: not pushed yet, just working on one thing - do you need it? i can push what i have if you do17:33
notmynametsg_: ah. I didn't have it and installed the distro version. looks like I have 1.1.0-117:33
claygacoles: nope - i'm good17:33
acolesclayg: ok will push by end of my day17:33
notmynametsg_: where can I get a newer one, if that's the issue?17:33
tsg_notmyname: that may be the problem but certainly will help to update .. checking that for you (don't recall having manually installed though)17:34
tsg_s/may/may or may not*17:34
*** zhill has joined #openstack-swift17:35
tsg_notmyname: I am using the Trusty version http://mirrors.kernel.org/ubuntu/pool/main/y/yasm/yasm_1.2.0-1ubuntu1_amd64.deb17:37
tsg_notmyname: (no dependencies it being yasm :))17:38
notmynametsg_: worked. thanks :-)17:38
tsg_awesome! :)17:38
*** marcusvrn has quit IRC17:39
tsg_notmyname: we can request yasm 1.2.0 backport to precise if needed17:39
notmynametsg_: ImportError: No module named pyeclib.ec_iface17:40
tsg_notmyname: "sudo ldconfig"17:40
tsg_notmyname: this is with pypi version of pyeclib correct?17:41
notmynameas opposed to?17:41
notmynamefrom source?17:41
tsg_installing liberasurecode separately (from source, or debs)17:42
tsg_and then pyeclib17:42
tsg_shouldn't matter, just checking to make sure we have the right liberasurecode version ..17:42
*** kbee has quit IRC17:43
notmynametsg_: my mistake. I had uninstalled pyeclib17:44
tsg_notmyname: ah that should do it :)17:45
tsg_notmyname: btw, swifterdarrell created .debs for all the latest pieces including python-pyeclib and liberasurecode1/-dev - you should be able to use those as well17:45
notmynamehmm..now where would I have installed jerasure?17:47
notmynameie to validate that I don't have it on my system any more?17:47
tsg_notmyname: "ldconfig -v | grep Jerasure"17:48
tsg_(shouldn't appear in the list if you don't have it in the loader search path)17:48
notmynameit's there. where did it come from? pip?17:49
tsg_notmyname: correct17:49
notmynamebut uninstalling pyeclib doesn't remove it17:50
tsg_notmyname: the pip version of pyeclib installs liberasurecode and jerasure2 as dependencies17:50
notmynameah ok17:51
tsg_notmyname: we'll get rid of that rev once we switch to using the trusty-backport for latest liberasurecode and jerasure2 that is available now17:51
tsg_notmyname: I should say, we'll switch to pyeclib-only version on pypi once we have the rpms available (we already have .debs)17:52
*** mmcardle has quit IRC17:54
notmynametsg_: awesome. all (local) validation passed. thanks a ton17:57
tsg_notmyname: glad it is working!17:58
tsg_notmyname: this is with 'isa_l_rs_vand' backend?17:58
notmynameyup17:58
tsg_great!17:59
*** joeljwright has quit IRC17:59
notmynameand more importantly, I then added jerasure to the system, switched to jerasue_rs_vand and downloaded the file put there with isa-l17:59
notmynameresult?17:59
notmynamemd5sum /tmp/isa 100MB /tmp/jerasure17:59
notmyname2f282b84e7e608d5852449ed940bfc51  /tmp/isa17:59
notmyname2f282b84e7e608d5852449ed940bfc51  100MB17:59
notmyname2f282b84e7e608d5852449ed940bfc51  /tmp/jerasure17:59
*** reed has quit IRC17:59
notmynamethe 100MB is my local source file. the other 2 were download from saio17:59
*** lpabon has joined #openstack-swift18:01
tsg_notmyname: we tried to make them compatible at liberasurecode level .. however this will work as long as 'w' (word size), 'hd' (hamming distance) values are at defaults (configurable at liberasurecode level)18:01
notmynametsg_: or, more specifically, the same?18:02
tsg_notmyname: correct :)18:02
notmynameor does that only work with the defaults?18:02
notmynameok18:02
tsg_notmyname: should be the "same"18:03
tsg_notmyname: thankfully we are not exposing those details at the Swift level18:03
notmyname+118:03
tsg_notmyname: in general though, the results may vary so not recommended to change the 'implementation' - I will put some time into documenting limitations in that area18:04
tsg_notmyname: .. why we decided to embed the ec_type in the frag archive metadata18:05
*** gyee has joined #openstack-swift18:06
*** lpabon has quit IRC18:07
claygtorgomatic: when you're running your test in a bash for loop to make sure it's stable - are you totally doing it right - or doing it *way* wrong?18:21
*** jordanP has quit IRC18:22
clayga'ight i'm heding into the office18:26
*** Guest__ has quit IRC18:28
*** tab___ has joined #openstack-swift18:28
*** reed has joined #openstack-swift18:29
*** Nadeem has joined #openstack-swift18:29
*** jmacs has quit IRC18:49
peluseclayg, thanks18:58
*** Guest__ has joined #openstack-swift19:13
openstackgerritAlistair Coles proposed openstack/swift: Add fragment index support to obj server and ssync  https://review.openstack.org/16518819:13
openstackgerritAlistair Coles proposed openstack/swift: Per-policy DiskFile classes  https://review.openstack.org/16512519:13
openstackgerritAlistair Coles proposed openstack/swift: Diskfile decides if durable is written based on policy  https://review.openstack.org/16520819:13
acolesi hope i didn't that screw up19:14
acolesor even screw that up19:14
acolesclayg: you probably want to rebase your hash-suffix stuff on 165125, or maybe 165188 (next one up chain)19:15
acolesclayg: or just re-write the whole lot !19:16
*** Guest__ has quit IRC19:16
acolesclayg: you there?19:23
acolesclayg: mattoliverau commented on patch 165125 that maybe we should go ahead and move DiskFileManager down the file, where you had left a TODO in the policy router patch.19:24
patchbotacoles: https://review.openstack.org/#/c/165125/19:24
acolesclayg: what do you think? i'm wondering why you didn't do it before?19:25
*** panbalag has joined #openstack-swift19:30
*** tab___ has quit IRC19:34
*** Guest__ has joined #openstack-swift19:39
acolesjrichli: added some thoughts on policy-specific func tests on this trello card https://trello.com/c/lcto2x95/148-regular-functional-test-mods-to-support-different-policies. HTH19:44
acolespeluse: notmyname : ^^ fyi19:44
claygit's very curious that common.utils.listdir - just stright up mutes ENOENT19:45
claygand replaces it with an empty list19:45
jrichliacoles: thanks, i will take a look19:45
claygacoles: probalby because i'm lazy?  what are you doing still working?19:45
claygacoles: just makes the diff bigger - attaching it lazily works just fine without a bunch of red and gree in the diff19:45
acolesclayg: idk it just gets dark without me noticing19:46
claygacoles: after I get my tests passing I'll rebase - thanks for the updates19:46
acolesclayg: yup, thats what i wondered, so shall we leave it with less red/green for the moment?19:47
claygacoles: my goal is to make the review against master for obj.diskfile look like "a few lines change on the replicated diskfile but are almost obviously correct; then a bunch of EC stuff I don't care about got added - +2"19:48
acolesclayg: exactly19:48
claygthen either at the back of the EC merge chain we have a bunch of moving common code into sane base class higharchy and tests don't have to move - or we do that after Kilo when the risk of regressing because of a refactor has more time to suss out missing tests w/o having to backport a bunch of fixes19:49
acolesrather than, whoa +1000/-900, move on to another review :)19:49
claygacoles: ;)19:49
* acoles is not speaking form personal experience19:50
acolesclayg: wise words.19:51
acolesclayg: jrichli : ok i'm calling it a day19:53
claygacoles: nice work brother!19:53
claygacoles: peluse: I'm going to have the multi-hash-suffix change up and tested rebased against the end of the per-policy diskfile refactor before I quit for the day if it kills me ;)19:54
claygacoles: peluse: sorry it's taken so long19:54
claygtdasilva: as soon as I get that done I'll get back to helping you with the proxy stuff19:54
jrichliacoles: ok, have a good evening!19:55
*** acoles is now known as acoles_away19:57
pelusedon't let it kill you :)20:03
*** Guest__ has quit IRC20:05
openstackgerritThiago da Silva proposed openstack/swift: Refactoring the PUT method  https://review.openstack.org/15682520:08
tdasilvacschwede: ^^^ tried to fix the issue you raised with copy handling...let me know what you think...20:09
*** G________ has joined #openstack-swift20:21
*** mahatic_ has quit IRC20:35
notmynameso now that the per-policy diskfilerouter patch has landed, what's the next one? wasn't there one on that chain yesterday? I don't see any dependencies listed any more20:55
notmynamedfg: redbo: glange: here's something that you guys might be interested in https://bugs.launchpad.net/swift/+bug/143426221:00
openstackLaunchpad bug 1434262 in OpenStack Object Storage (swift) "Object server does not ignore a down container server on writes leading to higher overall cluster latency" [Undecided,New]21:00
dmsimardHow do you define the maximum amount of partitions/partition % to be re-assigned with swift-ring-builder ? I've seen --reassign-max but that doesn't seem to work.21:00
notmynamedmsimard: one partition replica is reassigned per rebalance. but otherwise it's based on the balance dispersion and weights21:01
*** patchbot has quit IRC21:01
dmsimardWell say I'm doubling the size of the cluster and want to spread out the amount of partitions across multiple rebalances (without re-assigning 100% partitions)21:02
*** G________ has quit IRC21:03
*** patchbot has joined #openstack-swift21:03
*** tsg_ has quit IRC21:03
*** panbalag has quit IRC21:03
notmynamedmsimard: then you'll gradually increase the weight of the drives in the new capacity areas21:04
dmsimardnotmyname: Right, I forgot about using the weight. Good idea. Thanks21:04
pelusenotmyname, I think next up for EC will either be next in that chain (router was the start) or another that clayg is working on now - don't know if hes got a D on that one or not (refactoring some suffix hashes stuff)21:09
notmynamepeluse: IIRC it was https://review.openstack.org/#/c/165125/ but the merged patch doesn't show any dependency now21:10
mattoliverauMorning21:10
notmynamehi mattoliverau21:10
jrichlimorning21:16
notmynametorgomatic: did you have a chance to take a look at the range GET patch after we talked yesterday? the submanifest functest error21:21
torgomaticnotmyname: still working out some of the other bugs in multirange21:22
notmynameack21:24
*** os1 has joined #openstack-swift21:27
os1Hi21:28
os1Could someone verify their /var/log/messages file on a Swift server21:28
os1And do a search for this text?21:28
os1recon-cron: [Errno 13] Permission denied: '/var/lock/swift-recon-object-cron'21:29
os1I think there is an issue with the way Swift is deployed by default.21:29
pelusenotmyname, maybe because it merged?  hell I dunno21:31
notmynamepeluse: ya, I'm thinking it's a gerrit artifact21:36
openstackgerritpaul luse proposed openstack/swift: Erasure Code Reconstructor  https://review.openstack.org/13187221:41
openstackgerritpaul luse proposed openstack/swift: Multiple fragment Archive Index Support  https://review.openstack.org/15963721:41
peluseFYi ^^ I have to keep the MFI patch above rebased until its time for me to move over to the other patch chain.  Big PITA but otherwise the ECrecon will get too far out of date and I'll die21:41
os1Also, does anyone know whether 'swift' is supposed to be included in the 'lock' Unix group?21:48
peluseos1, are you doing a SAIO or regular cluster?  Which set of directions are you following to install?21:49
*** tsg has joined #openstack-swift21:49
openstackgerritpaul luse proposed openstack/swift: wip: ec reconstructor probe test  https://review.openstack.org/16429121:49
*** imkarrer has joined #openstack-swift21:57
*** jrichli has quit IRC21:58
*** tab_____ has joined #openstack-swift22:00
os1peluse : It's a regular cluster.22:01
*** jamielennox|away is now known as jamielennox22:09
*** tab_____ has quit IRC22:32
*** Nadeem has quit IRC22:38
*** erlon has quit IRC22:41
*** os1 has quit IRC22:44
*** imkarrer has quit IRC22:52
*** welldannit has quit IRC23:08
*** kutija has quit IRC23:24
*** thumpba_ has quit IRC23:24
notmynametorgomatic: ping (re single ranged GETs23:25
torgomaticnotmyname: yes?23:25
notmynametorgomatic: good news. the failing test I saw yesterday isnt' related to SLOs23:25
torgomaticnotmyname: do you know what is breaking it, then?23:26
*** chlong has joined #openstack-swift23:27
notmynametorgomatic: bad news. it's worse23:27
notmyname:-)23:27
notmynameso there's a TestFile.testRangedGets() method23:27
notmynamethat's good23:27
notmynameand it passes23:27
notmynameexcept, the file size it tests is 10000 bytes. which is much less than one ec segment. those test pass for any value smaller than one ec segment size or for any even multiple of the ec segment size. and it hangs for every fractional multiple23:29
notmynametorgomatic: with my brute-force method eg23:29
notmyname    def testRangedGets(self):23:29
notmyname        #file_length = 1000023:29
notmyname        #file_length = 1048576  # ec segment size23:29
notmyname        file_length = 1048576 * 1.523:29
notmyname        file_length = int(file_length)23:29
notmynametorgomatic: so, no, I don't know *why* yet. but I know it doesn't have anything to do with SLOs23:29
torgomatichuh, I could have sworn I handled that23:30
torgomaticwith unit tests to cover it, even23:30
notmynameI could swear that you didn't ;-)23:30
notmynametorgomatic: ya, you've got big numbers in https://review.openstack.org/#/c/163620/2/test/unit/proxy/controllers/test_base.py23:31
torgomaticeh, maybe my arithmetic is off by one23:32
torgomaticor by a constant factor23:32
torgomaticor possibly it's just what you get if you throw a childrens' math workbook into a blender23:32
torgomatichard to say23:32
*** shri has joined #openstack-swift23:32
shriHi, I am seeing LockTimeouts errors in the account-server. http://pastie.org/private/2ex88czdsyjuh7gzn5wlw23:34
shriAny ideas why this happens?23:34
notmynametorgomatic: I'm looking at your ECObjectController GET handler code block to see if there is something in there23:36
notmynametorgomatic: if I fix it, I'll push up a revision. but, fair warning, I'm on kid duty in about  30-45 minutes, so I might not finish23:36
notmynamewhat is the fragment_size?23:46
notmynamehow does it relate to the segment size?23:51
*** vinsh has quit IRC23:59

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