Thursday, 2014-10-09

*** tsg has joined #openstack-swift00:03
*** cds has quit IRC00:11
*** openstackstatus has quit IRC00:23
*** openstackstatus has joined #openstack-swift00:24
*** ChanServ sets mode: +v openstackstatus00:24
*** kyles_ne has quit IRC00:25
*** kyles_ne has joined #openstack-swift00:26
*** kyles_ne has quit IRC00:30
*** dmorita has joined #openstack-swift00:34
*** elambert has quit IRC00:48
*** shri has quit IRC00:49
*** haomaiwang has quit IRC00:52
*** TaiSHi has quit IRC01:06
*** TaiSHi has joined #openstack-swift01:09
*** TaiSHi has quit IRC01:09
*** TaiSHi has joined #openstack-swift01:09
*** themadcanudist has left #openstack-swift01:11
*** kota_ has joined #openstack-swift01:16
*** haomaiwang has joined #openstack-swift01:19
*** hhuang has joined #openstack-swift01:33
*** haomai___ has joined #openstack-swift01:39
*** haomaiwang has quit IRC01:42
*** oomichi_ has joined #openstack-swift01:44
*** haomai___ has quit IRC01:55
*** haomaiwang has joined #openstack-swift01:56
*** haomaiw__ has joined #openstack-swift02:01
*** haomaiwang has quit IRC02:05
*** nosnos has joined #openstack-swift02:06
*** openstackgerrit has quit IRC02:45
*** hhuang has quit IRC02:46
*** mahatic has quit IRC03:01
*** elambert has joined #openstack-swift03:04
*** dmsimard is now known as dmsimard_away03:15
*** fbo has quit IRC03:19
*** fbo has joined #openstack-swift03:28
*** JoshuaKim has joined #openstack-swift03:29
JoshuaKimHi, All I have a question about installing swift production mode.03:29
JoshuaKimIs there any document about installing production mode?03:30
*** JoshuaKim has quit IRC03:30
*** haomaiw__ has quit IRC03:34
*** haomaiwang has joined #openstack-swift03:34
*** nosnos has quit IRC03:35
*** haomai___ has joined #openstack-swift03:43
*** haomaiwang has quit IRC03:46
*** tsg has quit IRC04:00
*** tsg has joined #openstack-swift04:20
zaitcevUse the multinode install doc.04:24
zaitcevThere's an updated version it at docs.opentack.org.04:24
*** JoshuaKim has joined #openstack-swift04:25
*** JoshuaKim has quit IRC04:26
*** nosnos has joined #openstack-swift04:35
*** tsg has quit IRC04:37
*** zaitcev has quit IRC05:01
*** occup4nt has joined #openstack-swift05:06
*** occupant has quit IRC05:09
*** tsg has joined #openstack-swift05:24
*** elambert has quit IRC05:28
*** kopparam has joined #openstack-swift05:36
*** ttrumm has joined #openstack-swift06:03
*** tsg has quit IRC06:17
mattoliverauI'm calling it a day, night all.06:28
*** nshaikh has joined #openstack-swift06:50
*** k4n0 has joined #openstack-swift06:56
*** nshaikh has quit IRC07:02
*** k4n0 has quit IRC07:02
*** mrsnivvel has quit IRC07:12
*** acoles_away is now known as acoles07:14
*** k4n0 has joined #openstack-swift07:14
*** jistr has joined #openstack-swift07:23
*** geaaru has joined #openstack-swift07:24
*** mrsnivvel has joined #openstack-swift07:25
acolesmahatic: when your test fails with this output http://paste.openstack.org/show/119726/ then you are seeing this bug https://bugs.launchpad.net/python-swiftclient/+bug/137687807:25
acolesmahatic: its a race, so may not always occur. I have a patch to fix this in review https://review.openstack.org/126515, so  you could rebase yours on that, or just hope for the best:) ping me here if you need help to rebase.07:30
acolesmahatic: it being a race may explain why you and notmyname were seeing different result, if you were (i'm just looking at scrollback here)07:32
*** haomai___ has quit IRC07:33
*** haomaiwa_ has joined #openstack-swift07:34
*** haomaiw__ has joined #openstack-swift07:35
*** haomaiwa_ has quit IRC07:39
*** k4n0 has quit IRC07:42
*** tab___ has joined #openstack-swift07:42
*** k4n0 has joined #openstack-swift07:55
*** jistr has quit IRC08:12
*** nellysmitt has joined #openstack-swift08:24
*** oomichi_ has quit IRC08:24
*** jistr has joined #openstack-swift08:31
*** SkyRocknRoll has joined #openstack-swift08:59
*** SkyRocknRoll has joined #openstack-swift08:59
*** nshaikh has joined #openstack-swift09:01
*** kota_ has quit IRC09:13
*** haomaiw__ has quit IRC09:19
*** X019 has joined #openstack-swift09:19
*** haomaiwa_ has joined #openstack-swift09:19
*** kopparam has quit IRC09:27
*** haomaiwa_ has quit IRC09:34
*** haomai___ has joined #openstack-swift09:36
*** kopparam has joined #openstack-swift09:36
*** exploreshaifali has joined #openstack-swift09:42
*** JoshuaKim has joined #openstack-swift09:43
*** kopparam has quit IRC09:50
*** nshaikh has left #openstack-swift09:51
*** haomai___ has quit IRC09:53
*** kopparam has joined #openstack-swift09:54
*** haomaiwang has joined #openstack-swift09:54
*** haomaiw__ has joined #openstack-swift09:56
*** haomaiwang has quit IRC09:59
*** JoshuaKim has quit IRC10:03
*** dmorita has quit IRC10:05
*** JoshuaKim has joined #openstack-swift10:05
*** X019 has quit IRC10:07
*** exploreshaifali has quit IRC10:07
*** kopparam has quit IRC10:20
*** kopparam has joined #openstack-swift10:21
*** X019 has joined #openstack-swift10:23
*** kopparam has quit IRC10:26
*** mkerrin has quit IRC10:29
*** mkerrin has joined #openstack-swift10:37
*** aix_ has quit IRC10:38
*** X019 has quit IRC10:39
*** haomaiw__ has quit IRC10:39
*** haomaiwang has joined #openstack-swift10:39
*** kopparam has joined #openstack-swift10:40
*** haomaiw__ has joined #openstack-swift10:57
*** haomaiwang has quit IRC10:58
*** aix_ has joined #openstack-swift11:07
*** dmsimard_away is now known as dmsimard11:07
*** kopparam has quit IRC11:11
*** fbo has quit IRC11:30
*** fbo has joined #openstack-swift11:33
*** JoshuaKim has quit IRC11:34
*** mahatic has joined #openstack-swift11:38
*** mahatic_ has joined #openstack-swift11:50
*** StevenK has quit IRC11:50
*** StevenK has joined #openstack-swift11:51
mahatic_cschwede, hi, around?11:51
*** mahatic has quit IRC11:52
*** aix_ has quit IRC11:59
cschwedemahatic_: yes :)12:02
cschwedemahatic_: how can i help?12:03
mahatic_cschwede, great :) If I use "int(options.get('segment_size', 0))", it throws a TypeError12:04
mahatic_cschwede, for this patch https://review.openstack.org/#/c/125275/12:04
mahatic_cschwede, sorry, i forgot to update you on this yesterday12:04
mahatic_cschwede, so i'm sticking to the current check12:04
cschwedemahatic_: let me have a look12:04
mahatic_cschwede, okay12:04
acolescschwede: if you have time please review this https://review.openstack.org/127196 , it is causing test failures including on mahatic_ patch12:08
acolescschwede: there is a dependant patch with a test, i'm not sure the test should be erged (?). thanks12:09
*** JoshuaKim has joined #openstack-swift12:09
acolesmerged12:09
JoshuaKimI have a question about swift-recon, any document for using swift-recon??12:11
cschwedemahatic_: yes, you’re right, because the default in shell.py is None, not 0. I updated my comment on the review12:11
cschwedeacoles: sure12:11
mahatic_cschwede, acoles, something really weird, after the changes, these tests "sh run_tests.sh" and "./.unittests", sometimes pass, sometimes fail.12:11
cschwedemahatic_: with a rebase on top of acoles patches?12:12
mahatic_acoles, is this behavior due to those bugs you have pointed?12:12
mahatic_cschwede, ah nope. will do now12:12
mahatic_cschwede, acoles this one has changes still pending, correct? https://review.openstack.org/#/c/125759/12:13
mahatic_should i not be waiting for those changes to be completed?12:13
cschwedeacoles: nice catch in https://review.openstack.org/#/c/127196/ - i needed a second to spot the behaviour. interesting!12:14
*** mkollaro has joined #openstack-swift12:15
acolescschwede: yeas, took me a while to track it down12:16
acolescschwede: the clue is 'multithreading.py' - a sure sign of trouble :)12:16
acolesmahatic_: there are two race conditions with fixes pending:  https://review.openstack.org/#/c/127196/ and https://review.openstack.org/#/c/126515/12:18
mahatic_acoles, okay. You have pointed to this one in the comment as well: https://review.openstack.org/#/c/125759/12:19
mahatic_acoles, that needs to be merged too?12:19
cschwedeacoles: heh, so true. „with careful Asynchronous Be operations, order get of things out may.“12:19
mahatic_acoles, and my question is, since there are changes pending from your side, should i still go ahead with a rebase?12:20
acolescschwede: true so is that :)12:20
cschwedeacoles: i’m wondering about lines 48,57 and 59 in https://review.openstack.org/#/c/125759/4/swiftclient/multithreading.py - what is the reason for the change?12:21
*** openstackgerrit has joined #openstack-swift12:24
mahatic_cschwede, since there are changes pending, should i still go ahead with the rebase?12:26
acolescschwede: so, in my tests https://review.openstack.org/#/c/125759/4/tests/unit/test_shell.py line 1058, the mock was not taking effect with the default set in the __init__ args12:26
acolescschwede: i didn't understand why but that change made it work!12:27
cschwedemahatic_: sure; after that you can simply click rebase in Gerrit if there is a change in the dependencies12:27
acolescschwede: do you know if mahatic_ 's patch can be dependent on both my race fixes?12:28
mahatic_cschwede, hmm, can you help me with rebase? Because they're not merged, "git rebase" won't work i think. How do i go about it?12:29
acolesby cherry picking the two and the doing git review?12:29
acolescschwede: ^^12:29
cschwedeacoles: ah, good question. i think mahati needs to rebase on of your patches first to the other12:30
acolesmahatic_: you need to rebase your patch and then push to gerrit.12:30
cschwedeacoles: mahatic: one second12:30
acolesmahatic_: problem is there are two of my patches to rebase on, give me a minute to experiment12:30
mahatic_acoles, cschwede okay, will wait12:31
*** marcusvrn_ has joined #openstack-swift12:32
cschwedeacoles, mahatic_: this is what i did: http://paste.openstack.org/show/119881/12:34
cschwedechecked out both patches from acoles, rebased the longer one on top of the short one (because it is likely that the shorter gets merged first), fixed the conflict, and rebased mahatic_ patch on top of acoles12:35
*** nosnos has quit IRC12:35
*** nosnos has joined #openstack-swift12:36
acolescschwede: mahatic_ : hold on - i may have confused things - i don't think mahatic_ needs 12575912:37
acolesthe two races are fixed in 127196 and...12:38
*** erlon_ has joined #openstack-swift12:38
cschwedeacoles: ok, then it gets quite easy12:38
acoles...and https://review.openstack.org/#/c/126515/12:38
*** JoshuaKim has quit IRC12:39
acolescschwede: i need to back the sysexit race fix out of 125759, i moved it to 127196 to hopefully get it merged faster12:39
*** nosnos has quit IRC12:40
mahatic_cschwede, acoles looking at it12:40
acolesmahatic_: so following cschwede 's process, i did this: http://paste.openstack.org/show/119887/12:44
acolesmahatic_: once you have done that then 'git review', you will be asked 'Do you really want to submit the above commits?12:46
acoles', answer yes and you will create a new version of your change that depends on those two other patches12:46
mahatic_acoles, okay, this might be silly but, why are there two commands, one with -d and one without?12:46
*** JoshuaKim has joined #openstack-swift12:47
mahatic_acoles, git review 126515 and git review -d 12651512:47
acolesmahatic_: agh, sorry ignore line 2854 that was my mistake12:47
acolesmahatic_: there are no silly questions when using git :)12:48
mahatic_acoles, sure. also, what does -d mean?12:48
*** JoshuaKim has quit IRC12:48
mahatic_acoles, heh :)12:48
mahatic_description i guess12:50
acolesthe -d <number> option will cause the gerrit review with that number to be fetched from gerrit, a new branch created and switch to that branch12:50
cschwedemahatic_: „git review -d 123456“ simply checks out review nr. 12345612:50
*** miqui has joined #openstack-swift12:50
cschwedeacoles: ok, your explanation is better ;)12:50
*** aix has joined #openstack-swift12:50
acolescschwede: mahatic_ : or... it does lots of stuff :)12:51
mahatic_cschwede, :) acoles :D okay, thanks!12:51
mahatic_acoles, oh also, I will have to first commit my changes right? (updated code according to the comments)12:52
acolesmahatic_: if you have not made your changes yet, do the rebase process, then make your changes, then git commit --amend -a , then push to gerrit with git review12:54
mahatic_acoles, okay12:55
mahatic_acoles, i have made them, but i again quickly do them again after the rebase process12:55
mahatic_i can*12:55
*** tdasilva has joined #openstack-swift12:58
mahatic_acoles, cschwede i interchanged the sequence by mistake! i first did git review -d 126515 and then git review -d 12719612:59
acolesmahatic_: if git did not complain then it does not matter12:59
mahatic_acoles, hmm okay. it did not13:00
acolesbut now swap commands at line 2856 and 2859 in the pastebin13:00
*** CaioBrentano has joined #openstack-swift13:00
mahatic_acoles, yeah that's what i was going to ask. will do that13:01
acolesbecause you have ended up on different branch13:01
mahatic_correct13:01
acolesbtw, 'log' is my alias for 'git log' - use 'git log' to check what is happening as you go13:01
mahatic_acoles, but is there a reason that i do git checkout review/mahati/125275 in between these two?13:02
mahatic_acoles, yeah13:02
acolesmahatic_: yes, first you are on branch for one of the race fixes, and you rebase it onto the branch with the ther race fix13:03
acolesthen you switch to branch with your patch and rebase that onto the rebased race fix13:04
acolesif you have your patch on a branch already the swap review/mahati/125275 for your local branch name13:04
acolesgit checkout <local brach>13:05
openstackgerritAlistair Coles proposed a change to openstack/python-swiftclient: Fix cross account upload using --os-storage-url  https://review.openstack.org/12575913:06
mahatic_acoles, yes got it. but quick question:13:06
mahatic_git review -d 126515-> will pick up the changes and switch to that branch13:07
*** Sanchit has joined #openstack-swift13:07
mahatic_git review -d 127196 - > will again pick up these changes and switches to this branch13:07
mahatic_git rebase review/alistair_coles/p-bug1376878-container-put-race -> I will rebase to this patch13:08
mahatic_git checkout master (because im on master branch) -> will switch to my branch13:08
mahatic_acoles, git rebase review/alistair_coles/p-bug1379229-sysexit-race -> now why do i do this again?13:08
acolesmahatic_: you have not done this last step before13:09
acolesmahatic_: so, taking your steps above one at a time...13:09
acolesgit review -d 126515 creates branch  review/alistair_coles/p-bug1376878-container-put-race13:10
*** ppai has joined #openstack-swift13:10
mahatic_acoles, i have only done "git review -d 126515" and this "git review -d 127196" until now. Confirming before i do the rest so i don't screw up more :)13:10
mahatic_in that sequence13:10
acolesgit review -d 127196 creates branch  review/alistair_coles/p-bug1379229-sysexit-race13:10
SanchitHi, Regarding the ACL permissions on Container, Is it possible to specify a particular role in 'X-Container-Read' and then, all the users with that particular role can access the objects in the specified container? In general terms, is role-based ACL a feature in openstack-swift?13:11
Sanchitclayg: Hi, Can you help me with the above query?13:11
acolesnow you are on branch  review/alistair_coles/p-bug1379229-sysexit-race13:11
mahatic_acoles, okay13:12
acolesmahatic_: git rebase review/alistair_coles/p-bug1376878-container-put-race will now insert the one differing commit on the current branch13:12
acolesnow you change to your branch (master, or whatever)13:12
acolesgit rebase review/alistair_coles/p-bug1379229-sysexit-race will apply the *two* differing commits to your current branch13:13
mahatic_acoles, ah okay!13:14
*** mahatic__ has joined #openstack-swift13:16
*** mahatic_ has quit IRC13:20
mahatic__acoles, http://paste.openstack.org/show/119902/ i get that conflict13:21
mahatic__cschwede, acoles, pretty much what i did: http://paste.openstack.org/show/119905/13:33
cschwedemahatic__: no you need to edit swiftclient/service.py and look for something like „<<<<<< HEAD „ and fix that13:34
cschwedemahatic__: and afterwards, do a „git add swiftclient/service.py“ and then a „git rebase —continue“13:34
cschwedemahatic__: and then, if you do a „git log“, you should see your patch on top of acoles13:35
*** Nadeem has joined #openstack-swift13:37
mahatic__cschwede, ohh, should i have to remove that head and retain my changes and then do git add?13:37
cschwedemahatic__: one second, i create a paste13:38
*** SkyRocknRoll has quit IRC13:38
mahatic__cschwede, okay. my changes are sandwiched in between. http://paste.openstack.org/show/119906/ Sorry, this is confusing13:38
cschwedemahatic__: no worries, we’re going to solve that :)13:39
mahatic__cschwede, :) thanks so much13:39
*** jokke__ is now known as jokke_13:40
cschwedemahatic__: ah, yes, your paste is exactly what i was looking for. so you need to remove line 1-10 and 18. line 1-10 is the old stuff, and git does’nt know how to fix this, thus you have to do this13:40
cschwedemahatic__: and when this is removed, you need to do a „git add“13:40
cschwedemahatic__: effectively only leaving your new code13:41
cschwedemahatic__: hold on, only remove line 1, 9-1013:41
cschwedemahatic__: 2-8 is ok13:41
mahatic__cschwede, oh okay. Yes, i was going to ask that13:41
mahatic__because i never touched it13:42
*** tsg has joined #openstack-swift13:43
mahatic__cschwede, yup, i see my commit now. But why do i only see this one after mine: https://review.openstack.org/#/c/127196/13:45
mahatic__and not https://review.openstack.org/#/c/126515/ on too13:46
mahatic__cschwede, because now 127196 has both?13:46
openstackgerritAlistair Coles proposed a change to openstack/python-swiftclient: Fix race between container create jobs during upload  https://review.openstack.org/12651513:46
openstackgerritAlistair Coles proposed a change to openstack/python-swiftclient: Fix cross account upload using --os-storage-url  https://review.openstack.org/12575913:46
*** delattec has joined #openstack-swift13:48
openstackgerritAlistair Coles proposed a change to openstack/python-swiftclient: Fix race between container create jobs during upload  https://review.openstack.org/12651513:48
openstackgerritAlistair Coles proposed a change to openstack/python-swiftclient: Fix cross account upload using --os-storage-url  https://review.openstack.org/12575913:50
*** cdelatte has quit IRC13:50
mahatic__cschwede, acoles git review gives me this http://paste.openstack.org/show/119907/13:52
cschwedemahatic__: hmm, that’s too much imo13:53
acolescschwede: ^^ i rebased 12575913:53
acolescschwede: mahatic__ : answer 'no' !13:54
acolesmahatic__: you probably need to pull master and rebase onto master too!13:54
acolescschwede: mahatic__ or maybe it won't matter becase those other patches have merged. hmm13:55
acolesmahatic__: so lets try to do sort it out - what local branch are you working on?13:56
mahatic__acoles, master13:56
acolesmahatic__: and do you have another branch that is tracking upstream master? (for me, that is my local master)13:57
mahatic__acoles, i think my local master itself does that13:58
acolesmahatic__: problem is you have committed your changes on master. In future, best to switch to a new branch and make all your changes there.13:59
mahatic__acoles, oh, so i can pull master easily and then rebase my local branch changes?13:59
acolesyes, but i'm not sure what happens if you now pull master while you have your local changes on it.14:00
mahatic__acoles, and now, i will have to do a 'git pull master' and redo the whole rebase process, my changes and then commit?14:01
acolesmahatic__: no, i think we can avoid you repeating everything - give me min to remind myself what to do14:01
*** ttrumm has quit IRC14:02
mahatic__acoles, okay sure. But i can do that quickly if you can confirm that will resolve this. But i don't understand why should i do git pull master in the first place? (When i'm already up to date or am i not?)14:03
cschwedemahatic__: do you have the commit hash from your patch before the first rebase?14:06
mahatic__cschwede, checking14:06
cschwedethe last patchset on gerrit is 9a55fd0e9bf7a0db87722d4b9e346a701665d6b914:07
acolescschwede: i'm thinking git checkout -b new; git checkout master; git reset --hard HEAD~3; git pull origin master; then rebase new on master??14:08
acolescschwede: i'm sure you have a quicker solution :)14:08
mahatic__9a55fd0e9bf7a0db87722d4b9e346a701665d6b914:08
mahatic__cschwede, yup, looks like that's the one14:09
cschwedeacoles: yep, that’s one solution, and no, i don’t have a quicker one :) (though i’m always using git pull —ff-only when I’m on master)14:09
cschwedemahatic__: ok, that means you did no changes since the last upload to gerrit, right?14:09
mahatic__cschwede, after rebase process, i did my changes, did a commit and got that error14:10
mahatic__cschwede, so yeah, did not upload to gerrit after that14:10
cschwedemahatic__: but no change before the rebase? that would simplify things14:10
mahatic__cschwede, i did, but they got overwritten during the rebase process14:11
mahatic__cschwede, i mean those changes were in local (did not stage/commit)14:12
mahatic__did i answer that right?14:12
cschwedemahatic__: i think the best is to start again with a clean master. so, you need to go back to the last commit on master that was not yours - and looking at http://paste.openstack.org/show/119907/ i think that’s at least 6-7 commits14:13
cschwedemahatic__: i create a paste with my recommendation, and maybe acoles can have a look at this too. one minute14:14
mahatic__cschwede, hmm okay14:14
cschwedemahatic__: so these commands clean your master branch, and then rebase your patch on top of acoles: http://paste.openstack.org/show/119913/14:17
cschwedemahatic__: and then you can modify your patch as required (i think there was a comment from notmyname)14:17
cschwedemahatic__: and your patch is also in a separate branch then („review/mahati/125275“)14:18
cschwedemahatic__: thus you can keep master clean, and on master only fetch the merged commits from upstream14:18
cschwedemahatic__: acoles: so the idea in http://paste.openstack.org/show/119913/  is to go back a few commits (10 to be on the safe side), and then fetch all merged commits from upstream14:19
mahatic__cschwede, oh okay. sure. So after i follow your steps in paste, i will do git checkout review/mahati/125275, correct?14:19
cschwedemahatic__: no need to, because „git review -d 125275“ already switches to that branch14:20
acolescschwede: why git review -d 125759 ? thats my 'bigger' patch not the race fixes14:21
mahatic__cschwede, okay14:22
cschwedeacoles: you mean to rebase against 127196 ? I thought 125759 fixes another race?14:23
cschwedemahatic__: hold on, rebase against 127196 instead of 125759 might be better14:25
mahatic__cschwede, yeah, haven't done anything yet. waiting for yours and acoles confirmation14:26
acolescschwede: mahatic__ i have an idea - how about i rebase 126515 on 127196, then mahatic__ only needs to rebase on 127196? and 125275 is not relevant anymore14:28
swift_fan1Why is it that most of the filesystem recommendations that I see, seem to recommend *xfs* for formatting the drives on the nodes in your Swift cluster ?14:29
acolescschwede: i moved one of the race fixes out of 125275 into 127196 to get it merged faster, the other race fix is 12651514:29
mahatic__acoles, why would 125275 not be relevant? I would still need that right?14:29
cschwedeacoles: too many numbers and too less coffee on my side ;)14:30
mahatic__lol14:30
*** annegent_ has joined #openstack-swift14:31
mahatic__acoles, 125275? but that is my patch (?)14:31
acolesmahatic__: argh, my bad, i meant 125759 is not relevant to your patch!! sorry14:31
mahatic__yes. okay!14:31
cschwedeacoles: so master -> 127196 -> 126515 -> 125275 ?14:32
cschwedeeh, no. master -> 126515 -> 127196 -> 12527514:33
cschwedeah, whatever! i get a coffee first14:33
acolescschwede: yes!14:33
acolescschwede: yes to chain and to coffee :)14:33
mahatic__heh :D14:34
cschwedeok, so acoles you rebase 127196 on top of 126515, right? and when this is done, mahatic__ can do this http://paste.openstack.org/show/119921/14:36
* cschwede thinks that we’re close to a nice solution14:36
*** charz has quit IRC14:37
*** X019 has joined #openstack-swift14:37
* mahatic__ too!14:37
acolesyes14:38
cschwedegreat :)14:38
* acoles is on a call so needs 30 mins14:38
mahatic__cool :) acoles will you let me know once you're done with your rebase?14:39
mahatic__sure14:39
*** charz has joined #openstack-swift14:39
acolesmahatic__: yep. btw, its not usually this hard!14:39
mahatic__acoles, i understand. But because this has dependencies, it looks so14:40
mahatic__And acoles, cschwede Thanks a ton for the help!!14:41
*** k4n0 has quit IRC14:42
cschwedemahatic__: np, you’re welcome!14:42
tdasilvaswift_fan1: the default DiskFile implementation requires an FS with xattr support and the recommendation has been xfs14:42
*** bill_az has joined #openstack-swift14:46
openstackgerritAlistair Coles proposed a change to openstack/python-swiftclient: Fix race in shell when testing for errors to raise SysExit  https://review.openstack.org/12719614:49
openstackgerritAlistair Coles proposed a change to openstack/python-swiftclient: Test to verify fix to the race when testing error_count  https://review.openstack.org/12719714:49
acolesmahatic__: cschwede 127196 is now rebased on 126515, so mahatic__ can rebase on 127196 only14:51
*** NM has joined #openstack-swift14:51
*** annegent_ has quit IRC14:51
mahatic__acoles, cschwede okay, im doing this right away: http://paste.openstack.org/show/119921/14:52
cschwedemahatic__: yes; do this on the master branch (ie a „git checkout master“ first)14:53
*** exploreshaifali has joined #openstack-swift14:54
mahatic__cschwede, already on master14:54
swift_fan1tdasilva : What do you mean by DiskFile?14:55
tdasilvaswift_fan1: basically it is a class in the object server that writes objects to disk. checkout this blog for further info: https://swiftstack.com/blog/2014/02/04/swift-extensibility/14:57
mahatic__cschwede, http://paste.openstack.org/show/119922/ should i delete the existing one and redo git review -d 127196?14:58
cschwedemahatic__: no need to do, git review updates it automatically if needed15:00
*** delatte has joined #openstack-swift15:00
mahatic__cschwede, okay15:00
*** swift_fan has joined #openstack-swift15:01
*** delattec has quit IRC15:03
*** elambert has joined #openstack-swift15:04
*** swift_fan1 has quit IRC15:04
openstackgerritMahati proposed a change to openstack/python-swiftclient: Adds a user friendly message when --segment-size is a non-integer  https://review.openstack.org/12527515:08
*** jistr has quit IRC15:08
*** tsg has quit IRC15:09
mahatic__cschwede, acoles finally there! thank you so much!15:10
*** lpabon has joined #openstack-swift15:11
acolesmahatic__: yay! well done15:12
mahatic__acoles, :) will wait for jenkins :D15:12
cschwedemahatic__: congrats :)15:12
mahatic__cschwede, thanks. thanks again for the time! for acoles too.15:13
mahatic__:)15:13
*** corvus is now known as jeblair15:30
*** lnxnut has joined #openstack-swift15:31
*** exploreshaifali has quit IRC15:34
*** exploreshaifali has joined #openstack-swift15:34
*** exploreshaifali has quit IRC15:34
*** aerwin has joined #openstack-swift15:35
openstackgerritJames Page proposed a change to openstack/swift: Adjust MAX_FILE_SIZE during test on 32 bit systems  https://review.openstack.org/12703015:45
swift_fanI'm not 100% sure if this is true, but I heard that cloud *object* storage is much cheaper, money per GB of storage, than cloud *block* storage.15:50
swift_fanDoes someone know what the reasons for this are?15:50
swift_fan:)15:50
chmouelcheaper hardware :)15:50
*** mkollaro has quit IRC16:02
*** kyles_ne has joined #openstack-swift16:03
*** mkollaro has joined #openstack-swift16:03
notmynamegood morning, world16:04
swift_fanchmouel : What ? What if you buy the exact same hardware for both systems ?16:04
swift_fanchmouel : Basically, given that all the hardware is equal.16:05
swift_fanchmouel : You can still install either cloud *object* storage, or cloud *block* storage, on the same type of hardware, right ?16:05
swift_fanchmouel : Nothing "special" about either of them ?16:05
*** exploreshaifali has joined #openstack-swift16:06
notmynameblock storage is provisioned in finite-sized chunks (eg 1TB). object storage doesn't have a provisioning step, so you get better utilization of the entire set of hardware16:07
*** tsg has joined #openstack-swift16:10
swift_fannotmyname chmouel : What exactly do you mean by "provisioning / provisioning step" ?16:11
swift_fannotmyname chmouel : And I thought since you're accessing storage on the block level, in cloud block storage, you're getting better utilization of the entire set of hardware than object storage, no ?16:11
chmouelswift_fan: so are you trying to compare the advantages of using a block storage compared to an object storage? for which use cases? those are distinct use cases16:12
notmynameswift_fan: you've been around a while asking a lot of questions. while I think you've found that we're happy to help people out, I think it would help us all out if you could give us some more info on your background. what are you trying to do? what is your level of experience?16:13
*** stevew has joined #openstack-swift16:15
*** stevew has left #openstack-swift16:15
*** Murali_ has joined #openstack-swift16:16
Murali_anybody know how to increase the storage limit for /dev/loop0 6.0G  258M  5.8G   5% /opt/stack/data/swift/drives/sdb1 (devstack)16:17
notmynameMurali_: do you need to keep any existing data on it?16:18
Murali_no... i have too large qcow images..16:19
notmynameMurali_: ok. that looks like a loopback mount. is it?16:19
Murali_notmyname : 6GB swift storage will not sufficient16:19
swift_fannotmyname : Thanks. It's mostly out of burning curiosity. But in regards to the question about level of experience, I guess you can say that I'm a hobbyist.16:20
Murali_notmyname : do you know how to increase swift storage limit... or any configuration avilable ?16:20
swift_fanchmouel notmyname : I've got to step out for a bit, but if there's anything that you want to post, I'll be sure to read them.16:20
glangehttp://www.wikipedia.org/16:22
*** siwsky has joined #openstack-swift16:22
chmouelMurali_: you want to do that in devstack it seems, just make sure to increase this variable https://github.com/openstack-dev/devstack/blob/master/lib/swift#L68 to something larger16:22
chmouelMurali_: in your local.conf :)16:22
chmouelsorry the smiley was for glange :)16:22
peluse /me runs off to read wikipedia16:23
tdasilvalol16:23
Murali_chmouel: i see now16:24
Murali_chmouel: thanks :)16:24
chmouelMurali_: you welcome16:24
swift_fanglange : wikipedia doesn't seem to have all of this knowledge.....16:24
Murali_chmouel: so i just need to add SWIFT_LOOPBACK_DISK_SIZE_DEFAULT= 50 GB something like this16:25
chmouelMurali_: yes in your local.conf16:25
Murali_ok16:25
chmouelMurali_: don't put spaces tho for shell variable SWIFT_LOOPBACK_DISK_SIZE_DEFAULT=50G would be the syntax16:26
Murali_chmouel: ok got it....you made my day...16:27
Murali_i going to try now16:27
*** mkollaro has quit IRC16:37
openstackgerritPrashanth Pai proposed a change to openstack/swift: Fix unit tests failing in some cases  https://review.openstack.org/12728516:38
openstackgerritAlistair Coles proposed a change to openstack/python-swiftclient: Fix cross account upload using --os-storage-url  https://review.openstack.org/12575916:49
*** gyee has quit IRC17:01
*** tsg has quit IRC17:11
*** tsg has joined #openstack-swift17:11
*** shri has joined #openstack-swift17:13
*** gyee has joined #openstack-swift17:15
*** acoles is now known as acoles_away17:30
*** aerwin has quit IRC17:32
cschwedeglange: nah, wikipedia is biased. heard they are using swift… ;)17:40
notmynamecschwede: s/biased/right/ (FTFY)17:40
notmynamehttp://whathaveyoutried.com/ and http://greg.brim.net/post/2014/03/01/0118.html are good things to read :-)17:44
*** shri1 has joined #openstack-swift17:49
*** shri has quit IRC17:51
*** aix has quit IRC17:53
*** tgohad has joined #openstack-swift17:58
*** lnxnut has quit IRC18:00
*** mattoliverau has quit IRC18:00
*** mattoliverau has joined #openstack-swift18:01
*** tsg has quit IRC18:01
*** elambert has quit IRC18:05
*** geaaru has quit IRC18:09
*** anjuT has joined #openstack-swift18:12
*** lpabon has quit IRC18:12
swift_fanI've tried reading up on this, but wasn't able to find any leads, anywhere18:15
swift_fanWhy is it that Ceph, for instance, supports all 3 ? (object storage, block storage, and file storage).18:15
swift_fanBut not Swift ?18:15
swift_fanIs there anything preventing Swift from supporting block storage and file storage, in addition to object storage ?18:16
swift_fan(Ceph is another cluster file system out there).18:17
notmynameswift_fan: for the same reason I can buy http://www.swissarmy.com/us/content/swissarmy/category/1 and http://bernalcutlery.lightspeedwebstore.com/yoshikane-sld-210-gyuto-damascus/dp/110618:26
*** elambert has joined #openstack-swift18:27
swift_fannotmyname : So what you're saying is that it's not because Swift can't support all 3 (object storage, block storage, and file storage), but because the developers *choose* not to ?18:27
swift_fannotmyname : (and if so, then what's the reason)18:28
ctennisswift_fan: sometimes the reasons things don't exist is because nobody's had a need to build it18:30
ctennisthe swift developers are focused on object store, it's really that simple.  there's a limited amount of people working on it, and plenty of work to be done to make it better at what it already does18:31
notmynamectennis: that. and by focusing on object store we can make sure that is very very good instead of being "distracted" by different use cases like block and file18:32
claygSanchit: did some one answer the acl thing for you?18:35
*** NM is now known as INFO18:42
*** elambert has quit IRC18:46
*** INFO is now known as NM18:47
*** elambert has joined #openstack-swift19:00
*** foexle has joined #openstack-swift19:03
*** annegent_ has joined #openstack-swift19:20
*** anjuT has quit IRC19:20
swift_fannotmyname ctennis : Are there any plans in the future to have Swift be able to do cloud *block* storage and cloud *file* storage, as well ?19:25
*** annegent_ has quit IRC19:27
*** foexle has quit IRC19:27
glangeno19:28
notmynamehttp://d.not.mn/monthly_active_swift_contribs-Oct-09-2014.png19:35
ctennisswift_fan: none at this time19:37
*** jamespage_ has joined #openstack-swift19:37
*** jamespage_ has quit IRC19:38
pelusenotmyname, cool data19:40
swifterdarrellswift_fan: you might enjoy discussing block storage in #cepth on irc.oftc.net; For real-time chat, the Ceph community gathers in the #ceph channel of the Open and Free Technology Community (OFTC) IRC network. - See more at: http://ceph.com/resources/mailing-list-irc/#sthash.ulGxqZK0.dpuf19:40
swift_fanglange notmyname ctennis : I see that it's probably not desirable in the near future (as you guys have said -- right now there's more than enough tasks to try to make what already exists, even better) -- but isn't it desirable to try to support more things in the longer term future, when the current problems that within the short term have been taken care of / solved / managed effectively ?19:40
swifterdarrellswift_fan: sorry, #ceph19:40
glangeit's not realistic19:40
glangedifferent things are different19:40
swift_fanglange : But it was realistic for #ceph, no ?19:41
tdasilvanotmyname: what happened 720-800 days ago that caused that big jump in average?19:41
swift_fanfor ceph*19:41
tdasilvanotmyname: not sure if you can single out something19:41
swift_fanswifterdarrell : Thanks, I'll go check them out as well.19:41
swifterdarrellswift_fan: sweet!19:41
swifterdarrellswift_fan: they would be the experts on that portion of realism19:42
glangeswift_fan: it's not a shortcoming of swift that it is what it is -- everything is what it is and is limited by its nature19:42
glangea chair is not a rocket ship, etc19:43
swifterdarrellswift_fan: glange: I sure like notmyname's knife analogy19:43
swifterdarrellswift_fan: glange: ...but who wouldn't want a char... that's ALSO A ROCKETSHIP?!19:43
swifterdarrell*chair19:43
glangehaha19:44
swifterdarrell(obviously no one would want a char that was a rocketship)19:44
swift_fanglange : but a chair can be a study chair, rocking chair, and an expandable chair, all at the same time, and be good at all 3, no ?19:44
swift_fana*19:44
glangesure, but a chair is still limited by its nature in what it can do19:44
glangeyou just happened to choose some things that it can do19:45
swift_fanglange : ok. But I guess the question is -- forget about all the troubles that may be required to do this -- are there any noticeable advantages for Swift, if Swift were to support cloud *block* storage and cloud *file* storage, as well ?19:45
cschwedeswift_fan: there would be disadvantages then.19:46
swift_fanglange : (like the Ceph cluster/network file system).19:46
glangeyeah, something that can do more is better -- but you can't make change a thing into any other thing -- there are limits19:47
swift_fancschwede : I see that there would probably be disadvantages, but given that we agree on that, are there any noticeable advantages that come to mind ?19:47
swift_fancschwede : positive things.19:47
glangeif something is impossible/unrealistic, how long do you think about it before you move on?19:47
cschwedeswift_fan: swift solves one problem (and IMO is very good in solving that problem), other storages solve other problems. there is not one solution that fits all19:48
swift_fanglange : I can move on if you want me to ; I was just skeptical about it being "impossible/unrealistic", given that there is a real example out there that does it (for instance, the Ceph cluster/network file system).19:49
peluse"It's kind of fun to do the impossible" -Walt Disney19:49
glangeswift_fan: cpeh has its limits to, it can't do some things that swift can19:49
cschwedeswift_fan: ceph is strongly consistent, swift eventually. both have advantages and disadvantages and solve different problems19:49
ctennisceph is a strongly consistent design up front.  it started as a block store.  they put an object store on top.  it doesn't do a very good job of it, in my opinion.19:49
glangeand if you made swift into ceph, the new swift wouldn't be able to do some things that the old swift can19:49
swift_fanFor one, I imagine that supporting object,block,file storage (all 3 together), would have a good chance of attracting a wider user audience ; that's something that's desirable for the growth of Swift, no ?19:50
glangeI guess it would be great if humans made one single object that could do everything that all other objects can do, but that isn't very realistic19:50
pelusectennis, I'm no ceph expert but I think its the other way around, ceph is an obj store at its foundation19:50
cschwedeif you try to solve everything in one solution you get to this „Jack of all trades, master of none“ thing19:51
glangeswift_fan: what if by doing that you made it do all 3 poorly because of real life limitations on what is possible?19:51
ctennispeluse: yes I said it backwards19:51
swift_fanglange : That would sort of be like a worst-case scenario, but what's more likely to happen is an average-case scenario for some of them, instead of all 3 doing poorly.19:53
swift_fanglange : And maybe some of it may be able to do very well, still.19:53
swift_fanglange : Even if only 1 type of storage system were supported, even that could do poorly.19:54
swift_fanin the end19:54
glangewhat if the developers of swift told you you can't do all 3 well? :)19:56
peluseswift_fan, I'm a big believer in "its just SW" and with the right people focused (both time and energy) block and maybe even file abtractions could be added.  I think what's missing is all of those ingredients - no real pull and no real interest by anyone that can make it happen19:56
notmynamecan we go back to talking about chairs?19:58
peluse..and the value and or feasbility can be discussed til everyone is blue in the face but I'm thinking w/o a real proposal and the things I mention above its kind of a "moo point" (if anyone missed that episode of Friends its pretty funny)19:58
glangehaha19:58
ctennisi like chairs19:58
swifterdarrellswift_fan: you should check out that #ceph channel19:59
* peluse just realized he's on vacation.... TTYL19:59
* NM has just updated from 1.13.0 to 2.1.0. Yay! 19:59
notmynameI had an aeron chair once. it was nice, but I like the one in my home office from idea just fine too20:00
notmynameNM: yay!20:00
notmynames/idea/ikea/20:00
notmynameppai: best commit message ever: "Fix unit tests failing in some cases". so in other cases it's not fixed? ;-)20:02
ppainotmyname, ha ha20:02
swift_fanglange : Is that 100% fact that you can't do all 3 well, or is it just a hunch/educated assumptions ?20:05
notmynameswift_fan: glange has a very educated perspective on this. he's been working with it in prod at large scale for years20:07
notmynameswift_fan: the point is that each of these use cases have different fundamental requirements that are in conflict with one another. eg object storage like swift is designed for availability, and that is in conflict with having consistency for a system that supports POSIX20:07
*** fifieldt has quit IRC20:08
notmynameswift_fan: therefore in designing one system for everything, you make tradeoffs instead of doing everything well20:08
notmynamebasically, scale demands specialization20:08
notmynameswift_fan: you've kept asking and asking, and monopolizing a lot of time. but, frankly, I don't see that you've demonstrated going and searching for answers or applying answers you've been given.20:11
notmynameswift_fan: we are happy to help you out, as you've seen, but please spend some time researching on your own. there is a lot of stuff out there that is pretty easy to find20:11
*** shaifali_ has joined #openstack-swift20:11
*** tkatarki has joined #openstack-swift20:11
tkatarkiportante, ping quick q on swift that maybe u can help or anyone really20:12
*** shaifali_ has quit IRC20:12
notmynametkatarki: no need to ask to ask. just ask :-)20:12
tkatarkihey john - hi and good to hear from u - will ask20:12
tkatarkiso my percona fellow engineer is working on backup tool to backup MySQL to OpenStack Swift.20:13
notmynametkatarki: nice. I'd love to see that public :-)20:14
tkatarkiit is going to be20:14
tkatarkiin fact it might be on launchpad already I can find details20:14
tkatarkifile size = 522M, reports 20sec for upload file as single object 4 sec for download20:15
tkatarkisplits file into chunk size of 10M (52 chunks) and uploads them in three parallel threads. And pushes manifest for dynamic large obj20:15
notmynametkatarki: may be that the drives or object servers are busy. either with other requests or maybe the background processes20:16
tkatarkisays it takes 18 sec to upload all parts however it took 40 seconds to download the entire file in a single thread by accessing the large obj20:16
tkatarkihe did some reserahc and found this: https://ask.openstack.org/en/question/288020:16
tkatarki"for dynamic large objects there's a default artificial20:17
tkatarkirate_limit_segments_per_second which is turned up kinda high - like 120:17
tkatarkireq/s after the first 10 segments."20:17
*** jamespage_ has joined #openstack-swift20:17
*** jamespage_ has quit IRC20:17
tkatarkiso his question is if he should be using static objects or can he use dynamic large objects and the "slow down" for downlaod from 4 sec to 40 sec is to be expected or is he doing something wrong20:18
portantetkatarki: here20:18
tkatarkihey portante20:19
swift_fannotmyname : I couldn't find much out there in regards to my question, but thanks for your patience.20:19
portanteso what is the question, and how are things going?20:19
swift_fannotmyname : :)20:20
notmynametkatarki: yeah, there's that limit in DLOs. since you're creating a set of objects that don't change over time, then I'd actually recommend the static manifests. in almost every case they are what you should use instead of DLOs20:20
tkatarkiok - that answers the question then;20:20
tkatarkithanks notmyname20:20
tkatarkialso, i will ask for the github on this and post it here20:20
notmynametkatarki: cool, thanks20:21
tkatarkimaybe u the siwft community may want to comment20:21
*** fifieldt has joined #openstack-swift20:21
notmynametkatarki: actually, I'd love to promote that sort of thing as widely as possible. a simple "here's how to back up MySQL into Swift" is a _great_ tool20:21
tkatarkinotmyname - that would be super20:21
tkatarkilet me get back to you the details20:22
tkatarkiwe are hoping to have it up for downloads by summit - lets see20:22
tkatarkiengineering working on this works from Bangkok - so he is not online now, but, I will try to intro him to this chat tomorrow20:23
tkatarkithanks20:23
*** cds has joined #openstack-swift20:36
shri1hey guys… is there a way to get stats about how many gets/puts swift received, how many succeeded, etc.20:42
notmynameshri1: you can look at either the logs or the statsd metrics20:42
shri1for swift to push to statsd, don't I have to enable something in the conf?20:43
shri1swift-recon?20:44
notmynameshri1: https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample#L64-L6920:44
notmynameshri1: note that those settings are in every server config file (proxy, account, container, object)20:44
shri1awesome… thanks a ton notmyname!20:45
*** nshaikh has joined #openstack-swift20:45
*** zul has quit IRC21:14
*** HenryG has quit IRC21:14
*** elambert has quit IRC21:17
*** zul has joined #openstack-swift21:19
*** mahatic__ has quit IRC21:20
mattoliveraumorning all21:23
notmynamemattoliverau: hi21:23
*** ppai has quit IRC21:24
notmynamemattoliverau: I'm just about to go abandon the patches listed21:29
mattoliveraunotmyname: cool, well the time stamp on the HTML report is 5 minutes old so it's definitely correct :)21:36
*** elambert has joined #openstack-swift21:36
*** ppai has joined #openstack-swift21:38
*** nshaikh has quit IRC22:03
*** annegent_ has joined #openstack-swift22:07
*** annegent_ has quit IRC22:07
*** CaioBrentano has quit IRC22:11
swift_fanJust wondering, but what are the main object-storage alternatives out there to Swift ?22:27
swift_fankey word being "main", that experts in the field would likely point out.22:28
swift_fanNot just a list of all the object storage systems that exist out there.22:28
notmynameswift_fan: S3 is the biggest22:29
swift_fannotmyname : well, of course S322:31
*** NM has quit IRC22:31
swift_fannotmyname : hmm .....22:31
swift_fannotmyname : I guess this might be a "fuzzy question", but when does regular object-storage become archive-tier storage ?22:33
swift_fanand vice-versa.22:33
notmynameswift_fan: right at the beginning of the deployment, normally. that is, you'd buy and deploy a set of hardware that is good for the use case at the price point you're targeting.22:34
notmynameswift_fan: one of the advantages of swift's storage policy feature is that you can add a different class of storage to your existing cluster22:34
openstackgerritPrashanth Pai proposed a change to openstack/swift: fsync() on directories  https://review.openstack.org/12692322:35
swift_fannotmyname : hmm..... by "when", I meant characteristics-wise22:35
swift_fannotmyname : as in, when someone points to a storage cluster22:35
notmynameswift_fan: that's what I mean to. so the question right back at you is "what do you consider 'archive'?". figure that out, and you'll know when your cluster meets those goals22:36
swift_fannotmyname : How do they determine, "Hey, that's just regular object storage!", or "Hey, that's archive-tier storage."22:36
swift_fannotmyname : Well, I know that Archive offerings tend to be a lot cheaper, and probably slower access rates, but is there really that much of a difference?22:37
swift_fannotmyname : I mean, technically, regular object-storage is a form of "archiving", too, right ?22:38
notmynameswift_fan: did you have a chance to read that hitachi paper yet?22:40
swift_fannotmyname : Yes, I read it yesterday.22:41
swift_fannotmyname : My impression of it was that it was very general/high-level22:41
swift_fannotmyname : A lot of it seemed to contain very all-swooping visions, such as the parts in section "Rise of Intelligent Storage".22:42
swift_fannotmyname : It probably left me with more questions in the end.22:42
swift_fannotmyname : than I began with.22:42
openstackgerritPrashanth Pai proposed a change to openstack/swift: fsync() on directories  https://review.openstack.org/12692322:43
swift_fannotmyname : But it was helpful nonetheless! :)22:43
notmynameswift_fan: it does provide a good history of why there are object stores, what problems they are designed to solve (including archiving), and the challenges in creating and running one22:44
swift_fannotmyname : well, in your opinion, is the term "Archive" more a marketing term, to differentiate one type of object-store offering, from another ?22:46
notmynamemaybe. but it is a commonly-enough used term for stuff that you need to have but don't frequently access.22:48
swift_fannotmyname : (for instance, Amazon's S3 offering, vs. Amazon's Archive Tier storage offering).22:48
notmynameswift_fan: think of it in terms of application use case. what problem are you trying to solve and what are your constraints?22:49
*** Nadeem has quit IRC22:49
swift_fannotmyname : What are the most common "Archive" oriented types of data off the top of your head ?22:50
swift_fannotmyname : (e.g., system logs?)22:51
*** cds has quit IRC22:51
notmynameswift_fan: "types of data" doesn't mean anything. it's just a bunch of bytes. what matters is the use case. how big is it? how many of it? what's the access patterns? etc22:51
notmynameswift_fan: it's similar to asking "what types of data is this hard drive good for?"22:52
swift_fannotmyname : I see, so once you know and understand the access patterns, for instance, then it's not so important to the storage designer what the actual application is, no ?22:53
notmynameswift_fan: right22:53
notmynameswift_fan: and similarly "when does this hard drive become 'archive'?" doesn't make much sense. it's about the use case and the (often business) constraints22:54
*** dmsimard is now known as dmsimard_away22:56
swift_fannotmyname : Ok, thanks!22:58
swift_fannotmyname : well, by business constraints, you usually mean costs ?22:59
swift_fannotmyname : As in, $ ?23:00
*** tdasilva has quit IRC23:00
*** ppai has quit IRC23:01
notmynameswift_fan: yeah, normally that's the first one. but also legal requirements. and business policies. once you get a storage system deployed into a big company, the actual storage is one of the smaller parts of the system and generally one of the simpler ones ;-)23:01
*** HenryG has joined #openstack-swift23:07
swift_fannotmyname : Thanks. Are there any kinds of data that companies tend to keep around -- forever -- and not just for a long time ?23:08
notmynameyes23:08
swift_fannotmyname : Any most-common-few that you recall ?23:08
swift_fannotmyname : I mean, what data is so important, that it is kept around forever ?23:09
notmynameswift_fan: wouldn't that depend on the company? what data is most important to you that you'd like to keep around forever?23:09
swift_fannotmyname : I see why some data may be kept around for a really really long time, but -- to need to keep something forever ?23:09
swift_fannotmyname : (note, the distinction between 'really really long time', v.s. forever).23:10
*** echevemaster has joined #openstack-swift23:10
notmynamecool. the blue angels just flew over the office23:11
*** zackmdavis has left #openstack-swift23:11
*** Murali_ has quit IRC23:11
notmynameswift_fan: if the distinction between really long time and forever is important, then there are some really interesting papers you can read. but those are outside the scope of swift23:13
swift_fannotmyname : My first guess, for any company, would be financial bookkeeping databases, but do organizations delete those, after a determined lifespan ?23:14
swift_fannotmyname : financial bookkeeping data*23:14
notmynamemaybe23:16
*** zackmdavis has joined #openstack-swift23:20
ctennisswift_fan: look at the customer testimonials at https://www.youtube.com/user/SwiftStackVideos, plenty of people espousing their use cases23:21
swift_fanLastly -- what does kinds of functions does Swift use memcached for, besides managing the tempauth token using memcached ?23:21
swift_fanctennis -- thank you.23:22
swift_fanI've always been curious about this each time I install and configure memcached.23:23
notmynameswift_fan: https://github.com/openstack/swift/search?utf8=✓&q=cache_from_env23:25
*** exploreshaifali has quit IRC23:26
swift_fannotmyname : Hmm.... this then brings up the question, why does Swift only use memcached for these services, and why not try to use it for everything ?23:28
swift_fannotmyname : because some other service(s) not listed there, may need memcached, moreso than these.23:29
swift_fannotmyname : by services, I mean functions/functionalities.23:29
notmynamehttp://giphy.com/gifs/zjQrmdlR9ZCM23:30
notmynameswift_fan: if you've got some places in the code that you think could take advantage of memcache, I'd be happy to review a patch23:32
swifterdarrellswift_fan: did you get a chance to chat up #ceph?  Maybe they use memcached?23:33
swift_fannotmyname : I mean, nothing special about memcached, right ? It's just a particular form of caching (nothing new).23:33
swift_fannotmyname : So, for instance, why not store objects using memcached ?23:33
acorwinswift_fan: you are aware memcached is not designed to be a persistent storage engine?23:34
swift_fanswifterdarrell : I'll try to do that, and will report back if I get a useful response :)23:34
acorwinswift_fan: and one of the major points of Swift is its exceptional durability & availability.23:34
swift_fanacorwin notmyname : yes, I know that -- obviously, the objects still need to be placed on disk. But why not cache some frequently-read objects using memcached ?23:34
*** elambert has quit IRC23:35
acorwinswift_fan: Wouldn't that merely exacerbate one of your major concerns, about the "eventual" in eventual consistency?23:35
swift_fanacorwin : Not sure, if I understood the question .....23:35
acorwinswift_fan: well, if you upload an object and I stick it in memcache, that's one more place where I can get out of date, and thus inconsistent, data from23:36
ctennisswift_fan: did you take high school chemistry?23:36
swift_fanacorwin : yeah, but Swift is advertised as "eventual consistency", anyway, so why should that have that much of a negative impact ?23:36
acorwinswift_fan: well that's just one of many reasons it would be a bad idea; i just thought that might be the easiest one to see23:37
acorwinswift_fan: memcached has many other limitations that would make it a very poor choice for caching objects.23:37
swift_fanacorwin : And maybe, one of the first places to update the object would be in the memcached ?23:37
acorwinswift_fan: Keeping all the locations of an object up to date and consistent is a very hard problem. Adding more would make it even harder.23:38
swift_fanacorwin : That's the thing -- I don't know what it is about memcached -- which seems like it's just another caching method at its fundamentals -- that makes it not a great option for storing object data .....23:39
ctennisswift_fan: the reason I ask is because, alongside the class learning and question/answer there is also lab and experimentation, which is important.  it feels like your "why not" questions are not going to be answered until you dive in directly and spend the time to understand, without the discussion.23:39
swift_fanacorwin : That was in reference to the previous message you wrote,23:39
swift_fanacorwin : .23:39
swift_fanctennis : I see.23:40
acorwinswift_fan: memcache is a cache in memory (thus the "mem")23:40
acorwinswift_fan: you can't just stick as much data as you want in it with no repercussions.23:40
swift_fanacorwin : Yes, that's clear. But it's essentially a cache system, in essence.23:40
acorwinswift_fan: So?23:40
swift_fanacorwin : Right, so you would use it only for the very most-read/accessed objects.23:41
swift_fanacorwin : However much you can get away with, right ?23:41
acorwinswift_fan: what if the most read objects are large? what if memcache starts expunging objects as fast as you put new ones in, causing nothign but giant memory thrashing? what if you have a write-heavy workload where memcache is basically never valuable?23:41
swifterdarrellswift_fan: maybe Ceph uses memcache for objects?23:41
acorwinswift_fan: or, perhaps, to turn this on its head: what would Swift *gain* by trying to stick memcache everywhere? I think i've pointed out plenty of negatives at this point.23:41
zackmdavisctennis, the importance of empiricism was one of the things I learned in high school chemistry too. There was even a slogan about it: Resist the Temptation to Forget to Measure23:44
acorwinzackmdavis: that's a mouthful, I wonder if it could be conveniently shortened?23:44
ctennisSkip the Labs and you Fail the Class?23:46
notmynamectennis: I think rtfm is  more catchy that slfc23:46
ctennissays you23:47
*** nellysmitt has quit IRC23:47
*** kyles_ne has quit IRC23:49
*** kyles_ne has joined #openstack-swift23:50
swift_fanacorwin : I see from your explanation that using memcached for storing objects can lead to a lot of potential problems. But is there no option/feature at all, in Swift, that you can turn on which will allow you to store some objects in memcached ?23:50
swifterdarrellswift_fan: why would you do that to yourself?23:50
acorwinswift_fan: no, there is not. I would guess that the overlap between use cases where memcached is valuable and the use cases where swift is valuable is near zero23:51
swift_fanacorwin : And if there isn't, are there any plans to enable in the future that option/feature in Swift ?23:51
acorwinswift_fan: I can't answer that with any authority, but no, there is not.23:51
swifterdarrellswift_fan: honestly, I'd me curious if anyone in #memcached could speak to plans for moving memcached into the Object Storage space23:51
swifterdarrellswift_fan: http://memcached.org/ says, "If you are curious about something, feel free to ask on the IRC channel - #memcached on freenode."23:53
swift_fanacorwin : So, can you have a fully-functional, good-performing Swift cluster, even if you don't install/configure memcached on your Swift cluster nodes ?23:53
notmynamethat's not what he said23:53
acorwinswift_fan: No, because swift installs and configures that on its own, for the purposes it needs memcached for.23:53
swifterdarrellswift_fan: I don't think *anyone* in #memcached would agree with that23:54
swifterdarrellswift_fan: but it could be worth checking23:54
*** kyles_ne has quit IRC23:55
*** dmsimard_away is now known as dmsimard23:55
swift_fanOk, thank you guys :)23:56
ctennishave a nice evening23:57
notmynameswift_fan: what time zone are you in?23:59

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