Friday, 2017-05-12

openstackgerritPete Zaitcev proposed openstack/swift master: Drop unnecessary dereferencing  https://review.openstack.org/46409600:13
*** dja_ has quit IRC00:37
*** dja has joined #openstack-swift00:38
*** patchbot has quit IRC00:54
*** patchbot has joined #openstack-swift00:55
*** kei_yama_ has joined #openstack-swift01:09
*** NM has quit IRC01:15
*** catintheroof has quit IRC01:18
*** tovin07_ has joined #openstack-swift01:20
*** winggundamth has joined #openstack-swift02:04
*** winggundamth_ has joined #openstack-swift02:24
*** winggundamth has quit IRC02:27
*** catintheroof has joined #openstack-swift02:40
*** catintheroof has quit IRC03:57
*** hoonetorg has quit IRC04:13
*** hoonetorg has joined #openstack-swift04:26
*** adriant has quit IRC04:44
*** klrmn has quit IRC04:49
*** jaosorior_away has quit IRC04:58
*** ChubYann has quit IRC05:25
*** jaosorior has joined #openstack-swift05:41
*** tovin07_ has quit IRC06:01
*** pcaruana has joined #openstack-swift06:14
*** rcernin has joined #openstack-swift06:18
*** cbartz has joined #openstack-swift06:36
*** gabor_antal has quit IRC06:41
*** jamielennox is now known as jamielennox|away06:53
*** cshastri has joined #openstack-swift06:54
*** hseipp has joined #openstack-swift06:58
*** gabor_antal has joined #openstack-swift06:59
*** tesseract has joined #openstack-swift07:12
*** hseipp has quit IRC08:01
*** cshastri has quit IRC08:42
*** cshastri has joined #openstack-swift08:53
*** rcernin has quit IRC09:05
*** cshastri_ has joined #openstack-swift09:08
*** d0ugal has quit IRC09:08
*** cshastri has quit IRC09:11
*** rcernin has joined #openstack-swift09:14
*** d0ugal has joined #openstack-swift09:16
*** silor has joined #openstack-swift09:25
*** d0ugal has quit IRC09:25
*** d0ugal has joined #openstack-swift09:47
*** bkopilov has quit IRC09:54
*** winggundamth_ has quit IRC10:05
*** geaaru has joined #openstack-swift10:05
*** winggundamth has joined #openstack-swift10:06
*** cshastri_ is now known as cshastri10:21
*** G-DUO-CO has quit IRC11:07
*** G-DUO-CO has joined #openstack-swift11:09
*** silor has quit IRC11:20
*** hseipp has joined #openstack-swift11:28
*** kei_yama has quit IRC11:31
*** chlong has quit IRC11:36
*** zul has joined #openstack-swift11:42
*** hseipp has quit IRC12:03
*** NM has joined #openstack-swift12:23
*** NM has quit IRC12:28
*** jamielennox|away is now known as jamielennox12:30
*** xinli has joined #openstack-swift13:14
*** NM has joined #openstack-swift13:26
tdasilvagood morning13:28
-openstackstatus- NOTICE: The Gerrit service on http://review.openstack.org is being restarted to address hung remote replication tasks.13:38
*** klamath has joined #openstack-swift13:45
*** klamath has joined #openstack-swift13:45
*** rcernin has quit IRC13:55
*** zul has quit IRC14:03
*** rcernin has joined #openstack-swift14:05
*** zul has joined #openstack-swift14:07
*** winggundamth has quit IRC14:07
clayggood morning!14:08
*** chlong has joined #openstack-swift14:08
timburkeclayg: https://review.openstack.org/#/c/463876/14:11
patchbotpatch 463876 - swift - Open-code eventlet.listen()14:11
*** rcernin has quit IRC14:17
*** _JZ_ has joined #openstack-swift14:23
*** rcernin has joined #openstack-swift14:25
*** cshastri has quit IRC14:33
*** jistr is now known as jistr|afk14:44
openstackgerritTim Burke proposed openstack/swift master: domain_remap: be more careful about client-path mangling  https://review.openstack.org/46421615:01
openstackgerritTim Burke proposed openstack/swift master: domain_remap: stop mangling client-provided paths  https://review.openstack.org/46421715:01
claygzaitcev: rledisez: now that eventlet's listen is setting SO_REUSEPORT maybe it's time to dust off patch 13765915:04
patchbothttps://review.openstack.org/#/c/137659/ - swift - Support of the Linux socket option SO_REUSEPORT (ABANDONED)15:04
*** xinli has quit IRC15:04
claygI think I had something in the follow up that allowed for smooth upgrade (which is still interesting for me, I only package eventlet 0.19 currently)15:05
zaitcevclayg: yeah... well, wait. Is it possible to know if a function accepts an argument? Or try:15:06
*** rcernin has quit IRC15:06
claygso the problem IIRC was in process management - if we *can* bind with SO_REUSEPORT there was no reason not to - the change was mostly about making `swift-init proxy reload` send HUP and start up new servers right away (expecting to be able to bind to a port that's already in-use)15:07
claygbut for in order for the new processes to bind to in-use port - the *existing* processes have to have had bound with SO_REUSEPORT - which they would not have in an upgrade - so swift-init reload had to degrade gracefully (try to bind but if failing, wait for old procs to die then try bind again)15:08
claygor something - i forget15:08
claygzaitcev - I can't get tests failing locally?15:08
claygfor i in {1..10}; do SWIFT_TEST_IN_PROCESS=1 nosetests swift/test/functional/tests.py:TestFile -vsx; if [ $? -ne 0 ]; then exit 1; fi; done15:09
zaitcevThat sounds about right15:09
*** caccola has joined #openstack-swift15:09
zaitcevclayg: what do you mean, are you trying to get tests to fail in order to test 463876?15:10
claygtimburke: when you were looking at patch 463876 were you able to get tests to fail reliably?15:10
patchbothttps://review.openstack.org/#/c/463876/ - swift - Open-code eventlet.listen()15:10
claygI wanted to both +a that change - but also let temoto know he's good to go with his fix (even w/o zaitcev's fix)15:11
claygzaitcev: yeah I was hoping I could get a reliable repro15:11
timburkeclayg: this has always been my trouble with all of this! i've *never* been able to reliably reproduce this locally. or even *at all*, iirc15:11
claygwow, that's annoying!15:11
zaitcevclayg: if yes, then first go to https://github.com/eventlet/eventlet/issues/411 and copy-paste the test from there. It fails in a couple of seconds on a box that's vulnerable. However, few of mine are. Needs a very fresh eventlet, not the one that RDO ships.15:12
claygi verified the eventlet I have installed does set SO_REUSEPORT - i'll try the gist - thanks!15:12
timburkeoh yeah...maybe *that* was part of it...15:12
claygInteresting!  Port 44845 dup in 35 tries15:13
zaitcevokay, so you're good to go and try functests15:13
*** xinli has joined #openstack-swift15:13
zaitcevHowever, that will only blow up if there's a pressure on ports on the box15:13
claygbut most are 200-300 tries - so it's probably only 1/1000 times that spinning up the functests cause a hit :'(15:14
zaitcevquite15:14
timburkei totally hit it with the repro script -- first one was like 51 tries15:16
timburkei'm thinking it's worse on a jenkins host where other ports may already be tied up15:17
timburke(due to other, concurrent jobs)15:17
claygecho 32768 32868 > /proc/sys/net/ipv4/ip_local_port_range15:17
claygtests failed on the second try ;)15:18
zaitcevgood call15:18
openstackgerritTim Burke proposed openstack/swift master: Clean up how PatchPolicies works  https://review.openstack.org/46036215:24
zaitcevI found typos in a commit message. "out gate" instead of "our gate", and "tests tries", listen(("localhost",0) with unbalanced parenthesis. Go me the sloppy programmer.15:31
openstackgerritMerged openstack/swift master: Fix domain_remap when obj starts/ends with slash  https://review.openstack.org/45885015:47
openstackgerritTim Burke proposed openstack/swift master: Clean up how PatchPolicies works  https://review.openstack.org/46036215:49
*** xinli has quit IRC15:49
claygtimburke: i'm sure my response is no surprise on patch 464217 - I'd update the commit message at a minimum if you want a second option as not everyone will have domain_remap weird behavior loaded in their heads15:51
patchbothttps://review.openstack.org/#/c/464217/ - swift - domain_remap: stop mangling client-provided paths15:51
*** cbartz has left #openstack-swift15:52
*** jistr|afk is now known as jistr16:06
*** pcaruana has quit IRC16:12
*** xinli has joined #openstack-swift16:13
openstackgerritMerged openstack/swift master: Open-code eventlet.listen()  https://review.openstack.org/46387616:46
*** klrmn has joined #openstack-swift16:55
*** gyee has joined #openstack-swift17:03
openstackgerritTim Burke proposed openstack/swift master: fixup! Add container sharding to Swift containers  https://review.openstack.org/45049117:05
*** jaosorior has quit IRC17:09
openstackgerritTim Burke proposed openstack/swift master: Clean up how PatchPolicies works  https://review.openstack.org/46036217:11
*** JimCheung has joined #openstack-swift17:17
openstackgerritOpenStack Proposal Bot proposed openstack/swift master: Updated from global requirements  https://review.openstack.org/8873617:18
*** hseipp has joined #openstack-swift17:20
*** hseipp has quit IRC17:33
openstackgerritTim Burke proposed openstack/swift master: Apply remote metadata in _handle_sync_response  https://review.openstack.org/46408417:52
*** Renich has joined #openstack-swift18:20
*** geaaru has quit IRC18:36
openstackgerritClay Gerrard proposed openstack/swift master: Clean up how PatchPolicies works  https://review.openstack.org/46036218:36
*** tesseract has quit IRC19:00
*** ChubYann has joined #openstack-swift19:05
openstackgerritClay Gerrard proposed openstack/swift master: Limit number of revert tombstone SSYNC requests  https://review.openstack.org/43957219:13
claygkota_: I wonder if you could take a look at an old optimization that mahatic had worked on - patch 43957219:18
patchbothttps://review.openstack.org/#/c/439572/ - swift - Limit number of revert tombstone SSYNC requests19:18
claygkota_: I think the change is good small improvement; but maybe for the ec duplication case there should be more improvement?19:19
zaitcevhttp://logs.openstack.org/96/464096/1/check/gate-swift-tox-xfs-tmp-py27-ubuntu-xenial/fd5d6dc/console.html  <==== wildly mysterious19:26
claygthis one looks like the listen_zero thing?  AssertionError: 'HTTP/1.1 400' != 'HTTP/1.1 201'19:34
claygthis one too: AssertionError: Expected 'HTTP/1.1 201', encountered 'HTTP/1.1 400'19:34
zaitcevIt's a concern. Seemed completely safe though, and of course everything passes elsewhere.19:35
zaitcevAlso, there's another py27-on-xenial gate. What is difference between the two? This one has "tmp-xfs" in its name.19:36
claygno I mean... AFAIK the listen_zero fixed that error?  can you tell if that change was applied to that job?19:37
zaitcevoh19:37
zaitcevbut the console also has things like19:37
zaitcev  File "/home/jenkins/workspace/gate-swift-tox-xfs-tmp-py27-ubuntu-xenial/swift/obj/diskfile.py", line 555, in __getitem__19:37
zaitcev    return self.policy_to_manager[policy]19:37
zaitcevKeyError: StoragePolicy(0, ['zero'], is_default=True, is_deprecated=False, policy_type='replication')19:37
zaitcevThis is just insane19:37
claygso @timburke is trying to fix the KeyError thing over in patch 6036219:39
patchbothttps://review.openstack.org/#/c/60362/ - nova (stable/havana) - Allow resizes and migrates during live upgrade (MERGED)19:39
clayg... but I think i sorta derailed he and @acoles - maybe you could give it a quick look?19:39
zaitcevthat patch number seems very, very low19:39
zaitcevMaybe patch 460362?19:39
patchbothttps://review.openstack.org/#/c/460362/ - swift - Clean up how PatchPolicies works19:39
timburkeonly i'm still not sure that it actually accomplishes that...19:39
claygsorry copy and paste error!  thanks!19:40
timburkebut yeah, i want to sort that out in the near future19:40
rledisezclayg: REUSEPORT upstream, I want that :) it was my first patch submission to swift19:40
claygzaitcev: is the gate not going to process patch 46409619:40
patchbothttps://review.openstack.org/#/c/464096/ - swift - Drop unnecessary dereferencing19:40
claygrledisez: you're not home already?  hotel?  plane!?19:40
zaitcevclayg, it's stuck, yes. But it's not an important patch. I can easily let it hang around for a week or two while we're making sure the gate works.19:41
rledisezclayg: i'm at hotel, leaving to airport in 30 minutes19:41
timburkeclayg: what test was that AssertionError from? i think i saw that wort of a message while running down https://review.openstack.org/#/c/461860/19:42
patchbotpatch 461860 - swift - Fix intermittent failure in test_POST_but_expired19:42
claygtimburke: i just grabbed it out of the zaitcev 's log there ... but I had seen similar stuff when looking at the listen_zero thing (in unittests!)19:44
claygtimburke: not sure about patch 46186019:49
patchbothttps://review.openstack.org/#/c/461860/ - swift - Fix intermittent failure in test_POST_but_expired19:49
claygwhich request blows up exactly?19:56
*** JimCheung has quit IRC20:04
*** JimCheung has joined #openstack-swift20:19
claygtimburke: sorry, nm you're probably on the plane - i found the gate log in your comment on the patch - but I still have a hard time believing the guest was paused for 1000 seconds?!  (assuming the log 201 != 400 means one of the PUT's outside were returning 400 for delete_at_timestamp "in the past" compared to test_time)20:28
*** xinli has quit IRC21:15
openstackgerritMerged openstack/swift master: Drop unnecessary dereferencing  https://review.openstack.org/46409621:26
zaitcevSo, it was intermittent after all21:31
*** NM has quit IRC21:32
*** Guest44841 is now known as asettle21:33
openstackgerritAlistair Coles proposed openstack/swift master: Clean up how PatchPolicies works  https://review.openstack.org/46036221:59
*** geaaru has joined #openstack-swift22:32
*** klrmn has quit IRC22:52
*** chlong has quit IRC23:00
*** JimCheung has quit IRC23:23
*** JimCheung has joined #openstack-swift23:30
*** _JZ_ has quit IRC23:30
*** NM has joined #openstack-swift23:36
*** klamath has quit IRC23:36
*** klrmn has joined #openstack-swift23:56

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