Monday, 2015-06-22

mattoliverauMorning swift land... I've gone and got me the flu (winter/flu season here in Oz).. so am around but definitely not a full strength.. just FYI00:11
*** ho has joined #openstack-swift00:14
hogood morning!00:15
*** jrichli has quit IRC01:04
*** jrichli has joined #openstack-swift01:04
mattoliverauho: morning01:29
jrichlimattoliverau: I hope you get to feeling better soon!01:29
mattoliveraujrichli: ta :).. And hello!01:30
jrichlihello!  I am making new reviews out of code I have already done :-)01:31
jrichlisplitting up the encryption stuff into smaller reviews - I hope it helps to get some eyes on it01:31
wbhuberjrichli: splitting into smaller reviews sounds like a good plan.  hopefully that brings in a more acute focus. =]01:40
jrichliwbhuber: thx.  Hope you are having a good weekend01:41
wbhuberjrichi: it's been awrite.  my son is battling some kind of stomach bug just like mattoliverau. =]  we hope it's not as serious as it looks.01:42
jrichliwbhuber: I hope he feels better soon as well.01:43
wbhuberjrichli: hope yours has been bug-free!01:43
jrichlino sickness, anyway!  :-)01:43
wbhuberthen you're more swift than mattoliverau and i are (puns intended).01:44
mattoliverauLol01:46
*** coreyfarrell has joined #openstack-swift01:49
*** coreyfarrell has left #openstack-swift01:54
*** klrmn has left #openstack-swift02:00
openstackgerritKuo-tung Kao proposed openstack/swift: Use testtools for base test class  https://review.openstack.org/19296002:03
*** linkedinyou has quit IRC02:06
homattoliverau: hello!02:23
*** jrichli has quit IRC02:50
*** blmartin has joined #openstack-swift02:55
blmartinHello all02:56
*** silor has joined #openstack-swift03:05
openstackgerritKuo-tung Kao proposed openstack/swift: Use testtools for base test class  https://review.openstack.org/19296003:07
*** asettle has joined #openstack-swift03:44
openstackgerritMerged openstack/swift: Allow 1+ object-servers-per-disk deployment  https://review.openstack.org/18418903:45
*** wbhuber has quit IRC03:52
*** blmartin has quit IRC04:17
asettlenotmyname, you around? :)04:25
*** ppai has joined #openstack-swift04:41
notmynameasettle: what's up04:55
asettlenotmyname, just wondering where in Austin the meet up will be held?04:55
notmynameasettle: I don't have any details publicly yet. I expect to have that this week04:56
asettlenotmyname, that's cool :) thank you. If you're sending out an email, could you please CC me on the list? :)04:59
notmynamesure. definitely bug me if you haven't seen anything in a day or two05:00
asettleThanks notmyname :) I'm just coming up with a really basic itinerary list for Lana05:07
asettleAlso I had a question notmyname about the Swift docs05:09
notmynameok05:09
asettleI got SAIO up and working (thanks to mattoliverau ) however noticing the docs only build within a Swift environment is a bit of an issue. Is there a workaround for this or is this what is at present?05:09
notmynamewell...that's what it is, but I'm not sure how much of a bad thing it is05:10
notmynamethat is, the docs are generated in part from the source files, so it kinda makes sense to need to evaluate them. and that involves, at times, looking at dependencies05:11
notmynamethat being said, if you know a way to general the .rst files and the docstrings from the code into static docs like we have now, that would be great05:12
* asettle sits in silence05:13
asettleLemme get back to you05:13
asettleI have a handy docs PTL lying around and I happen to know where she lives, too :p05:13
notmynameasettle: I do realize I haven't given you that setup doc I mentioned (yes I know mattoliverau helped you out)05:18
notmynameI did finish it for it's original audience, so let me see if I can make it more generic with some judicious copy/paste05:19
asettleThat sounds great :) thanks notmyname . Definitely be helpful to have05:19
*** silor1 has joined #openstack-swift05:20
*** silor has quit IRC05:20
notmynameasettle: https://gist.githubusercontent.com/notmyname/88b29888e21dfc8372cb/raw/ee6b43951cf7016831c61292cb46981f8e47eef8/gistfile1.txt05:25
notmynamerough, but the idea is there05:25
asettlenotmyname, looks good so far :) I use command line every day, but I think keeping it at a basic level is a good idea :)05:27
notmynameyeah, the person I was originally writing that for isn't familiar with the cmd line05:27
notmynameI'll probably turn that into a blog post (hopefully soon) as a tool for new contributors05:28
asettleGreat idea notmyname05:29
mattoliverauLove the typey typey reference05:30
asettlemattoliverau, lives!05:33
notmyname:-)05:33
mattoliverauIn some definition of lives :p05:34
asettleSo, notmyname with regards to your 'IF you know a way to general the .rst files and docstrings"  - I'm going to send an email to Lana (Docs PTL), and get her in on this one. I think her insight into the process would be very helpful and invaluable. I can do the typey typey, and whatever you want me to do, but tool chains is not necessarily in my jurisdiction05:35
notmynameyeah, that makes sense05:36
notmynameI'm not looking to add new tools for these docs05:36
notmynamethey are maintained by the dev contributors, and I think that's where the primary responsibility lives and should remain05:36
notmynameie for those people most responsible, having a swift dev environment isn't a barrier05:37
notmynamehowever, if there are ways to make it simpler for others to come in "just" to make docs fixes, I'd love to have them05:37
asettleYes, of course. Which does make sense. I don't necessarily think we should move it, but I think increasing the accessibility of the documentation would be invaluable to the future of Swift documentation.05:38
notmynameI'm not trivializing docs patches (note the scare quotes around one of my least favorite words)05:38
notmynameyes! I completely agree!05:38
asettleWonderful, we're all on the same page \o/c05:38
asettleHands in the air like you just communicated effectively!05:38
asettlenotmyname, did you want anyone in particular CC'd on this email05:39
notmynameI'd appreciate being on it05:39
asettlenotmyname, haha besides you :P you're definitely going to be on it05:40
notmynameguess I can't get out of it ;-)05:44
asettleOh no, you're sucked in now05:46
*** proteusguy has quit IRC05:55
*** proteusguy has joined #openstack-swift05:56
*** SkyRocknRoll has joined #openstack-swift05:56
asettleemail = sent notmyname - feel free to add anything if you think i've missed something or have something incorrect05:59
notmynameasettle: looks fine. thanks. I won't comment further until Lana has her say :-)06:00
asettleThanks :)06:02
*** asettle has quit IRC06:10
notmynameI'm off to bed. talk to you tomorrow06:14
notmynamemattoliverau: hope you get to feeling better06:14
*** SkyRocknRoll_ has joined #openstack-swift06:16
*** ianbrown has quit IRC06:35
mattoliveraunotmyname: thanks, night07:01
*** rledisez has joined #openstack-swift07:14
*** Guest87092 has quit IRC07:23
*** d0ugal has joined #openstack-swift07:24
*** d0ugal is now known as Guest1487507:24
*** foexle has joined #openstack-swift07:24
*** Guest14875 is now known as d0ugal07:25
*** d0ugal has quit IRC07:25
*** d0ugal has joined #openstack-swift07:25
*** chlong has quit IRC07:39
*** mmcardle has joined #openstack-swift07:52
*** haomaiwa_ has quit IRC07:56
*** km has quit IRC08:09
*** km has joined #openstack-swift08:09
*** strycore has quit IRC08:12
*** strycore has joined #openstack-swift08:16
*** SkyRocknRoll has quit IRC08:19
openstackgerritOpenStack Proposal Bot proposed openstack/swift: Updated from global requirements  https://review.openstack.org/8873608:28
*** SkyRocknRoll has joined #openstack-swift08:33
*** aix has joined #openstack-swift08:36
*** SkyRocknRoll has quit IRC08:36
*** SkyRocknRoll has joined #openstack-swift08:37
*** silor1 has quit IRC08:52
*** marzif has joined #openstack-swift08:56
*** joeljwright has joined #openstack-swift09:00
*** ChanServ sets mode: +v joeljwright09:00
*** linkedinyou has joined #openstack-swift09:02
*** okdas_ is now known as okdas09:19
*** okdas has joined #openstack-swift09:19
*** haypo has joined #openstack-swift09:38
haypocschwede: hi. i had to rebase my xrange patch one more time :-p https://review.openstack.org/#/c/185460/09:39
*** esker has quit IRC09:42
openstackgerritVictor Stinner proposed openstack/swift: Get StringIO and cStringIO from six.moves  https://review.openstack.org/18545709:46
openstackgerritVictor Stinner proposed openstack/swift: Replace StringIO with BytesIO in ssync  https://review.openstack.org/18607309:46
openstackgerritVictor Stinner proposed openstack/swift: Replace StringIO with BytesIO for file  https://review.openstack.org/18607209:46
openstackgerritVictor Stinner proposed openstack/swift: Replace StringIO with BytesIO for WSGI input  https://review.openstack.org/18607109:46
cschwedehaypo: hello! Thanks for the rebase, will have a look later09:47
haypocschwede: i'm rebasing my other patche09:47
haypos09:47
*** SkyRocknRoll has quit IRC09:47
joeljwrightcschwede: if you have time I could do with some help working out why https://review.openstack.org/#/c/189815/ is failing gate-tempest-dsvm-neutron-src-python-swiftclient09:48
joeljwrightit seems to fail consistently on the same tests09:49
joeljwrightbut I can't for the life of me work out why it would cause that to fail!09:49
openstackgerritVictor Stinner proposed openstack/swift: Use six to fix imports on Python 3  https://review.openstack.org/18545309:50
*** SkyRocknRoll has joined #openstack-swift09:52
openstackgerritHisashi Osanai proposed openstack/swift: Enable Object Replicator's failure count in recon  https://review.openstack.org/13834209:53
cschwedejoeljwright: i had a look last week, was wondering too why this fails all the time. i didn’t found a reason so far :/ i was even checking other openstack clients if they maybe use a named arg (for example get_object(„container“, obj=„objname“). That is the only reason i can think why it fails all the time09:56
joeljwrightcschwede: I'm glad I'm not the only one who's confused09:59
joeljwrightcschwede: I rechecked a few times to make sure the fails were consistent10:01
joeljwrightcschwede: there's certainly a 'real' issue with those tests and this change, but it still seems wrong10:02
cschwedejoeljwright: fully agree on the issue thing. i was worried in the beginning that it might break some 3rd party utils that use swiftclient; i didn’t expect this on the gate though....10:03
hocschwede: I found your report in http://techs.enovance.com/7501/openstack-swift-vancouver-summit-report  the url in Changing policies goes to Container sharding :-)10:21
*** jamielennox is now known as jamielennox|away10:25
*** rsFF has quit IRC10:36
*** ho has quit IRC10:36
*** km has quit IRC10:41
*** rsFF has joined #openstack-swift10:42
*** d0ugal has quit IRC10:43
*** proteusguy has quit IRC10:43
*** jlk has quit IRC10:43
*** kcaj has quit IRC10:43
*** MooingLemur has quit IRC10:43
*** xnox has quit IRC10:43
*** wasmum has quit IRC10:43
*** zacksh has quit IRC10:43
*** Guest11697 has quit IRC10:43
*** fbo_ has quit IRC10:43
*** zigo has quit IRC10:43
*** Trozz_ has quit IRC10:43
*** jroll has quit IRC10:43
*** Trozz_ has joined #openstack-swift10:43
*** xnox has joined #openstack-swift10:43
*** jlk has joined #openstack-swift10:43
*** jlk has quit IRC10:43
*** jlk has joined #openstack-swift10:43
*** d0ugal has joined #openstack-swift10:43
*** zacksh has joined #openstack-swift10:43
*** proteusguy has joined #openstack-swift10:43
*** jroll has joined #openstack-swift10:43
*** d0ugal is now known as Guest2901110:43
*** mgagne has joined #openstack-swift10:43
*** mgagne is now known as Guest8120210:43
*** MooingLe1ur has joined #openstack-swift10:43
*** MooingLe1ur has joined #openstack-swift10:43
*** fbo_ has joined #openstack-swift10:43
*** kcaj has joined #openstack-swift10:44
*** zigo has joined #openstack-swift10:44
*** Guest29011 is now known as d0ugal10:44
*** d0ugal has quit IRC10:44
*** d0ugal has joined #openstack-swift10:44
*** wasmum has joined #openstack-swift10:46
*** MooingLe1ur has quit IRC10:50
*** MooingLemur has joined #openstack-swift10:51
*** SkyRocknRoll_ has joined #openstack-swift10:53
*** silor has joined #openstack-swift11:00
*** linkedinyou has quit IRC11:04
*** kei_yama has quit IRC11:14
*** daemontool_ has joined #openstack-swift11:16
*** marzif has quit IRC11:18
*** cdelatte has joined #openstack-swift11:23
*** SkyRocknRoll_ has quit IRC11:23
*** daemontool_ has quit IRC11:38
*** marzif has joined #openstack-swift11:39
*** foexle has quit IRC11:41
*** marzif_ has joined #openstack-swift11:42
*** proteusguy has quit IRC12:05
*** proteusguy has joined #openstack-swift12:22
*** chlong has joined #openstack-swift12:25
*** chlong has quit IRC12:28
*** SkyRocknRoll has quit IRC12:28
openstackgerritChristian Schwede proposed openstack/swift: Add note about updatedb to the docs  https://review.openstack.org/19412612:50
cschwedeho: thx for the note, I’ll update it!12:59
*** ppai has quit IRC13:00
*** CaioBrentano has joined #openstack-swift13:27
*** mwheckmann has joined #openstack-swift13:36
*** jroll has quit IRC13:36
*** jroll has joined #openstack-swift13:36
*** SkyRocknRoll has joined #openstack-swift13:40
*** zigo has quit IRC13:47
*** SkyRocknRoll has quit IRC13:53
*** breitz has joined #openstack-swift13:56
*** ruind has joined #openstack-swift14:01
*** blmartin has joined #openstack-swift14:03
*** zigo has joined #openstack-swift14:05
ruindI googled around but couldnt find the answer to this.... What is a swift object?14:07
CaioBrentanoDo you mean what is a object in "object storage concept"?14:21
CaioBrentanoruind: Do you mean what is a object in "object storage concept"?14:21
*** tellesnobrega_ is now known as tellesnobrega14:22
*** tong_ has joined #openstack-swift14:23
ruindyes14:23
ruindi mean what is an object in the storage sense14:23
*** acampbell has joined #openstack-swift14:24
ruindCaioBrentano,14:24
*** wbhuber has joined #openstack-swift14:24
*** tongli has joined #openstack-swift14:28
*** tong_ has quit IRC14:28
CaioBrentanoIn my understanding is any unstructured data... Pictures, Movies, static web files, etc14:30
*** acampbell has quit IRC14:30
CaioBrentanoruind,14:30
*** Guest78977 has joined #openstack-swift14:33
ruindCaioBrentano, ok, but how is an object different from a file then14:33
haypocschwede: we have to synchronize ourself to merge the patch quickly when you agree on it, my xrange() patch is in conflict again!14:34
haypocschwede: i fixed conflicts this morning :-p14:34
*** blmartin_ has joined #openstack-swift14:34
CaioBrentanoruind: the difference is the way you are storing and accessing it14:34
ruindwhich is?14:35
ctennisvia HTTP14:35
ruindctennis, I can access files via http14:35
ruindI can download, copy, upload, etc14:36
ruindmodify14:36
ctennisright but this is in comparison to a normal filesystem14:36
*** blmartin has quit IRC14:36
ctennisyou address and store the object within http, and it worries about where inside of a very large system of harddrives the data is stored and replicated14:36
ruindctennis, what is abnormal about a filesystem that stores objects?  (or should i say objectsystem)14:36
ctennisthere's nothing abnormal about it14:37
ctennisthis is a different way of doing it14:37
ruindhow is it different?14:37
hurricanerixruind: maybe you should start out here: http://docs.openstack.org/developer/swift/api/object_api_v1_overview.html14:37
ctennisprobably need to read and watch some videos14:38
ctennishttps://www.youtube.com/watch?v=lYT7PGbribk14:38
ctennisit's just a different design for a way to store things14:38
ruindhurricanerix, ok, this is interesting14:39
*** jrichli has joined #openstack-swift14:39
ruindseems like it is a grouping of files14:39
*** marzif_ has quit IRC14:39
*** marzif_ has joined #openstack-swift14:39
ruindctennis, I'll check that video.  I watched another one by Dickinson and it was too high level for what I was looking for14:40
ctennisyou can think of it that way, btu I would say: "what is a file?"14:40
ruinda set of blocks on the filesystem with a header containing metadata about that grouping of blocks like the name, creation time, permissions, etc.14:41
ruindseems like an object is a higher level abstraction14:42
ctennisright, so an object is just a different way of abstracting that. you don't have to worry about blocks, or a filesystem.  you have a named object with bytes associated with it, and you upload it to the system14:42
ruindblock -> file -> object14:42
ctennisright14:42
ruindctennis, yes, I dont _have_ to worry about it, but I am interested in it.14:43
ctennisCertainly, I'm just trying to differentiate file to object14:43
*** marcusvrn_ has joined #openstack-swift14:43
ruindwell thanks.  I think I have a basic understanding, and I'll look at these materials to dive deeper14:45
notmynameruind: https://dl.dropboxusercontent.com/u/21194/distributed-object-store-principles-of-operation.pdf is a good overview of "what is an object storage system" and "what are the hard parts of building one"14:46
CaioBrentanonotmyname: cool, thanks for sharing!14:47
*** Guest78977 has quit IRC14:53
*** minwoob has joined #openstack-swift14:54
*** marzif has quit IRC14:55
*** wshao has joined #openstack-swift14:55
*** wshao has left #openstack-swift14:55
*** doxavore has joined #openstack-swift15:01
*** janonymous_ has joined #openstack-swift15:10
*** aix has quit IRC15:16
*** janonymous_ has quit IRC15:19
*** agentle has joined #openstack-swift15:19
openstackgerritJanie Richling proposed openstack/swift: Encrypter and Decrypter middleware - object body only  https://review.openstack.org/19419115:21
*** jlhinson has joined #openstack-swift15:28
*** haypo has left #openstack-swift15:28
*** acampbell has joined #openstack-swift15:30
*** acampbell has quit IRC15:35
*** Guest81202 is now known as mgagne15:36
*** mgagne has joined #openstack-swift15:36
*** agentle has quit IRC15:39
*** agentle has joined #openstack-swift15:40
*** marzif_ has quit IRC15:41
*** idevops has joined #openstack-swift15:41
*** marzif_ has joined #openstack-swift15:41
*** idevops has quit IRC15:42
*** janonymous_ has joined #openstack-swift15:42
*** janonymous_ has quit IRC15:52
*** petertr7 is now known as petertr7_away15:55
*** acampbell has joined #openstack-swift16:00
*** eranrom has joined #openstack-swift16:02
eranromGreetings everyone. I have a general question regarding container sync Vs. the reconciler:16:05
eranromWould it be correct to state that they both traverse a db sequentially, potentially reading an object from one side and writing it to another side plus they both run locally in the container server hence can produce pretty much the same throughgput?16:05
*** gyee has joined #openstack-swift16:06
*** agentle has quit IRC16:08
*** peluse has quit IRC16:08
*** acampbell has quit IRC16:09
*** zhill has joined #openstack-swift16:17
eranromWill try my luck later :-) Thanks!16:17
*** eranrom has left #openstack-swift16:18
*** david-ly_ is now known as david-lyle16:18
*** nadeem has joined #openstack-swift16:22
*** agentle has joined #openstack-swift16:23
*** bpranswift has joined #openstack-swift16:27
*** proteusguy has quit IRC16:31
*** rledisez has quit IRC16:36
*** bpranswift has quit IRC16:43
*** proteusguy has joined #openstack-swift16:44
*** tongli has quit IRC16:46
*** tongli has joined #openstack-swift16:47
*** petertr7_away is now known as petertr716:47
*** peluse has joined #openstack-swift16:47
*** peluse_ has joined #openstack-swift16:48
*** peluse has quit IRC16:48
*** bpranswift has joined #openstack-swift16:49
*** agentle has quit IRC16:49
*** bpranswift has left #openstack-swift16:49
*** agentle has joined #openstack-swift16:50
*** tongli has quit IRC16:51
*** jlhinson has quit IRC16:52
*** doxavore has quit IRC16:56
*** tongli has joined #openstack-swift16:59
*** esker has joined #openstack-swift17:03
*** klrmn has joined #openstack-swift17:05
*** doxavore has joined #openstack-swift17:09
*** zhill has quit IRC17:16
*** peluse has joined #openstack-swift17:20
*** peluse_ has quit IRC17:20
notmynamepeluse: this is why I've been bugging you so much about what we can do in swift to take advantage of flash :-) http://www.networkcomputing.com/storage/ssd-prices-in-a-freefall/a/d-id/132095817:23
pelusesweet17:24
*** zhill has joined #openstack-swift17:24
*** marcusvrn_ has quit IRC17:24
notmynamethe article is especially poignant when I think of a conversation I had late last week about SMR drives. I'm hoping to start testing them this week or next and I should expect them to be very bad (perf-wise) until we get some sort of native scsi command support in swift (ha!) and manage it all ourselves17:27
*** peluse has quit IRC17:31
MooingLemurwe've been using dm-cache, with some benefit17:33
MooingLemurbut not as much as with bcache17:33
*** joeljwright has quit IRC17:33
MooingLemurproblem with bcache is that it crashes/is unstable for what appears to be > 2TiB block devices.17:33
*** MVenesio has joined #openstack-swift17:35
MooingLemurbut the fact that bcache takes writeback data and writes it sequentially to the flash device makes it awesome for write latency and performance17:35
MooingLemurdm-cache for us is simply better than nothing17:36
MooingLemurbut if Swift can manage the cache somehow, it seems like we could do things even better.17:37
MooingLemurthe most expensive operations seem to be stat() during object replication.  If dm-cache can eventually cache the related blocks, object replication speeds up considerably for us, and the load drops17:38
*** marzif_ has quit IRC17:39
*** zaitcev has joined #openstack-swift17:40
*** ChanServ sets mode: +v zaitcev17:40
notmynameMooingLemur: yeah, I think the important word there is "somehow" ;-)17:40
*** agentle has quit IRC17:41
*** agentle has joined #openstack-swift17:41
CaioBrentanoI'm having a bad time with the URL format in my company! My PM is demanding a custom URL (without /v1/AUTH_<uuid>) for a specific swift account. Does anyone have done something about this? I was thinking about a nginx proxy, is this a bad aproach?17:50
*** agentle has quit IRC17:50
notmynameCaioBrentano: yes, that's possible. but first let me say that it makes me laugh. (at PMs who want things to always be shiny) ;-)17:51
notmynameCaioBrentano: so there's 2 pieces of middleware included in swift that you can use17:51
notmynamethe first is called domain_remap17:51
notmynamewhat it does is translate subdomains to account and/or container path segments17:52
notmynameeg translates: bar.foo.swift.example.com/obj --> swift.example.com/v1/foo/bar/obj17:52
notmynameso that's something17:52
notmynamebut if you also use the cname_lookup middleware, you can whitelabel that whole subdomain17:53
notmynameeg myawesome.site.com/obj -> (via CNAME) bar.foo.swift.example.com/obj --> swift.example.com/v1/foo/bar/obj17:54
notmynameCaioBrentano: make sense?17:54
notmynamenote that if you have a heavily trafficked site and you use the cname_lookup middleware, you'll probably want to beef up your DNS infrastructure to handle the extra load17:55
CaioBrentanonotmyname: at first look makes sense! I'll check both! thanks!17:55
CaioBrentanonotmyname: yeah, it's heavily trafficked! :(17:56
CaioBrentanonotmyname: you can bet these decision is more political than tech! ;)17:57
notmynameCaioBrentano: it's just something be aware of. some local caching dns proxies locally should probably be sufficient17:57
CaioBrentanonotmyname: thanks again!17:59
*** jlhinson has joined #openstack-swift18:04
*** jlhinson_ has joined #openstack-swift18:06
*** jlhinson has quit IRC18:09
*** jlhinson__ has joined #openstack-swift18:10
*** jlhinson_ has quit IRC18:12
*** wbhuber has quit IRC18:18
*** jasondot_ has joined #openstack-swift18:25
*** tongli has quit IRC18:27
*** esker has quit IRC18:38
notmynameis there any reason we cast some timeout values to int() and some to float()?18:42
notmynameseem the "short" ones are float and the "long" ones are int18:42
notmynameeg look at the object server and the conn_timeout vs node_timeout or client_timeout18:42
*** jlhinson has joined #openstack-swift18:42
notmynamesince I'm in that part of the code right now, I'm wondering if there's any reason not to change them all to floats18:43
*** jlhinson__ has quit IRC18:43
*** silor has quit IRC18:47
claygnotmyname: i don't know if it helps - but we can definately *response* with _'s in header names18:47
notmynameclayg: ie if that's what's stored on disk?18:47
claygnotmyname: yay floats!18:48
notmynameif so, that does help, i think18:48
claygwat?18:48
*** amoturi has joined #openstack-swift18:48
notmynamehow'd you get swift to respond with a _ in a header name?18:48
claygnotmyname: no - by the time we get any header that was sent with _'s it looks like the client sent it with -'s18:48
notmynameright18:48
claygbut if we stick a _ in a header response wsgi will leave it that way18:48
notmynameah ok. that's good18:48
claygnotmyname: i just stuck it in a response in the proxy18:48
notmynamegotcha18:48
notmynamewell, that's some good news at least18:49
notmynamefor those playing along, we're talking about https://bugs.launchpad.net/swift/+bug/146715518:49
openstackLaunchpad bug 1467155 in Swift3 "User Metadata keys with Underscore get translated to dash" [Undecided,New]18:49
claygnotmyname: now we just need a "translate-for-crazy-clients" middleware that'll let you configure a list of headers that get duplicated into under's format18:49
notmynameall of them?18:50
claygwell - that *would* be kinda crazy :\18:51
*** jasondot_ has quit IRC18:51
claygnotmyname: maybe we could do it based on the user-agent?18:51
claygidk, I feel like this client that's sending the _'s in header key's is sorta asking for trouble - as the bug points out - lots of web services do this - on purpose.18:52
notmynameI don't see how that helps. a user gives us one set of bytes and we give back another. why would that be "fixed"  (or broken, depending on the perspective) for one client?18:53
notmynameyeah, but that's what users do, right? ask for trouble? ;-)18:53
claygliberal in what you accept - conservative in what you send?18:53
notmynameinteresting. not forbidden in the rfc, but you have to explicitly enable support in the most popular servers http://stackoverflow.com/questions/22856136/why-underscores-are-forbidden-in-http-header-names18:55
claygthe other option might be to 400 the request down in eventlet land?18:55
*** gsilvis_ is now known as gsilvis18:55
claygnotmyname: there has to be a better use-case than "I *really* just want to store user-metadata with underscores - I just *really* want to!"18:57
claygotherwise it seems a lot like "docter it hurts when I punch myself in the face"18:57
notmynamerequests valid for s3 are broken when sent to swift/swift3 but would otherwise work were it not for this issue. so I think the use case is "better fidelity with s3"18:58
*** agentle has joined #openstack-swift18:58
claygnotmyname: see I'm down with that - except - what header is in the swift3 signature that has the _'s?18:59
notmynamethat I'm not sure of18:59
clayg... because if it's just user metadata ...18:59
notmynamedoes s3 use the user metadata as part of the hmac auth signature?18:59
claygnotmyname: everything you *send* is part of the signature - yeah19:00
notmynameand if so maybe the x-amz-* headers are translated to x-object-meta-*? and if so we break?19:00
claygmaybe?  are there some x-amz-* headers that expect _'s - or we're still in user-meta land?19:00
notmynameAFAIK, still in user-meta land19:01
claygnotmyname: well wtf are we going to do if you send some _'s and some -'s for user meta19:01
claygsigh19:01
*** agentle_ has joined #openstack-swift19:02
notmynamelol @ "because rfc822 http headers disallow _ in names, in $meta_name two hyphens in a row (--) will be translated to an underscore(_)."19:02
notmynamefrom http://archive.org/help/abouts3.txt19:02
notmynamehttp://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-metadata is silent on it19:04
*** agentle has quit IRC19:05
*** esker has joined #openstack-swift19:11
*** agentle_ has quit IRC19:17
*** agentle has joined #openstack-swift19:18
*** wbhuber has joined #openstack-swift19:18
*** nadeem has quit IRC19:23
*** jasondot_ has joined #openstack-swift19:24
*** agentle has quit IRC19:27
MooingLemurwuh.19:34
MooingLemurwell, most of the perl modules that involve http headers will translate underscores into hyphens for header names19:36
MooingLemurso you can say things like content_type => 'text/html'19:36
MooingLemurrather than having to quote the field name19:36
MooingLemurit sounds like a case of "people started doing things one way, but as a result there's an ambiguity that wasn't forethought by the standard"19:38
*** marzif_ has joined #openstack-swift19:39
claygnotmyname: it looks like we can get ahold of self.headers before they get mangled in get_environ19:41
*** peluse has joined #openstack-swift19:42
MooingLemurperl HTTP::Headers will canonicalize _ to - unless you precede the name with a colon, which tells the module to leave it alone.19:42
MooingLemurso I guess there are use cases for underscores in header names, but you really really have to want it19:42
claygnotmyname: unrelated - i had another patch that was fixing how run_server injected the wsgi.HttpProtocol that already super's get_environ - so it'd be easy enough to add it there and capture the un-managled headers in an environ19:42
claygafter that it's just plumbing :'(19:43
claygseem annoying tho19:43
*** mgarza has joined #openstack-swift19:47
*** peluse has quit IRC19:47
*** agentle has joined #openstack-swift19:52
notmynameclayg: that's cool19:55
*** peluse has joined #openstack-swift20:02
*** agentle has quit IRC20:02
*** marzif_ has quit IRC20:07
*** elmo_ is now known as elmo20:08
*** thurloat is now known as thurloat_isgone20:11
*** petertr7 is now known as petertr7_away20:13
*** petertr7_away is now known as petertr720:13
*** blmartin_ has quit IRC20:22
*** amoturi has quit IRC20:27
*** Anticime1 is now known as Anticimex20:29
*** mwheckmann has quit IRC20:30
*** wbhuber_ has joined #openstack-swift20:31
*** jasondot_ has quit IRC20:33
*** wbhuber has quit IRC20:34
*** tongli has joined #openstack-swift20:37
*** peluse has quit IRC20:39
*** tongli has quit IRC20:40
notmynameOpenStack Mita release20:53
zaitcevI always lose bad at those votes.20:56
zaitcevI swear this is the last time20:56
notmynameI haven't seen anything in official channels yet. just one tweet about it20:58
*** jasondotstar has joined #openstack-swift20:59
*** marcusvrn_ has joined #openstack-swift21:00
zaitcevOh I'm sure it's going to be like that21:01
*** aix has joined #openstack-swift21:05
*** petertr7 is now known as petertr7_away21:06
*** MVenesio has quit IRC21:10
*** wbhuber__ has joined #openstack-swift21:10
*** wbhuber_ has quit IRC21:11
*** wbhuber_ has joined #openstack-swift21:11
*** wbhuber__ has quit IRC21:14
claygis it m-eat-a or m-eye-ta21:16
notmynameI think we need kota_/dmorita/ho to tell us21:17
si1v3rme ah ta21:18
MooingLemurma-ia hii, mi-ia huu, ma-ia hoo, ma-ia haha21:18
torgomaticWe've got Rack, WSGI, and PSGI conflating dashes and underscores in HTTP headers. Frameworks: 3, Me: 021:20
*** marzif_ has joined #openstack-swift21:20
claygi love it that PSGI isn't a thing torgomatic had to make up21:23
*** jasondotstar has quit IRC21:27
*** peluse has joined #openstack-swift21:28
zaitcevit's just mee-ta, 2 syllables (三田)21:30
*** jasondot_ has joined #openstack-swift21:37
MooingLemurLovely Mita, Reter Raid21:41
zaitcevMikasa would be awesome, but...21:41
zaitcevNot in our age, when we had to rename Quantum.21:42
zaitcevHeck, we might need to rename Swift.21:42
notmynameunlikely at this point :-)21:42
*** zigo has quit IRC21:43
*** jlhinson has quit IRC21:47
*** CaioBrentano has quit IRC21:48
*** thurloat_isgone is now known as thurloat21:48
*** zigo has joined #openstack-swift21:49
*** doxavore has quit IRC21:50
*** peluse has quit IRC21:51
*** swat30 has quit IRC21:52
*** proteusguy has quit IRC21:53
*** proteusguy has joined #openstack-swift21:54
*** swat30 has joined #openstack-swift21:55
*** ianbrown has joined #openstack-swift21:56
*** blmartin has joined #openstack-swift21:57
*** mgarza has quit IRC22:04
*** agentle has joined #openstack-swift22:06
*** jrichli has quit IRC22:10
*** jasondot_ has quit IRC22:12
*** blmartin has quit IRC22:13
*** blmartin has joined #openstack-swift22:13
*** zigo has quit IRC22:15
*** peluse has joined #openstack-swift22:16
*** marzif__ has joined #openstack-swift22:16
*** zigo has joined #openstack-swift22:17
*** marzif_ has quit IRC22:19
*** marzif__ has quit IRC22:21
*** peluse has quit IRC22:23
*** thurloat is now known as thurloat_isgone22:24
*** thurloat_isgone is now known as thurloat22:33
*** thurloat is now known as thurloat_isgone22:34
*** aix has quit IRC22:41
*** aix has joined #openstack-swift22:41
*** jasondotstar has joined #openstack-swift22:43
*** agentle has quit IRC22:50
*** agentle has joined #openstack-swift22:51
*** DericHorn-HP_ has joined #openstack-swift22:56
*** wer has quit IRC22:58
*** wer has joined #openstack-swift23:03
*** DericHorn-HP_ is now known as DericHorn-HP23:04
*** km has joined #openstack-swift23:10
*** egon_ is now known as egon23:10
*** jlhinson has joined #openstack-swift23:11
*** pgbridge has quit IRC23:13
*** kei_yama has joined #openstack-swift23:14
*** marcusvrn_ has quit IRC23:14
*** DericHorn-HP has quit IRC23:21
*** DericHorn-HP has joined #openstack-swift23:24
*** jlhinson_ has joined #openstack-swift23:25
*** jlhinson has quit IRC23:26
*** jasondotstar has quit IRC23:29
*** DericHorn-HP has quit IRC23:30
*** ho has joined #openstack-swift23:39
*** agentle has quit IRC23:45
*** blmartin has quit IRC23:47
*** blmartin has joined #openstack-swift23:47
*** gyee has quit IRC23:48
*** zhill has quit IRC23:49
*** jasondotstar has joined #openstack-swift23:54
*** jlhinson_ has quit IRC23:59

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