Tuesday, 2017-01-24

notmynamePTG topic etherpad https://etherpad.openstack.org/p/swift-ptg-pike00:13
*** ChanServ changes topic to "Topic: Let's talk, we're nice. | PTG etherpad: https://etherpad.openstack.org/p/swift-ptg-pike | Logs: http://eavesdrop.openstack.org/irclogs/%23openstack-swift/ | Meetings: https://wiki.openstack.org/wiki/Meetings/Swift | Priority Reviews: https://wiki.openstack.org/wiki/Swift/PriorityReviews"00:14
timburkenotmyname: i agree, we probably *should* have two blocks for sharding :-)00:15
notmynameit's the only way to scale?00:15
timburkeone early, convince people to go look at it that evening, then later we can start having a real conversation with mattoliverau00:16
notmynameetherpads for the whole PTG are being collected at https://wiki.openstack.org/wiki/PTG/Pike/Etherpads00:18
notmynamethat's where we figure out what to go to and when to be there. there is no global schedule. basically, each team gets a room and sets their own schedule00:19
mattoliverauright.. we should really shard our time :P00:19
*** chsc has joined #openstack-swift00:31
*** chsc has joined #openstack-swift00:31
openstackgerritMerged openstack/swift: Refactor recon to use single md5_hash_for_file function  https://review.openstack.org/40627700:38
clayg^ woot!  wtg tdasilva!00:38
openstackgerritMerged openstack/swift: remove reference to deprecated tool  https://review.openstack.org/42431200:39
openstackgerritMerged openstack/python-swiftclient: Add Constraints support  https://review.openstack.org/41334800:39
openstackgerritMerged openstack/python-swiftclient: Accept more types of input for headers/meta  https://review.openstack.org/35947700:39
*** zaitcev has quit IRC00:41
openstackgerritClay Gerrard proposed openstack/swift: Break less abstractions in test_auditor  https://review.openstack.org/42439300:52
*** mingyu has joined #openstack-swift00:53
*** chsc has quit IRC00:56
*** mingyu has quit IRC00:58
*** jamielennox is now known as jamielennox|away01:02
*** _JZ_ has quit IRC01:05
*** sams-gleb has joined #openstack-swift01:09
openstackgerritJim Cheung proposed openstack/liberasurecode: Add Phazr.IO libphazr backend to liberasurecode  https://review.openstack.org/42435301:12
JimCheungUpdated changes per Tim's suggestions.01:13
*** sams-gleb has quit IRC01:14
notmynamedoes anyone know what a .wsgi file is? like if someone asked you for a .wsgi file for your app, what does one look like?01:15
*** jamielennox|away is now known as jamielennox01:17
claygnotmyname: it's like a .py but it has a "application" in it's globals when you import it - and it ends in .wsgi for some reason01:17
clayg... and it might be "app" instead of "application" or something else bs like that01:18
notmynameah, ok. thanks. google wasn't really helping me01:18
clayghttp://flask.pocoo.org/docs/0.12/deploying/mod_wsgi/01:18
claygWSGIScriptAlias is the bs obscure apache non-sense you're looking for01:19
notmynameyeah http://modwsgi.readthedocs.io/en/develop/configuration-directives/WSGIScriptAlias.html01:19
notmynameok, thanks01:19
claygwerd01:19
openstackgerritJim Cheung proposed openstack/liberasurecode: Add Phazr.IO libphazr backend to liberasurecode  https://review.openstack.org/42435301:23
notmynamea long time ago, there was some work to get swift working under apache/mod_wsgi. I have no idea if it still works. anyone know of anyone deploying that way (or reasons why it wouldn't work)?01:24
claygnotmyname: hadas documented it -> http://docs.openstack.org/developer/swift/apache_deployment_guide.html01:25
notmynamewe've got a whole docs page: http://docs.openstack.org/developer/swift/apache_deployment_guide.html01:25
notmynameyeah01:25
claygnotmyname: no one broke it on purpose - no one deploys like that01:25
notmynameyeah, that was exactly my thinking :-)01:25
claygwow look at that - even has an example .wsgi file!01:26
*** mvk has quit IRC01:26
notmynamecool :-)01:26
claygi wonder if that's when I learned about that crap?  I *have* used mod_wsgi in other contexts tho - so maybe I already knew about it01:26
notmynameso the reason for my questions is the proposed openstack goal for running api services under wsgi (https://review.openstack.org/#/c/419706/)01:26
patchbotpatch 419706 - governance - OpenStack Pike Community Goal: deploy-api-in-wsgi01:26
notmynameso on the one hand, I think there's nothing to do in swift01:27
claygspecifically apache mod_wsgi?01:27
notmynameon the other, that document is rather apache-focussed01:27
claygwhy not gunicorn?  with nginx proxy_pass?01:27
claygi'm sure the same asnwer is right for all projects and all operations teams everywhere01:27
notmynameit doesn't explicitly say "thou shalt use apache", but it does basically say "yeah, other stuff, but apache apache apache"01:27
claygit's good to have a goal!  people who hate themselves love apache web server!01:28
notmynamefor that matter, a wsgi app running under eventlet's web server ;-)01:28
openstackgerritMerged openstack/python-swiftclient: Make functests py3-compatible  https://review.openstack.org/36013501:28
claygnotmyname: acctually now that I think about it - EC sort of knew it only worked under eventlet.wsgi.sever01:29
notmynameoh yeah?01:30
*** chosafine has joined #openstack-swift01:30
notmynamebecause of the 100-continue shenanigans?01:30
claygI think sam put something on a ML somewhere - someone said "something something apache proxy?" and sam was like "proxy is fine, only backend web services?" not sure if there was an explicit acknowledgement that we knew we were breaking deployments of backend services behind apache01:30
notmynamesure sure, punt the hard questions to sam ;-)01:31
claygbut reading the docs it seems like maybe that *was* supported - and probably still tries to work unless someone calls send_continue_headers or whatever that method on the wsgi_input is called01:31
claygbecause yeah - basically no wsgi server is going to have that01:31
claygwe made that up01:31
notmynamewow. our proxy<->storage multipart protocol is just so awesome.01:32
claygit's *so* awesome01:32
claygzaitcev is going to fix it tho01:33
notmynamerequest.environ['wsgi.input'].send_hundred_continue_response()01:33
clayggunna be the PUTPUT protocol01:33
claygor PUTPOST maybe01:33
claygthe point is it'll be HTTP again01:33
claygand less MIME01:33
claygand moar apache!01:33
claygnotmyname: yeah any code that does that only runs under eventlet.wsgi.server01:34
claygevery other wsgi server will just attributeerror01:34
notmynamewell, we're not *breaking* http, right? I mean, the spec does allow headers on the 100 continue responses. (note, this is not an argument saying our made-up protocol is good)01:34
notmynameit's just that we're using non-common corner cases of the spec01:34
claygnotmyname: yeah - which in general is a bad idea - but less bad if you control both ends of the socket01:35
notmynametotally01:36
claygbut it's not the headers that are breaking - the sending another 100 Continue after sending the first 100 Continue is *probably* a violation of the spec that no one ever wrote down - but the implementation of that in eventlet.wsgi is acctually broken01:36
notmynamesomeday, we'll just write some completely non-http protocol that is just for us01:36
clayggRPC!01:36
notmyname:-)01:36
*** openstack-swift has joined #openstack-swift01:36
claygi swear i'm going to get back to that before the PTG :\01:36
claygbut I can't even get through this stupid hashes stuff to fix some of the nasty EC reconstructor shit I stepped in recently :'(01:37
notmynameyeah, I think we could argue (amongst ourselves, or--even better--on the openstack ML) about what's broken vs what's undocumented vs what's allowed. but the point is, we're using stuff that, even if allowed, is not common and therefore not widely implemented01:37
notmynamewhich brings me back to the wsgi-app-goal thing. if it's "write a wsgi app" then I think we're ok. if it's "totally fine under apache" then I think we'll have some issues01:38
notmynamebut I really don't want to start a ML thread^Wflamewar about the right interpretation of all the RFCs01:39
clayghttp://lists.openstack.org/pipermail/openstack/2014-August/008923.html01:39
claygnotmyname: well - again - I think the proxy can still run under apache01:39
claygand honestly - the proxy is the part were we don't control both ends of the socket - so we never would have done something like this anyway01:40
notmynamesure01:40
notmynameok, I think I have what i need for a gerrit review. thanks01:40
claygnotmyname: there's other daemons in openstack with a myrid of communications channels - but all the public apis are rest/http/wsgi01:41
claygI think having all the public interfaces behind something ops can stand behind from a load-balancing/socket-hygine/ddos-prevention stand point is pretty friendly01:42
*** openstack-swift has quit IRC01:42
notmynamethe "server must be wsgi" is another weird thing, since wsgi is only a python thing. granted, I don't think there are any non-python api endpoints, but still... (I won't be raising this argument)01:42
notmynameisn't the fact that swift takes over the whole path a problem for load balancing with different services?01:43
claygwe just happen to have some intra-service communication that looks "wsgi-ish" but can't run behind mod_wsgi - that shouldn't be a huge problem from an architecturual standpoint anymore that someone whoes internal daemons talk over rabbitmq or some other python<- <tcp> ->python protocol01:43
claygnotmyname: I don't follow - if you're doing *all* your layer3/4 stuff in your lb solution you don't really that swift-proxy-server just starts listening on a socket01:46
claygnotmyname: if you do *all* your layer3/4 stuff in apache - hopefully can't start the proxy under apache's mod_wsgi01:47
claygnotmyname: if you're not doing any layer3/4 stuff you probably don't expose swift the public01:47
notmynameah, right, I see. I was thinking of having one apache/whatever instance under domain.com, routing domain.com/swift one place and domain.com/nova to another01:47
claygnotmyname: if you *want* to do layer3/4 stuff inbetween swift services ... that's an interesting use-case ;)01:47
notmynamebut...can apache be used as an IP router? is that a thing?01:47
notmynameisn't http all at layer 7 and isn't apache "just" an http server?01:48
notmynameah, my misreading. you're not saying use apache as a LB01:48
notmynameI was getting that from the proposed goal01:49
claygwell ... apache does all kind of stuff01:49
notmynameyeah, if you've just got one common LB for all the cloud stuff, that's cool. send all the swift traffic to the proxy pool01:49
claygis the main point of the goal just to rehome the URL's?01:49
notmynameI don't think so?01:50
claygapache is definately more than a webserver - and it *can* be used do proxy_pass kinda stuff so yeah you can probably use it for load balancing - not 100% that's what I was talking about01:50
notmynameno I don't think it was what you were saying01:50
claygas far as the tcp layers - i always get that question wrong with the SRE folks want to interview me01:51
notmynameI read the goal as ...well... TBH there isn't a "this is why this is important and the problem we fix by implementing it" section01:51
claygbut like everyone cheats routers speak http, ssl terminators speak http01:52
claygeveryone tries to inspect the damn packets and do some kind of value add01:52
claygeveryone wants to have "protection" somewhere in their feature checklist01:52
claygapache has a *bunch* of them - and it makes enterprise pretty happy - so "just run behind apache" is not a terrible goal01:52
notmynameprotection Pro 9000, for Workgroups. Now with Cloud!01:53
claygnotmyname: if it wasn't obvious that we need to do this it wouldn't be a community wide goal (duh)01:53
*** mingyu has joined #openstack-swift01:54
claygok, well if I'm going to say any more about it - i'd probably have to read it - which seems counter productive - if I read it I'll comment on it - and that won't help anyone01:57
claygso - good luck01:57
notmynamelol01:58
notmynamedid you know that WSGI is an AM radio station in Tennessee?01:58
*** mingyu has quit IRC01:58
notmynameI wonder if this goal means that station needs to use openstack?01:58
clayg+201:59
claygmore whisky is OpenStack - that's what I always say02:00
notmynamespeaking of whisky, it's time to go home.02:00
claygnotmyname: so I guess sam never got a response to his ML post about eventlet.wsgi02:01
notmynameI didn't see one02:02
claygit looks like it went to the global openstack list?  maybe he got some private replies?02:02
notmynametorgomatic: did you? ^02:02
claygtorgomatic: this one http://lists.openstack.org/pipermail/openstack/2014-August/008923.html02:02
notmynameI left a comment and some questions on the goal. we'll see if that kicks off a 100+ message ML thread. I seem to have a knack for that in openstack02:02
notmynameok, really leaving now. good night02:03
*** mingyu has joined #openstack-swift02:09
*** klrmn has quit IRC02:14
*** chosafine has quit IRC02:26
*** jlwhite has quit IRC02:26
*** JimCheung has quit IRC02:37
*** jlwhite has joined #openstack-swift02:54
*** JimCheung has joined #openstack-swift03:00
*** JimCheung has quit IRC03:05
*** chosafine has joined #openstack-swift03:06
*** chosafine has quit IRC03:11
*** sams-gleb has joined #openstack-swift03:11
*** sams-gleb has quit IRC03:16
*** klrmn has joined #openstack-swift03:20
*** jlwhite has quit IRC03:26
*** takashi has joined #openstack-swift04:00
*** jerrygb_ has quit IRC04:02
*** takashi_ has joined #openstack-swift04:07
*** takashi has quit IRC04:07
*** takashi_ is now known as takashi04:08
*** jerrygb has joined #openstack-swift04:09
*** jerrygb has quit IRC04:10
*** dmorita has quit IRC04:13
*** jlwhite has joined #openstack-swift04:26
*** SkyRocknRoll has joined #openstack-swift04:30
*** psachin has joined #openstack-swift04:39
*** winggundamth has joined #openstack-swift04:42
*** klrmn has quit IRC04:52
*** jerrygb has joined #openstack-swift05:11
*** sams-gleb has joined #openstack-swift05:14
*** jerrygb has quit IRC05:16
*** sams-gleb has quit IRC05:19
*** abhitechie has joined #openstack-swift05:36
openstackgerritTone Zhang proposed openstack/swift: IO Priority support on the AArch64 architecture  https://review.openstack.org/42378305:41
*** ppai has joined #openstack-swift05:43
*** dmorita has joined #openstack-swift05:44
*** dmorita has quit IRC05:48
claygthe point of raising OSError when arch != 'the one and only arch we acctually test the feature on' wasn't about being too lazy to copy some list/dict from some crap we cribed off the internet - it was about being honest on what we *support* - what we *maintain* - FOSS means we don't have to block you if you need another number there - but just because you *can* return a different value doesn't mean upstream needs to "maintain"06:12
claygmattoliverau: torgomatic: timburke: did I miss some context not in the review - why is everyone so keen on this patch?  is it just "interesting" because linux headers - or do we have some roadmap for low power cpus - or is it just more "nice and friendly" to say "yes"06:15
claygI'm happy to see it merge (we have lots of crazy hacks for random platforms we don't *really* support) - but it *really* looked like this cats problem was "I get a test error" not "I need to have this ionice feature work on this Swift deployment I'm doing on ARM"06:17
mattoliverauclayg: my opion is if someone wants to get swift working on ARM then we shouldn't be a blocker. Good point about not being able to test it and support it though06:18
claygis he trying to "get swift working on ARM" - how is that going?06:18
claygit looked like he was "trying to get swift's unittests passing on ARM"06:19
psachinclayg: Can you please review https://review.openstack.org/#/c/406012/ when you get time06:19
patchbotpatch 406012 - swift - Fix swift-get-nodes arg parsing for missing ring06:19
mattoliverauwell so far, he has run it on ARM, and on the first tox failure he's submitted a patch to fix.. that's a great start ;)06:19
claygpsachin: you fixed the thing!?06:19
psachinclayg: yep06:19
claygmattoliverau: ok, fair enough - I agree we want to be supportive - for all I know there's a lot of sucess to be had using ionice options in swift on ARM processors!06:20
mattoliverauWe might end up with little swift proxies on enbedded devices everywhere.. can your fridge speak swift, yes and it's also apart of my homes swift cluster ;P06:22
claygpsachin: well crap - I had some unsubmitted draft comments on the latest patch set from I don't know when :'(06:23
claygpsachin: i'm not sure what my status was there - i bet it's awesome06:23
claygmattoliverau: lol - yeah awesome definately going to need to ioprio those fridge proxies06:24
mattoliveraulol, yeah, "what do you mean my icecream is melting.. I was only trying to get a listing from that sharded container"06:25
psachinclayg: Yes. Most things are sorted out(like you figured out issue in assertRaisesMessage(). I think the changes are ready to merge now06:26
*** winggundamth has quit IRC06:28
*** takashi has quit IRC06:34
*** bkopilov has quit IRC06:47
*** jerrygb has joined #openstack-swift07:00
*** takashi has joined #openstack-swift07:04
*** jerrygb has quit IRC07:06
claygpsachin: nice work07:12
*** sams-gleb has joined #openstack-swift07:12
psachinclayg: Thank clayg :)07:13
psachinclayg: https://review.openstack.org/#/c/415473/07:14
patchbotpatch 415473 - swift - Proxy server controller tests should be reorganized07:14
claygmattoliverau: So I guess Zhang maybe *is* trying get swift *running* on AArch64 server - still can't quite tell if he wants to use the ioprio stuff - but it sounds like he tried his best to make sure 30 number was correct07:15
claygpsachin: holy smokes!  look at the line count on that diff - nice work man!07:15
psachinIt took almost 1.5 days. But I feel it can be more optimized once you review the changes. I'm egarly waiting for this to be reviews07:17
psachin*reviewed*07:17
*** ChubYann has quit IRC07:18
clayg test/unit/proxy/test_server.py                | 2186 +--------------------------------------------07:23
clayg^ so needed to happen!07:23
clayginteresting, `nosetests swift/test/unit/proxy/` - branch: Ran 801 tests in 69.972s - master: Ran 772 tests in 64.175s07:28
*** oshritf has joined #openstack-swift07:32
jcaronHi, does anyone have some news about Proxy-fs ? (http://zaitcev.livejournal.com/233432.html) like is it going to be open source ? any release date ?07:33
clayg`rm .coverage; nosetests swift/test/unit/proxy/controllers/test_obj.py --with-coverage --cover-package swift` -> branch: swift/proxy/controllers/obj.py                 1112     55    95% ; master: swift/proxy/controllers/obj.py                 1112     97    91%07:33
clayg95% is bigger!07:33
*** mvk has joined #openstack-swift07:35
claygzaitcev is now my favorite blogger07:36
*** oshritf_ has joined #openstack-swift07:36
*** tesseract has joined #openstack-swift07:37
mattoliveraujcaron: if only there was an SwiftStack employee around.. oh hi clayg :p07:37
claygi'm trying to find some public materials to reference - but apparently we're being close lipped?07:38
mattoliveraujcaron: all I know is swiftstack is working on it, and yes I believe their opensourcing it. :)07:38
*** JimCheung has joined #openstack-swift07:38
claygbasically there hasn't been a public annoucement since Austin - which is weird considering the internal progress - which makes me think I need to check with Mario or risk the wrath of stealing his thunder ;)07:38
mattoliverauAs to when I'm not sure, but if clayg can't answer then I'm sure someone can when there online tomrrow.07:38
openstackgerritChristian Schwede proposed openstack/swift: Add support to increase object ring partition power  https://review.openstack.org/33729707:39
*** oshritf has quit IRC07:39
*** mvk has quit IRC07:40
mattoliveraucschwede: cool a new patch, I'll put it on my list to review first thing07:40
mahaticclayg: I think you missed a link in your commin msg here - patch 42439307:41
patchbothttps://review.openstack.org/#/c/424393/ - swift - Break less abstractions in test_auditor07:41
jcaronOk good to know there is some progress, thanks !07:41
mahaticwere you referring to existing improvements to test_auditor by acoles_07:42
claygmahatic: yeah looks like it07:42
*** cbartz has joined #openstack-swift07:42
claygoh... acctually i was going to make a comment in the commit message about _hash_suffix - but ended up changing the code and then leaving that comment07:42
claygi just need to drop the [1] - there's no additional references to be made07:42
claygmahatic: thanks!07:42
*** JimCheung has quit IRC07:43
claygjcaron: yeah go to swiftstack.com find something that says "contact" and demand more information!07:43
clayg(I already dropped a note a product/marketing folks tho)07:43
jcaronI will, thx :)07:44
mahaticclayg: I see, thanks07:44
*** mvk has joined #openstack-swift07:50
openstackgerritClay Gerrard proposed openstack/swift: Break less abstractions in test_auditor  https://review.openstack.org/42439308:02
*** oshritf_ has quit IRC08:02
*** openstackgerrit has quit IRC08:03
*** oshritf_ has joined #openstack-swift08:05
*** hseipp has joined #openstack-swift08:12
*** openstackgerrit has joined #openstack-swift08:12
openstackgerritChristian Schwede proposed openstack/swift: Fix inline tempurl/formpost signature examples  https://review.openstack.org/33504408:12
*** CowboyPride has joined #openstack-swift08:20
CowboyPrideGood morning from my corner of globe. Anyone around at this time?08:21
*** takashi has quit IRC08:24
*** rledisez has joined #openstack-swift08:32
mattoliverauCowboyPride: there usually are some folks. Seems to be a little quiet tonight. It's my evening but around if pinged.08:35
CowboyPridemattoliverau: Cool I'm just trying to verfiy that a node has caught up after finding out that's volumes were not mounted but it was part of a swift cluster. There is concern on my part about data consistency and avalabiity due to the differences in the ammount of data stored.08:41
CowboyPridehttp://pastebin.com/nyHQ3GVZ08:41
CowboyPrideI inherited this swift cluster from a previous admin. Documenation is lacking and I've been having to figure out everything on my own.08:41
CowboyPrideYou'll see the deiscripency that causes me concern on the 'df' portion of paste above.08:42
CowboyPridenode 5 was complaining about insufficent storage in swift proxy logs, investigation revealed that data volumes were not mounted. node was part of the cluster and taking data but data wasn't able to be written because of volumes not being mounted.08:44
mattoliverauCowboyPride: you can look at recon and see when the last replication pass was complete after the drives where mounted. Once a replication pass has been completed all the data should be synced.08:44
CowboyPridehaving mounted the volumes, the node is now taking traffic without complains but I'm concerned about data matching up on all nodes. this is a 5 node cluster.08:45
*** pcaruana has joined #openstack-swift08:45
CowboyPrideAnd what of the 'df' output, is it possible to be sync but have such widely diffrent 'df' reports08:45
mattoliverauIt may serve stale data for the nodes its primary for, if there was nothing on the drives then one of the other primaries will answer08:46
mattoliverauCowboyPride: yeah it's possible, as not all nodes will store same partitions. Generally they'll be similar statistically speaking08:46
CowboyPridethe other issue that is concerning for me is that node 5 was left in a partial upgraded state.08:47
CowboyPridenode 5 has a newer kernel and newer swift version08:47
ahalegreat faith in replication matt :) maybe it might take longer if there were loads of connections , rsync limits etc.  i'd take a look at the replicator logs, they have a useful status line with number of parts on a machine, can compare against the ring part assignment counts08:47
CowboyPrideI need to bring the others up to the same version now but until till I can vett it.08:47
ahaleor it could be something like node5 is right and the rest have a load of quarantine08:49
CowboyPridehttp://pastebin.com/eGf2JePf08:50
CowboyPrideahale: good thinking...08:51
CowboyPridedang. swift-recon is missing from node 5. I've been doing all reports from the proxy node.08:52
CowboyPridechecking syslogs now.08:56
openstackgerritChristian Schwede proposed openstack/swift: Add support to increase object ring partition power  https://review.openstack.org/33729708:56
ahalehm, used to have a tool, but i dont think its public, that used to get an idea of out-of-place partitions. it basically walked each drives objects dir, checked against ring and gave a % of partitions that shouldnt be on each box08:57
*** oshritf__ has joined #openstack-swift08:57
*** oshritf_ has quit IRC08:58
CowboyPrideInteresting....08:59
CowboyPridehttp://pastebin.com/S7gTBjm008:59
CowboyPrideI found the issue I think now how to fix it.08:59
CowboyPrideSee paste above.08:59
ahalecool !09:00
*** jerrygb has joined #openstack-swift09:02
mattoliverauahale: lol, I'm always an optimist :)09:02
CowboyPrideI thing figured it out... rsync is dead on node509:02
ahale:)09:03
claygreminds me of a discussion recently on the openstack general list -> http://lists.openstack.org/pipermail/openstack/2017-January/018354.html09:05
clayggotta monitor those handoff parts09:05
openstackgerritMerged openstack/swift: Fix race in new partitions detecting new/invalid suffixes.  https://review.openstack.org/41869009:05
CowboyPrideI think it's working.. seeing lots of replication messages without failure on node 1 now.09:07
claygbut I guess some good ol basic connectivity monitoring or daemon monitoring or some log aggregation would have also caught that - live an learn I 'spose09:07
claygno one has it all in place out the gate09:07
*** bkopilov has joined #openstack-swift09:08
clayg... or checking "failures" in recon :\09:08
*** jerrygb has quit IRC09:08
claygi think i'm out :D09:08
ahaleoh interesting mail09:08
ahalethere was another one i meant to reply to too09:08
claygahale: right... something about global clusters and dispersion report09:09
claygwhere is that one09:09
ahaleahh yeah the ring copy one09:09
clayghttp://lists.openstack.org/pipermail/openstack/2017-January/018330.html09:09
ahaleoh hadnt seen that either09:10
ahaleheh - i would personally run dispersion populate after each confirmed real loss of a partition09:10
claygnot sure if I want to laugh or cry09:13
*** oshritf_ has joined #openstack-swift09:16
openstackgerritKaren Chan proposed openstack/swift: Return versioning name in get_container_info  https://review.openstack.org/42452709:19
*** oshritf__ has quit IRC09:20
*** jcaron has left #openstack-swift09:26
*** jordanP has joined #openstack-swift09:27
*** mvk has quit IRC09:41
*** mingyu has quit IRC09:43
*** mingyu has joined #openstack-swift09:45
ahaleoh yeah that was it, not so much the copying rings about part, but the idea of lots of ring changes every couple of hours was slightly terrifying. idk how much people have talked before about how to decide a strategy for ring changes.. lots of small, few large, increasing weights or slam it in at full weight09:48
*** mingyu has quit IRC09:48
*** mingyu_ has joined #openstack-swift09:48
*** mingyu_ has quit IRC09:52
openstackgerritOpenStack Proposal Bot proposed openstack/python-swiftclient: Updated from global requirements  https://review.openstack.org/8925009:53
claygthere was period where ring balancing had some really annoying behaviors of flopping parts around that made lots of gradual ring chnages exceptionally painful09:53
clayglots of thing would move - placement/balance would only get slightly better09:53
openstackgerritOpenStack Proposal Bot proposed openstack/swift: Updated from global requirements  https://review.openstack.org/8873609:53
claygor you'd increase weight on some devices by a few points and they would gain 100 part-replicas but also loose 20 (wtf?)09:54
ahalelol09:54
claygthere is a LOT less of that non-sense on master since about a year ago (IIRC around the same time cloud files stopped taking updates from master for the rings)09:55
claygwe still do gradual changes - I don't ever like to see rebalance progress telling me it's 100's of hours out09:56
claygI think OVH does as well09:56
*** CowboyPride has quit IRC09:56
ahaleyeah, not sure where they are at anymore, I rememebr looking at those changes09:56
claygbut sometimes we have operational stuff where we want to just "make the weights where there done - do the rebalance - push rings - and wait"09:56
ahaleit still kinda is 100's of hours out from where you want to get though really - and yeah that09:57
claygahale: yeah it's all process - like we won't (currently) inturrupt a running rebalance cycle with a ring_push if you want to "soft fail a device" (like set the weight to 0, that just get's enqueued in the next automatic/gradual weight change) - but like people get mad if that is not for another 3 days ;)09:59
claygi'm sure just pushing out rings and inturruping the replication cycle is fine *too* - but there's some weird side effect of how that's reported in the recon data - like it'll say last_cycle_finished when the new rings come down even tho it didn't really *finish* - and of course it'll loose track of which partitions have done "update" - which is distrating when you *really* just want them to be doing "update_deleted"10:02
claygor sync/revert if you're in EC-landia10:02
rledisezclayg, ahale; we used to do gradual increase/decrease when we were running with rsync. now that we use ssync, it's less important. we still do it, but with bigger step10:06
rledisezproblem with rsync is the cost of trying to replicate a partition (all readdir/stats), with result being sometimes all rsync slot are used10:06
rledisezcoest with ssync is really lower (only listdir)10:07
rledisezso, we can afford more pressure on the replication system, even if it fails, it's invisible for user (no more impact on latency)10:07
claygwhy not just increase rsync max_connections then?  The REPLICATE verb is just as decoupled from SSYNC request with sync_method = ssync?10:08
claygrledisez: I still find it *fascinating* that you use ssync for replicated objects - none of the testing I've ever done made it look *remotely* attractive compared to rsync for large rebalances with *either* large objects *or* dense suffixes10:09
claygwith EC we *have* to use it of course - but my beef there is mostly with the reconstructor - acoles_ has done lots of amazing work to to make the SSYNC protocol more robust10:10
rledisezit's all about "time to first byte". with rsync, our customers complains about increase latency (and they are right, we see it in statsd metrics). with ssync, no impact at all, totally smooth. of course, it's slower, but we can deal with that (we just order hardware sooner)10:11
claygbut everytime I look at yeild_hashes and the UPDATE portion I think it can't *possibly* be as efficient as something like rsync10:11
claygyeah that's fascinating - and aweomse - it makes sense - if ssync it slower it uses less resources so more resources available to object-server10:13
rledisezthat's really the stat() done by rsync that makes the difference. if ssync were stat()ing files, it would make no sense10:14
claygit's an akward way to tune/balance/alloate the available resources - but if the results are satisfactory10:14
claygI seem to fight "can you make it rebalance faster" more ofthen that "can you make rebalance not hurt my ttfb so much"10:14
ahaleyeah it is absolutely all about time to start response, that pretty much decides everything i would do10:15
rledisezit may be depending it's public or private cloud. on private you know when you can run rebalance (night or week end) while on public you have to give best perf all the time beause you don't know what your customers are doing and when10:16
*** mvk has joined #openstack-swift10:16
claygI think more of my clusters are the "deep and cheap dumping grounds" and less the "public hawt web content" variety - even the people doing video stuff have a cdn sorta situation for serving content10:16
claygit's still a really important consideration moving forward - if we can *finally* get suffix matching and data path in the same protocol it's important to remember "make rebalance as blazingly fast as possible" may not be the whole solution if it also "sucks up all the iops away from the object-server"10:20
openstackgerritChristopher Bartz proposed openstack/swift: ISO 8601 timestamps for tempurl  https://review.openstack.org/42267910:22
openstackgerritChristopher Bartz proposed openstack/python-swiftclient: ISO 8601 timestamps for tempurl  https://review.openstack.org/42337710:25
*** sileht has quit IRC10:27
*** sileht has joined #openstack-swift10:27
ahaleyeah thats basically what I was doing with hbird replication with some messed up clusters. adjusting the balance of disk_limit and replication_disk_limit and i think ms_per_part or something? along with the out-of-place stuff i mentioned and statsd, to target the worst boxes , trading a little start response for some replication performance, but not too much10:32
*** sams-gleb has quit IRC10:42
openstackgerritJan Krcmar proposed openstack/python-swiftclient: Add kerberos http authentication  https://review.openstack.org/42458110:58
*** sams-gleb has joined #openstack-swift11:00
*** jerrygb has joined #openstack-swift11:04
*** ganders has joined #openstack-swift11:08
*** jerrygb has quit IRC11:09
*** kei_yama has quit IRC11:44
*** catintheroof has joined #openstack-swift12:16
*** mingyu has joined #openstack-swift12:53
*** bkopilov has quit IRC12:55
*** mingyu has quit IRC12:58
*** jcaron has joined #openstack-swift12:59
*** jerrygb has joined #openstack-swift13:05
*** jerrygb has quit IRC13:10
*** vint_bra has joined #openstack-swift13:12
*** abhitechie has quit IRC13:15
*** jlwhite has quit IRC13:27
*** Jeffrey4l_ is now known as Jeffrey4l13:42
*** ppai has quit IRC13:47
*** vint_bra has quit IRC13:56
*** vint_bra has joined #openstack-swift13:59
*** _JZ_ has joined #openstack-swift14:01
*** jordanP has quit IRC14:02
*** jordanP has joined #openstack-swift14:02
*** sanchitmalhotra1 has joined #openstack-swift14:05
*** sanchitmalhotra has quit IRC14:06
*** sanchitmalhotra1 is now known as sanchitmalhotra14:06
*** mingyu has joined #openstack-swift14:23
*** zaitcev has joined #openstack-swift14:26
*** ChanServ sets mode: +v zaitcev14:26
*** mingyu has quit IRC14:28
*** vinsh_ has quit IRC14:38
*** JimCheung has joined #openstack-swift14:39
*** JimCheung has quit IRC14:43
*** jerrygb has joined #openstack-swift14:44
*** SkyRocknRoll has quit IRC14:45
*** SkyRocknRoll has joined #openstack-swift14:47
*** jerrygb_ has joined #openstack-swift14:47
*** jerrygb__ has joined #openstack-swift14:49
*** psachin has quit IRC14:50
*** jerrygb has quit IRC14:51
*** jerrygb_ has quit IRC14:52
openstackgerritJan Krcmar proposed openstack/python-swiftclient: Add kerberos http authentication  https://review.openstack.org/42458114:57
*** jerrygb has joined #openstack-swift15:01
tdasilvagood morning15:05
*** jerrygb__ has quit IRC15:05
tdasilvacool discussion between clayg, ahale and rledisez15:05
*** cdelatte has joined #openstack-swift15:13
*** vinsh has joined #openstack-swift15:16
*** vint_bra has quit IRC15:22
*** vint_bra has joined #openstack-swift15:23
*** sams-gleb has quit IRC15:29
*** bkopilov has joined #openstack-swift15:29
*** sams-gleb has joined #openstack-swift15:29
*** dmorita has joined #openstack-swift15:32
*** sams-gleb has quit IRC15:33
*** dmorita has quit IRC15:37
*** jlwhite has joined #openstack-swift15:41
*** sams-gleb has joined #openstack-swift15:47
*** mvk has quit IRC15:49
*** briancurtin has left #openstack-swift15:56
*** sanchitmalhotra1 has joined #openstack-swift16:01
*** sanchitmalhotra has quit IRC16:02
*** sanchitmalhotra1 is now known as sanchitmalhotra16:02
*** vinsh has quit IRC16:04
*** vinsh has joined #openstack-swift16:06
*** vinsh has quit IRC16:06
*** klrmn has joined #openstack-swift16:06
*** dmellado has quit IRC16:07
*** vinsh has joined #openstack-swift16:07
*** jerrygb has quit IRC16:08
*** jerrygb has joined #openstack-swift16:09
*** klrmn has quit IRC16:11
*** klrmn has joined #openstack-swift16:15
*** pcaruana has quit IRC16:16
*** klrmn has quit IRC16:19
*** oshritf_ has quit IRC16:31
*** chsc has joined #openstack-swift16:32
*** chsc has joined #openstack-swift16:32
openstackgerritThiago da Silva proposed openstack/swift: func tests for tempurl iso_8601 timestamps  https://review.openstack.org/42473216:32
*** Renich has joined #openstack-swift16:37
openstackgerritChristopher Bartz proposed openstack/swift: ISO 8601 timestamps for tempurl  https://review.openstack.org/42267916:38
rledisezhi tdasilva, thx for including me on the post_as_copy deprecation discussion16:41
rledisezrelated to that i'm observing a weird behavior, not sure if anyone already saw it16:41
rledisezdefault conf set object_post_as_copy in copy middleware conf16:41
patchbotError: 'supybot.conf' is not a valid configuration variable.16:41
rledisezbut it seems it is not accepted by proxy-server. it only read it from [DEFAULT]. do you have the same behavior?16:42
tdasilvarledisez: no, i've never seen that...16:44
tdasilvarledisez: just to be clear, you are saying that if you set it like this: https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample#L809,L81616:44
tdasilvathen you can't start the proxy server?16:44
*** ganders has quit IRC16:46
rledisezno, i mean whatever i set for object_post_as_copy in [filter:copy], it is not honored. only what i set in [default] section is used. on current stable version, |filter:copy] object_post_as_copy = true does nothing16:46
patchbotError: Spurious "]".  You may want to quote your arguments with double quotes in order to prevent extra brackets from being evaluated as nested commands.16:46
*** oshritf_ has joined #openstack-swift16:47
*** dmellado has joined #openstack-swift16:48
*** cbartz has left #openstack-swift16:48
rledisezi'm going to open a bug on this, because if I hadn't check on object server, setting false like showed on sample config file would have done nothing16:49
*** hseipp has quit IRC16:49
*** acoles_ is now known as acoles16:50
tdasilvarledisez: i have not noticed that, and with the symlinks patch i've been testing that pretty often to test the interatction between copy and symlink middleware16:50
*** ganders has joined #openstack-swift16:50
tdasilvarledisez: do you remove the option from DEFAULT when adding it to the copy filter section?16:53
*** dmellado has quit IRC16:53
rlediseztdasilva: ok, got it. it's because it is auto-added in the pipeline. if i set it explicitely in the pipeline, it behave normaly16:54
rlediseztdasilva: fun one :)16:54
rledisezmy pipeline need to be backward compatible with 2.7 right now as we did not upgraded every clusters, so i don't add the copy middleware yet16:56
*** dmellado has joined #openstack-swift16:59
*** tqtran has joined #openstack-swift17:00
tdasilvarledisez: oh i see17:02
tdasilvarledisez: re patch 417209 it would be great to get some ops voice on there...17:02
patchbothttps://review.openstack.org/#/c/417209/ - swift - Default object_post_as_copy to False17:02
*** bkopilov has quit IRC17:05
*** oshritf_ has quit IRC17:06
rlediseztdasilva: for now, not much feedbacks as we don't use fast post where there is no container-sync (it's definitively on our todolist after upgrade to 2.12). and as POST requests are almost non-existant, no customer complaints17:08
rlediseztdasilva: but never had any trouble where we use it, so no opposition :)17:08
tdasilvarledisez: ack17:09
*** cdelatte has quit IRC17:11
mahaticdo we already have a patch for post_as_copy deprecation? did I miss it?17:18
*** JimCheung has joined #openstack-swift17:18
tdasilvamahatic: patch 41720917:19
patchbothttps://review.openstack.org/#/c/417209/ - swift - Default object_post_as_copy to False17:19
mahatictdasilva: thanks!17:20
tdasilvamahatic: aka: kill-it-with-fire-from-orbit17:21
mahaticlol17:22
mahaticmaybe make it the commit title, folks might miss it otherwise ;)17:24
tdasilvalol17:26
*** arch-nemesis has joined #openstack-swift17:28
*** cbartz has joined #openstack-swift17:37
*** cdelatte has joined #openstack-swift17:38
*** mvk has joined #openstack-swift17:44
*** rledisez has quit IRC17:47
*** klrmn has joined #openstack-swift17:47
*** dmorita has joined #openstack-swift17:47
*** jordanP has quit IRC17:52
*** SkyRocknRoll has quit IRC17:53
*** oshritf_ has joined #openstack-swift17:56
*** cbartz has quit IRC18:00
*** Renich has quit IRC18:02
*** bkopilov has joined #openstack-swift18:12
*** acoles is now known as acoles_18:25
claygweee!18:33
*** tesseract has quit IRC18:39
*** oshritf_ has quit IRC18:46
*** silor has joined #openstack-swift18:48
clayghow do you tell gerrit to recheck because you think a rebase will cause test failures?18:50
jrichliclayg: you mean posting "recheck no bug" on the patch?  that is what we did at some point.  I have seen some people just put "recheck", but I dont know if that has worked.18:52
claygjrichli: thanks!18:53
*** dmorita has quit IRC19:00
*** lespaul has joined #openstack-swift19:01
*** dmorita has joined #openstack-swift19:02
*** ganders has quit IRC19:14
openstackgerritClay Gerrard proposed openstack/swift: Better optimistic lock in get_hashes  https://review.openstack.org/41978719:18
*** vint_bra has quit IRC19:24
*** manous has joined #openstack-swift19:27
*** vint_bra has joined #openstack-swift19:28
openstackgerritMerged openstack/swift: Fix inline tempurl/formpost signature examples  https://review.openstack.org/33504419:29
*** vint_bra1 has joined #openstack-swift19:29
*** vint_bra1 has quit IRC19:29
*** vint_bra has quit IRC19:32
*** karenc_ is now known as karenc19:32
*** vint_bra1 has joined #openstack-swift19:32
*** vint_bra has joined #openstack-swift19:34
*** clu_ has joined #openstack-swift19:35
*** vint_bra1 has quit IRC19:36
torgomaticnotmyname: nope, no private replies to http://lists.openstack.org/pipermail/openstack/2014-August/008923.html19:36
notmynametorgomatic: ack19:36
*** ChubYann has joined #openstack-swift19:39
notmynametorgomatic: this is related to https://review.openstack.org/#/c/419706/ and now I need to figure out how much of the current wording ("Switch devstack jobs to deploy control-plane API services in WSGI with Apache.") will affect swift19:41
patchbotpatch 419706 - governance - OpenStack Pike Community Goal: deploy-api-in-wsgi19:41
notmynameso maybe that means the proxy will run under mod_wsgi and the storage nodes with eventlet and everything will be fine19:41
notmynameor maybe "control plane" excludes swift19:41
torgomaticnotmyname: exactly my thought19:42
zaitcevwe continue getting requests about TLS though. It's not going away.19:43
torgomaticApache/mod_wsgi isn't gonna stand up to our usage of some of the more obscure corners of HTTP19:43
zaitcevAnd that means client auth with a certificate.19:43
torgomaticzaitcev: TLS between proxy and storage nodes?19:43
zaitcevyes19:43
zaitcevI think the biggest practical concern is if you have a (intercontinental) VPN and then your VPN somehow gets misconfigured or compromised and then everything is in the clear. Kinda like Google datacenters in Ireland.19:44
timburkezaitcev: those seem like orthogonal issues?19:44
notmynameapache/mod_wsgi isnt' really going to stand up to much of the swift traffic patterns in prod anyway (from the last I've seen on the matter). but devstack isn't prod, so it's probably fine there19:45
zaitcevYes, well, Apache supports client auth19:45
zaitcevThat's why people want it.19:45
timburkeor are you thinking of the proxies having client certs for talking to the storage nodes?19:45
zaitcevyes19:45
zaitcevReplicators, too, somehow.19:45
zaitcevSorry, didn't see your "or ...". What I mean is a storage node in Apache, client is in proxy, client presents its sertificate. Or something like that. I'm not an expert in TLS.19:47
zaitcevWe already support proxy in Apache with that initrp() thingie.19:47
zaitcevSo far I was able to say "I'm busy with Hummingbird, shoo, shoo" but the hour or reconing draws near19:48
notmynamezaitcev: but we know that storage node running under apache wont' work because we don't have the ability to handle the 100-continue responses there19:50
timburke...or is it the hour of REPCONNing?19:50
zaitcevyou slay me19:54
*** arch-nemesis has quit IRC19:57
notmynamedoes anyone know off the top of their heads how swift is deployed in devstack? is it under mod_wsgi or is it simply starting the swift process (ie eventlet wsgi server)?19:58
notmynamelooks like if an envvar is set, then it will all be deployed under mod_wsgi in apache, including the object server20:02
zaitcevreally, huh20:02
notmynameso either that's never used or EC is never attempted with that config20:02
notmyname$SWIFT_USE_MOD_WSGI20:04
timburkenotmyname: something tells me they only ever use replicated. i wouldn't surprise me if it was only ever with a single replica20:06
notmynameI don't see any results for grepping for that envvar in any openstack repo I have checked out on my machine20:07
torgomaticin principle, it looks like one could combine nginx and iptables on proxy nodes and storage nodes to wrap connections in client-cert-authenticated TLS20:07
torgomaticnotmyname: yeah, I'm gonna guess they don't use crypto or EC with that config. The guess is based mostly on the fact that I haven't heard complaints of everything being broken.20:10
notmynametorgomatic: oh right. crypto needs all that too. not just ec20:12
*** silor has quit IRC20:13
claygnotmyname: I think crypto just needs the mine wrapping - the footers - it doesn't need the commit message - which requires the mid http put response20:14
clayg*mime wrapping20:14
notmynameah yes20:15
timburkelooking at an object.builder from a dsvm run, i see "512 partitions, 1.000000 replicas, 1 regions, 1 zones, 1 devices"20:15
torgomaticclayg: I thought the MIME wrapper needed a 100 Continue header to say it was okay, otherwise the proxy thinks it's gonna get an object with a bunch of MIME in it that shouldn't be there20:18
claygI think i'm going to *only* dev on swift in a devstack setup for the whole of the PTG - and everytime something annoyes me - I'll just go find some to tell me how to fix and push up a bunch of patches20:18
notmynameFYI the https://review.openstack.org/#/c/369749/ was just approved in the tc meeting20:19
patchbotpatch 369749 - governance - Add Pike goal split out tempest plugins20:19
claygtorgomatic: yes you're 100% correct - which has often lead me to assume that probably any request to a object-server behind apache will AttributeError - but the headers in the *first* 100 continue were never really the part that broke HTTP20:19
notmynameI think that gives us the goals of py3 and this one for the pike release20:20
notmynameoops. almost typo'd "pike" as "puke"20:20
claygit's only when you call that method after already having read from wsgi.input that the implementation in eventlet.wsgi acctually has a bug that makes the bytes on the wire not HTTP anymore -> https://bugs.launchpad.net/swift/+bug/149663620:21
openstackLaunchpad bug 1496636 in OpenStack Object Storage (swift) "EC: Chunked transfer/commit protocol is *not* HTTP" [Undecided,New]20:21
claygif you call set_hundred_continue_response before reading from wsgi.input - I think chunk_length is already -1 so it doesn't have the effect of breaking protocol20:25
claygI think the 100-continue header response was a really cute way to get around the fact we forgot to put a version segment in the url of the object server API for rolling upgrades - but we could have also just down the two-step and been done with it (after upgrading all nodes turn on use_versioned_protocol=True)20:28
claygand *had* we done that tdasilva would probably be proposing the patch to make it the default *right now* ;)20:28
notmynameclayg: I wish we were smarter back then ;-)20:30
timburkei don't think it's eventlet's fault; we tell the proxy to send the empty chunk at https://github.com/openstack/swift/blob/2.12.0/swift/proxy/controllers/obj.py#L1522 -- what if we just stop doing that?20:31
claygnotmyname: we wern't less smart - we just didn't have the requirement of keeping support for apache mod_wsgi20:31
zaitcevwait what20:32
zaitcevI thought put('') was just a way to flush data and didint' send anthing20:32
notmynamehang on. we do not have the requirement of running storage nodes under mod_wsgi right now, even with that pike goal landing20:33
claygtimburke: I tried a few things when I reported that bug (including yes deleting some of the obviously wrong things we had to do to make the damn thing work)20:33
claygtimburke: IIRC it didn't work, and the fix was not obvious, so I filed the bug20:33
timburkeand go ahead and do our transition from DATA_SENT to DATA_ACKED wherever it's already getting done... eh, w/e, clayg's smarter than me, and certainly has investigated this more deeply20:33
notmynamewith that goal, we actually don't need to do anything (perhaps other than verify that running the proxy on devstack under mod_wsgi still works, and stop using mod_wsgi for storage nodes)20:34
claygzaitcev: no, when it gets transformed in the queue... it's in the bug report :P20:34
claygtimburke: I think "doing the right thing" required a fix in eventlet and swift - with no obvious path to make them both atomic on upgrade - so it chicken and egg'd20:35
claygtimburke: i'm not sure it's worth investigating again if zaitcev is going to rewrite everything so we can just use pipelined HTTP requests instead of trying to do req-resp-req-resp in the same HTTP request + MIME wrapped chuned transfer20:36
timburketru20:36
zaitcevoi, the responsibility20:36
timburkeno pressure ;-)20:36
claygthe crypto case is interesting because we don't need req-resp-req-resp we just need "PUT data + moar data"20:37
claygnotmyname: if we don't have an requirement/desire to run object nodes under apache then why do we care if object servers *require* wsgi.input to have a set_hundred_continue_response_headers method?20:39
notmynameclayg: I don't think we do, actually, aside from the sense of ought-ness that our wsgi app only runs under one wsgi server. there are zero requirements currently being placed on swift to run storage nodes under mod_wsgi20:40
notmynameso... *done*20:40
claygnice20:40
claygoh - but something devstack EC?20:41
notmynameoh right. yeah, that is likely broken20:41
notmynamethe thing I'll be on the lookout for, though, is perception around "oh every openstack project just works under mod_wsgi" or "swift is different because..." etc. just typical openstack stuff20:41
clayglike I'm conccerend someone is saying "you have to run object-servers under apache" because "tough - that doesn't work - nehechxt"20:42
claygif someone were to say "I'd really *like* to run object-servers under apaache for valid operational reasons" - that's harder because "well shit bro, that doesn't work - what are we gunna do?"20:42
zaitcevso I thought maybe all we need to do is something simple like this - it appears to work in e.g. the requests use the same TCP connection - https://gist.github.com/zaitcev/b5378c18c522bd695f3ac75c3b5b66f6#file-gistfile1-txt-L13920:42
claygsort *not* concered on th first one20:43
patchbot*not* concered first on one th20:43
timburkeoh patchbot :P20:43
notmynamehttps://github.com/openstack-dev/devstack/blob/master/lib/swift#L19620:43
claygenable_apache_site object-server-${node_number} < probably makes all PUTs to that object-server an AttributeError20:45
claygnotmyname: you gunna test it!?20:45
claygthe gate spins up swift in devstack 1000s of times every day - i bet you could do it if you set your mind to it20:46
claygless sure anyone knows how to plumb the right options/flags/vars so that method gets' called and doesn't hit some other unrelated provisioning bug20:46
claygacctually just the thought of it makes me think it'd be easier to just install apaache and set it up on my saio more quickly that I could get it working devstacks mounain of shell code20:47
zaitcevYessssss, with each such thought you become more servant of packaged services... apt apt apt dnf dnf dnf20:48
zaitcevdid I say that out loud20:49
claygzaitcev: i'm still looking at your gist20:49
zaitcevclayg: there's too much junk in it, but basically let's just POST wth our formerly footer headers. POST accidentially makes it durable, I think... I started adding a feature to it to make so but apparently it already does it anyway20:50
zaitcevjuuuust a little more tweaking and no more 10020:50
claygzaitcev: so but it *looks* like in that gist it's still doing the MIME stuff?20:50
notmynamezaitcev: https://cdn.meme.am/instances/400x/75002452.jpg ?20:50
zaitcevyes, but20:50
zaitcevnotmyname: LOL20:51
claygzaitcev: also... is there an object server side that makes it so the PUT isn't really idk "for reazly durable/servable" until after the POST20:51
zaitcevdetails!20:51
clayglike we want two pipelined HTTP requests to make a single object - the proxy dying before sending the finalize POST should have the same behavior of the proxy dying before sending the MIME footers or commit MIME part on EC20:52
zaitcevh20:53
notmynameclayg: is it actually ok to tie pipelined http requests into the same transaction? ie instead of treating each request as unrelated to others? I thought that's why we did the multipart thing. also, I thought pipelining was only for reducing tcp setup times20:54
claygno more... 100?  presumable this protocol will only work after you upgrade your object server to some xyz version - so you either need to do the "use_versioned_protocol = True" trick - or you need to send a new HTTP header with the 100 continue to indicate "I'm a new enough object server I won't freak out if you start talking this new hawtness to me"20:54
claygnotmyname: it's "ok" by like "by the power of vim!!!" but like there's some purity aspects of REST symatnics you bring into it20:55
notmynameclayg: yeah, your point about when the proxy dies is kinda the trick with the whole thing. but yeah, it's just typing ;-)20:56
notmynamebut also, I feel like I missed the point of this conversation. what are we solving for here? why are we changing the proxy-object protocol now?20:56
claygyeah I don't really think the the MIME handling made for significantly less code there20:56
zaitcevyeah I can create some random key that gets stored and then POST only works with a matching key, therefore the transaction. But eh, clearly I didn't think this through.20:56
notmynameoh, right. the security stuff zaitcev mentioned20:57
claygand *I* was never personally offended but a PUT x-requires-more-information: True20:57
*** dmorita has quit IRC20:57
mattoliverauMorning20:58
*** dmorita has joined #openstack-swift20:58
notmynamezaitcev: you're being asked to provide full TLS for internal traffic? ie instead of something simpler like signed messages20:58
zaitcevx-requires-more-information: 424242424220:58
claygzaitcev: yeah that's the ticket20:58
openstackgerritMerged openstack/swift: Default object_post_as_copy to False  https://review.openstack.org/41720920:58
zaitcevnotmyname: yes, it has to be TLS. purely the paperwork20:58
notmynamezaitcev: ugh20:58
notmynamezaitcev: and stunnel won't work?20:58
claygzaitcev: I'm also cool if "when the socket get's closed there is *no* request that can reference this data in any form"20:59
notmynamezaitcev: sounds similar to the "you can't have the characters 'm', 'd', and '5' in that order right next to each other anywhere in the code"20:59
zaitcevnotmyname: stunnel... probably works. But I don't know.20:59
claygyou guys are jaded21:00
*** jerrygb_ has joined #openstack-swift21:01
claygi always forget dnf is the new yum21:01
claygdandified even21:01
notmynamejet-lagged?21:02
zaitcevnotmyname: about "why are we changing the proxy-object protocol now", I started on this path because Go cannot do our current protocol without an annoyingly protracted surgery that is not likely to succeed. Please see https://groups.google.com/forum/#!topic/golang-nuts/cR5bWfLroiQ21:02
*** dfflanders has joined #openstack-swift21:03
zaitcevnotmyname: coincidentally Clay found some other reason not to like the current protocol, see bug https://bugs.launchpad.net/swift/+bug/149663621:03
openstackLaunchpad bug 1496636 in OpenStack Object Storage (swift) "EC: Chunked transfer/commit protocol is *not* HTTP" [Undecided,New]21:03
zaitcevwas it py3?21:03
*** jerrygb has quit IRC21:03
claygoh... yeah that's the *general* problem with "HTTP doesn't say we *can't* do this even though no one does ever"21:03
notmynameah right. I remember you bringing up the golang issue21:03
*** jerrygb_ has quit IRC21:04
openstackgerritOpenStack Proposal Bot proposed openstack/swift: Updated from global requirements  https://review.openstack.org/8873621:04
claygbut that's sort of a weak argument - i'm tottaly leaverging other factors - if we wanted golang so speak our HTTP++ we could probably do that - but we should fix the protocol bug along the way and ... i'm tired let's go shopping!21:05
notmynamezaitcev: you never got any replies to that golang post, did you?21:06
zaitcevnotmyname: didn't receive any replies.21:06
*** manous has quit IRC21:23
*** caiobrentano_ has quit IRC21:26
*** caiobrentano_ has joined #openstack-swift21:26
*** caiobrentano_ has quit IRC21:30
*** Jeffrey4l_ has joined #openstack-swift21:34
*** catintheroof has quit IRC21:35
*** Jeffrey4l has quit IRC21:35
*** catintheroof has joined #openstack-swift21:35
*** catintheroof has quit IRC21:35
openstackgerritClay Gerrard proposed openstack/swift: Fix performance regression with hash invalidations  https://review.openstack.org/41869122:13
*** sams-gleb has quit IRC22:18
openstackgerritMerged openstack/swift: ISO 8601 timestamps for tempurl  https://review.openstack.org/42267922:22
*** vint_bra has quit IRC22:28
*** vint_bra has joined #openstack-swift22:32
tdasilvatimburke: so what happened with that conversation of deprecating old container based x-version-location ;)22:44
timburketdasilva: i'm all for it, but we're still going to be reading x-versions-location from old container dbs *forever*22:48
*** david-lyle has quit IRC22:50
*** david-lyle has joined #openstack-swift22:53
tdasilvatimburke: true true22:57
*** torgomatic has quit IRC23:10
*** torgomatic has joined #openstack-swift23:11
*** ChanServ sets mode: +v torgomatic23:11
*** torgomatic has quit IRC23:16
*** torgomatic has joined #openstack-swift23:17
*** ChanServ sets mode: +v torgomatic23:17
*** vint_bra has quit IRC23:18
*** sams-gleb has joined #openstack-swift23:19
*** sudorandom has quit IRC23:22
*** sams-gleb has quit IRC23:24
*** sudorandom has joined #openstack-swift23:24
*** chsc has quit IRC23:29
*** _JZ_ has quit IRC23:34
*** vint_bra has joined #openstack-swift23:37
*** tdasilva has quit IRC23:47
openstackgerritCindy Lu proposed openstack/swift: Container Object Count Quota Functional Test  https://review.openstack.org/31409923:59

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