Friday, 2015-03-13

zzzeek:)00:03
*** achanda has quit IRC00:03
harlowjahaypo i started https://review.openstack.org/#/c/164035/ as a place to merge the 2 specs; if u want to merge over your stuff that'd be cool00:21
harlowjaor adjust it however u want00:21
harlowjai started copying over your stuff, but it seems like u would know best what to retain/not retain00:21
harlowja'Replace eventlet + monkey-patching with ??' super-meta-spec, lol00:22
*** sputnik13 has quit IRC00:31
*** dims has joined #openstack-oslo00:32
harlowjahaypo i'm thinking 1 big section with 'why' (at the top); then sections after that with proposals for replacements00:33
harlowjato address the 'why' first, and then have potential ways to get around it (which are not quite so useful proposals if nobody agrees about the initial 'why')00:34
openstackgerritMerged openstack/taskflow: Retain nested causes where/when we can  https://review.openstack.org/16283800:42
*** jaypipes has quit IRC00:45
openstackgerritMerged openstack/taskflow: add _listeners_from_job method to Conductor base  https://review.openstack.org/16272900:47
*** harkirat has joined #openstack-oslo00:52
*** liusheng has quit IRC00:56
*** yamahata has quit IRC01:33
*** amotoki has joined #openstack-oslo01:39
*** ChuckC has joined #openstack-oslo01:42
*** amotoki has quit IRC01:44
*** ChuckC has quit IRC01:46
*** ChuckC has joined #openstack-oslo01:47
*** harkirat has quit IRC01:50
*** tsekiyama has joined #openstack-oslo01:52
*** harlowja is now known as harlowja_away02:07
*** dims has quit IRC02:14
*** AAzza_afk has joined #openstack-oslo02:21
*** andreykurilin has quit IRC02:22
*** andreykurilin has joined #openstack-oslo02:22
*** AAzza has quit IRC02:22
*** AAzza_afk is now known as AAzza02:22
*** ozamiatin has quit IRC02:23
*** ozamiatin has joined #openstack-oslo02:23
*** tsekiyama has quit IRC02:26
*** tsekiyama has joined #openstack-oslo02:27
*** _amrith_ is now known as amrith02:31
*** dims has joined #openstack-oslo02:34
*** tsekiyama has quit IRC02:36
*** dims has quit IRC02:39
*** sigmavirus24_awa is now known as sigmavirus2402:42
*** devlaps has quit IRC02:43
*** achanda has joined #openstack-oslo02:44
*** amrith is now known as _amrith_02:49
*** amotoki has joined #openstack-oslo02:55
*** amotoki has quit IRC03:00
*** harkirat has joined #openstack-oslo03:15
*** jaypipes has joined #openstack-oslo03:18
*** zzzeek has quit IRC03:40
*** tsekiyama has joined #openstack-oslo03:49
*** tsekiyama has quit IRC03:53
*** harkirat is now known as innosam03:54
*** innosam is now known as harkirat03:54
*** rushiagr_away is now known as rushiagr03:59
*** liusheng has joined #openstack-oslo04:06
*** amotoki has joined #openstack-oslo04:11
*** amotoki has quit IRC04:15
*** sputnik13 has joined #openstack-oslo04:43
*** mtanino has quit IRC04:46
*** YorikSar has quit IRC04:50
*** YorikSar has joined #openstack-oslo05:01
*** jamespage has quit IRC05:05
*** jamespage has joined #openstack-oslo05:05
*** YorikSar has quit IRC05:06
*** sputnik13 has quit IRC05:11
*** exploreshaifali has joined #openstack-oslo05:14
*** vigneshvar has joined #openstack-oslo05:24
openstackgerritMerged openstack/oslo.versionedobjects: Sync from oslo-incubator  https://review.openstack.org/16376205:29
*** exploreshaifali has quit IRC05:38
*** inc0 has joined #openstack-oslo05:40
*** harkirat is now known as innosam05:42
innosamHi, a question on scalability. Does enabling notifications in nova and neutron have scalability impact05:43
*** exploreshaifali has joined #openstack-oslo05:47
*** ajo has joined #openstack-oslo05:53
*** YorikSar has joined #openstack-oslo05:54
*** exploreshaifali has quit IRC05:55
*** achanda has quit IRC06:10
*** achanda has joined #openstack-oslo06:13
*** vigneshvar has quit IRC06:19
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.utils: Imported Translations from Transifex  https://review.openstack.org/16064906:20
*** stevemar has quit IRC06:22
*** amotoki has joined #openstack-oslo06:23
*** achanda has quit IRC06:28
*** ajo has quit IRC06:31
*** ajo has joined #openstack-oslo06:32
*** achanda has joined #openstack-oslo06:34
*** sreshetn1 has joined #openstack-oslo06:35
*** stevemar has joined #openstack-oslo06:35
*** achanda has quit IRC06:38
*** stevemar has quit IRC06:44
*** rushiagr is now known as rushiagr_away06:45
*** innosam has quit IRC06:47
openstackgerritJoshua Harlow proposed openstack/taskflow: Ensure we register & deregister conductor listeners  https://review.openstack.org/16409607:18
*** dims has joined #openstack-oslo07:23
*** dims has quit IRC07:27
openstackgerritJoshua Harlow proposed openstack/taskflow: Ensure we register & deregister conductor listeners  https://review.openstack.org/16409607:31
openstackgerritJoshua Harlow proposed openstack/taskflow: Ensure we register & deregister conductor listeners  https://review.openstack.org/16409607:32
*** red_ has joined #openstack-oslo07:35
*** inc0 has quit IRC07:46
*** ajo has quit IRC07:47
*** exploreshaifali has joined #openstack-oslo07:48
*** sreshetn1 has quit IRC08:03
*** dulek has joined #openstack-oslo08:09
*** inc0 has joined #openstack-oslo08:19
*** openstackgerrit has quit IRC08:21
*** openstackgerrit has joined #openstack-oslo08:21
openstackgerritMerged openstack/taskflow: Add + use failure json schema validation  https://review.openstack.org/16324808:29
*** ihrachyshka has joined #openstack-oslo08:30
*** YorikSar has quit IRC08:37
*** YorikSar has joined #openstack-oslo08:43
*** ajo has joined #openstack-oslo08:47
*** ihrachyshka has quit IRC08:48
*** andreykurilin_ has joined #openstack-oslo08:53
*** amotoki has quit IRC08:57
*** sreshetn1 has joined #openstack-oslo09:00
*** sreshetn1 has quit IRC09:04
*** stannie1 has joined #openstack-oslo09:07
*** _amrith_ is now known as amrith09:10
*** e0ne has joined #openstack-oslo09:11
*** ndipanov has joined #openstack-oslo09:12
*** e0ne has quit IRC09:16
*** red_ has left #openstack-oslo09:16
*** amotoki has joined #openstack-oslo09:20
*** e0ne has joined #openstack-oslo09:20
*** sigmavirus24 is now known as sigmavirus24_awa09:24
*** bnemec has quit IRC09:24
*** bnemec has joined #openstack-oslo09:25
*** amrith is now known as _amrith_09:27
*** andreykurilin_ has quit IRC09:31
*** andreykurilin_ has joined #openstack-oslo09:32
*** e0ne has quit IRC09:37
*** dims has joined #openstack-oslo09:42
*** inc0 has quit IRC09:42
*** dims has quit IRC09:47
*** vigneshvar has joined #openstack-oslo09:47
*** dims has joined #openstack-oslo09:54
*** SridharG has quit IRC09:58
*** SridharG has joined #openstack-oslo10:00
*** inc0 has joined #openstack-oslo10:06
*** ihrachyshka has joined #openstack-oslo10:08
*** e0ne has joined #openstack-oslo10:17
*** e0ne is now known as e0ne_10:17
*** vigneshvar has quit IRC10:19
*** e0ne_ is now known as e0ne10:22
*** inc0 has quit IRC10:23
openstackgerritMerged openstack/oslo.messaging: Update to oslo.context  https://review.openstack.org/15977810:24
openstackgerritMerged openstack/oslo.messaging: Deprecates the localcontext API  https://review.openstack.org/14061610:24
*** stannie1 has quit IRC10:25
*** e0ne_ has joined #openstack-oslo10:28
*** e0ne has quit IRC10:29
*** andreykurilin_ has quit IRC10:39
*** vigneshvar has joined #openstack-oslo10:40
*** inc0 has joined #openstack-oslo10:54
openstackgerritTimofey Durakov proposed openstack/oslo.db: Fixed bug in InsertFromSelect columns order  https://review.openstack.org/16346910:54
*** harlowja_away has quit IRC10:59
*** dulek_ has joined #openstack-oslo11:00
*** dulek has quit IRC11:03
*** exploreshaifali has quit IRC11:03
*** sreshetn1 has joined #openstack-oslo11:35
openstackgerritMerged openstack/oslo.messaging: Add support for multiple namespaces in Targets  https://review.openstack.org/16367311:38
*** cdent has joined #openstack-oslo11:44
*** exploreshaifali has joined #openstack-oslo11:45
*** vigneshvar has quit IRC11:51
*** dulek___ has joined #openstack-oslo11:53
*** dulek_ has quit IRC11:56
*** ndipanov is now known as ndipanoff12:04
*** inc0 has quit IRC12:20
*** bknudson has joined #openstack-oslo12:21
*** exploreshaifali has quit IRC12:23
*** sreshetn1 has quit IRC12:33
*** sreshetn1 has joined #openstack-oslo12:44
*** kgiusti has joined #openstack-oslo12:54
*** sreshetn1 has quit IRC12:55
*** mriedem_away is now known as mriedem12:58
*** dulek has joined #openstack-oslo13:01
*** sreshetn1 has joined #openstack-oslo13:01
*** dulek___ has quit IRC13:02
*** dulek has quit IRC13:04
*** dulek_ has joined #openstack-oslo13:04
*** gordc has joined #openstack-oslo13:09
*** exploreshaifali has joined #openstack-oslo13:10
*** vigneshvar has joined #openstack-oslo13:15
*** dulek has joined #openstack-oslo13:32
*** dulek_ has quit IRC13:33
*** jungleboyj has quit IRC13:40
haypoif someone wants to do review today, take a look at my old patch for oslo messaging for fixing namespaces in tests ;) https://review.openstack.org/#/c/147549/13:43
haypoalready +2 by sileht :-p13:43
dhellmannhaypo: +2a13:54
*** _amrith_ is now known as amrith13:59
*** dansmith is now known as superdan13:59
haypodhellmann: one more baby step to get rid of the oslo namespace :)14:00
*** gordc has quit IRC14:00
*** gordc has joined #openstack-oslo14:01
*** jecarey has joined #openstack-oslo14:03
*** dims has quit IRC14:06
*** jaypipes is now known as leakypipes14:07
*** dims has joined #openstack-oslo14:07
*** amotoki has quit IRC14:16
*** ChuckC_ has joined #openstack-oslo14:16
*** ChuckC has quit IRC14:17
*** vigneshvar has quit IRC14:18
*** sreshetn1 has quit IRC14:19
*** jungleboyj has joined #openstack-oslo14:20
*** SridharG has quit IRC14:20
dimshaypo: yay14:21
*** dims is now known as dimsum__14:21
*** ChuckC_ has quit IRC14:23
*** pblaho_ is now known as pblaho14:27
*** Nakato has quit IRC14:33
*** Nakato has joined #openstack-oslo14:34
dhellmannthe stable/kilo branches are all done except for the incubator14:36
dhellmannttx: should I do something special to create the stable/kilo branch for the incubator?14:36
elarsonpleia2: I'll keep an eye out then for oslo.cache in the next week or two. feel free to ping me if there is something that could use some attention14:38
ttxhmm, not that I can think of... We usually do it at release time, but I don't think I actually care14:38
dhellmannttx: ok, I wasn't sure if there was a special script or something. I suppose we should wait for the other projects before branching that repo, in case we have fixes to release.14:39
ttxno, that one is manual14:41
*** exploreshaifali has quit IRC14:42
dhellmannok, that's easy enough now that I have permissions :-)14:42
*** amotoki has joined #openstack-oslo14:46
openstackgerritMerged openstack/oslo.messaging: Adjust tests for the new namespace  https://review.openstack.org/14754914:53
*** subscope has quit IRC14:53
*** jungleboyj has quit IRC15:03
*** mriedem has quit IRC15:04
*** ChuckC_ has joined #openstack-oslo15:07
*** mtanino has joined #openstack-oslo15:13
*** bknudson has quit IRC15:13
*** jgrimm has quit IRC15:13
*** jgrimm has joined #openstack-oslo15:14
*** amrith is now known as _amrith_15:15
*** viktors has quit IRC15:16
*** stevemar has joined #openstack-oslo15:19
*** tsekiyama has joined #openstack-oslo15:28
*** sputnik13 has joined #openstack-oslo15:30
*** daniel3_ has joined #openstack-oslo15:32
*** YorikSar has quit IRC15:32
*** david-lyle_afk is now known as david-lyle15:33
*** mriedem has joined #openstack-oslo15:34
*** zzzeek has joined #openstack-oslo15:35
openstackgerritJoshua Harlow proposed openstack/taskflow: Ensure we register & deregister conductor listeners  https://review.openstack.org/16409615:37
*** sputnik13 has quit IRC15:38
*** mdbooth has quit IRC15:45
*** bknudson has joined #openstack-oslo15:45
*** exploreshaifali has joined #openstack-oslo15:46
*** ajo has quit IRC15:48
*** ChuckC_ has quit IRC15:49
*** mdbooth has joined #openstack-oslo15:50
*** ChuckC has joined #openstack-oslo15:53
*** sreshetn1 has joined #openstack-oslo15:55
*** ajo has joined #openstack-oslo15:55
*** amotoki has quit IRC15:56
*** e0ne_ has quit IRC15:59
*** amotoki has joined #openstack-oslo16:00
*** amotoki has quit IRC16:10
*** amotoki has joined #openstack-oslo16:22
*** jogo is now known as flashgordon16:22
*** amotoki has quit IRC16:27
*** dulek has quit IRC16:34
dimsum__dhellmann: when are we going to bump g-r? with latest oslo releases?16:39
*** sreshetn1 has quit IRC16:42
*** ttx has quit IRC16:43
*** ttx has joined #openstack-oslo16:43
elarsonhmm... I might be thinking about the cfg.CONF object the wrong way but this seems broken. this is part of a traceback: http://paste.openstack.org/show/192128/16:44
elarsonI would assuming that doing cfg.CONF.get() *wouldn't* raise an exception16:44
*** YorikSar has joined #openstack-oslo16:47
* elarson does a bit more reading16:47
*** harlowja has joined #openstack-oslo16:57
pleia2elarson: thanks, if you have the time, feel free to start making progress on your end, with my mentee working through finals this week I think coming back to some code in progress may actually be valuable to her17:00
*** sputnik13 has joined #openstack-oslo17:03
harlowjalifeless u might also be interested in https://review.openstack.org/#/c/164035/17:04
harlowjaguess i'll try to adjust/tweak that more today, haypo if u can to that'd be nice17:04
elarsonpleia2: was there a repo?17:05
pleia2elarson: there's not, the oslo.cache repo needs to be created17:06
* elarson wonders if he needs some permission bits to do that17:10
pleia2elarson: it goes through code review, so everyone does, I'll get you some links17:11
elarsonpleia2: thanks!17:11
pleia2elarson: so this is the long version, which I recommend you reading so you have a broad understanding of how creating a project works: http://docs.openstack.org/infra/manual/creators.html17:12
pleia2elarson: on the technical side, you can start here: http://docs.openstack.org/infra/manual/creators.html#add-project-to-the-governance-repository need to "Add Project to the Governance Repository" and "Adding the Repository to the CI System"17:13
pleia2(as you can see, that link is a section of the first link I gave, so you'll get to it)17:13
elarsonindeed I will :)17:14
elarsonI skimmed the doc the other day, so I'll take a deeper dive today17:14
pleia2in this case, all oslo projects are in openstack/ so they do need the governance change, which dhellmann will have to approve, along with some fols on the technical committee17:14
pleia2great :) let me know if you have any questions17:14
elarsonwill do! thanks!17:14
pleia2you can also ask in #openstack-infra if I'm not around17:15
elarsonah great17:15
*** ajo has quit IRC17:16
haypoharlowja: i saw your spec, i don't have time to work on it right now. but thanks!17:21
haypo(i have to go)17:21
harlowjahaypo k17:21
*** achanda has joined #openstack-oslo17:33
*** pblaho has quit IRC17:33
*** jungleboyj has joined #openstack-oslo17:39
*** ChuckC has quit IRC17:45
*** prad has joined #openstack-oslo17:47
dimsum__elarson: we have a wiki page in oslo-lang as well https://wiki.openstack.org/wiki/Oslo/CreatingANewLibrary17:48
dimsum__s/lang/land/17:48
*** rushiagr_away is now known as rushiagr17:51
*** alexpilotti has joined #openstack-oslo18:00
*** alexpilotti has quit IRC18:01
*** alexpilotti has joined #openstack-oslo18:02
*** shardy has quit IRC18:24
elarsondimsum__: thanks!18:25
*** e0ne has joined #openstack-oslo18:34
*** andreykurilin_ has joined #openstack-oslo18:49
*** ndipanoff has quit IRC18:55
*** liusheng has quit IRC18:56
*** liusheng has joined #openstack-oslo18:57
*** gordc has quit IRC19:06
*** rjaiswal has joined #openstack-oslo19:07
rjaiswal@here: using oslo.config register_cli_opt to register cli options and get this error: ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option19:08
rjaiswaltried upgrading oslo.config from 1.6.0 to 1.9.3, but still get the error19:09
*** jaosorior has joined #openstack-oslo19:10
*** zul has quit IRC19:19
*** rjaiswal has quit IRC19:23
*** gordc has joined #openstack-oslo19:36
*** ajo has joined #openstack-oslo19:46
*** stevemar has quit IRC19:56
*** rushiagr is now known as rushiagr_away19:57
*** sreshetn1 has joined #openstack-oslo19:59
*** Ritz has joined #openstack-oslo20:01
elarsonso I think I blew it already. I used oslo-drivers as the maintainer for oslo.cache, but that means I can't edit the rest of the project as mentioned http://docs.openstack.org/infra/manual/creators.html#put-your-new-project-in-the-correct-project-group20:03
elarsonIf someone wants to assign me as the maintainer, I'll pick up where I left off on the creation process20:05
elarsonsorry about that :(20:05
* elarson on launchpad is https://launchpad.net/~eric-larson20:05
*** achanda has quit IRC20:06
RitzHello can anyone please direct me the right documentation for oslo messaging example. My design is to have a set of 3 servers listening to a queue on Rabbit mq using oslo messaging20:06
*** yamahata has joined #openstack-oslo20:09
dimsum__Ritz: you can borrow from the simulator tool - http://git.openstack.org/cgit/openstack/oslo.messaging/tree/tools/simulator.py20:10
*** achanda has joined #openstack-oslo20:11
*** gordc has quit IRC20:11
RitzThanks dimsum__ apreciate it !20:12
Ritzso do you know the difference between  rpc-server and notify-sever20:15
Ritzi had earlier written a program to use notify-server but ran into some issues and more examples suggest i should use rpc server20:16
Ritzmy require is to send a message onto a queue and any one of the 3 servers listening to the queue should pick up the message20:17
*** achanda has quit IRC20:25
*** e0ne has quit IRC20:25
*** sreshetn1 has quit IRC20:30
*** alexpilotti has quit IRC20:37
*** sreshetn1 has joined #openstack-oslo20:37
elarsondimsum__: if you are a member of the oslo-drivers and wanted to make me the maintainer of oslo.cache, I'd be happy to finish up the configuration in launchpad20:37
elarsonpleia2, dhellmann: ^^^20:37
*** rjaiswal has joined #openstack-oslo20:37
*** jungleboyj has quit IRC20:40
dimsum__elarson: you are listed as "Driver" no?20:41
elarsondimsum__: yes, that is correct20:41
dimsum__elarson: i don't have karma to add you oslo drivers20:44
dimsum__looking at https://launchpad.net/oslo.utils20:44
dimsum__both the Driver and Maintainer is set to "Oslo Drivers"20:44
dhellmanndimsum__: the g-r patch for kilo is https://review.openstack.org/16265620:45
elarsondimsum__: I had a couple more steps in the creators process before I was supposed to switch things over.20:45
*** exploreshaifali has quit IRC20:46
dhellmannpleia2, elarson : we have extra steps you might need to follow for creating a new library, so please start from https://wiki.openstack.org/wiki/Oslo/CreatingANewLibrary20:46
dimsum__dhellmann: y already pointed that out20:46
* dhellmann sees dimsum__ sent that link already20:46
elarsondhellmann: I have that open as well20:46
* elarson still screwed up... but at least I'm reading the docs ;)20:47
*** stevemar has joined #openstack-oslo20:52
*** exploreshaifali has joined #openstack-oslo20:56
*** exploreshaifali has quit IRC20:57
*** achanda has joined #openstack-oslo20:57
*** harlowja has quit IRC21:00
*** harlowja has joined #openstack-oslo21:06
*** ajo has quit IRC21:09
*** sreshetn1 has quit IRC21:22
*** andreykurilin_ has quit IRC21:23
*** andreykurilin_ has joined #openstack-oslo21:23
*** ajo has joined #openstack-oslo21:23
*** achanda has quit IRC21:27
*** kgiusti has left #openstack-oslo21:31
*** achanda has joined #openstack-oslo21:33
openstackgerritJoshua Harlow proposed openstack/taskflow: Just let the future executors handle the max workers  https://review.openstack.org/16435221:33
pleia2dhellmann: ah thanks, I had forgotten about that21:33
*** jgrimm_ has joined #openstack-oslo21:34
*** bknudson has quit IRC21:35
*** jgrimm- has joined #openstack-oslo21:36
*** jgrimm has quit IRC21:36
*** jgrimm_ has quit IRC21:39
*** bknudson has joined #openstack-oslo21:41
*** andreykurilin_ has quit IRC21:41
*** andreykurilin_ has joined #openstack-oslo21:42
*** rushiagr_away is now known as rushiagr21:44
*** daniel3_ has quit IRC21:45
*** prad has quit IRC21:46
openstackgerritJoshua Harlow proposed openstack/taskflow: Add ability to use tooz to find and advertise workers  https://review.openstack.org/15149521:47
*** rjaiswal has quit IRC21:50
lifelessharlowja: I thought we'd been asked to write one unified spec?22:03
Ritzcan any one please suggest me if "from gevent import monkey monkey.patch_all()" or "import eventlet eventlet.monkey_patch()" is the right way to patch22:03
harlowjalifeless i thought so to, lol22:03
harlowjabrb22:04
*** harlowja has quit IRC22:04
*** jecarey has quit IRC22:04
Ritzthe reason i am askign is when i use patch_all() i get this warning in the log22:04
Ritz2015-03-13 18:48:13,874 - oslo_messaging._executors.impl_eventlet - DEBUG - eventlet executor in use but the threading module has not been monkeypatched or has been monkeypatched22:04
*** harlowja has joined #openstack-oslo22:06
*** harlowja has quit IRC22:06
*** harlowja has joined #openstack-oslo22:06
harlowjalifeless so what do u think, i'm fine with one big co-authored spec :-P22:07
harlowjabut it might turn into a book, lol22:07
harlowja500 page spec, lol22:07
harlowjaRitz thats really a hard question to answer without more context ;)22:10
Ritzthanks "harlowja" i started with writing a listener         server = messaging.get_notification_listener(transport, targets, endpoints, allow_requeue=True, executor='eventlet')22:12
Ritzproblem is when i use eventlet i get the following error22:13
Ritz2015-03-13 22:10:41,616 - root - ERROR - Error in executing playbook[Errno 11] Resource temporarily unavailable Traceback (most recent call last):   File "/opt/stack/venvs/openstack/lib/python2.7/site-packages/attis_server-1.0.0a1-py2.7.egg/attis/engine/contentprocessor.py", line 119, in runPlaybook     pb.run()   File "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/ansible/playbook/__init__.py", line 347, in run22:13
RitzI rememeber last time you suggested try using blocked22:13
*** cdent has quit IRC22:13
Ritzbut if i do that it is blocking all calls till current call finishes22:14
Ritzso i really want to get the eventlet handler to work22:14
harlowjak, ya, thats all ansible stuff right, which i'm not sure if it works so well with eventlet22:14
harlowjau can try the thread executor, that might fit better22:15
harlowja'Resource temporarily unavailable' likely needs more information to; i thought there was something multiprocessing related22:16
harlowjawhich may mean that ansible doesn't work so well with eventlet22:16
*** ihrachyshka has quit IRC22:19
harlowjau might be better asking on some ansible channel if thats the case22:21
*** stevemar has quit IRC22:24
Ritzyes they use mutiprocessing and i have been reading that mutiprocessing and eventlet dont go well22:25
harlowjaya, then that might be why u want to avoid eventlet :)22:25
Ritzbut would like to know if swtching to rpc instead of notify will make any difference22:25
harlowjaunsure, how would that avoid eventlet?22:26
Ritzright just a thought ..22:26
Ritzbut do you think it is ansible problem22:26
Ritzany mutiprocessing with eventlet then wont work i guess ?22:26
*** mtanino has quit IRC22:27
Ritzon a different note ... what are my options ... You mentioned "thread executor"22:27
Ritzonly 2 options i saw was eventlet and blocked22:27
harlowjanot sure, the eventlet folks would probably know the best how well it works (but i've heard similar things to what u are saying in that it may/may not work)22:27
Ritzcan u please elaborate what "thread executor" is22:28
harlowjahttps://github.com/openstack/oslo.messaging/blob/master/setup.cfg#L4422:28
harlowjaone that uses threads22:28
harlowjai think that just got released22:28
harlowjaaioeventlet also, but i think thats still eventlet in there22:28
harlowjahttps://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_executors/impl_thread.py#L2922:29
harlowjathat may work better in your situation22:29
Ritzok cool !22:30
Ritzunfortunately i need to make it work in a virtual env having oslo messaging 1.5.022:31
Ritzlooks like this one might be bleeding edge :)22:31
harlowjaya, it might be22:32
harlowjathen another idea, why not have a forked-worker pool (created before patching) that u have your oslo.messaging program (with eventlet patched) submit work into?22:33
harlowjathose forked-workers can do whatever in ansible22:33
harlowjathen eventlet+oslo.messaging program just 'drops' work for the other workers to do22:34
harlowjaand then the forked workers aren't affected by evnetlet22:34
harlowjahttps://docs.python.org/2/library/multiprocessing.html#using-a-pool-of-workers maybe...22:34
*** ajo has quit IRC22:44
openstackgerritJoshua Harlow proposed openstack/taskflow: Use a collections.namedtuple for the request work unit  https://review.openstack.org/16436522:45
openstackgerritMerged openstack/taskflow: Allow the storage unit to use the right scoping strategy  https://review.openstack.org/16365222:49
openstackgerritMerged openstack/taskflow: Allow passing 'many_handler' to fetch_all function  https://review.openstack.org/16400122:49
*** tsekiyam_ has joined #openstack-oslo22:52
*** tsekiyama has quit IRC22:56
*** tsekiyam_ has quit IRC22:56
RitzThanks harlowja  i took some time to digest your thoughts .... looks promising !!23:07
harlowjanp, probably more ways to work through this23:08
Ritzok... 1 more question if you dont mind .. i observed that whenever there were errors in my processing the message remained in the queue. Is there a way i can configure and say rmoeve it from queue as soon as i start working on it23:09
Ritzi tried requeue=False23:10
Ritzbut that doesnt seem to do the trick23:10
openstackgerritJoshua Harlow proposed openstack/taskflow: Have this example exit non-zero if incorrect results  https://review.openstack.org/16437323:26
*** david-lyle is now known as david-lyle_afk23:29
openstackgerritJoshua Harlow proposed openstack/taskflow: Add FETCHING notification state (not persisted)  https://review.openstack.org/16185823:31
*** jaosorior has quit IRC23:32
harlowjaRitz not sure23:32
Ritzno worries at least you have unblocked me .. will work on the 2 approaches u gave me .. thanks again !23:34
*** ChuckC has joined #openstack-oslo23:41
harlowjanp23:46
*** jungleboyj has joined #openstack-oslo23:50
*** dimsum__ has quit IRC23:52
*** dims_ has joined #openstack-oslo23:55
*** dims_ has quit IRC23:57
*** dims_ has joined #openstack-oslo23:57

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