Friday, 2014-02-07

*** pheadron has quit IRC00:10
*** byeager has quit IRC00:13
*** matsuhashi has joined #openstack-swift00:19
*** hurricanerix has quit IRC00:28
*** usvyatsky has quit IRC00:49
*** mkollaro has quit IRC01:05
*** shri has left #openstack-swift01:05
*** tongli has quit IRC01:09
torgomaticthat's interesting... notmyname left a comment on https://review.openstack.org/48331 but didn't say anything about rechecks01:25
torgomaticand then Jenkins decided to rerun the check jobs anyway... is this a new thing?01:26
notmynamehmm..that is surprising01:26
notmynameclarkb: ???^01:26
openstackgerritSamuel Merritt proposed a change to openstack/swift: Send policy index on async update  https://review.openstack.org/7170201:27
openstackgerritSamuel Merritt proposed a change to openstack/swift: Send policy index to container on sync update  https://review.openstack.org/7170301:27
openstackgerritSamuel Merritt proposed a change to openstack/swift: Store policy index in container_stat table  https://review.openstack.org/7170401:27
clarkbyes its a new thing to prevent stale check results01:28
*** nosnos has joined #openstack-swift01:28
clarkbzuul will trigger check tests on changes being actively reviewed with check results >48 hours old01:28
notmynamefun01:31
notmynamethanks for the update :-)01:31
openstackgerritJohn Dickinson proposed a change to openstack/python-swiftclient: changed things because reasons  https://review.openstack.org/5979001:32
notmyname...because the existing commit message was wrong, and I don't really know what else to entitle that01:32
* notmyname is out for a while01:34
clarkbthe thought is there will be fewer gate surprises if reviewers have relatively up to date check results01:41
*** igor__ has joined #openstack-swift01:42
*** igor has quit IRC01:42
*** jasondotstar has quit IRC02:15
*** jasondotstar has joined #openstack-swift02:19
*** tnewsome has quit IRC02:38
openstackgerritA change was merged to openstack/swift: Replace Policy Index with Policy Name in Response Headers  https://review.openstack.org/7026502:53
openstackgerritA change was merged to openstack/swift: Fix a comment in SLO middleware  https://review.openstack.org/7168202:53
openstackgerritA change was merged to openstack/python-swiftclient: changed things because reasons  https://review.openstack.org/5979002:59
openstackgerritA change was merged to openstack/swift: Add tests for swift-ring-builder  https://review.openstack.org/7110602:59
*** fandi has joined #openstack-swift03:07
*** basha has joined #openstack-swift04:39
*** saju_m has joined #openstack-swift05:08
*** nshaikh has joined #openstack-swift05:22
*** ppai has joined #openstack-swift05:27
*** basha has quit IRC05:27
*** basha has joined #openstack-swift05:28
*** gyee has quit IRC05:36
openstackgerritShane Wang proposed a change to openstack/python-swiftclient: spellings in python swiftclient  https://review.openstack.org/7175005:44
openstackgerritShane Wang proposed a change to openstack/python-swiftclient: Fix misspellings in python swiftclient  https://review.openstack.org/7175005:54
*** saju_m has quit IRC06:18
*** psharma has joined #openstack-swift06:23
*** basha has quit IRC06:25
*** jasondotstar has quit IRC06:38
openstackgerritA change was merged to openstack/python-swiftclient: Fix misspellings in python swiftclient  https://review.openstack.org/7175006:51
*** matsuhashi has quit IRC07:05
*** mmcardle has joined #openstack-swift07:20
*** matsuhashi has joined #openstack-swift07:21
*** thomaschaaf has joined #openstack-swift07:23
thomaschaafHello is there a way to get debug logging enabled for the swift-object-server? I am seeing extremly high io on a single machine. https://gist.github.com/thomaschaaf/8858557 since all files should be in sync I am wondering what is happening07:24
*** mmcardle has quit IRC07:25
*** saju_m has joined #openstack-swift07:32
*** bvandenh has joined #openstack-swift07:43
*** foexle has joined #openstack-swift07:47
*** nosnos_ has joined #openstack-swift07:51
*** nosnos has quit IRC07:54
openstackgerritShane Wang proposed a change to openstack/swift: Fix misspellings in swift  https://review.openstack.org/7180008:02
*** matsuhashi has quit IRC08:10
*** basha has joined #openstack-swift08:11
*** xga has joined #openstack-swift08:25
*** xga_ has joined #openstack-swift08:25
*** nacim has joined #openstack-swift08:36
*** vvechkanov has joined #openstack-swift08:42
*** acoles_ has joined #openstack-swift08:46
*** acoles_ has quit IRC08:47
*** haomai___ has quit IRC08:49
*** haomaiwang has joined #openstack-swift08:50
*** fbo_away is now known as fbo09:05
*** vvechkanov has quit IRC09:10
*** zanc has joined #openstack-swift09:11
*** mkollaro has joined #openstack-swift09:41
*** nosnos_ has quit IRC09:43
*** basha has quit IRC09:52
*** basha has joined #openstack-swift09:52
*** mkollaro1 has joined #openstack-swift09:55
*** mkollaro has quit IRC09:55
*** saju_m has quit IRC09:58
*** jasondotstar has joined #openstack-swift10:00
*** bada has joined #openstack-swift10:18
*** basha has quit IRC10:35
*** basha has joined #openstack-swift10:37
*** xga__ has joined #openstack-swift10:39
*** xga_ has quit IRC10:39
*** xga has quit IRC10:39
*** xga has joined #openstack-swift10:40
*** jasondotstar has quit IRC11:00
*** xga__ has quit IRC11:04
*** xga__ has joined #openstack-swift11:04
*** xga has quit IRC11:05
*** xga has joined #openstack-swift11:05
openstackgerritSascha Peilicke proposed a change to openstack/python-swiftclient: Support building wheels (PEP-427)  https://review.openstack.org/5715411:17
*** xga__ has quit IRC11:22
*** xga has quit IRC11:22
*** mkollaro1 has quit IRC11:40
*** thomaschaaf has quit IRC11:47
openstackgerritChristian Schwede proposed a change to openstack/python-swiftclient: Fix swiftclient help  https://review.openstack.org/7187612:01
erlonhi guys, we are working in a feature for swift. We are running to make it ready before the feature freeze. My question is, what is the best approach, to create the blueprint right now and then update it with the code later or, should we wait to create the blueprint when we have some code to show?12:02
*** xga has joined #openstack-swift12:07
*** xga__ has joined #openstack-swift12:07
openstackgerritChristian Schwede proposed a change to openstack/python-swiftclient: Fix swiftclient help  https://review.openstack.org/7187812:08
*** jasondotstar has joined #openstack-swift12:09
*** ppai has quit IRC12:13
*** Longgeek has joined #openstack-swift12:23
*** hurricanerix has joined #openstack-swift12:25
*** hurricanerix has joined #openstack-swift12:26
*** hurricanerix has quit IRC12:27
*** mmcardle has joined #openstack-swift12:29
*** jasondotstar has quit IRC12:37
*** mmcardle has quit IRC12:38
*** fandi has quit IRC12:42
cschwedeerlon: don't know where you're geographically located, but most likely you will get an answer during US daytime since most core devs are located in the US13:11
erloncschwede: hmmm, Im Brazil, we are 3/4 hours ahead13:12
cschwedewell, in that case it should be easy to get some feedback later in the day :)13:12
cschwedemay i ask what you're working on?13:13
cschwedeerlon: if you want to talk about your feature during the next swift meeting, you should add it to the agenda: https://wiki.openstack.org/wiki/Meetings/Swift13:15
erloncschwede: sure, we are working in on a s3 driver to the new swift diskfile API13:19
cschwedeerlon: you mean using s3 as a backend for swift?13:20
erloncschwede: how do I edit the wiki, do I need to have special permissions?13:20
cschwedeerlon: no, no special permissions needed, just use your launchpad account to login13:21
erloncschwede: yes, today the code has the diskfile backend and a mem_diskfile, which is an exemple of the implementation13:21
erlonhmmm, ok, find it13:22
cschwedeerlon: what use case do you have in mind for using s3 as backend? it's probably easier to just use s3 directly?13:24
erloncschwede: so, we work with HDS, they have an object store platform (HCP), that can talk a proprietary protocol and S3. The idea is to have swift as a fronted to this storage platform.13:26
erlonI think they could implement swift protocol in HCP as well, I for some reason this must have greater cost to then13:27
cschwedeerlon: ah, ok, nice idea! that might be interesting for other object storage vendors too.13:28
*** russellb is now known as rustlebee13:30
erloncschwede: mhm, that I good point, we can test it in amazon s3 too after making it work with HCP13:31
*** haomaiwang has quit IRC13:32
*** haomaiwang has joined #openstack-swift13:33
*** mmcardle has joined #openstack-swift13:44
*** jasondotstar has joined #openstack-swift13:50
*** psharma has quit IRC13:51
openstackgerritChristian Schwede proposed a change to openstack/python-swiftclient: Fix swiftclient help  https://review.openstack.org/7187813:52
*** Dieterbe has quit IRC13:53
*** Dieterbe has joined #openstack-swift13:53
*** tongli has joined #openstack-swift14:10
*** pberis has quit IRC14:14
*** igor_ has joined #openstack-swift14:15
*** igor__ has quit IRC14:15
*** Trixboxer has joined #openstack-swift14:26
*** nshaikh has quit IRC14:33
*** xga__ has quit IRC14:36
*** xga_ has joined #openstack-swift14:36
*** xga has quit IRC14:36
*** xga has joined #openstack-swift14:36
*** mmcardle has quit IRC14:42
*** haomaiwang has quit IRC14:43
*** haomaiwang has joined #openstack-swift14:43
*** byeager has joined #openstack-swift14:58
*** mmcardle has joined #openstack-swift15:05
*** zul has quit IRC15:07
*** zaitcev has joined #openstack-swift15:10
*** ChanServ sets mode: +v zaitcev15:10
*** mmcardle has quit IRC15:10
*** zul has joined #openstack-swift15:10
*** bvandenh has quit IRC15:13
*** kragniz has quit IRC15:18
*** mkollaro has joined #openstack-swift15:19
*** foexle has quit IRC15:34
*** bsdkurt has quit IRC15:38
*** jergerber has joined #openstack-swift15:40
*** zul has quit IRC16:00
*** zul has joined #openstack-swift16:01
*** xga_ has quit IRC16:04
*** toni__ has joined #openstack-swift16:15
openstackgerritOrion Auld proposed a change to openstack/swift: Dynamic pipelines for server configuration  https://review.openstack.org/7194216:37
*** tsnider has joined #openstack-swift16:38
*** tsnider has left #openstack-swift16:40
*** mmcardle has joined #openstack-swift16:42
portanteyeah!16:43
notmynameportante: hang on :-)16:44
portantealpha_ori, are you back?16:44
notmynamewe're just talking abou tit in the office, and he's going to push it over the old changeset (instead of a new one)16:44
alpha_oriportante: Yep!16:44
portantenice!16:44
portanteI am still off other muck here, so I probably won't get to it today16:44
alpha_oriYeah, I took some time this week and addressed many of the issues to the patch.16:45
alpha_oriI still have a couple of things to do on it, so it prolly won't be ready until Monday anyhow.  :)16:45
alpha_oriBut it's getting there!16:46
notmynametorgomatic: you're gerrit links are really helpful. Bookmarks->OpenStack->reviews->"Open All in Tabs"16:46
torgomaticnotmyname: glad they're helping :)16:46
pelusezaticev:  you around or does anyone know what TZ he works in so I know when to ping?16:47
notmynamecreiht: thanks for jumping into the eventlet thread16:47
notmynamepeluse: he's in NM16:48
notmynamealbequerque (or however you spell that)16:48
pelusenotmyname:  OK, coll.  thanks16:48
pelusecool16:48
creihtnotmyname: hehe16:49
creihtI was trying not to16:49
creiht:(16:49
portantevacation, huh?16:49
notmynamecreiht: ya, I know what you mean16:49
creihtbut some of it was just getting a little rediculous16:49
notmynamesince we were just talking about gevent instead of eventlet in swift, I kinda hoped someone would mention that. "hey let's move to a lib that's (1) based on eventlet (2) maintained (3) and working on py3k support" instead of something wholly new16:50
notmynamecreiht: but can't we just use more apache workers to scale? ;-)16:51
creihthonestly, I'm not sure gevent really gives us that much at the moment :)16:52
notmynamecreiht: ya, I wanted your take on that16:52
creihtmy preference would be to wait a bit and see how asyncio shakes out and what tools are built on top of that16:52
portantewhat is the thread title?16:53
notmynameopenstack-dev] Asynchrounous programming: replace eventlet with asyncio16:53
notmynameportante: weren't you the first person to respond to it?16:53
creihthttp://lists.openstack.org/pipermail/openstack-dev/2014-February/026237.html16:53
portanteyes, but I don't see creiht post ... hmmm16:53
creihthttp://lists.openstack.org/pipermail/openstack-dev/2014-February/026641.html16:54
notmynameportante: oh, also yesterday I went to the gevent site to take a look at it, and hey! portante is on video linked from gevent's front page!16:54
portantethx16:54
creihtlol16:54
portanteoy16:54
notmynameportante: now I know why you want gevent. all those youtube views!16:54
portantefwiw: not attached to gevent, per sae16:56
portantemore attached to avoiding throwing the baby out with the bath water16:56
notmyname+116:56
notmynamewhich was creiht's point in his reply16:56
portanteit does not seem prudent to rewrite a whole pile a code to asyncio just to help get py3 support16:56
*** mmcardle has quit IRC16:57
*** tsnider has joined #openstack-swift16:57
zaitcevpeluse: I'm still reading through policies and still hating the idea of git branch, but I'm getting more comfortable. Also, tab completions of IRC nicks are your friends.16:58
*** csd has joined #openstack-swift16:58
*** mmcardle has joined #openstack-swift17:00
*** tsnider has quit IRC17:02
*** tsnider has joined #openstack-swift17:02
*** bsdkurt has joined #openstack-swift17:04
*** mkerrin has quit IRC17:05
openstackgerritOrion Auld proposed a change to openstack/swift: Dynamic pipelines for server configuration  https://review.openstack.org/4393417:08
alpha_oriHere's the new jumping-off point, fully rebased and with many of the original comments addressed. ^^17:09
alpha_oriThere are a few more that I'll be working on this weekend.17:09
*** jasondotstar has quit IRC17:09
dfgam i the only one that thinks that dynamic sorting of pipeline is, while neato, really complicated and just kinda scary? when things go in and start doing stuff to the pipeline it freaks me out. i kinda trust that to stay put17:09
pelusezaitcev:  ahh, thanks for tab tip :)  I started looking at the broker stuff too - wanna have a phone call?  We could share some background on both of these things that, at least for me, would accelerate my review of your stuff17:10
portantedfg: not sure it is that dynamic17:10
portanteit is defined by the file system layout directory hierarchy, rather than just a single line in a conf file17:10
dfgfor example with the dlo/slo moving out to middleware- which was a good change- i'm having to rewrite a bunch of stuff for our deployment to get the next release17:11
dfgportante: thats exactly my point: which is easier to understand: a file system layout directory hierarchy or a single line in a conf file17:11
portantethe powerful thing about alpha_ori work is that you can define the relationships for the middleware pieces you need to enforce17:11
dfglike when I'm trying to figure out whats going on and I look at the conf to see what running and surprise thats not what's running. some refactor put in 2 weeks ago caused a bug that caused my pipeline to go haywire and i don't know anything about whats running17:13
portantedfg: so ideally we should have a "what is my final pipeline" in play, if we don't already have that17:14
alpha_oridfg:  You don't /have/ to use dynamic pipelines in your deployment.17:14
alpha_oridfg:  It must be specifically enabled by you.17:14
portanteit is a bad thing if one can't determine that17:14
alpha_oridfg: portante:  swift-config -w will show you the result of the dynamic pipeline rendering.17:14
portanteI think with alpha_ori's stuff we can get such a tool that will dump it for static or dynamic pipelines17:14
dfgbut its an extra 300 lines in the config. if this is a management helper tool why isn't in the management tool?17:15
portantecool!17:15
dfg300 lines in the wsgi.py17:15
portantewsgi.py might not be the right place for it17:15
portanteone of the early reviews was asking that, but since we wanted to vet the concept more in the review we punted on trying to address that17:16
alpha_oridfg: portante: (in the new patchset it's moved to wsgi_conf.py)17:16
portantecool17:16
* portante back in a bit17:17
dfglike i understand that swiftstack, or any company with a bunch of deployments, could want something like this but it seems only useful to someone who uses it. and is a little freaky to others17:17
alpha_oridfg:  Understood!  That's why it's something that is not enabled by default.17:17
alpha_oridfg:  You must specifically enable it.  You can even use config.d style configuration without making the pipeline dynamic.17:18
*** mmcardle has quit IRC17:18
*** tdasilva has joined #openstack-swift17:20
*** xga has quit IRC17:21
gholtI'm pretty sure the pipeline is dynamic by default? Or am I misinterpreting what all this auto-inserting stuff has been doing?17:22
alpha_origholt: That is correct.  What that does in a limited capacity, this change generalizes.  But I think that previous change is what dfg noted caught him by surprise, no?17:23
dfgalright- well i guess a separate file is better. idk- i was building pkgs the other day and it was like >100 commits and +3500 lines of code in about a month's time. its just unnerving.17:23
gholtOh, that's the part I missed. There's a proposal to make things even fancier?17:23
dfgwait- it extends the autoinserrtion stuff?17:23
portantedynamic in the sense that at wsgi start up, the pipeline might be modified from what is in the configuration file17:23
gholtI see the patch now; catching up.17:24
portantenot dynamic in that the pipeline will change at any point in time17:24
portantefwiw: orions' work sort-a opened up the gatekeeper work17:24
alpha_oridfg: no, it doesn't; that stuff has to work whether or not dynamic-pipelines is enabled.17:24
alpha_oridfg: I meant more conceptually.17:25
*** tsnider has quit IRC17:25
*** tsnider has joined #openstack-swift17:26
alpha_oridfg:  the reason it's not "in the management layer" is that it /enables/ cooperation between management tools and cluster operators.17:26
alpha_oridfg: I think that includes companies that roll their own.17:27
dfgwhat scares me is that one day shit's going to break in production and i'm trying to figure out what's going on and I have to look up the topological sorting algorithm in wikipedia to realize that my slo middleware just got sorted after my auth but before sos middleware and right between, etc. etc. Just doing that at all sounds really prone to bad errors. i guess we can turn it off but the general idea seems not ideal to me.17:27
*** tsnider has left #openstack-swift17:27
alpha_oridfg:  All you'll have to do is make the change in your config, do a swift-config -w, and you can see if the pipeline is to your liking.17:27
portanteand possible assert that it has not changed from an expected stored value17:28
gholtYeah, I'm not a fan of adding a packaging dependency system to Swift. But I guess since SwiftStack is for this, I'll not have much sway.17:28
gholtPretty soon we'll have .swar files or something. Swift Web ARchives...17:29
portantewritten in java, right?17:29
*** gyee has joined #openstack-swift17:30
alpha_oriOooh, that's just mean... :)17:31
gholtI'd rather Keep Swift Simpleâ„¢. If you need to manage a conf, use an external system to populate Swift's basic (it should be more basic, not more complicated) conf files. IMO17:31
dfg+1. we have enough problems as it is. worrying about conf files reordering themselves feels like pulling the rug out beneathe your feet.17:33
alpha_origholt: That's what we do, certainly.  And it works great cluster management and cluster operation is performed by the same agents on a small team.17:33
alpha_origholt: As the swift ecosystem opens up, however, that will increasingly be not the case, we're finding.17:34
*** fbo is now known as fbo_away17:34
alpha_origholt: So the ability to make small tweaks to the pipeline independent of how the cluster is generally managed is something that has value --17:34
alpha_origholt: we've heard from our customers.17:35
creihtalpha_ori: I guess I'm a bit confused, why can't these tools just update the .conf as is?17:35
creihtsorry if I missed something previously17:35
*** Longgeek has quit IRC17:36
*** jd__ has left #openstack-swift17:37
alpha_oricreiht: They can, and do; what this patch enables is for cluster operators to insert specific items that they need into the pipeline, whether for diagnostic purposes (I need something on this particular node right now)17:37
portantewithout change a .conf file and screwing it up17:37
alpha_oricreiht: Or for more permanent purposes (this toolchain doesn't support configuration of a particular middleware and I need this change to persist across updates from a particular management tool)17:38
alpha_oricreiht: It's also important to note that you would probably only enable dynamic pipeline construction if you were using some sort of automated management toolchain.17:39
portanteto me, making swift accessible to new folks is an important thing to do17:39
portantefor those who are not so sure of things, these kinds of changes (gatekeeper included) help the admin with swift17:40
zaitcevAdding magic like that makes it less accessible.17:41
zaitcevIMHO17:41
gholtI'm not against a lot of this stuff (nice conf systems, migration tools, compatibility layers, cdn integration pieces, etc.) I just wish the everything in the Swift codebase thing would stop. As a developer, it's getting harder and harder to work. And this from someone who's been with it from the beginning.17:42
portantewhen an admin gets it wrong and things are hard to debug because they get the middleware screwed up, is that more accessible?17:42
zaitcevFrankly the conf.d was already a step too far.17:42
creihtportante: when magic happens and they can't figure out why something isn't working17:42
creihtand I tend to side with gholt17:43
creihtI want things to be explicit17:44
portantecreiht: that is why we make swift-config -w available17:44
portantewe can't make it magic, we have to make it helpful17:44
creihtportante: but a lot of this auto stuff is magic17:44
zaitcevWhy don't you just store the pipeline in MySQL since you're at it. Also has tools to extract the info, you know.17:44
portantecreiht: really?17:44
portantecan you describe what you see is magic about i?17:45
creihtI explicitly tell it to do something then it goes behind my back to change it17:45
zaitcevThe conf.d code is insane and I cannot figure out how it works.17:45
alpha_orizaitcev: Surely most of that complexity is an artifact of paste.17:45
zaitcevThat is an artifact of my small mind, certainly, but by ratcheting this junk up you'll reach the the point when only 1 guy understands it, and then he gets hit by a bus.17:46
alpha_orizaitcev: That's why the dynamic pipeline code is 300 lines instead of 75.17:46
creihtportante: if it was too difficult for new users, then we failed in documentation17:46
portantereally? documentation?17:46
portantethat is the answer?17:46
zaitcevYes17:46
portanteokay17:47
creihtour documentation has really fallen behind17:47
creihtthat's a different thing17:47
creihtbut I think it is a start17:47
alpha_oricreiht: I agree that that's a different thing.17:47
creihtat least a better start17:47
gholtEven so, this could be external. Then: "If you would rather use a conf.d auto-configuration style of managing Swift, you can install swift-conf-magic and..."17:47
creihtI would also think that if we really need conf.d support in paste, perhaps it would be better to contribute that to paste upstream?17:48
creihtrather than hack it into swift?17:48
creihtor what gholt said17:48
zaitcevWell to be sure the OpenStack projects had a conf split-up too, for the purposes of having switcheable auth providers.17:49
alpha_oricreiht: I actually looked at that.17:49
gholtYeah, I'm not a fan of what a lot of those other groups are doing either. ;) I'm a curmudgeon.17:50
creihtlol17:50
alpha_oricreiht: I found the paste community not to be super-active, and not particularly amenable to change (from a quick survey).17:50
creihtbut did you even try? :)17:51
notmynamethere. found it. http://github.com/openstack/swift/commit/1c3b75c29140939350807bf0e5faa2d35e7257a8. (we have done the whole "remove everything not explicitly needed" thing once before. and of course just because we reverted that doesn't mean everything must go in today)17:51
gholtWell, at least I'm consistent on something, lol.17:52
portanteso the question about pipelines that has always come up for me is:17:53
portantewhy do I have to read every piece of pipeline middleware to know where it should be placed?17:53
portanteif there is a defined sequence, why not just encode that?17:53
portantedefine the dependencies, run the solver and be done17:53
portantebut instead, as an admin I have to see how a new piece works17:54
portantebut there are not many alternatives, are ther?17:54
portanteI don't get an advantage by moving slo around inthe pipepline, it has to live where it lives17:54
gholtAnd yeah, I realize (with the old patch notmyname posted) that I've lost this battle many times. I'll still complain every time more stuff gets added until I'm no longer working on Swift or you guys mute me. ;) But I'll give it a rest for today.17:54
portanteso why do we bother sticking it into a configuration file when we know ahead of time where it is supposed to be in the pipelinne?17:54
alpha_oriportante: true, and with this code, you could even check a static pipeline to see if it meets declared dependencies.17:54
alpha_origholt: I think we all agree that it's a thing that needs to keep being said.17:55
portanteif pipelines were pure stylistic preference and order did not matter, I would agree that this kind of change should live outside of swift, but the order does matter17:55
creihtportante: I think it is an aritfact to how paste works, and the mountain of middleware that has been added to swift over time17:56
portanteand just saying, read the docs does not seem very helpful17:56
creihtportante: there absolutely is a default order, and it should be what is in the swift/etc/proxy-server.conf-sample17:57
creihtand we should do better to point people to that17:57
portantewhy put it there/17:57
creihtincluding in the saio17:57
portante?17:57
portantejust put it into the code17:57
portantewhy give somebody a chance to get it wrong?17:57
creihtif you want auto magic configs, then you should just dump paste17:57
zaitcevportante: because (almost) nobody can work on this pile of crud anymore and adding solver makes it worse. It takes years to start on Swift and not everyone has the luxury to "refactor" the heck out of it just for the purposes of education (hello normalize_timestamp).17:58
portantegreat, let's do that17:58
creihtportante: it is because we currently use paste for that17:58
creihtportante: or use oslo-config17:58
creiht:)17:58
creihtyou know the openstack blessed config system17:58
portanteI'm with gholt: just mute me when I complain too much, but I'll give it a rest for today.17:59
* creiht goes back to vacation mode :)17:59
creihtI guess we all have a lot to think about17:59
* portante portante is writing ctypes classes for sysstat sar data file reading so that we can overcome this binary compatibility issues version to version with sar data files18:00
alpha_origholt: creiht: zaitcev:  I'm certainly open to other possibilities.  I'd like to have a solution that allows operators to manipulate the cluster out of band of any particular management system.  Can you think of an approach that doesn't rely on pushing this upstream into paste or downstream into each management layer?  Or monkeypatching?18:03
zaitcevalpha_ori: What is your definiton of "out of band"?18:05
alpha_orizaitcev: Allowing a management system and an operator to cooperate in making changes to a config.18:06
alpha_orizaitcev: The way that config.d-style approaches enable systems to work.18:06
*** nacim has quit IRC18:11
zaitcevMaybe you just need your own loader instead of paste, one with more transparent interface.18:13
*** shri has joined #openstack-swift18:16
notmynamestating the obvious: we have a tension between "we can't add everything into swift" and "we can't add nothing". we've got something in the middle today, and we need to stay somewhere in the middle there. but we can't get too close to either side18:16
notmynameand so far, the only rule we have about this is "3rd party APIs need to be implemented outstide of swift" (from an openstack-wide decision a while back)18:17
* notmyname thinks the lack of formal guidelines is probably more of a feature than a bug18:17
*** lincolnt has joined #openstack-swift18:17
*** igor_ has quit IRC18:17
torgomaticI can put on a tuxedo while I -2 some changes if it'll help18:17
*** igor_ has joined #openstack-swift18:18
openstackgerritJon Snitow proposed a change to openstack/swift: Add list-containers access level to account ACLs in tempauth.  https://review.openstack.org/6559618:19
*** Diddi has quit IRC18:19
torgomaticnotmyname: the other rule we have (the most important one IMO) is that Swift upgrades should be seamless for operators and users18:20
notmynamewell, ya :-)18:20
torgomaticif we didn't have that one, we could throw away all the gatekeeper/dlo automatic pipeline shuffling code18:20
torgomaticthat's the whole reason we have the modify_wsgi_pipeline method at all: seamless upgrades18:21
torgomaticI'm certainly not suggesting we get rid of it, but it would make my life easier if we did :)18:22
tdasilvahello, I'm wondering if it's possible to test storage policies in the ec branch with a saio deployment?18:22
*** jasondotstar has joined #openstack-swift18:22
*** igor_ has quit IRC18:24
dfgwe don't have seemless upgrades at all. the slo/dlo middleware thing is a perfect examples18:26
torgomaticdfg: I'm curious what broke on that one18:27
dfgthey got taken out of the proxy- which i fully support. but now they have to be in the pipeline before auth- well my sos middleware has to be after auth but before the slo/dlo- so now IO have to rewrite a bunch of stuff.18:27
notmyname(isn't that why being able to codify that order into the config stanzas is a good thing? it's hard to keep track of what goes where, and you and I have been working on this forever)18:29
dfgwhich is fine- its not that big of a deal but the dependencies are there and aren't obviuos. and the code writer really has no idea how people are writing their middleware. the pipeline order is importna tand should be explicit.18:29
torgomaticdfg: ah, that's true, I didn't test with sos18:29
dfgas far as the admin not understanding the stuff and we're saving them from making mistakes. we're about 50 to 1 in production problems in developer code bugs vrs admin mistakes. i trust our code a TON less than our admins. it changes everyday18:30
*** shri has quit IRC18:33
*** shri has joined #openstack-swift18:33
dfgi look at that code and think- ummmm- this is complicated. i look at a single line in a conf and i know what's going on. who's to say some refactor doesn't break the whole works. the pipeline is important and reorder problems tend to cause very subtle bugs. couple that with the idea that the stated pipeline that our responsible admins look at can be overridden by a code change and it puts a TON of responsibility on our testers and staging env- which, thou18:34
torgomaticI agree it's complicated, but I couldn't think of a better way to not lose DLO functionality when upgrading Swift :|18:37
zaitcevI thought that kicking DLO/SLO out into middleware was needed for policies18:38
zaitcevsomehow18:38
dfgi don't have a problem with that change. I do have a problem with some middleware showing up without my knowing. also the idea that every third party middleware will be handled properly with the reordering18:38
torgomaticzaitcev: yeah, that's the reason it moved; otherwise there was a whole bunch of stuff in the proxy that just didn't work with policies at all18:39
torgomaticlike ObjectController's GET worked for normal objects, but then the stuff for large objects didn't work18:39
dfgtaking that stuff our of the proxies was really good. on top of that there was a bug with slos/dlos with range requests anyway18:41
dfgmy point is that thinking that this reordering everything will make people safer is not right18:41
torgomaticdfg: oh, was there an inadvertent bugfix in there? that's always nice18:41
*** mmcardle has joined #openstack-swift18:43
dfgtorgomatic: ya- it caused this odd bug over our cdn that took me a while to figure out. the bug was with 0-0 range requests- the old range_tail code stuff didn't apply them18:43
dfgold meaning like 4 months ago or something. of course a 4 month old line of code is kinda hard to find these days...18:44
torgomaticdfg: huh, wacky. well, I'm glad that works now18:44
*** mkollaro has quit IRC18:46
*** shri has quit IRC18:47
*** mmcardle has quit IRC18:47
*** igor_ has joined #openstack-swift18:50
*** igor_ has quit IRC18:55
*** mmcardle has joined #openstack-swift18:57
*** mmcardle has quit IRC19:01
*** Longgeek has joined #openstack-swift19:18
*** Longgeek has quit IRC19:23
*** mmcardle has joined #openstack-swift19:24
*** shri has joined #openstack-swift19:32
tdasilvazaitcev: I have a saio VM running code from the EC branch, and I was wondering if it's already possible to test storage policies. Do you know if that's possible? Can you point me to any documentation?19:33
notmynametdasilva: yes, it's possible19:34
notmynametdasilva: the ec branch is there to be parallel to master, so you can test it just like you'd test master19:34
*** gvernik_ has joined #openstack-swift19:34
*** mmcardle has quit IRC19:35
tdasilvanotmyame: yes, i followed all the directions from here: http://docs.openstack.org/developer/swift/development_saio.html, but I'm now trying to figure out how define different policies19:36
*** toni__ has quit IRC19:41
notmynametdasilva: ah, yes. take a look at etc/swift.conf in the ec branch. I don't think there is a good stand-alone doc yet on them, but the conf is a good place to start19:42
notmynametdasilva: essentially, you have a separate ring for each policy, and then you enable/configure them in swift.conf. at that point, you've got the ability to set them at container creation19:43
tdasilvanotmyname: to set the policy, right?19:44
notmynametdasilva: ya19:44
tdasilvanotmyname: i had heard/read about the multi-ring, but wasn't sure how to create them...19:44
tdasilvanotmyname: but i will take a look there19:45
notmynametdasilva: eg `curl -i -H "X-Storage-Policy: tunafish" -XPUT http://swift.example/v1/AUTH_mine/newcontainer19:45
notmynameassuming you have a policy named "tunafish"19:45
portanteafter changing swift.conf to have that policy listed19:46
notmynameright19:46
portanteand restarting the container servers19:46
portanteI think19:46
tdasilvaok19:47
notmynamepeluse: torgomatic: what needs restarting? just containers or proxy too?19:47
*** igor_ has joined #openstack-swift19:49
notmynameerlon: still around? I saw your question from this morning, but got into other questions. I'd love to talk about how HDS can integrate with swift19:50
*** mmcardle has joined #openstack-swift19:52
*** mmcardle has quit IRC19:58
torgomaticnotmyname: roughly speaking, everything needs a restart20:00
peluseguess I should start on the policy doc....20:02
*** gvernik_ has quit IRC20:06
notmynamepeluse: well get the rollup pieces first :-)20:12
pelusenotmyname:  yeah, that's probably a bit higher on the prioity list :)20:12
*** tdasilva has quit IRC20:13
*** Longgeek has joined #openstack-swift20:19
*** mmcardle has joined #openstack-swift20:19
notmynamelooks like gerrit and zuul are offline right now20:20
notmyname"I was gonna do reviews, but now I can't..."20:20
zaitcevyeah20:21
zaitcevTherefore I watch cat videos20:21
*** Longgeek has quit IRC20:24
*** mmcardle has quit IRC20:24
notmynamegerrit is up. cat videos over20:26
*** zackf has joined #openstack-swift20:30
*** openstackgerrit has quit IRC20:34
*** openstackgerrit has joined #openstack-swift20:34
*** igor___ has joined #openstack-swift20:34
*** csd has quit IRC20:35
*** igor_ has quit IRC20:36
*** shri has quit IRC20:36
*** Longgeek has joined #openstack-swift20:37
*** Longgeek has quit IRC20:41
*** jasondotstar has quit IRC20:42
*** mmcardle has joined #openstack-swift20:46
pelusezaitcev:  I'm going to work on getting a policy patch done that adds per policy stats to acct HEAD requests before looking at your pluggable back ends stuff - looks like it will be a good forcing function to get familiar with that part of the code.  Will keep you posted...20:50
*** mmcardle has quit IRC20:52
*** shri has joined #openstack-swift20:53
*** tdasilva has joined #openstack-swift21:10
tdasilvanotmyname, portante, peluse: thanks for the help...I got storage policy to work on my test environment...21:11
portantenice!21:12
*** mmcardle has joined #openstack-swift21:13
notmynametdasilva: cool!21:16
notmynametdasilva: and now you've got the power to make different policies with different replica counts and on different hardware. and that's pretty cool21:17
notmyname(don't run it in prod yet) ;-)21:17
portanteor put gluster there21:17
portante:)21:17
notmynameportante: yeah, well that too21:17
tdasilva:D21:17
tdasilvayes, my plan is to try with gluster now21:17
tdasilvaon a side note, is there a new flag for specifying the storage policy in the swift client?21:19
portanteI think ya gotta create via curl as shown above21:19
portanteunless peluse has a set of python-swiftclient changes?21:19
*** mmcardle has quit IRC21:20
*** Longgeek has joined #openstack-swift21:20
*** byeager has quit IRC21:21
tdasilvayeah...using the curl for now..just wondering...:D21:21
*** Longgeek has quit IRC21:21
*** byeager has joined #openstack-swift21:22
*** Longgeek has joined #openstack-swift21:23
*** Longgeek has quit IRC21:23
*** Longgeek has joined #openstack-swift21:24
*** Longgeek has quit IRC21:25
*** byeager has quit IRC21:25
*** Longgeek has joined #openstack-swift21:25
*** Longgeek has quit IRC21:26
*** Longgeek has joined #openstack-swift21:26
*** Longgeek has quit IRC21:27
*** Longgeek has joined #openstack-swift21:28
*** Longgeek has quit IRC21:29
*** Longgeek has joined #openstack-swift21:29
*** Longgeek has quit IRC21:30
*** Longgeek has joined #openstack-swift21:32
*** Longgeek has quit IRC21:32
*** Longgeek has joined #openstack-swift21:33
*** Longgeek has quit IRC21:33
*** Longgeek has joined #openstack-swift21:36
*** Longgeek has quit IRC21:36
*** Longgeek has joined #openstack-swift21:38
*** Longgeek has quit IRC21:39
*** Longgeek has joined #openstack-swift21:39
*** Longgeek has quit IRC21:40
*** Longgeek has joined #openstack-swift21:40
*** mmcardle has joined #openstack-swift21:41
*** jasondotstar has joined #openstack-swift21:41
*** Longgeek has quit IRC21:41
*** Longgeek has joined #openstack-swift21:42
*** Longgeek has quit IRC21:42
*** Longgeek has joined #openstack-swift21:43
*** Longgeek has quit IRC21:44
*** Longgeek has joined #openstack-swift21:44
*** Longgeek has quit IRC21:45
*** mmcardle has quit IRC21:45
*** jasondotstar has quit IRC21:51
*** Longgeek has joined #openstack-swift21:51
notmynametorgomatic: ping re https://review.openstack.org/#/c/63195/21:51
*** Longgeek has quit IRC21:51
*** Longgeek has joined #openstack-swift21:52
notmynameLonggeek: check your connection. you're spamming the channel with connects and disconnects21:52
*** Longgeek has quit IRC21:52
notmynametorgomatic: how are you proposing that the new code is tested? via tox under py26? 'cause otherwise there are no tests for that code21:53
*** ChanServ sets mode: +o notmyname21:54
*** Longgeek has joined #openstack-swift21:54
*** Longgeek was kicked by notmyname (Longgeek)21:54
*** notmyname sets mode: -o notmyname21:55
*** Longgeek has joined #openstack-swift21:56
*** Longgeek has quit IRC21:57
notmynamereally?21:57
*** ChanServ sets mode: +o notmyname21:57
*** jasondotstar has joined #openstack-swift21:57
*** Longgeek has joined #openstack-swift21:58
*** Longgeek has quit IRC21:59
*** Longgeek has joined #openstack-swift21:59
*** Longgeek has quit IRC22:00
*** Longgeek has joined #openstack-swift22:01
*** notmyname sets mode: +b Longgeek!*@*22:01
*** Longgeek was kicked by notmyname (msg notmyname when you figure out your connectivity)22:02
*** mmcardle has joined #openstack-swift22:08
*** jasondotstar has quit IRC22:09
peluseyeah curl for now w/policies - I haven't done anything with the client yet but will put that on the list...22:10
*** lincolnt has quit IRC22:11
pelusetdasilva:  note that only the IO path is on the EC branch right now and a few services.  Still pending are the replicator, ssync, some middleware, etc.  For basic testing it should work for you.  Hit us up here if you have issues22:11
*** mmcardle has quit IRC22:13
*** fbo_away is now known as fbo22:14
*** Trixboxer has quit IRC22:15
*** csd has joined #openstack-swift22:27
*** mmcardle has joined #openstack-swift22:35
*** mmcardle has quit IRC22:40
*** byeager has joined #openstack-swift23:01
*** mmcardle has joined #openstack-swift23:02
*** mmcardle has quit IRC23:09
*** mmcardle has joined #openstack-swift23:10
*** byeager has quit IRC23:21
*** jasondotstar has joined #openstack-swift23:22
*** mmcardle has quit IRC23:25
*** fbo is now known as fbo_away23:25
torgomaticnotmyname: yeah, tox under py26 I guess. It's sort of hard to test for a resource leak like that.23:28
*** mmcardle has joined #openstack-swift23:52
*** mmcardle1 has joined #openstack-swift23:56
*** mmcardle has quit IRC23:56

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