Monday, 2014-11-24

*** anna_ has joined #openstack-swift00:07
*** sungju has quit IRC00:08
*** sungju has joined #openstack-swift00:08
*** addnull has joined #openstack-swift00:55
*** yuanz has quit IRC01:12
*** NM has joined #openstack-swift01:34
*** tdasilva has quit IRC01:53
*** addnull has quit IRC01:54
*** tdasilva has joined #openstack-swift02:07
*** addnull has joined #openstack-swift02:11
*** tellesnobrega_ has joined #openstack-swift02:20
*** baojg has joined #openstack-swift02:33
*** addnull has quit IRC02:42
*** NM has quit IRC02:42
*** addnull has joined #openstack-swift02:44
*** tdasilva has quit IRC03:15
*** addnull has quit IRC03:19
*** fifieldt has joined #openstack-swift03:19
*** addnull has joined #openstack-swift03:20
*** annegentle has quit IRC03:21
*** tamizh_geek has joined #openstack-swift03:22
*** addnull has quit IRC03:25
*** baojg has quit IRC03:39
*** baojg has joined #openstack-swift03:40
*** baojg has quit IRC03:44
*** tamizh_geek has quit IRC04:02
*** addnull has joined #openstack-swift04:21
*** baojg has joined #openstack-swift04:24
*** addnull has quit IRC04:25
*** aix has quit IRC04:36
*** baojg has quit IRC04:43
*** baojg has joined #openstack-swift04:43
*** baojg has quit IRC04:44
*** baojg has joined #openstack-swift04:45
*** baojg has quit IRC04:49
*** addnull has joined #openstack-swift04:53
*** baojg has joined #openstack-swift05:23
*** addnull has quit IRC05:28
*** addnull has joined #openstack-swift05:31
*** ppai has joined #openstack-swift05:54
*** k4n0 has joined #openstack-swift06:00
*** baojg has quit IRC06:05
*** baojg has joined #openstack-swift06:06
*** baojg has quit IRC06:10
*** SkyRocknRoll has joined #openstack-swift06:19
*** baojg has joined #openstack-swift06:22
*** kopparam has joined #openstack-swift06:25
*** kopparam_ has joined #openstack-swift06:37
*** tellesnobrega_ has quit IRC06:37
*** ppai has quit IRC06:37
*** kopparam has quit IRC06:40
*** nshaikh has joined #openstack-swift06:43
*** addnull has quit IRC06:47
*** addnull has joined #openstack-swift06:48
*** ppai has joined #openstack-swift06:50
*** addnull has quit IRC06:57
*** addnull has joined #openstack-swift07:13
*** kopparam_ has quit IRC07:16
*** anna_ has quit IRC07:19
*** kopparam has joined #openstack-swift07:21
*** addnull has quit IRC07:25
*** sungju has quit IRC07:28
*** kopparam has quit IRC07:36
*** mmcardle has joined #openstack-swift07:49
*** ppai has quit IRC07:53
openstackgerritTakashi Kajinami proposed openstack/swift: Allow asynchronous update to account in container PUT/DELETE  https://review.openstack.org/8788208:02
*** baojg has quit IRC08:02
*** baojg has joined #openstack-swift08:03
*** miqui_ has quit IRC08:05
*** ppai has joined #openstack-swift08:06
openstackgerritTakashi Kajinami proposed openstack/swift: Allow asynchronous update to account in container PUT/DELETE  https://review.openstack.org/8788208:07
*** baojg has quit IRC08:08
*** kopparam has joined #openstack-swift08:17
*** addnull has joined #openstack-swift08:26
*** wer has quit IRC08:26
*** baojg has joined #openstack-swift08:27
*** addnull has quit IRC08:30
*** wer has joined #openstack-swift08:32
*** geaaru has joined #openstack-swift08:34
*** kopparam has quit IRC08:40
*** exploreshaifali has joined #openstack-swift08:43
*** kopparam has joined #openstack-swift08:44
*** jordanP has joined #openstack-swift08:47
*** ppai has quit IRC08:47
*** jistr has joined #openstack-swift08:55
*** joeljwright has joined #openstack-swift08:59
*** ppai has joined #openstack-swift09:01
*** kopparam has quit IRC09:02
*** kopparam has joined #openstack-swift09:03
*** wer has quit IRC09:17
*** tamizh_geek has joined #openstack-swift09:24
*** wer has joined #openstack-swift09:25
*** addnull has joined #openstack-swift09:27
*** tamizh_geek has quit IRC09:31
*** addnull has quit IRC09:31
*** kopparam has quit IRC09:51
*** kopparam has joined #openstack-swift09:52
*** kopparam has quit IRC09:58
*** addnull has joined #openstack-swift10:00
*** wer has quit IRC10:01
*** kopparam has joined #openstack-swift10:02
*** addnull has quit IRC10:09
*** wer has joined #openstack-swift10:10
*** aix has joined #openstack-swift10:13
*** addnull has joined #openstack-swift10:21
*** tamizh_geek has joined #openstack-swift10:32
*** ppai has quit IRC10:35
*** addnull has quit IRC10:41
*** kopparam has quit IRC10:42
*** addnull has joined #openstack-swift10:42
*** addnull has quit IRC10:42
*** kopparam has joined #openstack-swift10:43
*** addnull has joined #openstack-swift10:44
*** baojg has quit IRC10:44
*** baojg has joined #openstack-swift10:45
*** ppai has joined #openstack-swift10:49
*** baojg has quit IRC10:51
*** ppai has quit IRC10:55
*** kopparam has quit IRC10:59
*** addnull has quit IRC11:00
*** addnull_ has joined #openstack-swift11:00
*** kopparam has joined #openstack-swift11:03
*** ppai has joined #openstack-swift11:08
*** addnull_ has quit IRC11:10
*** addnull has joined #openstack-swift11:13
*** addnull has quit IRC11:15
*** kopparam has quit IRC11:16
*** kopparam has joined #openstack-swift11:16
*** jordanP has quit IRC11:19
*** kopparam has quit IRC11:20
*** kopparam has joined #openstack-swift11:25
*** NM has joined #openstack-swift11:33
*** mahatic has joined #openstack-swift11:38
*** tamizh_geek has quit IRC11:42
*** kopparam has quit IRC11:52
*** tdasilva has joined #openstack-swift11:59
*** kopparam has joined #openstack-swift12:01
*** SkyRocknRoll has quit IRC12:06
*** kopparam has quit IRC12:18
*** kopparam has joined #openstack-swift12:21
*** baojg has joined #openstack-swift12:25
*** baojg has quit IRC12:26
*** tdasilva has quit IRC12:27
*** baojg has joined #openstack-swift12:27
*** ppai has quit IRC12:27
*** kopparam has quit IRC12:29
*** baojg has quit IRC12:31
*** jordanP has joined #openstack-swift12:39
*** exploreshaifali has quit IRC12:39
openstackgerritTakashi Kajinami proposed openstack/swift: Add process name checking into swift-init  https://review.openstack.org/11620312:44
*** baojg has joined #openstack-swift12:47
*** baojg has quit IRC12:48
*** baojg_ has joined #openstack-swift12:48
*** baojg_ has quit IRC12:58
*** baojg has joined #openstack-swift12:59
*** k4n0 has quit IRC13:00
*** baojg_ has joined #openstack-swift13:01
*** baojg has quit IRC13:01
*** sandywalsh has joined #openstack-swift13:04
openstackgerritTakashi Kajinami proposed openstack/swift: Remove invalid connection checking in db_replicator  https://review.openstack.org/11621813:05
*** exploreshaifali has joined #openstack-swift13:11
*** serverascode___ has quit IRC13:24
*** zhiyan has quit IRC13:24
*** jdaggett has quit IRC13:24
*** goodes has quit IRC13:25
*** jdaggett_ has joined #openstack-swift13:26
*** nshaikh has quit IRC13:26
*** goodes has joined #openstack-swift13:26
*** zhiyan has joined #openstack-swift13:27
*** serverascode___ has joined #openstack-swift13:28
*** CaioBrentano has joined #openstack-swift13:30
*** lpabon has joined #openstack-swift13:31
*** exploreshaifali has quit IRC13:42
*** tacticus has quit IRC13:52
*** mkollaro has joined #openstack-swift14:04
*** kopparam has joined #openstack-swift14:06
*** mahatic has quit IRC14:16
*** tacticus has joined #openstack-swift14:18
*** tellesnobrega has quit IRC14:19
*** tellesnobrega has joined #openstack-swift14:19
*** tdasilva has joined #openstack-swift14:31
*** tamizh_geek has joined #openstack-swift14:38
*** mahatic has joined #openstack-swift14:40
*** cdelatte has joined #openstack-swift14:49
*** cdelatte has quit IRC14:50
*** exploreshaifali has joined #openstack-swift14:55
openstackgerritTakashi Kajinami proposed openstack/swift: Remove invalid connection checking in db_replicator  https://review.openstack.org/11621815:00
*** zaitcev has joined #openstack-swift15:11
*** ChanServ sets mode: +v zaitcev15:11
*** jordanP has quit IRC15:13
*** jordanP has joined #openstack-swift15:14
*** aix has quit IRC15:22
*** tamizh_geek has quit IRC15:24
*** tamizh_geek has joined #openstack-swift15:24
*** rdaly2 has joined #openstack-swift15:29
openstackgerritAlistair Coles proposed openstack/swift: Fix typos in overview_large_objects and versioning doc  https://review.openstack.org/13659015:35
*** NM has quit IRC15:37
openstackgerritAlistair Coles proposed openstack/swift: Fix 2 typos in admin_guide file  https://review.openstack.org/13658415:38
*** kopparam has quit IRC15:38
*** NM has joined #openstack-swift15:40
openstackgerritAlistair Coles proposed openstack/swift: Fix typo in apache_deployment doc  https://review.openstack.org/13658615:40
mahatichi, which editor/IDE is recommended/used for swift development? And also python in general.15:43
*** X019 has joined #openstack-swift15:46
tdasilvahi mahatic: I think that is a highly personal option and you will find people using the most varied tools. Having said that, I typically use vim and have been trying out sublime text15:48
tdasilvamahatic: I once came across these series of blogs posts that I found were very helpful: http://www.getoffmalawn.com/blog/choosing-a-python-ide-part-seven-vim15:48
tdasilvathe blogger reviews many IDEs15:49
mahatictdasilva, ah okay. I was thinking about sublime text. But wanted to check if there is any common one that people prefer.15:49
mahatictdasilva, cool! checking that out.15:49
*** nshaikh has joined #openstack-swift15:49
mahatictdasilva, nice info in the blog! :) thanks!15:50
tdasilvamahatic: sublime text is really nice! they have a nice plugin framework and is highly configurable.15:51
glange_I use a metronome and a pair of hot wires to program swift -- it's the only way :)15:51
mahaticoh cool. Will try it right away :)15:51
tdasilvaglange_: lol15:51
mahatichehe15:51
eikkemahatic: vim here (https://github.com/NicolasT/dotvim)15:56
mahaticeikke, cool!15:57
*** gordc has joined #openstack-swift15:59
gordcclayg: re: https://bugs.launchpad.net/ceilometer/+bug/1394453, it shouldn't affect icehouse... is that the only stream you're affected on?16:00
*** haomaiwa_ has joined #openstack-swift16:05
openstackgerritThiago da Silva proposed openstack/swift: versioned writes middleware  https://review.openstack.org/13434716:05
notmynamemahatic: FWIW I use sublime. I know others use vim or emacs16:06
mahaticnotmyname, okay cool. I will probably have my own review in a couple of days after i try them out :)16:08
tdasilvanotmyname: is a test log usually available for the swiftstack ci functional test job?16:11
notmynametdasilva: ya, should be. there's a link under the job link16:12
tdasilvanotmyname: hum..ok...there seems to be a problem. I've been getting a Not Found error16:14
notmynamethat's not good16:14
notmynametdasilva: what patch?16:14
*** cpen has quit IRC16:14
openstackgerritShilla Saebi proposed openstack/swift: corrected a number of typos and mistypes  https://review.openstack.org/13658716:14
*** tab_____ has joined #openstack-swift16:14
tdasilvanotmyname: https://review.openstack.org/#/c/134347/16:15
notmynametdasilva: ok, thanks. I'm not in the office yet (*grumble* https://twitter.com/notmyname/status/536911717154828288), but I can check on it later this morning16:16
notmynamein the meantime, I don't know if charz is still up.16:16
charznotmyname: I'm here. :)16:17
tdasilvanotmyname: no problem, thanks! bummer on the bus :/16:17
charztdasilva: I'm checking16:17
notmynamecharz: thanks!16:18
tdasilvacharz: thanks! BTW: I've seen the same in other patches: https://review.openstack.org/#/c/136590/16:18
charztdasilva: ok~16:19
*** tamizh_geek has quit IRC16:21
charztdasilva: Here is some network problem in the cluster.16:24
*** tamizh_geek has joined #openstack-swift16:25
tdasilvacharz: thanks for the heads up. Are the tests really failing and we just can't get to the log or is the failure a false msg?16:25
notmynamecharz: bad NICs? or can't access the external net?16:25
charznotmyname: no, Jeknins tried to trigger test but all nodes can not reach(internal network).16:28
charztdasilva: The test is triggered but not deploy to cluster correctly, so when the cluster back. I will ping you. you can add message "recheck" on commit. It will re-run test again.16:32
tdasilvacharz: ok, thanks! :-)16:33
notmyname2nd try on commute now...16:33
charztdasilva: np :)16:34
*** panbalag has joined #openstack-swift16:37
*** aswadr has joined #openstack-swift16:38
*** tsg_ has joined #openstack-swift16:38
*** rebelshrug has joined #openstack-swift16:39
*** kopparam has joined #openstack-swift16:39
*** baojg_ has quit IRC16:40
*** baojg has joined #openstack-swift16:41
*** NM has quit IRC16:41
*** mkollaro has quit IRC16:42
*** kopparam has quit IRC16:44
*** baojg has quit IRC16:46
*** kopparam has joined #openstack-swift16:47
*** NM has joined #openstack-swift16:55
*** kopparam has quit IRC17:17
notmynamegood morning (again)17:22
*** haomaiwa_ has quit IRC17:23
*** mmcardle has quit IRC17:36
*** NM has quit IRC17:38
*** NM has joined #openstack-swift17:39
*** brnelson has quit IRC17:39
*** samweston has joined #openstack-swift17:40
*** baojg has joined #openstack-swift17:41
samwestonHi.  I had a question about how to have swift services automatically started after reboot.  If I use chkconfig to start the service, then swift-init doesn't seem to show it.  Is there a way to have automatic startup of swift and still have swift-init show correct status?17:42
notmynamesamweston: I don't know the answer off the top of my head, but perhaps briancline or ahale could give you some practical advice from their experience17:43
*** baojg has quit IRC17:47
*** anna_ has joined #openstack-swift17:47
*** X019 has quit IRC17:50
*** nshaikh has quit IRC17:57
*** tsg_ has quit IRC17:57
ahalei'd expect if the init script uses the same pid location as swift-init for it to just work- its not a problem we have seen since our inits just call swift-init anyway18:02
clayggordc: not sure i guess, i thoought I came to that bug through https://bugs.launchpad.net/taskflow/+bug/1394647 - but I don't see how - i may have made a mistake - sorry18:02
clayggordc: hrrm... i guess I started here -> https://bugs.launchpad.net/tempest/+bug/139477418:04
claygi've just had really bad luck with one of client patches, i may just be unusually grumpy :\18:04
notmynameI think it's really funny when any swift dev in here says they are grumpy today. as if we aren't always grumpy when it comes to swift code...18:05
notmyname;-)18:06
*** tsg_ has joined #openstack-swift18:07
claygdfg: redbo: I'm getting sort of done with all the go tutorials i can find - you guys either need to put up hummingbird or I'm going to have to find a small go project to hack on over the holiday (maybe, idk, a swift object server implementation sans all the crazy hashes pickle stuff)18:07
*** exploreshaifali has quit IRC18:09
claygzaitcev: you remeber that one patch a long time ago where we tried to always clean up back end connections when we drop them?  I guess it was mainly for PUT...18:14
claygzaitcev: I was acctually thinking about https://review.openstack.org/#/c/117710/ - and I was wondering if it's being tidy with all these extra backend connections...18:15
*** jordanP has quit IRC18:18
*** tamizh_geek has quit IRC18:19
*** shri has joined #openstack-swift18:23
claygacoles_away: jesus man, this is the first time I saw 135380, dunno how I missed it - you should have pointed me at it earlier :P18:26
*** viscious is now known as vishy18:29
*** geaaru has quit IRC18:29
*** NM has quit IRC18:30
*** exploreshaifali has joined #openstack-swift18:35
*** abhirc has joined #openstack-swift18:35
*** NM has joined #openstack-swift18:35
*** aix has joined #openstack-swift18:39
*** tgohad has joined #openstack-swift18:40
*** tsg_ has quit IRC18:40
*** erlon has joined #openstack-swift18:42
*** tdasilva has quit IRC18:44
*** NM has quit IRC18:44
*** NM has joined #openstack-swift18:45
*** tgohad has quit IRC18:53
*** NM has quit IRC18:53
*** tsg_ has joined #openstack-swift18:53
*** NM has joined #openstack-swift18:56
*** flwang has quit IRC18:58
*** tdasilva has joined #openstack-swift18:59
*** anna_ has quit IRC19:01
gordcclayg: no worries. just asking... there does seem to be an issue with icehouse stream though (for some reason it looks like the gate is pulling in master ceilometer for icehouse tests)19:02
gordcclayg: i should've also prefaced my comment in patch with /sarcasm.19:03
*** NM has quit IRC19:04
*** flwang has joined #openstack-swift19:11
*** NM has joined #openstack-swift19:12
*** mmcardle has joined #openstack-swift19:14
*** gyee_ has joined #openstack-swift19:15
*** bsdkurt has quit IRC19:22
*** tdasilva has quit IRC19:27
*** baojg has joined #openstack-swift19:30
*** jistr has quit IRC19:31
eikkeswifterdarrell: anything I can do to move the splice/tee thing forward? :)19:32
*** mmcardle has quit IRC19:32
*** baojg has quit IRC19:35
*** tdasilva has joined #openstack-swift19:43
*** joseff has joined #openstack-swift19:49
joseffhey all19:49
joseffis it possible to have swiftly execute a file on put success of a single file?19:50
joseffBetter Q: is it possible to have swiftly do a second post request to a local server upon a put success.19:51
notmynamesome FAQ for python-swiftclient vs openstack-sdk https://etherpad.openstack.org/p/kilo-swift-swiftclient19:56
joseffthanks19:56
notmynameplease look and update and see if there are other questions that need exploring19:58
notmynamejoseff: not idea to your question. the swiftly dev doesn't hang out in here any longer, so I'd say you'd need to either look at the code or open an issue on that project19:59
tdasilvanotmyname: looking at container quota I found this un-expected behavior: https://gist.github.com/thiagol11/f1c0db1a59023ad6357820:02
*** bsdkurt has joined #openstack-swift20:03
*** lpabon has quit IRC20:03
tdasilvanotmyname: do you think this due to swift's eventually consisted behavior? I didn't expect it to behave this way since this is just a SAIO VM where everything is running just fine...20:04
notmynameeikke: torgomatic is back, so I hope he can also take a look at https://review.openstack.org/#/c/135319/, but he's got an interview taking up some time this afternoon20:04
notmynametdasilva: ya, it's expected. or not unusual at least. maybe there's a bug not clearing the container info cache soon enough.20:06
*** bsdkurt has quit IRC20:06
tdasilvanotmyname: ok, it eventually catches up, but in my testing only after I do a GET request20:07
notmynametdasilva: see http://docs.openstack.org/developer/swift/api/container_quotas.html20:09
tdasilvahaha...had looked at that page to figure out the header but did not read the "fine-print"20:10
tdasilvathanks20:10
torgomaticeikke: I took a brief look; it seems fine to me, but I haven't really dug in20:10
tdasilvabtw: I believe I found a bug in container quota where it is not checking 'Destination-Account' header in the case of a COPY, so it is a way to bypass the container quota all together20:11
tdasilvanotmyname: ^^^20:11
*** gyee_ has quit IRC20:12
*** bsdkurt has joined #openstack-swift20:13
*** rdaly2 has quit IRC20:17
eikkenotmyname, torgomatic: thanks!20:18
eikkehas there been any work before to 'splice' data in the proxy from a connection to an object server towards the proxy client?20:25
*** gyee_ has joined #openstack-swift20:25
claygtdasilva: probably part of what's going on is the object-updates are just getting added to the wal (.pending) for the container until some sort of read request (normally the container existence check after the 30 second timeout on the cache entry)20:29
claygtdasilva: but maybe there's something else with caching that's causing it to take two (60 seconds) - shouldn't go on like that forever, and as you noted a HEAD or GET should shut it down.20:29
claygtdasilva: replication pass maybe too...20:30
tdasilvaclayg: ok, I will check on that again to see how long I can keep going until the cache catches up, but honestly i'm more concerned about the 'Destination-Account' issue, seem like a bigger bug20:35
claygtdasilva: meh, no one even knows about cross-account COPY :P20:37
tdasilvaclayg: haha...that is true20:37
zaitcevclayg: I'll have a look at https://review.openstack.org/11771020:40
*** NM has quit IRC20:47
claygzaitcev: oh that be great - but do you by chance have any idea of the patch I was referring to where we talk about cleaning up connections and PUT?  There was another patch somewhere like linked to a gist that showed how to present the hung sockets with netstat...20:49
*** flwang has quit IRC20:49
*** exploreshaifali has quit IRC20:50
zaitcevclayg: I think I remember something like that, but wasn't it torgomatic's thing?20:50
claygzaitcev: probably20:53
torgomaticeikke: I've thought about it, but it makes middleware trickier (like, lots trickier)21:03
torgomaticI have a patch for obj-server PUT that introduces an abstraction that (IMHO) would make it easier, but all the EC work has sort of stomped all over that code, so it's very much bitrotted.21:03
*** aswadr has quit IRC21:10
*** nomad411 has joined #openstack-swift21:12
*** tamizh_geek has joined #openstack-swift21:20
eikketorgomatic: I see21:20
joseffhey guys I got a quick questions21:21
eikketorgomatic: I implemented a PoC for 0copy support in our diskfile implelmentation today, would love that in the put path as well, but currently diskfile & objserver don't really support it, and it seems non-trivial to hack in21:21
eikkemight give it a shot though21:21
joseffis the Swiftly client simply a wrapper for the openstack API?21:21
*** nomad411 has quit IRC21:21
notmynamejoseff: no. swfitly is a 3rd party CLI that uses swift's rest API.21:22
notmynamejeblair: well, so maybe the answer is "yes"21:22
notmynamejoseff: ^21:22
notmynamejeblair: tab complete fail21:22
joseffis there a doc for the swift api?21:23
*** tamizh_geek has quit IRC21:24
notmynamejoseff: swift's API is over http. swiftly uses that, as does python-swiftclient. but swiftly doesn't use python-swiftclient21:25
notmynamejeblair: ya. let me get the links21:25
joseffone sec.. on phone...21:27
torgomaticeikke: https://review.openstack.org/#/c/104705/21:27
torgomatic"nontrivial" is a good description :)21:27
* torgomatic vanishes in a puff of meeting21:27
notmynamejoseff: http://developer.openstack.org/api-ref-objectstorage-v1.html is a good starting point. http://docs.openstack.org/developer/swift/ has some info (see the bottom). http://docs.openstack.org is kinda the central point for almost all of the openstack docs21:28
*** tsg_ has quit IRC21:29
*** erlon has quit IRC21:29
eikketorgomatic: yeah, it's tricky to shoehorn into code (or libs) which use sockets using the more regular interface, especially when buffering21:33
*** tsg has joined #openstack-swift21:33
torgomaticeikke: hence the giant (steaming) pile of socket hackery :)21:34
eikkethinking of it, this might impact my work of today as well (didnt actually try/test it yet :P)21:34
*** tsg_ has joined #openstack-swift21:36
*** rdaly2 has joined #openstack-swift21:37
joseff notmyname: I want to build a plugin for fatfreeframework (php) for swift and then for s321:38
joseffit would be perfect fi I can get docs on how to tap into a restful api21:38
joseffI'm just learning openstack due to rackspace migration21:39
joseff(1TB)21:39
*** tsg has quit IRC21:39
joseffso I'm becoming quite proficient all of a sudden lol21:39
joseffcool I was just on docs openstack reading the api -- look like its restful  -- right?21:40
*** rdaly2 has quit IRC21:41
notmynamecool21:42
notmynamejoseff: ya, swift's api is restful. standard http verbs and response codes21:42
notmynamejoseff: do you have a swift cluster you can play with to test your code against?21:43
openstackgerritThiago da Silva proposed openstack/swift: Fix container quota check during cross-account COPY  https://review.openstack.org/13690421:50
notmynametdasilva: yay21:52
tdasilvanotmyname: :-)21:52
joseffrackspace files21:53
josefffilecloud or cloudfile..21:54
joseffi 4get21:54
notmynamecloud files21:54
claygzaitcev: thi is the one i was thinking of -> https://review.openstack.org/#/c/77812/21:56
*** rdaly2 has joined #openstack-swift21:56
claygtdasilva: what's your current feeling on https://review.openstack.org/#/c/134347/4 - thinking of maybe trying to build on it?21:56
zaitcevhuh, I didn't even like something in it22:01
notmynametdasilva: what about PUT with X-Copy-From and quotas?22:02
claygzaitcev: it wasn't that well fleshed out, i just remembered that it had something to do with closing connections22:02
*** mahatic has quit IRC22:17
*** joseff has quit IRC22:28
*** tsg_ has quit IRC22:42
notmynametdasilva: still around?22:48
tdasilvaclayg: hi, re versioned writes, today I submitted a new patchset. I think the middleware is looking good, just need to keep working on the unit tests right now22:52
tdasilvaclayg: the functional tests I did not modify, but they run fine22:53
notmynametdasilva: ah. you are. I added a comment with a gist to a diff in gerrit22:53
tdasilvanotmyname: sorry, was talking to portante22:53
tdasilvaclayg: I think more unit tests and functional tests would be good to add, so that's my plan. But the code itself, I believe is mostly there22:54
claygtdasilva: I got a couple of extra skips when I ran the functests - but I must have just not added the middleware to my pipeline22:54
*** shakamunyi_ has joined #openstack-swift22:54
tdasilvaclayg: yes, the skips for the unit tests are still there. That will be eventually all removed22:55
claygtdasilva: someting didn't look right about the precedence on the cross policy version test - but I'm not sure I exercised it cause my saio just happened to have one policy atm22:55
claygtdasilva: i'm acctually looking at what it would take to get the real socket server unittests unskipped right now22:55
tdasilvaclayg: interesting..will look into that again! thanks for the heads up22:55
tdasilvawell...the real socket server unittests are pointing directly to the proxy app and not the middleware, right? like, it expects the versionining code to be in the PUT method of the obj controller22:57
*** baojg has joined #openstack-swift23:04
*** shakamunyi_ has quit IRC23:04
tdasilvaclayg: it is not clear to me how to add the new middleware to the proxy server pipeline in the test/unit/proxy/test_server.py. It's really not done for any other middleware besides the ProxyLogging23:07
tdasilvaclayg: all other middlewares are tested separately, that's why I followed that same pattern and had planned on removing the versioning tests from test_server.py and moving them to unit/common/middleware/test_versioned_writes23:08
tdasilvanotmyname: PUT and x-copy-from is the inverse, so that the account where the object is going is already part of the PUT request23:09
*** baojg has quit IRC23:10
notmynametdasilva: ya, I swapped the values in my test23:10
tdasilvaso that's what you want to check for quota and not the x-copy-from-account, make sense? always the target23:10
notmynameat least I meant to do that23:10
tdasilvaok23:10
notmynameplease double check ;-)23:10
tdasilvanotmyname: not sure I follow23:11
*** kopparam has joined #openstack-swift23:13
notmynametdasilva: my diff has the values swapped so that it should still trigger the bug, if it's there. but I always appreciate another set of eyes to check that I didn't fat-finger something23:15
*** kopparam has quit IRC23:19
*** tab_____ has quit IRC23:19
notmynametdasilva: hmm...maybe there's something else there23:20
tdasilvanotmyname: sorry, just saw your diff now...so...if you swap the values in my test, I mean the quota-count, you will see the bug get triggered23:21
notmynametdasilva: actually no. because the PUT was already handled properly.23:22
tdasilvanotmyname: your test is really not different from other existing tests, because you are just testing the PUT path, which was fine already23:22
notmynametdasilva: I'm still looking...23:22
*** ahonda has joined #openstack-swift23:38
*** ahonda has left #openstack-swift23:38
*** flwang has joined #openstack-swift23:39
*** bill_az has joined #openstack-swift23:42
notmynameFYI tomorrow morning during my normal scheduled time with ttx I'm going to mention swift's plan to focus more on openstack-sdk23:45
*** oomichi has joined #openstack-swift23:48
tdasilvanotmyname: is that part of that swift client re-write you guys were discussing at the summit?23:54
notmynameya. new stuff in openstack-sdk. cli dev work still in python-swiftclient23:55
*** rdaly2 has quit IRC23:56
*** rdaly2 has joined #openstack-swift23:56
*** rdaly2 has quit IRC23:57

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