Thursday, 2018-08-30

tommylikehuhey bnemec, for your comments on this patch: https://review.openstack.org/#/c/593556/, in green thread, the context will not be switched until we explicitly call sleep or the green thread finished?00:47
openstackgerritTommyLike proposed openstack/oslo.privsep master: Use green thread to process target function  https://review.openstack.org/59355600:49
*** bobh has joined #openstack-oslo01:19
*** bobh has quit IRC01:41
*** ducnv has quit IRC01:42
*** ducnv has joined #openstack-oslo01:46
*** larainema has quit IRC02:00
*** bobh has joined #openstack-oslo02:15
*** bobh has quit IRC02:16
*** bobh has joined #openstack-oslo02:16
*** bobh has quit IRC02:20
*** phuongnh has joined #openstack-oslo02:28
*** dave-mccowan has quit IRC03:38
*** nicolasbock has quit IRC03:40
*** jbadiapa has quit IRC05:01
*** e0ne has joined #openstack-oslo05:31
*** snapiri has joined #openstack-oslo05:59
*** openstackgerrit has quit IRC06:07
*** e0ne has quit IRC06:19
*** e0ne has joined #openstack-oslo06:20
*** e0ne has quit IRC06:20
*** shardy has joined #openstack-oslo06:32
*** hoonetorg has quit IRC06:39
*** mattgo has joined #openstack-oslo06:46
*** hoonetorg has joined #openstack-oslo06:46
*** jbadiapa has joined #openstack-oslo07:14
*** pcaruana has joined #openstack-oslo07:14
*** rcernin has quit IRC07:20
*** mattgo has quit IRC07:42
*** hoonetorg has quit IRC07:55
*** cdent has joined #openstack-oslo07:59
*** pbourke has quit IRC08:15
*** pbourke has joined #openstack-oslo08:17
*** mattgo has joined #openstack-oslo08:29
*** e0ne has joined #openstack-oslo08:48
*** sambetts|afk is now known as sambetts09:18
*** flaper87 has quit IRC09:34
*** flaper87 has joined #openstack-oslo09:36
*** moguimar has quit IRC09:39
*** openstackgerrit has joined #openstack-oslo09:44
openstackgerritwangxiyuan proposed openstack/oslo.limit master: Add opts file  https://review.openstack.org/58676009:44
openstackgerritwangxiyuan proposed openstack/oslo.limit master: Add limit check func  https://review.openstack.org/59652009:44
*** moguimar has joined #openstack-oslo09:45
*** cdent has quit IRC10:02
*** jaosorior has quit IRC10:25
*** jaosorior has joined #openstack-oslo10:27
*** dave-mccowan has joined #openstack-oslo10:35
*** nicolasbock has joined #openstack-oslo10:47
*** shardy is now known as shardy_lunch10:57
*** ansmith has quit IRC11:13
*** cdent has joined #openstack-oslo11:15
*** cdent has quit IRC11:23
*** rnm has joined #openstack-oslo11:34
*** rnm is now known as rmart0411:36
*** threestrands has quit IRC11:38
*** rmart04 has quit IRC11:40
*** rnm has joined #openstack-oslo11:40
*** phuongnh has quit IRC11:41
*** rnm has quit IRC11:42
*** rnm has joined #openstack-oslo11:42
*** rnm is now known as rmart0411:43
*** cdent has joined #openstack-oslo11:49
*** dmellado has quit IRC11:50
*** jimbobhickville has joined #openstack-oslo12:17
*** shardy_lunch is now known as shardy12:18
*** oanson has joined #openstack-oslo12:30
*** raildo has joined #openstack-oslo12:48
*** nizam037 has joined #openstack-oslo12:50
*** kgiusti has joined #openstack-oslo12:54
*** ansmith has joined #openstack-oslo12:57
*** jbadiapa has quit IRC13:03
*** bobh has joined #openstack-oslo13:04
nizam037when the rabbitmq-server is in stopped state and i was trying to execute a openstack heat command  it is not thrwing any error. In logs i can see for every 2seconds it keeps retrying to connect to AMQP server. And this retry reaches till 32 seconds. why it does not increases beyond 32seconds.13:06
nizam037even though the default value of rabbit_interval_max= 30 why it is going beyond 3013:08
kgiustinizam037: what release of oslo.messaging are you using?   I think the backoff is exponential to a power of two and probably just checks backoff > rabbit_interval_max (guess only need to check code)13:14
kgiustinizam037: well this is interesting - the value of rabbit_interval_max is passed down the the rabbit kombu library13:18
kgiustinizam037: see https://git.openstack.org/cgit/openstack/oslo.messaging/tree/oslo_messaging/_drivers/impl_rabbit.py#n78513:19
kgiustinizam037: the value of interval_stepping is set by the rabbit_retry_backoff config variable13:20
*** jbadiapa has joined #openstack-oslo13:22
*** raildo has quit IRC13:24
kgiustinizam037: so the arguments to that autoretry call is described here: http://docs.celeryproject.org/projects/kombu/en/latest/reference/kombu.html#kombu.Connection.ensure13:30
kgiustinizam037: I'm probably giving you too much detail, sorry :)13:30
kgiustinizam037: that doc says that on retry it will call an errback routine with the interval that will be slept, however....13:31
*** raildo has joined #openstack-oslo13:31
kgiustinizam037: the code that implements this retry overrides the time value when it logs the interval: https://git.openstack.org/cgit/openstack/oslo.messaging/tree/oslo_messaging/_drivers/impl_rabbit.py#n73513:40
kgiustinizam037: so I need to look at this a bit more but yes I agree that doesn't seem right.13:41
kgiustinizam037: looks like a bug13:41
*** toabctl has joined #openstack-oslo13:44
kgiustinizam037: can you open a bug on this https://bugs.launchpad.net/oslo.messaging/+filebug ?   I'll follow up on that13:51
*** jimbobhickville has quit IRC13:56
*** jimbobhickville has joined #openstack-oslo13:58
nizam037sure14:07
nizam037https://bugs.launchpad.net/oslo.messaging/+bug/178992315:05
openstackLaunchpad bug 1789923 in oslo.messaging "Retrying to AMQP server is going beyond the value of rabbit_interval_max " [Undecided,New] - Assigned to Ken Giusti (kgiusti)15:05
*** pcaruana has quit IRC15:12
*** e0ne has quit IRC15:27
stephenfindhellmann: totally off-topic question: are you aware of any templating library w/ support for logic in Python's stdlib in recent releases? Something like Jinja2, Django templates15:28
*** bobh has quit IRC15:35
jimbobhickvillehttps://realpython.com/python-f-strings/ maybe would fit the bill?16:08
stephenfinjimbobhickville: Not quite enough logic there, unfortunately. I was thinking support for if-else, for loops etc. in the template itself16:11
stephenfinjimbobhickville: Having search python.org, it seems it's not something that's available. Jinja2 it is16:11
stephenfin*searched16:11
*** shachar has joined #openstack-oslo16:12
jimbobhickvilleso, is taskflow kind of dead at this point? I’ve been out of the loop a couple years, but was hoping to get back into it a little. Seems like it’s mostly just requirements update patches for at least a year. I don’t see Josh around on IRC any more either.16:13
*** snapiri has quit IRC16:14
stephenfinjimbobhickville: I think the nova-powervm guys use it pretty heavily. Can't say anything about the library itself though16:16
*** moguimar has quit IRC16:21
*** sambetts is now known as sambetts|afk16:31
*** jbadiapa has quit IRC16:35
*** bnemec has quit IRC16:35
*** rmart04 has quit IRC16:41
*** mattgo has quit IRC16:49
*** shardy has quit IRC16:56
dhellmannstephenfin : nothing with logic. I don't expect them to add anything with such a rich source of alternatives outside the stdlib.16:57
dhellmannjimbobhickville : it's used, but most of the maintainers are not working on it (or openstack?) any more. So we're looking for assistance there.16:57
*** bnemec has joined #openstack-oslo17:17
*** phuongnh has joined #openstack-oslo17:37
*** phuongnh has quit IRC17:41
bnemecjimbobhickville: There are projects using taskflow in OpenStack still so we've been maintaining it functionally.  There isn't much in the way of new feature development going on though.17:43
*** dmellado has joined #openstack-oslo17:44
*** bobh has joined #openstack-oslo18:27
jimbobhickvilleyeah, sorry, I didn’t mean to be critical or say it wasn’t being maintained, just seems like nothing has been added in a while. Last I worked on it with Josh a couple years ago, we had trouble getting features merged because we needed another core to +2 the reviews.18:45
*** toabctl has quit IRC18:51
*** nizam037 has quit IRC18:52
*** toabctl has joined #openstack-oslo19:07
*** ansmith has quit IRC19:15
*** e0ne has joined #openstack-oslo19:34
*** bobh has quit IRC20:06
*** bobh has joined #openstack-oslo20:08
openstackgerritBen Nemec proposed openstack/oslo.log stable/rocky: Filter args dict in JSONFormatter  https://review.openstack.org/59833820:09
*** kgiusti has left #openstack-oslo20:18
*** mugsie has quit IRC20:25
*** e0ne has quit IRC20:29
*** mugsie has joined #openstack-oslo20:39
*** harlowja has joined #openstack-oslo20:43
openstackgerritBen Nemec proposed openstack/oslo.cache master: Drop expired connections before retrieving from the queue  https://review.openstack.org/59834820:44
*** bobh has quit IRC20:46
*** rmart04 has joined #openstack-oslo20:47
*** raildo has quit IRC20:50
*** rmart04 has quit IRC21:16
openstackgerritBen Nemec proposed openstack/oslo.cache master: Drop expired connections before retrieving from the queue  https://review.openstack.org/59834821:26
*** dmellado has quit IRC21:31
*** dmellado has joined #openstack-oslo21:31
openstackgerritMichael Bayer proposed openstack/oslo.db master: Fix FOREIGN KEY messages for MariaDB 10.2, 10.3  https://review.openstack.org/59835521:36
*** mattgo has joined #openstack-oslo21:37
*** mattgo has quit IRC21:45
*** rcernin has joined #openstack-oslo21:49
openstackgerritMichael Bayer proposed openstack/oslo.db master: Fix FOREIGN KEY messages for MariaDB 10.2, 10.3  https://review.openstack.org/59835521:53
*** jimbobhickville has quit IRC22:13
*** purplerbot has quit IRC22:16
*** purplerbot has joined #openstack-oslo22:17
*** jimbobhickville has joined #openstack-oslo22:24
openstackgerritBen Nemec proposed openstack/oslo.service master: Stop asserting on Eventlet internals  https://review.openstack.org/59838422:35
* cdent promises to return to env vars for oslo_config soon22:54
*** cdent has quit IRC23:22
*** rcernin has quit IRC23:56
*** rcernin has joined #openstack-oslo23:56

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