Friday, 2015-10-16

*** BAKfr has joined #openstack-oslo00:05
*** mmasaki has joined #openstack-oslo00:05
*** alexpilotti has joined #openstack-oslo00:05
*** dstanek has joined #openstack-oslo00:05
*** hogepodge has joined #openstack-oslo00:07
*** yamahata__ has joined #openstack-oslo00:07
*** dansmith has joined #openstack-oslo00:07
*** salv-orl_ has joined #openstack-oslo00:07
*** amrith has joined #openstack-oslo00:07
*** jasondotstar has joined #openstack-oslo00:07
*** mdbooth has joined #openstack-oslo00:07
*** pasquier-s has joined #openstack-oslo00:07
*** dukhlov has joined #openstack-oslo00:07
*** mordred has joined #openstack-oslo00:07
*** ttx has joined #openstack-oslo00:07
*** rpodolyaka has joined #openstack-oslo00:07
*** sdague has joined #openstack-oslo00:07
*** alaski_out has joined #openstack-oslo00:07
*** ekarlso has joined #openstack-oslo00:07
*** redrobot has joined #openstack-oslo00:07
*** kevinbenton has joined #openstack-oslo00:07
*** clayton has joined #openstack-oslo00:07
*** goodygum has joined #openstack-oslo00:07
*** mriedem has joined #openstack-oslo00:07
*** salv-orl_ has quit IRC00:07
*** mtreinish has joined #openstack-oslo00:07
*** dulek has joined #openstack-oslo00:07
*** sreshetnyak has joined #openstack-oslo00:07
*** HenryG has joined #openstack-oslo00:07
*** d0ugal has joined #openstack-oslo00:07
*** ajo has joined #openstack-oslo00:07
*** pleia2 has joined #openstack-oslo00:07
*** _stowa has joined #openstack-oslo00:07
*** Nakato has joined #openstack-oslo00:08
*** Kiall has joined #openstack-oslo00:08
*** zqfan has joined #openstack-oslo00:08
*** zzzeek_ has joined #openstack-oslo00:08
*** therve has joined #openstack-oslo00:08
*** rpodolyaka_afk has joined #openstack-oslo00:08
*** dguitarbite has joined #openstack-oslo00:08
*** adam_g has joined #openstack-oslo00:08
*** kbyrne has joined #openstack-oslo00:08
*** edleafe has joined #openstack-oslo00:08
*** toabctl has joined #openstack-oslo00:08
*** odyssey4me has joined #openstack-oslo00:08
*** ujjain has joined #openstack-oslo00:08
*** zz_dimtruck has joined #openstack-oslo00:08
*** miguelgrinberg has joined #openstack-oslo00:08
*** yamahata has joined #openstack-oslo00:08
*** Qwazerty has joined #openstack-oslo00:08
*** sileht has joined #openstack-oslo00:08
*** sontek has joined #openstack-oslo00:08
*** fungi has joined #openstack-oslo00:08
*** flaper87 has joined #openstack-oslo00:08
*** kragniz has joined #openstack-oslo00:08
*** bnemec has joined #openstack-oslo00:08
*** SergeyLukjanov has joined #openstack-oslo00:08
*** sc68cal has joined #openstack-oslo00:08
*** dstufft has joined #openstack-oslo00:08
*** dmitryme has joined #openstack-oslo00:08
*** browne has joined #openstack-oslo00:09
*** SlickNik has joined #openstack-oslo00:09
*** peterstac has joined #openstack-oslo00:09
*** eezhova has joined #openstack-oslo00:09
*** mfedosin has joined #openstack-oslo00:09
*** jd__ has joined #openstack-oslo00:09
*** melwitt has joined #openstack-oslo00:09
*** david-lyle has joined #openstack-oslo00:12
*** lbragstad has joined #openstack-oslo00:12
*** ndipanov has joined #openstack-oslo00:12
*** sputnik13 has joined #openstack-oslo00:12
*** edmondsw has joined #openstack-oslo00:12
*** jaypipes has joined #openstack-oslo00:12
*** zhiyan has joined #openstack-oslo00:12
*** jraim has joined #openstack-oslo00:12
*** kashyap has joined #openstack-oslo00:12
*** frickler has joined #openstack-oslo00:12
*** morgan has joined #openstack-oslo00:12
*** harlowja has joined #openstack-oslo00:12
*** harlowja has quit IRC00:13
*** harlowja has joined #openstack-oslo00:13
*** alejandrito has joined #openstack-oslo00:13
*** openstackgerrit has joined #openstack-oslo00:13
*** haypo has joined #openstack-oslo00:13
*** gibi has joined #openstack-oslo00:13
*** kzaitsev_ws has joined #openstack-oslo00:13
*** tchaypo has joined #openstack-oslo00:13
*** jokke_ has joined #openstack-oslo00:13
*** ericksonsantos has joined #openstack-oslo00:13
*** dhellmann has joined #openstack-oslo00:13
*** sabari has joined #openstack-oslo00:13
*** Horgix has joined #openstack-oslo00:13
*** EmilienM has joined #openstack-oslo00:13
*** bapalm has joined #openstack-oslo00:13
*** vipul has joined #openstack-oslo00:13
*** bknudson has joined #openstack-oslo00:13
*** jamespd has joined #openstack-oslo00:13
*** tristanC has joined #openstack-oslo00:13
*** jlvillal has joined #openstack-oslo00:13
*** david-lyle has quit IRC00:14
*** pradk has joined #openstack-oslo00:15
*** droyal_ has joined #openstack-oslo00:15
*** fnordahl has joined #openstack-oslo00:15
*** jamespage has joined #openstack-oslo00:15
openstackgerritgraingert proposed openstack/pylockfile: PBR setup requirement only  https://review.openstack.org/23562400:15
*** alejandrito has quit IRC00:15
openstackgerritgraingert proposed openstack/pylockfile: Support universal wheels  https://review.openstack.org/23563200:15
openstackgerritgraingert proposed openstack/pylockfile: PBR setup requirement only  https://review.openstack.org/23563300:15
*** mhorban has joined #openstack-oslo00:16
*** freyes has joined #openstack-oslo00:16
*** rbradfor has joined #openstack-oslo00:16
*** elarson has joined #openstack-oslo00:16
*** sheeprine has joined #openstack-oslo00:16
*** shakamunyi has joined #openstack-oslo00:16
*** sirushti has joined #openstack-oslo00:16
*** ativelkov has joined #openstack-oslo00:16
*** jecarey has joined #openstack-oslo00:17
*** amaurymedeiros has joined #openstack-oslo00:18
*** cburgess has joined #openstack-oslo00:18
*** pblaho_ has joined #openstack-oslo00:18
*** wendar_ has joined #openstack-oslo00:18
*** nikhil_k has joined #openstack-oslo00:18
*** vilobhmm11 has joined #openstack-oslo00:18
*** dims_ has joined #openstack-oslo00:18
*** DuncanT has joined #openstack-oslo00:18
*** pkholkin has joined #openstack-oslo00:18
*** rakhmerov has joined #openstack-oslo00:18
*** davidlenwell has joined #openstack-oslo00:18
*** timsim has joined #openstack-oslo00:18
*** krotscheck has joined #openstack-oslo00:18
*** jamielennox has joined #openstack-oslo00:18
*** waynr has joined #openstack-oslo00:18
*** xek has joined #openstack-oslo00:18
*** zigo has joined #openstack-oslo00:18
*** tonyb has joined #openstack-oslo00:18
*** gus has joined #openstack-oslo00:18
*** sigmavirus24_awa has joined #openstack-oslo00:18
*** jroll has joined #openstack-oslo00:18
*** hockeynut has joined #openstack-oslo00:18
*** otherwiseguy has joined #openstack-oslo00:18
*** dims_ has quit IRC00:20
*** alexpilotti has quit IRC00:21
*** jecarey has quit IRC00:21
*** harlowja has quit IRC00:24
*** dims_ has joined #openstack-oslo00:26
*** dims_ has quit IRC00:27
*** dims_ has joined #openstack-oslo00:27
*** vilobhmm11 has quit IRC00:31
*** harlowja has joined #openstack-oslo00:31
*** stevemar_ has joined #openstack-oslo00:31
*** achanda has joined #openstack-oslo00:32
*** yamahata has quit IRC00:33
*** achanda has quit IRC00:34
*** browne has quit IRC00:48
*** achanda has joined #openstack-oslo00:50
openstackgerritMerged openstack/oslo.policy: Add test for invalid JSON  https://review.openstack.org/23429700:55
*** jecarey has joined #openstack-oslo00:58
openstackgerritOpenStack Proposal Bot proposed openstack/oslo-incubator: Updated from global requirements  https://review.openstack.org/23567600:59
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.cache: Updated from global requirements  https://review.openstack.org/23567700:59
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.concurrency: Updated from global requirements  https://review.openstack.org/23567800:59
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.db: Updated from global requirements  https://review.openstack.org/23567900:59
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.log: Updated from global requirements  https://review.openstack.org/23568001:00
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.messaging: Updated from global requirements  https://review.openstack.org/23568101:00
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.middleware: Updated from global requirements  https://review.openstack.org/23568201:00
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.policy: Updated from global requirements  https://review.openstack.org/23568301:00
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.reports: Updated from global requirements  https://review.openstack.org/23568401:00
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.serialization: Updated from global requirements  https://review.openstack.org/23568501:00
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.service: Updated from global requirements  https://review.openstack.org/23568601:00
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.versionedobjects: Updated from global requirements  https://review.openstack.org/23568701:00
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.vmware: Updated from global requirements  https://review.openstack.org/23568801:00
dims_ah look who showed up :)01:00
openstackgerritMerged openstack/oslo.service: Document termination of children on SIGHUP  https://review.openstack.org/23472901:00
openstackgerritOpenStack Proposal Bot proposed openstack/taskflow: Updated from global requirements  https://review.openstack.org/23569101:01
openstackgerritOpenStack Proposal Bot proposed openstack/tooz: Updated from global requirements  https://review.openstack.org/23569301:01
harlowjaholy crap01:01
harlowjaha01:01
harlowjadims_ oh hi, u were talking about me01:02
harlowjahahahahahah01:02
dims_harlowja: i was poking at the bot01:02
dims_:)01:02
*** jecarey has quit IRC01:02
harlowja:)01:02
harlowjadims_ that oslo.messaging patch is umm interesting, ha01:04
harlowjai think we'd save pain if we just disallowed people from doing start, stop, start again, stop again...01:04
harlowjai'd think such thinks would be rare anyways (and/or not the right thing)01:04
dims_harlowja: i don't know if anyone does that01:04
harlowjajust do start, stop, and its dead....01:04
dims_right01:04
openstackgerritMerged openstack/oslo.policy: Fix a typo in policy.py  https://review.openstack.org/23411001:07
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.policy: Updated from global requirements  https://review.openstack.org/23568301:07
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.service: Updated from global requirements  https://review.openstack.org/23568601:07
*** zz_dimtruck is now known as dimtruck01:17
*** eliqiao has joined #openstack-oslo01:18
*** david-lyle has joined #openstack-oslo01:21
*** binarin has joined #openstack-oslo01:34
*** edmondsw has quit IRC01:40
openstackgerritMerged openstack/oslo-incubator: Updated from global requirements  https://review.openstack.org/23567601:54
*** jecarey has joined #openstack-oslo01:54
*** jecarey has quit IRC01:59
*** achanda has quit IRC02:09
*** achanda has joined #openstack-oslo02:11
*** dims_ has quit IRC02:14
*** dims_ has joined #openstack-oslo02:14
*** achanda has quit IRC02:31
openstackgerritMerged openstack/oslo.cache: Export functions from __init__  https://review.openstack.org/23392402:32
openstackgerritMerged openstack/taskflow: feat: add max_dispatches arg to conductor's run  https://review.openstack.org/23485802:42
*** browne has joined #openstack-oslo02:45
*** dims_ has quit IRC02:49
*** dims_ has joined #openstack-oslo02:49
*** jecarey has joined #openstack-oslo02:50
*** lifeless has joined #openstack-oslo02:51
*** dims_ has quit IRC02:51
*** dims_ has joined #openstack-oslo02:51
*** achanda has joined #openstack-oslo02:53
*** jecarey has quit IRC02:55
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.cache: Updated from global requirements  https://review.openstack.org/23567703:05
openstackgerritOpenStack Proposal Bot proposed openstack/taskflow: Updated from global requirements  https://review.openstack.org/23569103:07
*** tobe has joined #openstack-oslo03:11
*** amrith is now known as _amrith_03:12
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.log: Updated from global requirements  https://review.openstack.org/23568003:12
*** achanda has quit IRC03:16
*** zqfan has quit IRC03:16
openstackgerritMerged openstack/oslo.concurrency: Updated from global requirements  https://review.openstack.org/23567803:17
openstackgerritMerged openstack/oslo.reports: Updated from global requirements  https://review.openstack.org/23568403:18
openstackgerritMerged openstack/oslo.db: Updated from global requirements  https://review.openstack.org/23567903:19
*** achanda has joined #openstack-oslo03:20
openstackgerritMerged openstack/tooz: Updated from global requirements  https://review.openstack.org/23569303:22
openstackgerritMerged openstack/oslo.versionedobjects: Updated from global requirements  https://review.openstack.org/23568703:23
*** achanda has quit IRC03:27
openstackgerritMerged openstack/oslo.middleware: Updated from global requirements  https://review.openstack.org/23568203:30
*** jecarey has joined #openstack-oslo03:31
*** amotoki has joined #openstack-oslo03:31
openstackgerritMerged openstack/oslo.policy: Updated from global requirements  https://review.openstack.org/23568303:32
openstackgerritMerged openstack/oslo.vmware: Updated from global requirements  https://review.openstack.org/23568803:32
openstackgerritMerged openstack/oslo.serialization: Updated from global requirements  https://review.openstack.org/23568503:34
*** jecarey has quit IRC03:35
*** vilobhmm11 has joined #openstack-oslo03:36
*** jamielennox has quit IRC03:51
*** jamielennox has joined #openstack-oslo03:52
openstackgerritMerged openstack/oslo.messaging: Updated from global requirements  https://review.openstack.org/23568104:03
*** achanda has joined #openstack-oslo04:09
*** achanda has quit IRC04:10
*** achanda has joined #openstack-oslo04:11
*** vilobhmm11 has quit IRC04:11
*** jecarey has joined #openstack-oslo04:27
*** dims_ has quit IRC04:29
*** jecarey has quit IRC04:31
*** yamahata has joined #openstack-oslo04:45
*** dimtruck is now known as zz_dimtruck04:48
*** zz_dimtruck is now known as dimtruck05:04
*** achanda has quit IRC05:17
*** sputnik13 has quit IRC05:26
*** achanda has joined #openstack-oslo05:28
*** vilobhmm11 has joined #openstack-oslo05:30
*** jamielennox is now known as jamielennox|away05:30
*** dimtruck is now known as zz_dimtruck05:33
*** jecarey has joined #openstack-oslo05:38
openstackgerritJoshua Harlow proposed openstack/taskflow: Move dispatch and consume/abandon to helper function  https://review.openstack.org/23573505:42
*** jecarey has quit IRC05:42
*** nkrinner has joined #openstack-oslo05:51
*** browne1 has joined #openstack-oslo06:00
*** zqfan has joined #openstack-oslo06:01
*** browne has quit IRC06:02
openstackgerritMerged openstack/taskflow: Updated from global requirements  https://review.openstack.org/23569106:11
*** achanda has quit IRC06:14
*** exploreshaifali has joined #openstack-oslo06:15
*** achanda has joined #openstack-oslo06:18
*** jecarey has joined #openstack-oslo06:19
*** jecarey has quit IRC06:23
*** dims_ has joined #openstack-oslo06:26
*** achanda has quit IRC06:28
*** dims_ has quit IRC06:28
*** tobe has quit IRC06:28
*** nkrinner has quit IRC06:34
*** stevemar_ has quit IRC06:35
*** stevemar_ has joined #openstack-oslo06:36
*** achanda has joined #openstack-oslo06:37
*** nkrinner has joined #openstack-oslo06:38
*** stevemar_ has quit IRC06:38
*** tobe has joined #openstack-oslo06:39
*** achanda has quit IRC06:58
*** tobe has quit IRC07:01
*** jecarey has joined #openstack-oslo07:15
*** tobe has joined #openstack-oslo07:18
*** jecarey has quit IRC07:19
*** exploreshaifali has quit IRC07:21
*** vilobhmm11 has quit IRC07:23
*** e0ne has joined #openstack-oslo07:27
*** dims_ has joined #openstack-oslo07:28
*** shardy has joined #openstack-oslo07:29
*** browne1 has quit IRC07:30
*** dims_ has quit IRC07:33
*** shardy_ has joined #openstack-oslo07:43
*** shardy has quit IRC07:45
*** shardy_ has quit IRC07:49
*** shardy has joined #openstack-oslo07:50
*** cdent has joined #openstack-oslo07:50
*** e0ne has quit IRC07:54
openstackgerritMarian Horban proposed openstack/oslo.service: Class ReloadNotifier added  https://review.openstack.org/22889207:59
*** markus_z has joined #openstack-oslo08:18
*** yamahata has quit IRC08:22
*** jecarey has joined #openstack-oslo08:26
*** salv-orlando has joined #openstack-oslo08:26
*** dims_ has joined #openstack-oslo08:29
*** jecarey has quit IRC08:30
openstackgerritTom Cammann proposed openstack/oslo.config: Raise exception when wrong type is used as default  https://review.openstack.org/22207808:33
*** dims_ has quit IRC08:35
*** ndipanov is now known as ndipanoff08:35
*** e0ne has joined #openstack-oslo08:39
*** ihrachys has joined #openstack-oslo08:47
*** _amrith_ is now known as amrith09:03
*** f13o has joined #openstack-oslo09:05
*** amrith is now known as _amrith_09:12
*** amotoki has quit IRC09:21
*** dims_ has joined #openstack-oslo09:31
*** jecarey has joined #openstack-oslo09:36
*** dims_ has quit IRC09:37
*** _amrith_ is now known as amrith09:39
*** jecarey has quit IRC09:40
*** salv-orlando has quit IRC09:43
*** dims_ has joined #openstack-oslo09:48
*** ozamiatin has joined #openstack-oslo09:57
*** alexpilotti has joined #openstack-oslo10:07
*** salv-orlando has joined #openstack-oslo10:09
amrithanybody home? have a testr question and am wondering where the braintrust is hanging out at this unearthly hour.10:11
*** exploreshaifali has joined #openstack-oslo10:16
*** yassine_ has joined #openstack-oslo10:35
openstackgerritVictor Stinner proposed openstack/oslo.config: Use versionadded and versionchanged in doc  https://review.openstack.org/23523210:44
*** salv-orlando has quit IRC11:00
*** achanda has joined #openstack-oslo11:02
haypoamrith: leave your question, come back later to check for an answer. that's how irc works usually ;-)11:11
kashyaphaypo: "Anybody alive"?  "Can I ask a question"?11:15
kashyaphaypo: FWIW, I wrote this page for RDO project a while ago - https://www.rdoproject.org/IRC_etiquette11:15
haypokashyap: can you hear me now?11:16
kashyaphaypo: :-)11:17
mdboothkashyap: Right in there at number 1: "Try to ask smart questions"11:20
mdboothkashyap says: Don't be dumb11:20
kashyap:-)11:21
* kashyap stops the trolling11:21
*** achanda has quit IRC11:21
mdboothsileht: You about?11:23
mdboothsileht: I have a question about commit b888ee3ebf46b008dada1e825b24badb7053d7e8, specifically wrt RestartableServerThread11:24
* mdbooth just noticed that 'You about?' was naked ping, and didn't want to upset kashyap11:25
mdboothsileht: So, I'm hitting a problem with my new patch in test_two_pools_three_listener. I've been asked to remove support for wrapping of state, but that test explicitly wraps state, in that it stops then restarts an executor.11:26
mdboothI guess I don't really know what I'm asking for, other than your general views on this situation11:27
*** salv-orlando has joined #openstack-oslo11:29
*** pradk has quit IRC11:50
*** stevemar_ has joined #openstack-oslo11:52
*** stevemar_ has quit IRC11:55
*** zqfan has quit IRC12:02
*** zqfan has joined #openstack-oslo12:02
*** amrith is now known as _amrith_12:03
*** pradk has joined #openstack-oslo12:06
*** salv-orlando has quit IRC12:09
*** alejandrito has joined #openstack-oslo12:13
*** achanda has joined #openstack-oslo12:14
*** exploreshaifali has quit IRC12:15
*** ozamiatin_ has joined #openstack-oslo12:17
*** ozamiatin has quit IRC12:18
*** gordc has joined #openstack-oslo12:28
openstackgerritMerged openstack/oslo.service: Updated from global requirements  https://review.openstack.org/23568612:34
*** binarin has quit IRC12:48
*** tobe has quit IRC12:50
*** achanda has quit IRC12:51
*** regXboi has joined #openstack-oslo12:56
*** edleafe is now known as figleaf12:57
*** _amrith_ is now known as amrith13:03
*** eliqiao has quit IRC13:07
amriththank you haypo, I needed something answered then/there and was looking for someone. Time, as they say, was of the essence. Knowing the answer now doesn't help me. The moment has passed, I didn't win the lottery and you don't get a cut of the prize sorry ...13:11
*** jecarey has joined #openstack-oslo13:12
*** salv-orlando has joined #openstack-oslo13:28
*** dansmith is now known as superdan13:30
*** jecarey has quit IRC13:35
*** jecarey has joined #openstack-oslo13:36
mdboothdims_ harlowja: ping re test_two_pools_three_listener13:37
mdboothBeen a little distracted today, but I'm looking at that test now and it just seems broken to me13:38
mdboothI can only imagine that it has worked previously only because of a fortuitously reliable coincidence of scheduling13:38
*** yassine__ has joined #openstack-oslo13:38
mdboothTake, for example, the very first call to self.wait_for_messages(25, 'pool2')13:39
mdboothThat explicitly waits for 'pool2' to receive 25 messages13:39
mdboothHowever, there are 3 listeners and 2 pools13:39
mdboothAnd those 25 messages could go to either pool13:39
mdboothWhich they sometimes do13:39
mdboothIn which case it just hangs there13:39
mdboothafaict this is not directly related to anything I have done13:40
mdboothHowever, a change in locking might reasonably change scheduling13:40
mdboothSo something which worked only by coincidence now doesn't work13:40
mdboothThe other explanation is that I've missed something which does in fact assert that all of those notifications will go to either listener2 or listener313:41
mdboothBut I never miss anything, so frankly that's not really worthy of consideration13:41
openstackgerritDmitriy Ukhlov proposed openstack/oslo.messaging: Implements rabbit-pika driver  https://review.openstack.org/22998513:41
*** pradk_ has joined #openstack-oslo13:42
*** yassine_ has quit IRC13:42
*** kgiusti has joined #openstack-oslo13:43
mdboothEven weirder, we're also appending our fake calls to endpoint1, which is a target of listener1, which is in pool1, not pool213:44
*** pradk has quit IRC13:45
*** pradk_ is now known as pradk13:46
mdboothAlthough, filed under things I never miss...13:46
mdboothAre the messages supposed to go to both pools?13:46
mdboothHandled by exactly 1 thread in each pool?13:46
*** edmondsw has joined #openstack-oslo13:47
mdboothThat would also explain why the calls are added only to endpoint1, because there's only 1 thread in pool1, so that's the only 1 we can reliably assert about...13:47
mdboothnm, moving on...13:48
openstackgerritOleksii Zamiatin proposed openstack/oslo.messaging: WIP: check redis cache optimization  https://review.openstack.org/23592513:50
kashyapdims_: et al: Lost the reviews due to a rebase - https://review.openstack.org/#/c/234286/14:09
kashyapWould appreciate a quick glance, when you get a moment14:10
kashyapI wonder if straightforward rebases should retain the +1/+2, but maybe not unconditionally. . .14:10
*** ozamiatin_ has quit IRC14:12
*** sigmavirus24_awa is now known as sigmavirus2414:13
*** jecarey has quit IRC14:18
*** jecarey has joined #openstack-oslo14:18
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.messaging: Updated from global requirements  https://review.openstack.org/23594714:22
openstackgerritMerged openstack/oslo.config: Add PortOpt for integer with range 1 to 65535  https://review.openstack.org/23125714:22
*** zz_dimtruck is now known as dimtruck14:22
*** jecarey has quit IRC14:23
pkholkinbknudson: Hello Brant, we updated our patch to Nova 'switch to oslo.cache', could you make another review https://review.openstack.org/#/c/203049/, thanks in advance!14:26
bknudsonpkholkin: how did you fix the race issue?14:27
pkholkinbknudson: we decided to add lock there14:28
bknudsonok, I'll take a look14:28
pkholkinand left comments for you if it is ok14:28
bknudsonpkholkin: a local lock isn't going to help.14:29
pkholkinbknudson: what will be the problem?14:31
pkholkinwe thought it can help14:31
*** e0ne has quit IRC14:31
bknudsonif process a gets 1 and process b gets 1 then they'll increment the value and both put 2. So rather than winding up with 3 which is what was expected you'll wind up with 2.14:32
bknudsona mutex isn't shared between processes.14:32
bknudsonso adding the mutex just makes the code more complicating without improving safetey14:32
*** alexpilotti has quit IRC14:32
bknudsonmaybe in this case it's not that important to get consistent results, in which case just add a comment that we don't care about multiprocess here and forget about the atomic setting14:33
bknudsonthat's up to nova to allow that14:33
*** alexpilotti has joined #openstack-oslo14:35
pkholkinbknudson: we think that in this case we can be not so strict to consistency14:36
bknudsonpkholkin: I agree. Just add a comment that says what the effect is.14:36
pkholkinbknudson: we can add a comment about it and leave as it is14:37
bknudsonI'm fine with that14:37
pkholkinbknudson: ok, will do right now14:37
pkholkinbknudson: agree14:37
openstackgerritDmitriy Ukhlov proposed openstack/oslo.messaging: Implements rabbit-pika driver  https://review.openstack.org/22998514:43
openstackgerritDina Belova proposed openstack/oslo.messaging: Modify simulator.py tool  https://review.openstack.org/23595814:43
openstackgerritTom Cammann proposed openstack/oslo.config: Raise exception when wrong type is used as default  https://review.openstack.org/22207814:43
openstackgerritDina Belova proposed openstack/oslo.messaging: Modify simulator.py tool  https://review.openstack.org/23595814:44
openstackgerritMerged openstack/oslo.log: Updated from global requirements  https://review.openstack.org/23568014:45
*** ozamiatin has joined #openstack-oslo14:45
*** alexpilotti has quit IRC14:46
*** alexpilotti has joined #openstack-oslo14:47
pkholkinbknudson: patch was updated, please take a look at the comment https://review.openstack.org/#/c/203049/33/nova/api/ec2/__init__.py14:49
*** ozamiatin_ has joined #openstack-oslo14:50
*** ozamiatin has quit IRC14:50
*** lbragstad has quit IRC14:51
*** lbragstad has joined #openstack-oslo14:51
*** e0ne has joined #openstack-oslo14:53
openstackgerritXiaBing Yao proposed openstack/oslo.messaging: Add if condition for random.shuffle  https://review.openstack.org/23596514:55
*** yamahata has joined #openstack-oslo14:55
*** jecarey has joined #openstack-oslo14:55
*** nkrinner has quit IRC14:59
*** thangp has joined #openstack-oslo15:00
*** bnemec has quit IRC15:03
openstackgerritOleksii Zamiatin proposed openstack/oslo.messaging: WIP: check redis cache optimization  https://review.openstack.org/23592515:05
pkholkinbknudson: sorry, please one more try) thanks for review!15:06
*** david-ly_ has joined #openstack-oslo15:11
*** david-lyle has quit IRC15:11
*** bnemec has joined #openstack-oslo15:13
*** dimtruck is now known as zz_dimtruck15:17
*** shardy_ has joined #openstack-oslo15:18
*** stevemar_ has joined #openstack-oslo15:18
*** stevemar_ has quit IRC15:19
*** stevemar_ has joined #openstack-oslo15:19
*** shardy has quit IRC15:20
pkholkinbknudson: appreciate your help, done15:22
bknudsonpkholkin: ok... it's up to nova now.15:23
bknudsonseems like there's a major problem in oslo.cache if there's no way to do the atomic ops anymore.15:23
*** pballand has joined #openstack-oslo15:23
*** shardy_ has quit IRC15:24
pkholkinbknudson: thanks Brant, waiting for Nova guys15:24
*** shardy has joined #openstack-oslo15:24
*** cdent has quit IRC15:24
*** harlowja_at_home has joined #openstack-oslo15:26
*** ihrachys has quit IRC15:28
*** jecarey has quit IRC15:33
*** jecarey has joined #openstack-oslo15:34
*** e0ne has quit IRC15:37
*** wendar_ is now known as wendar15:37
*** e0ne has joined #openstack-oslo15:38
*** jecarey has quit IRC15:39
harlowja_at_homelifeless, sooo u are now owner of funsigs, cool15:40
harlowja_at_homeor thats what http://sourceforge.net/p/pypi/support-requests/546/ says at least :-P15:40
harlowja_at_homethat only took 1 year, hahaha15:41
harlowja_at_home~1 year15:41
*** jecarey has joined #openstack-oslo15:42
*** ozamiatin_ has quit IRC15:42
*** browne has joined #openstack-oslo15:45
*** ihrachys has joined #openstack-oslo15:48
*** harlowja_at_home has quit IRC15:48
*** jecarey has quit IRC15:53
*** jecarey has joined #openstack-oslo15:55
*** e0ne has quit IRC15:59
*** e0ne has joined #openstack-oslo16:00
mdboothharlowja: There's some funky docstrings in here: http://docs.openstack.org/developer/futurist/api.html#executors16:02
mdboothDon't know if that's anything to do with you16:02
mdboothAlso, shutdown is undocumented there16:06
*** mriedem is now known as mriedem_lunch16:07
*** ihrachys has quit IRC16:09
*** stevemar_ has quit IRC16:10
*** stevemar_ has joined #openstack-oslo16:11
*** pblaho_ has quit IRC16:12
*** bnemec has quit IRC16:16
*** stevemar_ has quit IRC16:16
*** zqfan has quit IRC16:16
*** jecarey has quit IRC16:18
*** jecarey has joined #openstack-oslo16:19
*** zz_dimtruck is now known as dimtruck16:22
*** jecarey_ has joined #openstack-oslo16:22
*** e0ne has quit IRC16:22
*** jecarey has quit IRC16:23
mdboothharlowja: Hey, how would you feel if I changed the semantics of the blocking executor a bit?16:23
*** jecarey_ has quit IRC16:26
*** jecarey has joined #openstack-oslo16:26
*** jecarey has quit IRC16:31
*** sputnik13 has joined #openstack-oslo16:36
*** browne has quit IRC16:46
*** dims_ has quit IRC16:54
*** dims_ has joined #openstack-oslo16:55
*** zqfan has joined #openstack-oslo17:01
*** regXboi has quit IRC17:04
*** yamahata has quit IRC17:07
harlowjamdbooth yo17:10
mdboothharlowja: Hey!17:10
*** achanda has joined #openstack-oslo17:10
harlowjafunky docstrings u say?17:10
harlowjalol17:10
mdboothharlowja: Yeah :)17:10
*** stevemar_ has joined #openstack-oslo17:10
harlowjasoooo i think this is mainly due to how sphinx doesn't look at parent class docstrings17:11
harlowjahttps://docs.python.org/dev/library/concurrent.futures.html#concurrent.futures.Executor.shutdown17:11
harlowjathere is shutdown17:11
mdboothAh, ok17:11
harlowjabut without doing stupid stuff to make sphinx use the parents docstring it won't17:11
mdboothHowever, the funky stuff is in Periodics17:11
harlowjaah17:12
mdboothLooks like it has embedded object representations in there17:12
mdboothWhich is likely not deliberate :)17:12
harlowjahttp://docs.openstack.org/developer/futurist/api.html#futurist.periodics.PeriodicWorker.BUILT_IN_STRATEGIES ?17:12
harlowjau mean that17:12
mdboothclass futurist.periodics.PeriodicWorker(callables, log=None, executor_factory=None, cond_cls=<function Condition at 0x7f511685b230>, event_cls=<function Event at 0x7f511685bde8>, schedule_strategy='last_started', now_func=<function monotonic at 0x7f51138006e0>, on_failure=None)17:12
harlowjaright17:12
mdboothYeah17:12
harlowjathose are the default values, at sphinx build time, it seems to just use whatever the memory location of those are at build-time17:13
harlowjawhich is sorta dumb, but not sure what can be done17:13
mdboothNice17:13
mdboothAh, well17:13
mdboothSo, BlockingExecutor17:13
harlowjaso17:13
harlowjaso so17:13
mdboothThis is the discussion around whether to set EXECUTOR_RUNNING before or after calling executor.execute()17:14
harlowjaright17:14
mdboothThe problem with putting it before is actually that another thread might call stop before start has been called17:14
harlowjasounds like a bad idea, ha17:14
mdboothI had a quick look at the various implementations of executor, and I actually don't think this is a problem17:15
mdboothHowever, it's definitely unsound territory17:15
mdboothSo, the blocking executor is a special case17:15
mdboothI wanted to make it explicitly special17:15
*** mriedem_lunch is now known as mriedem17:15
harlowjaextra special17:15
harlowjalol17:15
*** salv-orlando has quit IRC17:16
*** shardy is now known as shardy_afk17:16
mdboothSpecifically, I want to make the call to FakeBlockingThread.start() a noop17:16
mdboothSo the thread has 'started'17:16
mdboothBut it hasn't actually been scheduled yet17:16
mdboothThis means we can call start on the pooled executor, and it will configure its own locking such that its safe to run17:17
mdboothWe can then 'execute' the thread explicitly after we know it has been initialised17:17
mdboothThis means we can call executor.start17:18
mdboothThen set the running state17:18
mdboothThen, iff it's blocking, explicitly call our new execute() method in the foreground17:18
* harlowja thinking17:18
mdboothThat means we can never call stop() before initialisation has completed17:19
harlowjaright, i think i got ya17:20
harlowjabasically https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_executors/impl_blocking.py#L25 is problematic17:21
mdboothharlowja: Yes17:21
mdboothI was going to make _thread_cls use a generator17:22
mdboothTo generate a new fake thread class17:22
mdboothwhich passed its target to its parent17:22
mdboothThen the parent can have a method which executes the target17:22
harlowjai wonder if BlockingExecutor should really just startup one thread and just use it, then it doesn't have to be special cased17:22
mdboothIt's a bit kludgy, but it's special17:23
mdboothIt could also potentially startup a thread and then we could join it17:23
harlowjaright17:23
mdboothThat might be less kludgy17:23
harlowjastartup 1 thread, thats all it gets, and be done with it, ha17:23
mdboothWe'd still want to know the identity of the thread it started, though17:24
mdboothSo actually it would be just as kludgy17:24
mdboothIf we want start() to be synchronous, I still think we need the 2 step initialisation17:24
harlowjalol17:24
harlowjak17:24
harlowjaagreed17:25
harlowjadamn kludges, lol17:25
mdboothAlthough...17:25
mdboothIt's a base class17:25
harlowjahttps://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_executors/impl_pooledexecutor.py#L109 if thats just a real thread, and then it uses a sync executor underneath17:25
mdboothI guess we can validly just use the _poller variable17:26
harlowjaright17:26
harlowjajust an idea17:26
mdboothSo, start() becomes a noop17:26
mdboothAnd then we just read in and get the target17:26
mdboothreach17:26
mdbooththrough _poller17:26
*** jecarey has joined #openstack-oslo17:27
harlowjaother idea, https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_executors/impl_pooledexecutor.py#L68 is the code that really gets called async or sync17:29
*** yassine__ has quit IRC17:30
*** achanda has quit IRC17:30
mdboothharlowja: _do_submit?17:30
*** browne has joined #openstack-oslo17:30
harlowjaya https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_executors/impl_pooledexecutor.py#L9417:31
mdbooth_runner?17:31
mdboothThat's what I'm talking about17:31
harlowja:)17:31
harlowjaok, maybe i just need to see code :-P17:31
*** jecarey has quit IRC17:31
harlowjacouple ways to do this i think17:32
*** achanda has joined #openstack-oslo17:32
mdboothIt would actually be cleaner to create a method which starts the thread, and override it in the subclass17:32
mdboothIn pooledexecutor, that is17:32
*** ndipanoff has quit IRC17:33
mdboothMeh, that's not so good17:34
*** ndipanov has joined #openstack-oslo17:34
mdboothharlowja: I have to shoot. I'm just going to barrel on with this on Monday. If you have a better idea, could you let me know?17:35
harlowjasureeee17:35
harlowjawill do :)17:35
mdboothharlowja: Are you ok with the fundamental of the 2 stage thing, though?17:35
harlowjai think sos17:35
harlowja*so17:35
harlowjadamn blocking executor causing pain17:35
harlowjalol17:35
*** vilobhmm11 has joined #openstack-oslo17:36
harlowjasadly its probably what most people are using?17:36
mdboothCool. If your 2 stage idea is better than mine, at least they should be relatively interchangable.17:36
mdboothI don't know, tbh17:36
*** yamahata has joined #openstack-oslo17:36
harlowjaya, not sure, hopefully they use the eventlet one17:36
harlowjaand/or thread one (which are pretty much the same if monkey patching)17:37
mdboothLater...17:37
harlowjalata17:37
*** jecarey has joined #openstack-oslo17:40
*** e0ne has joined #openstack-oslo17:41
harlowjahaypo soooo u think we can sustain that versionadded stuff17:42
harlowjaits gonna be tough without better CI support imho17:42
openstackgerritJoshua Harlow proposed openstack/oslo.messaging: Some executors are not async so update docstring to reflect that  https://review.openstack.org/23603017:44
harlowjadims_ yo, shall we discuss survey results monday, i haven't looked at them yet, but think i got like 20 responses :-P17:46
dims_harlowja: ++17:46
harlowjak17:46
* harlowja doesn't want to open the present before its ready, lol17:46
dims_harlowja: mdbooth: i promised 2.6.2 oslo.messaging release on monday. no pressure :)17:47
harlowjaoh shizzle17:48
harlowjalol17:48
harlowjamdbooth is fixing it all, lol17:48
harlowjai just review things, hahaha17:48
*** bnemec has joined #openstack-oslo17:59
openstackgerritJoshua Harlow proposed openstack/oslo.utils: Expose function signature fetching function  https://review.openstack.org/23492718:00
harlowjadims_ is https://github.com/openstack/oslo.utils/blob/master/setup.cfg#L18 valid anymore?18:07
harlowjadid someone just forget to remove it?18:07
harlowjaseems like 'gate-oslo.utils-python26' still exists18:08
* harlowja forgets why we left py26 for oslo.utils 18:08
dims_we should talk about eliminating 2.6 in one of the sessions18:09
harlowjaya18:09
harlowjahow many of those are still left?18:09
harlowjaoslo.db i guess to18:09
harlowja https://github.com/openstack/oslo.db/blob/master/setup.cfg#L1818:09
dims_harlowja: from prev discussions 2.6 is needed only for clients18:12
dims_python clients18:13
harlowjaclients are using oslo.db18:13
harlowja:-/18:13
harlowjak, so i guess that explains oslo.utils18:13
harlowjaany idea of what the expected lifespan of 2.6 for clients is ?18:13
harlowja(can't be forever, ha)18:13
*** stevemar_ has quit IRC18:17
*** jecarey has quit IRC18:17
*** stevemar_ has joined #openstack-oslo18:18
*** jecarey has joined #openstack-oslo18:18
dims_good question :) dunno18:19
harlowjai'll say yesterday18:20
harlowjaproblem solved, ha18:20
*** stevemar_ has quit IRC18:22
*** jecarey has quit IRC18:23
*** stevemar_ has joined #openstack-oslo18:25
*** achanda has quit IRC18:27
*** ndipanov has quit IRC18:29
*** achanda has joined #openstack-oslo18:29
*** jecarey has joined #openstack-oslo18:34
*** achanda has quit IRC18:35
*** alexpilotti has quit IRC18:35
*** jecarey has quit IRC18:36
*** jecarey has joined #openstack-oslo18:36
*** jecarey has quit IRC18:36
*** jecarey has joined #openstack-oslo18:37
*** dims_ is now known as dimsum__18:41
*** jecarey has quit IRC18:41
*** jecarey has joined #openstack-oslo18:44
*** amrith is now known as _amrith_18:45
*** markus_z has quit IRC18:45
openstackgerritJoshua Harlow proposed openstack/taskflow: Add a executor backed conductor and have existing impl. use it  https://review.openstack.org/17464318:46
openstackgerritMerged openstack/oslo.cache: Updated from global requirements  https://review.openstack.org/23567718:48
openstackgerritJoshua Harlow proposed openstack/taskflow: Add a executor backed conductor and have existing impl. use it  https://review.openstack.org/17464318:49
lifelessharlowja: apparently18:51
harlowja:)18:51
openstackgerritMerged openstack/oslo.service: Add doc8 to py27 tox env and fix raised issues  https://review.openstack.org/23561918:51
lifelessharlowja: I'm glad richardjones got in contact with him18:51
harlowjadef18:51
lifelessno idea why our mails were radio silence18:51
harlowjasince it seems we couldnt18:51
harlowjaya18:51
harlowja----> spam, lol18:51
*** achanda has joined #openstack-oslo18:56
*** gordc has quit IRC19:02
*** david-ly_ has quit IRC19:04
*** david-lyle has joined #openstack-oslo19:05
*** thangp has quit IRC19:17
openstackgerritTom Cocozzello proposed openstack/oslo.middleware: Define entry points for filter factories for Paste Deployment  https://review.openstack.org/23015619:19
*** jecarey has quit IRC19:24
*** jecarey has joined #openstack-oslo19:25
*** jecarey has quit IRC19:29
openstackgerritJoshua Harlow proposed openstack/taskflow: Add a executor backed conductor and have existing impl. use it  https://review.openstack.org/17464319:32
openstackgerritMerged openstack/oslo.messaging: Small grammar messaging fix  https://review.openstack.org/23482519:35
openstackgerritMerged openstack/oslo.utils: Write document for each unit of oslo_utils.utils  https://review.openstack.org/23537819:36
*** salv-orlando has joined #openstack-oslo19:37
lifelessdimsum__: did you give https://review.openstack.org/235698 a go ?19:44
dimsum__lifeless: not yet19:45
openstackgerritJoshua Harlow proposed openstack/taskflow: When conductor 'max_dispatches' is zero, don't do anything  https://review.openstack.org/23606719:45
openstackgerritJoshua Harlow proposed openstack/taskflow: When conductor 'max_dispatches' is zero, don't do anything  https://review.openstack.org/23606719:45
*** achanda has quit IRC19:47
*** mriedem has quit IRC19:50
*** e0ne has quit IRC19:51
*** dimtruck is now known as zz_dimtruck19:53
*** fultonj has joined #openstack-oslo19:55
*** salv-orlando has quit IRC19:56
*** zz_dimtruck is now known as dimtruck20:01
*** jecarey has joined #openstack-oslo20:02
*** kgiusti has quit IRC20:25
*** jecarey has quit IRC20:28
*** jecarey has joined #openstack-oslo20:29
*** jecarey has quit IRC20:33
openstackgerritTom Cocozzello proposed openstack/oslo.middleware: Define entry points for filter factories for Paste Deployment  https://review.openstack.org/23015620:35
*** figleaf is now known as edleafe20:35
openstackgerritDoug Hellmann proposed openstack/oslosphinx: add config option to point to the cgit browser  https://review.openstack.org/23609120:41
openstackgerritMerged openstack/oslo.policy: Add test for raising default exception  https://review.openstack.org/23430920:42
*** achanda has joined #openstack-oslo20:47
openstackgerritMerged openstack/oslo.policy: Add test for enforce with rule doesn't exist  https://review.openstack.org/23431020:48
openstackgerritMerged openstack/oslo.policy: Use JSON generator  https://review.openstack.org/23442120:48
*** achanda has quit IRC20:53
*** salv-orlando has joined #openstack-oslo20:54
*** salv-orlando has quit IRC21:06
*** vilobhmm111 has joined #openstack-oslo21:10
*** achanda has joined #openstack-oslo21:10
*** vilobhmm11 has quit IRC21:12
*** pradk has quit IRC21:16
*** jecarey has joined #openstack-oslo21:16
haypoharlowja: hi. yeah, i really want to document changes :)21:17
haypoharlowja: if you are afraid of changes documented for the wrong version, you should be quicker for reviews :-D21:17
harlowjahaypo :)21:24
haypoi never though on this problem on CPython21:25
haypomaybe because we only increase the major version every 10 years :-D21:25
openstackgerritJoshua Harlow proposed openstack/taskflow: Add a executor backed conductor and have existing impl. use it  https://review.openstack.org/17464321:25
harlowjahaypo hahaha21:25
haypoand we only release minor versions every 18 months21:26
harlowjanothing ever changes, therefore no problem :-P21:26
*** fultonj has quit IRC21:26
haypo(not every *week* which is a little bit insane)21:26
harlowjadepends on your sanity tolerance21:26
haypoharlowja: hum, it's the opposite :-) the changelog is *much* longer if you take longer to release a version :-) try to read https://docs.python.org/dev/whatsnew/3.5.html in less than 5 minutes :-D21:27
haypohaha21:27
harlowjaasync def added21:27
harlowjathats all21:27
harlowjalol21:27
harlowjaand await21:27
harlowjaand some matrix stuff21:27
harlowjathats about it, ha21:27
harlowjahaypo think i've never understood about async, await, is does the standard library use them itself?21:28
harlowja*or is that planned?21:28
*** vilobhmm111 has quit IRC21:28
haypoharlowja: asyncio is not used in the stdlib21:28
harlowja:(21:29
*** vilobhmm11 has joined #openstack-oslo21:29
haypoharlowja: you have to understand that the stdlib is a dead place21:29
harlowjalol21:29
harlowjafair enough21:29
haypoharlowja: if you enter the stdlib, you die21:29
*** vilobhmm11 has quit IRC21:29
harlowjaya, thats what i hear21:29
hayposince asyncio evolves like really fast, it's more convenient to put such stuff on PyPI21:29
harlowjaya21:29
*** vilobhmm11 has joined #openstack-oslo21:29
haypoaiohttp is moving fast for example21:29
harlowjathey should just block off the stdlib from having anything new then, ever21:29
harlowjaand just provide really basic stuff there21:29
harlowjabut then batteries not included21:30
haypoi'm not convinced that it was the best idea ever to put asyncio in the stdlib21:30
haypoi recently proposed to remove it from the stdlib, for practical reason21:30
harlowjaawait, async though depend on it right?21:30
harlowjaor maybe they don't21:30
*** vilobhmm11 has quit IRC21:30
haypoit's hard to use a more recent version of asyncio. you have to "hack" your sys.path21:30
*** achanda has quit IRC21:30
harlowjaya, that is painful21:30
*** vilobhmm11 has joined #openstack-oslo21:31
haypoharlowja: await/async were written for asyncio, but there are not specific to asyncio21:31
harlowjak21:31
harlowjaso then ya, asyncio seems like it should just be named trollius and exist there :-P21:31
harlowjatell guido to do that21:31
harlowja:)21:31
*** vilobhmm11 has quit IRC21:31
harlowjamr.guido21:31
*** vilobhmm11 has joined #openstack-oslo21:31
harlowjaha21:31
*** vilobhmm11 has quit IRC21:31
haypoharlowja: there were discussions on building bridges between concurrent.futures (threads) and coroutines (single-thread), but guido doesn't like the idea21:31
harlowjahmmmm21:32
harlowjathat'd be interesting to read21:32
harlowjawas that public?21:32
harlowjaseems like python should really have such a bridge imho21:32
haypoharlowja: sure, you must read https://bugs.python.org/issue24383 "consider implementing __await__ on concurrent.futures.Future"21:32
harlowja(eventlet is in a way a bridge)21:32
haypoharlowja: it's probably what you expect21:32
haypoyes, all python stuff are public, even private stuff like python-committers mailing list :-D21:33
harlowja:-P21:33
harlowjathats good21:33
haypoharlowja: eventlet hates threads, no?21:33
*** achanda has joined #openstack-oslo21:33
*** jecarey has quit IRC21:34
harlowjawell i was just more thinking that the monkey patching that eventlet does is a bridge, a razor sharp bridge that u may die on, but a bridge, lol21:34
*** jecarey has joined #openstack-oslo21:34
haypoharlowja: i had fun when i wrote aioeventlet, a bridge between asyncio & eventlet. https://aioeventlet.readthedocs.org/using.html#threads21:34
haypo"Running an event loop in a thread different than the main thread is currently experimental. An eventlet Event object is not thread-safe, it must only be used in the same thread. (...)"21:34
harlowjaya, mixing them like that blows21:34
harlowja== razor sharp bridge u may die on21:35
harlowjalol21:35
haypoharlowja: aioeventlet works well, you should try it :)21:35
harlowjai should21:35
haypoeven if i wrote it, i don't remember how it works21:35
harlowjalol21:35
haypoit's problably a hack. but since i wrote it, it's a beautiful hack21:36
* harlowja backs away from using it, lol21:36
haypo(otherwise, it would be called an awful hack)21:36
harlowja:)21:36
haypolol21:36
harlowjaobviously21:36
*** _amrith_ is now known as amrith21:36
harlowjaya haypo i sometimes wish python didn't get the threading module in all honesty21:37
haypoin fact, it's just ~340 lines of python code: https://bitbucket.org/haypo/aioeventlet/src/37e81867f70a300c145c703c7827ce5c61aab61b/aioeventlet.py?at=default&fileviewer=file-view-default21:37
haypoharlowja: ah why?21:37
harlowjawell say, start out with async/wait, ...21:37
harlowjathen not have problems like threading, eventlet, mixing the two, ...21:37
harlowjathreading, eventlet,asyncio...futures from concurrent....21:38
harlowjaoh wells21:38
harlowjabygones be bygones21:38
*** dims_ has joined #openstack-oslo21:38
*** jecarey has quit IRC21:39
haypoharlowja: so you are still motived to replace eventlet with something else in openstack?21:39
harlowjataskflow :-P21:39
harlowjahahaha21:39
harlowjai mean, no hahaha21:39
harlowjai still believe most of what openstack does doesn't need to know about how its executed, it just needs to define it and let someone else do it21:40
harlowjaand that defintion can be seperated from its execution21:40
*** dimsum__ has quit IRC21:40
harlowjaand then the execution can be threads, yielding, pigeons21:41
harlowja...21:41
haypoharlowja: something concrete and not so hard to implement would be to remove complelty eventlet when a daemon is served by WSGI using Apache or similar web servers21:41
haypoharlowja: keystone did this change21:41
harlowjayup21:41
harlowjathats a reachable goal for older projects21:41
harlowjanewer projects (at least some that i know about) just have targeted taskflow, and let taskflow execute stuff for u21:42
haypofor the other use cases, it's more gray, it's hard to understand their use case, what's the best concurrency approach, and even more complex to modify anything :)21:42
harlowjayup21:42
harlowjaimho define ahead of time what u want taskflow to run, hand it off and don't give a crap what taskflow does internally, cause the thats the api boundary21:42
haypoyeah, taskflow fits well for some use cases21:42
harlowja*cause thats the api boundary21:42
harlowjaya21:43
harlowjaexisting projects that have alot of code, its hard to move to something else (as we all know)21:43
harlowjai've been trying to think about why that is21:43
harlowja*just was talking to people about this*21:43
harlowjamulti-dimensional problem21:43
harlowjawith each project having priorties of its own...21:44
*** salv-orlando has joined #openstack-oslo21:44
*** achanda has quit IRC21:44
harlowjawe should have a summit session that we all sit around and smoke cigars and think about this21:45
harlowjalol21:45
*** vilobhmm11 has joined #openstack-oslo21:45
*** dims_ has quit IRC21:45
*** david-ly_ has joined #openstack-oslo21:50
*** david-lyle has quit IRC21:50
harlowjahaypo https://bugs.python.org/issue24383#msg24793521:50
harlowjalol21:50
harlowjanice21:50
*** achanda has joined #openstack-oslo21:51
harlowjaat least he was nice about it :)21:51
harlowjacould have been worse, ha21:51
haypoharlowja: gudio already explained his point of view multiple times, that's why his answer there was short21:53
haypo"I find it questionable to mix await and threads, as I have said several times in the discussion about Nick Coghlan's proposal to introduce helper functions with a similar function."21:53
harlowjaya21:53
harlowjathats part of the reason why i sorta wish threads was never added to python :-P21:54
harlowjaor pick one way, and just stick with it21:54
harlowjavs 2 ways21:54
harlowja*like javascript, only one way21:54
harlowja*which is similar to the async/wait way21:54
harlowjain fact i think they took the same syntax, lol21:55
*** vilobhmm11 has quit IRC21:55
haypoi heard that the promise API of javascript sucks21:56
*** vilobhmm11 has joined #openstack-oslo21:56
haypoit looks like it's based on callbacks, no syntax suggar like yield from, await or async :-(21:56
harlowjai thought they were adding async/await21:56
haypoi already heard that it's a mess to debug anything asynchronous in javascript :-p21:56
*** vilobhmm11 has quit IRC21:57
harlowjaya, whose fault is that idk, ha21:57
haypoharlowja: it looks like they will add async/await to ES7, but ES7 is not "released" yet21:58
haypothe "current" javascript version is ES621:58
*** alejandrito has quit IRC21:59
harlowjagotcha, was looking for that21:59
haypoharlowja: i like threads in python21:59
haypoharlowja: i did great things with them21:59
harlowjaya, i'm just thinking of the newb person21:59
harlowjaand people getting confused21:59
harlowjaat least u could say in javascript, u have promises, async, await, and thats about it22:00
harlowjaless to get confused by imho22:00
*** stevemar_ has quit IRC22:01
harlowja^ and+-othercallback hell22:01
*** sigmavirus24 is now known as sigmavirus24_awa22:01
*** stevemar_ has joined #openstack-oslo22:02
*** alexpilotti has joined #openstack-oslo22:06
*** stevemar_ has quit IRC22:06
*** zqfan is now known as robot22:07
*** stevemar_ has joined #openstack-oslo22:07
*** dimsum__ has joined #openstack-oslo22:08
*** dimtruck is now known as zz_dimtruck22:12
*** stevemar_ has quit IRC22:12
*** vilobhmm11 has joined #openstack-oslo22:12
openstackgerrittonytan4ever proposed openstack/taskflow: Register conductor information on jobboard  https://review.openstack.org/23444822:14
*** dimsum__ has quit IRC22:16
*** dimsum__ has joined #openstack-oslo22:17
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.messaging: Updated from global requirements  https://review.openstack.org/23594722:24
*** jecarey has joined #openstack-oslo22:35
*** jecarey has quit IRC22:39
*** salv-orlando has quit IRC22:45
*** dimsum__ has quit IRC22:52
*** salv-orlando has joined #openstack-oslo23:00
*** dimsum__ has joined #openstack-oslo23:08
harlowjait will happen soon i hope23:10
harlowjaoops23:10
harlowjaha23:10
*** jecarey has joined #openstack-oslo23:17
*** achanda has quit IRC23:27
*** jecarey has quit IRC23:28
*** jecarey has joined #openstack-oslo23:28
openstackgerritJoshua Harlow proposed openstack/taskflow: Allow an atom to request rescheduling (WIP)  https://review.openstack.org/23616723:31
*** jecarey has quit IRC23:32
*** jecarey has joined #openstack-oslo23:32
*** jecarey has quit IRC23:37
*** Qwazerty has left #openstack-oslo23:49
*** achanda has joined #openstack-oslo23:51
*** browne has quit IRC23:56

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