Wednesday, 2014-03-12

notmynamefor one brief moment, the gate queue was over 80% pass rate.00:07
*** miurahr has joined #openstack-swift00:07
*** miurahr has quit IRC00:08
torgomaticnotmyname: how many nines is that again?00:11
notmynameas many as you want, as long as we count from the right ;-)00:12
torgomaticlol00:12
openstackgerritAlex Pecoraro proposed a change to openstack/swift: Allow hostname for nodes in Ring  https://review.openstack.org/7454200:16
*** matsuhashi has joined #openstack-swift00:26
*** mkollaro has quit IRC00:27
*** mhu has quit IRC00:49
*** 14WAB9C90 has quit IRC00:49
*** Anju has quit IRC00:57
*** StevenK has quit IRC00:57
*** Anticime1 has quit IRC00:57
*** pconstantine has quit IRC00:57
*** zigo has quit IRC00:58
*** otoolee has quit IRC00:58
*** rturk-away has quit IRC00:58
*** mhu has joined #openstack-swift00:58
*** acoles- has joined #openstack-swift00:58
gholtCORS has been a pain since the first day notmyname campaigned to allow their headers be set on objects. ;P I don't really blame him, but it's fun to poke. CORS is _____.00:58
notmynameya, that was a bad idea. why'd you let me do that?00:58
notmynamebut cloud files is probably the only deployment that has the historic artifact ;-)00:58
gholtYeah, if we're okay with fielding the complaints (if any)... should be okay, right? ;)00:58
gholtFirst rule of CORS: Do not implement it until you fully understand it. Second rule of CORS: No one ever fully understands it.00:58
*** akscram has quit IRC00:58
*** creiht has quit IRC00:58
notmynameheh00:58
*** Anju1 has joined #openstack-swift00:58
notmynamethird rule: once you understand it, the draft spec is updated00:58
*** pconstantine_ has joined #openstack-swift00:58
gholtHaha00:58
*** otoolee_ has joined #openstack-swift00:58
*** creiht has joined #openstack-swift00:58
*** ChanServ sets mode: +v creiht00:58
*** otoolee_ is now known as otoolee00:58
*** sileht has quit IRC00:59
*** openstack has joined #openstack-swift01:05
*** jokke_ has joined #openstack-swift01:05
*** swills has joined #openstack-swift01:06
*** swills has joined #openstack-swift01:06
*** mkerrin has joined #openstack-swift01:19
pelusetorgomatic:  I'm at a loss with ssync and the 409 patch, dvsm failures that don't make any sense and I can't find any related issues.  Each has rechecked at least 3 times.  Any suggestions?  Looks like we're due for a rebase against master - I'd piss on a spark plug if I thought it'd do any good :)01:19
*** zigo has quit IRC01:27
*** Edward-Zhang has joined #openstack-swift01:29
*** zigo has joined #openstack-swift01:33
*** nosnos has joined #openstack-swift01:39
*** keving1 has quit IRC01:46
*** kun_huang has joined #openstack-swift01:50
*** matsuhashi has quit IRC01:58
openstackgerritClay Gerrard proposed a change to openstack/swift: Make cors work better.  https://review.openstack.org/6941901:58
*** changbl has joined #openstack-swift02:02
claygdfg: so I mainly just updated the commit message for the next poor sap that has to load that in his head, and added a little helper into the test-cors-page to demonstrate the failure mode02:06
claygit's so unfair that CORS has a thing called "simple cross-site requests" <- what a joke02:06
claygdfg: I could use your sanity check on a precieved typo in the commit message about object over-rides?02:07
claygdfg: your commit said "only be applied to objects without the 'Access-Control-Allow-Origin' and 'Access-Control-Allow-Methods' headers"02:08
claygdfg: but the code seemed to say "'Access-Control-Allow-Origin' and 'Access-Control-Expose-Headers' headers" - so i "fixed" the commit message.02:09
claygdfg: best I can tell we have zero support for Access-Control-Allow-Methods?  Cirtainly not in OPTIONS requests anyway...02:10
*** judd7_ has joined #openstack-swift02:10
clayger... i should say support for *custom* Allow-Methods02:11
*** judd7 has quit IRC02:11
openstackgerritA change was merged to openstack/python-swiftclient: TCP port is appended two time in ClientException  https://review.openstack.org/7876102:13
openstackgerritA change was merged to openstack/swift: Add missing swift constraint for functional tests  https://review.openstack.org/7852202:14
*** keving1 has joined #openstack-swift02:16
*** matsuhashi has joined #openstack-swift02:17
*** zigo has quit IRC02:19
*** zigo has joined #openstack-swift02:23
*** keving1 has quit IRC02:25
claygdfg: yeah i just updated my object-server/?.conf's to allow me to storage a raw "Access-Control-Allow-Methods" header on my objects, and although it is being returned in the response it doesn't effect the OPTIONS request (as you stated) and it doesn't seem to make a different to the browser...02:25
claygdfg: I think Access-Control-Allow-Methods is really only an OPTIONS response thing, althought it doesn't seem like it would be that terrible to add it to cors_info on the container - object level over-rides might be a different story.02:26
*** kun_huang has quit IRC02:50
*** kun_huang has joined #openstack-swift02:51
*** haomaiwang has quit IRC02:51
*** haomaiwa_ has joined #openstack-swift02:51
*** gyee has quit IRC02:54
*** swills has quit IRC02:56
*** swills has joined #openstack-swift02:56
*** swills has joined #openstack-swift02:56
*** akscram has joined #openstack-swift02:57
*** mlipchuk has joined #openstack-swift03:03
*** haomaiwa_ has quit IRC03:05
*** mlipchuk has quit IRC03:17
*** haomaiwang has joined #openstack-swift03:20
*** keving1 has joined #openstack-swift03:21
*** matsuhashi has quit IRC03:23
*** keving1 has quit IRC03:29
*** haomaiwang has quit IRC03:36
*** haomaiwang has joined #openstack-swift03:37
*** madhuri has quit IRC03:37
*** Slidey has quit IRC03:38
*** madhuri has joined #openstack-swift03:38
*** haomaiw__ has joined #openstack-swift03:40
*** judd7 has joined #openstack-swift03:41
*** judd7_ has quit IRC03:42
*** haomaiwang has quit IRC03:43
*** fifieldt has joined #openstack-swift03:51
*** sileht has quit IRC03:56
*** sileht has joined #openstack-swift03:58
*** Edward-Zhang has quit IRC04:02
gholtSometimes I see 'TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType' from bare 'raise' where it caught an exception and was looking to re-raise it.04:15
gholtNot always in the same spot, not always with the same corresponding other lines for the transaction.04:16
gholtIt's weird, I don't remember seeing those before, but maybe I'm just not remembering well.04:16
gholtMaybe some kind of weird Eventlet thing going on clobbering the excinfo?04:16
*** Edward-Zhang has joined #openstack-swift04:23
*** matsuhashi has joined #openstack-swift04:25
*** keving2 has joined #openstack-swift04:26
*** keving2 has quit IRC04:30
madhurigholt: Can you please review this https://review.openstack.org/#/c/78530/ ?04:33
*** sungju has joined #openstack-swift04:35
gholtmadhuri: What's that for? Can you provide some context for why you need that change? In other places in Swift, an empty header value means to remove that header if it exists.04:41
*** nshaikh has joined #openstack-swift04:42
madhurigholt: Yes, my understanding is same. If we set any header to empty, it must be removed from header.04:43
madhurigholt: But it is not so in case of object metadata.04:43
madhurigholt: If we set object's metadata to empty, it is still there is header with empty value.04:44
gholtSo you added a test to verify the incorrect behavior? Why not fix the bug and add a test to verify the correct behavior?04:44
madhurigholt: I asked for it in IRC but didn't get answer appropiate answer for it.04:45
madhurigholt: I thought it is an expected behaviour.04:46
madhurigholt: Is it going wrong?04:46
*** sungju has quit IRC04:50
gholtI don't know; hadn't really thought about it. My first guess is that sending an empty header at the object level should do what it does at the container level, which is remove the header. But considering the two header sets act differently in other ways, maybe somebody needs it that way. I just don't know.04:50
*** sungju has joined #openstack-swift04:55
gholtWell, I could be convinced either way. Maybe somebody will come up with a good reason why it should be one way over the other. Otherwise your test verifying the existing behavior in case somebody wants to change it seems fine.04:55
*** sungju has quit IRC04:55
madhurigholt: Thank you!! Whom should I ask this?04:59
madhurigholt: Is it a bug?04:59
*** ppai has joined #openstack-swift05:00
gholtDon't know, it doesn't bother me either way it behaves, so we'll see if somebody else chimes in on the review.05:00
anticwzaitcev: on the RH bugzilla?05:00
gholtmadhuri: Posted to your review. And since it's midnight here and I have to interview someone in the morning, I really should get to bed. ;)05:02
madhurigholt: Thanks in tonne :)05:02
*** zaitcev has quit IRC05:07
openstackgerritClay Gerrard proposed a change to openstack/swift: make probetests work with conf.d configs  https://review.openstack.org/7875305:11
openstackgerritA change was merged to openstack/swift: Functional tests for TempURL and SLO together  https://review.openstack.org/7906105:25
*** keving1 has joined #openstack-swift05:26
*** keving1 has quit IRC05:35
openstackgerritClay Gerrard proposed a change to openstack/swift: DRY out common.constraints a bit more  https://review.openstack.org/7977205:46
*** psharma has joined #openstack-swift05:50
openstackgerritClay Gerrard proposed a change to openstack/swift: DRY out common.constraints a bit more  https://review.openstack.org/7977206:02
*** keving1 has joined #openstack-swift06:31
*** keving1 has quit IRC06:40
*** PradeepChandani has joined #openstack-swift06:51
*** saju_m has joined #openstack-swift06:52
*** keving1 has joined #openstack-swift07:36
*** keving1 has quit IRC07:45
openstackgerritClay Gerrard proposed a change to openstack/swift: Add containeralias middleware  https://review.openstack.org/6249407:48
*** jamieh has joined #openstack-swift08:16
*** jamieh is now known as Guest810608:16
*** matsuhashi has quit IRC08:21
*** bada_ has joined #openstack-swift08:26
*** bada has quit IRC08:30
*** kun_huang has quit IRC08:40
*** saju_m has quit IRC08:41
*** keving1 has joined #openstack-swift08:41
*** foexle has joined #openstack-swift08:42
*** ekarlso has quit IRC08:47
*** ekarlso has joined #openstack-swift08:47
*** keving1 has quit IRC08:50
*** mlipchuk has joined #openstack-swift08:51
*** nacim has joined #openstack-swift09:00
*** Edward-Zhang has quit IRC09:03
*** saju_m has joined #openstack-swift09:09
*** mmcardle has joined #openstack-swift09:23
*** pconstantine_ has quit IRC09:26
*** Dharmit has quit IRC09:33
*** keving1 has joined #openstack-swift09:46
*** keving1 has quit IRC09:55
*** Trixboxer has joined #openstack-swift10:00
*** mmcardle has quit IRC10:07
*** SkyRocknRoll__ has joined #openstack-swift10:08
*** mmcardle has joined #openstack-swift10:09
*** kun_huang has joined #openstack-swift10:36
*** saju_m has quit IRC10:49
*** keving1 has joined #openstack-swift10:51
*** miurahr has joined #openstack-swift10:57
*** bada_ has quit IRC10:58
*** keving1 has quit IRC11:00
*** Midnightmyth has joined #openstack-swift11:02
*** lpabon has joined #openstack-swift11:02
*** miurahr has quit IRC11:02
*** tdasilva has joined #openstack-swift11:06
*** miurahr has joined #openstack-swift11:07
*** Midnightmyth has quit IRC11:11
*** pconstantine_ has joined #openstack-swift11:12
*** judd7 has quit IRC11:13
*** pconstantine_ is now known as pconstantine11:15
*** mkollaro has joined #openstack-swift11:17
*** miurahr has quit IRC11:21
*** bada has joined #openstack-swift11:25
*** ChanServ changes topic to "test/gate jobs are queuing now in preparation for gerrit maintenance at 12:00 utc (eta to resume is 12:30 utc)"11:28
*** bada has quit IRC11:30
*** ppai has quit IRC11:38
*** miurahr has joined #openstack-swift11:40
*** fifieldt has quit IRC11:42
*** mkerrin has quit IRC11:53
*** ppai has joined #openstack-swift11:55
*** keving1 has joined #openstack-swift11:56
*** mkerrin has joined #openstack-swift12:01
*** keving1 has quit IRC12:04
*** ChanServ changes topic to "gerrit on review.openstack.org is down for maintenance (eta to resume is 12:30 utc)"12:07
*** Midnightmyth has joined #openstack-swift12:09
*** gdrudy_ has joined #openstack-swift12:13
*** gdrudy_ has quit IRC12:14
*** SkyRocknRoll__ has quit IRC12:17
*** foexle has quit IRC12:21
*** psharma has quit IRC12:21
*** ChanServ changes topic to "gerrit on review.openstack.org is down for maintenance (revised eta to resume is 13:00 utc)"12:24
*** gvernik has joined #openstack-swift12:24
*** mmcardle has quit IRC12:24
*** foexle has joined #openstack-swift12:25
*** ppai has quit IRC12:25
*** mmcardle has joined #openstack-swift12:26
*** mmcardle has quit IRC12:37
*** mmcardle has joined #openstack-swift12:37
*** saju_m has joined #openstack-swift12:37
*** ppai has joined #openstack-swift12:38
*** jasondotstar has joined #openstack-swift12:40
*** mkollaro has quit IRC12:41
*** mkollaro1 has joined #openstack-swift12:41
*** mmcardle has quit IRC12:41
*** mkollaro has joined #openstack-swift12:42
*** mkollaro1 has quit IRC12:45
*** gvernik has quit IRC12:49
*** tdasilva has left #openstack-swift12:50
*** openstackgerrit has quit IRC12:54
*** openstackgerrit has joined #openstack-swift12:54
*** changbl has quit IRC12:57
*** kun_huang has quit IRC12:58
*** keving1 has joined #openstack-swift13:01
*** openstackgerrit has quit IRC13:08
*** openstackgerrit has joined #openstack-swift13:08
*** keving1 has quit IRC13:10
*** pconstantine has quit IRC13:12
*** pconstantine has joined #openstack-swift13:12
*** mkollaro1 has joined #openstack-swift13:18
*** mkollaro has quit IRC13:18
*** pandemicsyn2 is now known as pandemicsyn13:25
*** mmcardle has joined #openstack-swift13:31
*** nacim has quit IRC13:35
*** nacim has joined #openstack-swift13:40
*** nosnos has quit IRC13:43
*** matsuhashi has joined #openstack-swift13:50
*** byeager has joined #openstack-swift13:54
*** matsuhashi has quit IRC13:56
*** matsuhashi has joined #openstack-swift14:00
*** openstack has joined #openstack-swift14:04
*** ppai has quit IRC14:04
*** keving1 has joined #openstack-swift14:07
*** dmsimard has joined #openstack-swift14:13
*** keving1 has quit IRC14:15
*** jasondotstar has quit IRC14:16
*** tdasilva has joined #openstack-swift14:19
*** kun_huang has joined #openstack-swift14:21
*** chandan_kumar has quit IRC14:22
*** matsuhashi has quit IRC14:23
*** chandan_kumar has joined #openstack-swift14:25
*** Guest8106 has quit IRC14:27
*** jamieh has joined #openstack-swift14:28
*** jamieh is now known as Guest2411614:28
*** tongli has joined #openstack-swift14:28
*** Guest24116 is now known as jamiehannaford14:30
*** matsuhashi has joined #openstack-swift14:30
*** piyush has joined #openstack-swift14:38
*** zaitcev has joined #openstack-swift14:40
*** ChanServ sets mode: +v zaitcev14:40
*** chandankumar_ has joined #openstack-swift14:40
*** chandankumar_ has quit IRC14:40
*** ChanServ changes topic to "Current Swift Release: 1.13.0 | Priority Reviews: https://wiki.openstack.org/wiki/Swift/PriorityReviews | Channel Logs: http://eavesdrop.openstack.org/irclogs/%23openstack-swift/"14:42
*** zaitcev has quit IRC14:53
*** zaitcev has joined #openstack-swift14:53
*** ChanServ sets mode: +v zaitcev14:53
*** changbl has joined #openstack-swift15:00
*** nshaikh has quit IRC15:03
*** saju_m has quit IRC15:03
*** saju_m has joined #openstack-swift15:04
*** changbl has quit IRC15:11
*** keving1 has joined #openstack-swift15:12
*** Dharmit has joined #openstack-swift15:12
*** changbl has joined #openstack-swift15:14
*** matsuhashi has quit IRC15:18
*** keving1 has quit IRC15:19
*** pconstantine has quit IRC15:21
notmynamegood morning15:26
lpabongood afternoon :-)15:26
*** chandan_kumar has quit IRC15:26
*** Midnightmyth has quit IRC15:27
*** chandan_kumar has joined #openstack-swift15:28
otooleecreiht: I've uploaded a new patch with the change that you requested, could you have a look and see if it works for you?  Thanks.  https://review.openstack.org/#/c/75881/215:29
*** gyee has joined #openstack-swift15:31
tongli@notmyname, John, do you know what authorization means a swift production setup use?15:32
notmyname?15:32
tongli@notmyname, most of them use customized authorization method? tempauth won't work well, I would think.15:33
tongli@notmyname, the question I have is what is the typical authorization method for Swift.15:35
notmynameah. various things. some actually do use tempauth. others use swauth. a few use keystone. I know that many customers at swiftstack use either our beefed-up version of tempauth or our LDAP15:37
*** PradeepChandani has quit IRC15:39
*** saju_m has quit IRC15:40
*** PradeepChandani has joined #openstack-swift15:40
tongli@notmyname, ok, keystone only does authentication.15:41
tongliI do not think it does authorization though.15:41
*** xga has joined #openstack-swift15:53
notmynamewell, technically keystone is only an adaptor layer meant to abstract whatever identity service you have. so it's not really doing much at all15:54
*** gyee has quit IRC15:59
*** Dharmit has quit IRC16:09
*** foexle has quit IRC16:10
*** Dharmit has joined #openstack-swift16:10
*** xga has quit IRC16:11
*** keving1 has joined #openstack-swift16:17
notmynamereminder that we have the swift team meeting today at 1900UTC. that's in a little less than 3 hours16:17
hugokuoI do "really" want to join it16:18
*** piyush has quit IRC16:20
notmynamepeluse: mlanner found the NIC issue in the canyon run boxes. turns out you're using really new Intel NICs that need a new kernel (or backports) :-)16:22
pelusenotmyname:  cool16:24
pelusedid you expect non-Intel NICSs?  :)16:24
notmynameno, but maybe NICs that would work on a current unbuntu LTS ;-)16:25
*** keving1 has quit IRC16:25
*** byeager has quit IRC16:26
*** byeager has joined #openstack-swift16:26
peluseyeah, well, HW guys - what can you do :)16:27
notmynameheh16:27
* peluse is not referring to himself of course16:27
*** byeager has quit IRC16:31
*** piyush has joined #openstack-swift16:34
*** nacim has quit IRC16:36
*** nacim has joined #openstack-swift16:36
*** piyush1 has joined #openstack-swift16:37
*** piyush has quit IRC16:37
*** wimplo has joined #openstack-swift16:40
openstackgerritAlistair Coles proposed a change to openstack/swift: Enable object system metadata on PUTs  https://review.openstack.org/7999116:40
*** wimplo has quit IRC16:41
*** jamiehannaford has quit IRC16:47
*** gyee has joined #openstack-swift16:49
*** nacim has quit IRC16:50
*** Dharmit has quit IRC16:53
*** ccarrizo has joined #openstack-swift16:54
*** mkollaro1 has quit IRC16:59
*** jasondotstar has joined #openstack-swift17:09
*** Dharmit has joined #openstack-swift17:10
*** Dharmit has quit IRC17:15
*** saju_m has joined #openstack-swift17:16
*** seandrummond has joined #openstack-swift17:17
*** jamieh has joined #openstack-swift17:21
*** jamieh is now known as Guest3561317:21
*** keving1 has joined #openstack-swift17:22
*** Guest35613 has quit IRC17:23
*** keving2 has joined #openstack-swift17:29
*** keving1 has quit IRC17:29
*** Midnightmyth has joined #openstack-swift17:34
*** piyush has joined #openstack-swift17:37
*** openstackstatus has quit IRC17:38
*** piyush1 has quit IRC17:38
*** openstackstatus has joined #openstack-swift17:39
*** mjseger has quit IRC17:45
creihtotoolee: ok, I've been a bit busy trying to get some code done myself17:48
creihtbut I'll try to look at it soon17:48
creihtthanks17:48
*** Fin1te has joined #openstack-swift17:51
*** gvernik has joined #openstack-swift18:00
seandrummondhey guys with swift v1.11.0+ the object expirer should no longer be comparing X-If-Delete-At and X-Delete-At in order to delete an object at the  X-Delete-At header right?18:01
*** csd has joined #openstack-swift18:04
*** tdasilva has quit IRC18:06
*** mmcardle has quit IRC18:07
*** mmcardle has joined #openstack-swift18:07
*** Midnightmyth has quit IRC18:07
*** tdasilva has joined #openstack-swift18:11
*** mmcardle has quit IRC18:11
*** Fin1te has quit IRC18:22
notmynameso I'm installing swift from Red Hat's RDO. interesting experience, since I'm consuming someone else's interpretation of what we are building18:27
*** saju_m has quit IRC18:30
notmynamereminder: swift team meeting in #openstack-meeting in 30 minutes18:31
*** mkollaro has joined #openstack-swift18:32
*** gdrudy_ has joined #openstack-swift18:37
*** jasondotstar has quit IRC18:40
notmynametorgomatic: creiht: https://twitter.com/cleverdevil/status/44381786910138777618:45
claygdid i miss the meeting?18:48
torgomaticclayg: nope, it's at 12 PDT18:49
torgomaticyou still have 11 minutes to figure out how to miss it :)18:50
notmynamelooks like a fairly short agenda so far https://wiki.openstack.org/wiki/Meetings/Swift18:50
*** mlipchuk has quit IRC18:51
claygtorgomatic: did you have any luck fixing up the reconciler?18:53
*** gdrudy_ has quit IRC18:53
torgomaticclayg: sort of... I'm poking at tests for the replication side18:54
torgomaticcould be better, could be worse18:55
pelusetorgomatic/notmyname:  you guys see my notes?  should I go ahead and do an EC master rebase and post somewhere for one of you to push?  I'm out of ideas18:55
*** tdasilva has quit IRC18:56
torgomaticpeluse: I think it's just the usual Jenkins flakiness. I've seen CHANGELOG updates take a half-dozen tries to make it through the check jobs, and those certainly aren't introducing any new bugs18:56
pelusetorgomatic:  OK, I'll give them another whirl.  Just feel like I'm abusing the system with recheck no bug over and over18:57
pelusebut we still are due for a rebase18:57
notmynamepeluse: yes to all of that :-)18:58
pelusecool, I'll get on it after the noon meeting.  thanks guys18:58
*** Midnightmyth has joined #openstack-swift18:59
notmynameswift team meeting time in #openstack-meeting19:00
*** tdasilva has joined #openstack-swift19:01
openstackgerritClay Gerrard proposed a change to openstack/swift: make probetests work with conf.d configs  https://review.openstack.org/7875319:04
*** tongli has quit IRC19:14
acoles-notmyname: still around?19:51
notmynameacoles-: yup19:51
notmyname(always)19:51
acoles-about post-as-copy...19:51
claygportante: i'm probably not going to bother with the skiptest thing, it's not a bad idea tho... meh maybe i should do it19:51
notmynameyes19:51
acoles-notmyname: i thought it was needed for container-sync? did i misunderstand?19:52
claygportante: I just don't like skips, it'd be better if I could find something to assert in that case19:52
notmynameacoles-: want to have a quick skype call on it? may be faster than IRC19:52
portanteclayg: that is why I did not -1 it, because I don' think that should gate the work19:52
acoles-k19:53
portanteclayg: sure19:53
acoles-notmyname: ok19:53
notmynameacoles-: pm me your skype id19:53
portanteclayg: with regard to the functional test in-process mechanism19:53
notmyname(there are 4 alistair coles on skype)19:53
claygportante: yeah I think that one test was just bad19:53
claygportante: I think acctually if I split up this other pending change that refactors the account acl functests it would sorta fix itself19:54
portantewhat is the number, I'll check that out19:54
portanteclagy19:54
claygportante: so that on my list this afternoon - should be quick19:54
portanteclayg19:54
claygportante: it's kind mixed up with some other refactorings - i'm going to get the tests split out so it's an easy merge19:54
claygI'll ping you on it when it's ready - should be quick19:54
portantek, thx19:55
claygportante: what about the making the flag more prominent than the missing configs in the commit?  I'm guessing the missing config behavior has a higher value to you than me?19:55
portantesec19:55
acoles-notmyname: ok, see your email19:56
*** byeager has joined #openstack-swift20:01
claygtorgomatic: neat!  I had tempurl in the wrong spot in my proxy config and functional tests failed!20:10
torgomaticclayg: :)20:12
*** gvernik has quit IRC20:15
*** changbl has quit IRC20:26
claygman do you ever get the feeling we have two functional test suites that just got slammed together ;)20:30
notmynameheh20:31
notmynamethanks StevenK ;-)20:31
notmynameclayg: now he's going to think he did something wrong!20:31
openstackgerritClay Gerrard proposed a change to openstack/swift: additional functional tests for account acls  https://review.openstack.org/8007320:32
*** piyush has quit IRC20:34
claygportante: ^ so there's the thing that might fix the account acl test that was reading the test.conf out of band20:40
clayganyone else that's interested it just a bunch of asserts on existing behavior of account acls that should make it easier to write the keystone impl when the time comes20:41
clayg(or any one else that wants to support account acls)20:41
* clayg glances at swauth20:41
claygsigh... that moment when you realize the code you just refactored is completly untested :'(20:43
clayg^ unrelated to the acl functests - those are solid20:43
portanteclayg: k20:43
portanteclayg: I'd like to see the in-process functional tests land so that I can review how the coverage goes with them. :)20:44
*** csd has quit IRC20:44
*** jasondotstar has joined #openstack-swift20:45
*** shri has joined #openstack-swift20:45
*** tdasilva has left #openstack-swift20:50
*** piyush has joined #openstack-swift20:52
*** piyush1 has joined #openstack-swift20:54
*** piyush has quit IRC20:56
*** lpabon has quit IRC21:02
claygportante: yeah me too, so what's the next step?21:05
*** gyee has quit IRC21:05
claygdfg: any feedback to my comments on 69419 (Make cors work better)21:05
pelusenotmyname/torgomatic:  here's the EC branch rebased (you have to push, I don't have permissions) https://github.com/peluse/ec4.git21:05
claygpeluse: it doesn't come through as a gerrit patch?21:06
*** seandrummond has quit IRC21:06
notmynameclayg: the ability to push merge patches is restricted21:07
*** Trixboxer has quit IRC21:08
claygso... not a gerrit change?21:08
peluseit will be once one of them does it.  I just help by resolving conflicts and testing in advance :)21:09
portanteclayg: gotta head home, now but I'll respond with my thoughts about the on/off switch for in-process functional tests a bit later21:09
*** kun_huang has quit IRC21:22
zaitcevGuys, I was looking at SP a bit, and... Do we ever verify somewhere that two rings do not point to the same node:device? I figure this may be made complex by having 2 object server processes with /srv/node and /srv/other_policies21:25
zaitcevSuch thing could only be a typo in a shell script that launches builder, I imagine, but still.21:26
*** jasondotstar has quit IRC21:26
notmynamezaitcev: actually that's ok (and expected)21:30
notmynameone object server process can handle all of the policies. each policy uses a different top-level directory, so they all coexist peacefully21:31
pelusezaitcev:  and, in fact, I have another WIP patch that, after more discussion and work, can potentially make it easier to do just that21:33
notmynamepeluse: does your merge commit have any conflicts it resolved?21:33
pelusenotmyname:  a few minor ones (2 I think)21:34
notmynameok21:34
notmynamepeluse: running tests locally on saio then will push merge commit21:37
pelusenotmyname:  cool, let me know if you run into anything21:38
notmynamepeluse: seems your jenkins failure is a tempest test that is testing expiry time and getting a response for an object that should be expired21:52
notmynameeg http://logs.openstack.org/47/65347/18/check/check-tempest-dsvm-full/0388b75/console.html#_2014-03-12_21_29_55_26921:52
notmynamewhich seems to have happend 21 times in the last 24 hours21:53
openstackgerritJohn Dickinson proposed a change to openstack/swift: merged master into ec branch  https://review.openstack.org/8009521:53
notmynamepeluse: there ^21:53
claygis that the bug where I was like "yeah looks like a race in the test"21:53
notmynameclayg: ya, I think so. they set the expiry for 1 second then sleep for 2 seconds and try to read it21:54
*** fifieldt has joined #openstack-swift21:54
notmynameclayg: https://github.com/openstack/tempest/blob/master/tempest/api/object_storage/test_object_temp_url_negative.py#L10621:55
notmynamepeluse: the gerrit review there has the merge conflict resolution. does it look right?21:56
claygsomeone must know how to patch that?21:57
claygwhile time() < timeout:21:57
pelusenotmyname:  that temp_url thing is what's been killing me for the last few days22:01
peluseI'll go look at the gettit thing, one sec22:02
pelusenotmyname:  yup, good to go22:02
notmynamepeluse: cool22:02
notmynamepeluse: merging22:03
peluseso what can be done about the test issue above?22:04
*** zul has joined #openstack-swift22:04
notmynamepeluse: I'm working on a small patch22:05
*** zul has quit IRC22:05
notmynamepeluse: to tempest22:05
pelusesweet22:05
notmynameclayg: peluse: look good? https://gist.github.com/notmyname/9503f6de0ebbb22ed77322:06
notmynameclayg: peluse: sorry. this one. https://gist.github.com/notmyname/c1d077eb652a273a804f22:07
*** ccarrizo has quit IRC22:09
*** piyush1 has quit IRC22:10
pelusehmmm, I don't immediately see the race or how this resolves it?22:13
claygq22:14
pelusein both cases the input to get_temp_url is the same (expire time), and previously it waited 2 secs independent of previous time and now waits 1 sec at a time till current time >= the expire time which, from what I can tell, can only wait *less* than the previous implementation but not more22:18
torgomaticsomething something rounding errors something something floating-point time?22:20
notmynametorgomatic: that's pretty much what I was thinking (or trying to imagine)22:20
*** mkollaro has quit IRC22:21
*** mkollaro has joined #openstack-swift22:21
notmynamethe time is truncated. but it's the existing sleep(2) that is troublesome to any scenario I'm coming up with22:21
notmynameunless maybe the server-side is off from the client-side?22:22
pelusecan you pass in time -1 to get_temp_url for the expriy time and not wait at all?22:22
notmynameI think that give a 41222:22
notmynameI don't remember if gholt added a code path for that22:22
peluseand where would the rounging error be, in the +1 ?22:23
pelusesheesh, my typing is extra bad today22:23
claygare you guys still talking about the tempurl thing?22:24
clayger... the temptest test for tempurl?22:24
peluseja22:24
claygwhy not just repeatly request the object until a) it 401's and you pass the test or b) you reach a timeout and fail the test22:25
torgomaticpeluse: looks to me like one *can* pass in a small number for expires (maybe not negative though) and it'll be expired right away22:25
peluseyeah, I was just about to say that22:25
claygwhere the timeout is... well long enought to account for slow ass vms' in the gate that can't tell time22:25
pelusepass in 022:26
claygbut that's sort of a dumb test, it would also pass if you gave it the wrong key22:26
clayglocks and latches baby locks and latches22:26
pelusetrue :)22:27
notmynameit's also a 100+ line module to do this one test. with duplicated code from the other module that is doing tests on tempurl22:28
peluseclayg:  I like spinning til 401 (with a timeout of course), ha22:28
claygnotmyname: so are you gunna git blame that foo and go on a witch hunt to get it fixed?22:29
notmynameclayg: I don't recognize the name in git blame; I was going to write a patch and throw it at gerrit22:30
claygwell at least then they can't say we're not *trying*22:31
*** byeager has quit IRC22:32
*** byeager has joined #openstack-swift22:33
*** jergerber has joined #openstack-swift22:36
*** byeager has quit IRC22:37
*** byeager has joined #openstack-swift22:38
notmynameugh I don't want to take the time to learn a whole new framework22:41
notmynamewhat do I do at the end? how do I raise the error if it fails?22:41
*** jergerber has quit IRC22:41
notmynameself.fail()? raise something?22:41
pelusewhile(1) maybe :)22:42
*** Midnightmyth has quit IRC22:46
*** byeager has quit IRC22:46
notmynamepeluse: clayg: https://gist.github.com/notmyname/5333c625ed976ebf6d5822:47
*** byeager has joined #openstack-swift22:47
*** changbl has joined #openstack-swift22:47
claygnotmyname: you *know* you wanted to write while/else22:48
notmynamegood call :-)22:48
pelusenotmyname:  cool22:49
claygbut yeah that'll work - except it probably doesn't need to be a 20 second timeout (probably) and you might could do a sleep in there so it's not all busy loopin' on you22:49
*** dmsimard has quit IRC22:50
peluseyeah, 1 sec sleep and maybe 10s gross timeout22:50
claygpeluse: 500ms sleep :P  and cornflower blue22:51
notmynamered!22:51
*** byeager has quit IRC22:51
notmynamehttps://gist.github.com/notmyname/5fcbcf35e6bf2551507222:51
peluseheh, cornflower is a funny word.  Looks good notmyname22:53
notmynameclayg: peluse: thanks22:53
notmynamepeluse: makes me think of tortillas22:53
*** Midnightmyth has joined #openstack-swift23:00
*** gyee has joined #openstack-swift23:24
*** mtreinish has quit IRC23:37
*** mtreinish has joined #openstack-swift23:37
*** j_king has quit IRC23:38
*** j_king has joined #openstack-swift23:38
openstackgerritSamuel Merritt proposed a change to openstack/swift: Store policy index in container_stat table  https://review.openstack.org/7170423:45
*** miurahr has quit IRC23:46

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