Friday, 2017-04-21

openstackgerritTakashi NATSUME proposed openstack/oslo.config master: Fix string interpolation in ValueError  https://review.openstack.org/45850200:07
*** dkehn has quit IRC00:12
*** salv-orlando has quit IRC00:22
*** jerrygb has joined #openstack-oslo00:45
*** jerrygb has quit IRC00:52
*** dimtruck is now known as zz_dimtruck00:56
*** dkehn has joined #openstack-oslo00:57
*** amrith has quit IRC01:04
*** jerrygb has joined #openstack-oslo01:04
*** zz_dimtruck is now known as dimtruck01:14
*** eck`gone is now known as eck`01:18
*** salv-orlando has joined #openstack-oslo01:19
*** dimtruck is now known as zz_dimtruck01:22
*** gcb has joined #openstack-oslo01:31
*** zhangguoqing has joined #openstack-oslo01:33
*** zhangguoqing has quit IRC01:38
*** zhangguoqing has joined #openstack-oslo01:39
*** salv-orlando has quit IRC01:48
*** zz_dimtruck is now known as dimtruck01:50
*** amrith has joined #openstack-oslo01:58
*** amrith has quit IRC02:00
*** yamahata has quit IRC02:03
*** amrith has joined #openstack-oslo02:04
*** sdague has quit IRC02:16
*** gcb has quit IRC02:31
*** gcb has joined #openstack-oslo02:44
*** gcb has quit IRC02:44
*** salv-orlando has joined #openstack-oslo02:45
*** amotoki has joined #openstack-oslo02:58
*** salv-orl_ has joined #openstack-oslo03:03
*** salv-orlando has quit IRC03:03
*** ihrachys has quit IRC03:03
*** amotoki has quit IRC03:03
*** zhangguoqing has quit IRC03:03
*** zhangguo_ has joined #openstack-oslo03:04
*** ihrachys has joined #openstack-oslo03:04
*** david-lyle has joined #openstack-oslo03:11
*** salv-orl_ has quit IRC03:16
*** david-lyle has quit IRC03:19
*** nicolasbock has quit IRC03:28
*** dave-mcc_ has quit IRC04:02
*** amotoki has joined #openstack-oslo04:09
*** salv-orlando has joined #openstack-oslo04:13
*** zhangguo_ has quit IRC04:24
*** yamahata has joined #openstack-oslo04:24
*** salv-orlando has quit IRC04:41
*** shyama has joined #openstack-oslo04:45
*** salv-orlando has joined #openstack-oslo04:46
*** Rockyg has joined #openstack-oslo05:04
*** zhangguoqing has joined #openstack-oslo05:06
*** dimtruck is now known as zz_dimtruck05:09
*** gcb has joined #openstack-oslo05:18
*** zhangguoqing has quit IRC05:42
*** lpetrut has joined #openstack-oslo05:47
*** Rockyg has quit IRC05:48
*** jbadiapa has joined #openstack-oslo05:59
*** Rockyg has joined #openstack-oslo06:00
*** jaosorior has joined #openstack-oslo06:06
*** zhangguoqing has joined #openstack-oslo06:09
openstackgerritMerged openstack/oslo.log master: Add oslo_messaging to the list of log levels  https://review.openstack.org/45806906:11
*** salv-orlando has quit IRC06:11
*** salv-orlando has joined #openstack-oslo06:11
*** zhangguoqing has quit IRC06:13
*** rcernin has joined #openstack-oslo06:15
*** salv-orlando has quit IRC06:16
*** pcaruana has joined #openstack-oslo06:18
*** hoonetorg has quit IRC06:19
*** hoonetorg has joined #openstack-oslo06:32
*** lpetrut has quit IRC06:37
*** gcb has quit IRC06:42
*** e0ne has joined #openstack-oslo06:47
*** e0ne has quit IRC06:54
*** gcb has joined #openstack-oslo06:56
*** salv-orlando has joined #openstack-oslo07:01
*** tesseract has joined #openstack-oslo07:11
*** Rockyg has quit IRC07:13
*** shardy has joined #openstack-oslo07:24
*** e0ne has joined #openstack-oslo07:37
openstackgerritMerged openstack-dev/pbr master: trivial: Add note about multiple builders support  https://review.openstack.org/43954507:46
*** shyama has quit IRC07:57
*** zzzeek has quit IRC08:00
*** zzzeek has joined #openstack-oslo08:00
*** lucas-afk is now known as lucasagomes08:07
*** jerrygb_ has joined #openstack-oslo08:11
*** jerrygb has quit IRC08:11
*** rcernin has quit IRC08:13
*** jerrygb_ has quit IRC08:21
*** jerrygb has joined #openstack-oslo08:22
*** mhickey has joined #openstack-oslo08:22
*** mhickey has quit IRC08:26
*** mhickey has joined #openstack-oslo08:26
*** rcernin has joined #openstack-oslo08:27
*** kani__ has joined #openstack-oslo08:28
kani__Hi, I have created RPC server(using oslo_messaging) in my service to process the rpc cast request. Once it receives the request, the processing takes minimum of 4 minutes to complete. But in the meantime the rabbitmq-server closes the connection and reconnecting to the client.  Error logged in Rabbitmq-server log : =ERROR REPORT==== 17-Apr-2017::16:25:26 === closing AMQP connection <0.28633.6> (192.18.17.3:54762 -> 192.18.17.108:29
thervesileht, Should I open a bug in oslo.messaging for that log weirdness?08:32
silehttherve, most of the times this is because time or thread is not monkeypatched so heartbeat thread can't do heartbeat and connection is closed08:33
thervesileht, Hum... Are you sure about that?08:33
*** shardy has quit IRC08:34
kani__Error logged in my service log: 2017-04-13 16:26:05    ERROR [oslo.messaging._drivers.impl_rabbit] impl_rabbit:impl_rabbit.py:676 AMQP server myamqp-m2-clm:5672 closed the connection. Check login credentials: Socket closed08:34
silehttherve, if the connection is closed by rabbit you have more detail on the reason, do you have the complete rabbit log ? so I can confirm08:34
kani__Error logged in Rabbitmq-server log : =ERROR REPORT==== 17-Apr-2017::16:25:26 === closing AMQP connection <0.28633.6> (192.18.17.3:54762 -> 192.18.17.10:5672): missed heartbeats from client, timeout: 60s08:35
*** shardy has joined #openstack-oslo08:35
thervesileht, Are you talking to kani__ ? :)08:35
silehttherve, not you ?08:35
therveI was talking about https://review.openstack.org/458069 myself08:35
silehtoh I mix both :)08:36
kani__:)08:36
kani__Hi sileht, is this error message from rabbitmq log enough? Or do u want something more?08:37
silehtkani__, something hold the heartbeat thread, usualy this is because the application does not monkeypatched time and/or threading correctly08:37
silehttherve, it's already merged08:38
silehttherve, if you want to backport it you need a bug, otherwise I don't care08:38
kani__sileht, do u have any example of how to do it?08:38
thervesileht, Sure, but it's mostly a workaround in oslo.log. Shouldn't it be fixed in oslo.messaging?08:38
silehttherve, I don't see the issue08:40
thervesileht, Well it logs with 2 different namespaces08:40
silehttherve, all logs should come from oslo_messaging since a while now08:40
thervesileht, Yeah it should, but it doesn't :)08:40
*** shyama has joined #openstack-oslo08:42
thervesileht, http://logs.openstack.org/86/405586/21/check/gate-tempest-dsvm-ironic-ipa-wholedisk-bios-agent_ipmitool-tinyipa-ubuntu-xenial/daeb997/logs/screen-ir-cond.txt.gz#_2017-04-20_17_36_01_349 for example08:42
therveI think it's because of stevedore or something08:42
silehttherve, interresting, I think you can open a bug then08:42
therveOK will do08:43
silehttherve, it's wierd the logger use __name__08:44
*** cdent has joined #openstack-oslo08:44
thervesileht, Isn't that overridable?08:47
silehttherve, I don't find where we do that, maybe a stevedore or pbr magic08:49
therveYeah that's what I think too08:50
*** e0ne has quit IRC08:54
*** amotoki has quit IRC08:57
*** aarefiev_afk is now known as aarefiev09:02
*** e0ne has joined #openstack-oslo09:07
*** amotoki has joined #openstack-oslo09:08
*** sambetts|afk is now known as sambetts09:08
*** geguileo has left #openstack-oslo09:11
*** e0ne has quit IRC09:23
thervesileht, Ah: https://github.com/openstack/oslo.log/blob/master/oslo_log/log.py#L43509:24
silehttherve, so if we use oslo_log we have oslo.msg, if we use logging we have oslo_msg09:25
therveYeah09:26
thervesileht, Probably should only use one of them though?09:26
silehttherve, only a couple of place use oslo_log, and lib you rely on logging I think09:26
therveYeah a bunch of drivers, not even all09:27
silehttherve, I remember we remove oslo_log from oslo messaging, but it comes back09:28
silehttherve, oslo_log have been reintroduced to be able to use LOG.trace09:30
*** amotoki has quit IRC09:30
therveAh ok09:31
*** amotoki has joined #openstack-oslo09:33
kani__Hi sileht, I have added log messages in _heartbeat_thread_job method, I could see those messages in my log. Does this mean the heartbeat is not blocked?09:39
silehtkani__, no09:40
silehtkani__, the method have to called very often, if it can't because of something block/freeze the application, you're disconnected from rabbit09:41
silehtkani__, did you call eventlet.monkeypatch() before any modules is loaded in your application ?09:42
*** salv-orl_ has joined #openstack-oslo09:48
*** salv-orlando has quit IRC09:51
kani__sileht, yes monkeypatch is called: eventlet.monkeypatch(all=True)09:56
silehtkani__, before anything have been loaded like in yourapp/__init__.py ?09:56
kani__its in our api/_init__.py09:58
kani__sileht, this is in our script to start the service:10:02
kani__import eventlet  if os.name == 'nt':     # eventlet monkey patching the os module causes subprocess.Popen to fail     # on Windows when using pipes due to missing non-blocking IO support.     eventlet.monkey_patch(os=False) else:     eventlet.monkey_patch()10:02
*** Guest86170 has quit IRC10:02
silehtkani__, what the app ?10:03
silehtcinder ?10:04
kani__this app helps for configuration in cinder10:04
kani__To configure block drivers in cinder10:05
*** amotoki has quit IRC10:05
*** e0ne has joined #openstack-oslo10:07
kani__sileht: eventlet.monkey_patch() - does this block/ hold the heartbeat thread? But every 15 seconds I could see messages from _heartbeat_thread_job method10:10
silehtkani__, you have to find what in you app is blocking the application more than 60s10:12
silehtis/what is10:12
*** Guest86170 has joined #openstack-oslo10:14
*** nicolasbock has joined #openstack-oslo10:15
kani__sileht, We have spawned one rpc_server which takes minimum of 210seconds to complete the request. During that time only the rabbitmq-server closes the connection with this RPC server due to missing heartbeats10:15
silehtkani__, during this 210 seconds, if IO occurs eventlet should switch to the heartbeat thread, but it looks like in your case it doesn't, maybe you are using library that not compatible with eventlet10:17
silehtkani__, if no IO occurs (100% cpu processing), you have to call eventlet.sleep() or doing you cpu intensive task into another real thread/process10:18
kani__sileht, every 15 seconds I could see messages from _heartbeat_thread_job method. How is it possible?10:21
silehtkani__, oslo.messaging opens many connections maybe it works for some of them, but not all10:22
*** yamamoto has quit IRC10:25
*** cdent has quit IRC10:45
*** yamahata has quit IRC11:00
*** cdent has joined #openstack-oslo11:16
*** lucasagomes is now known as lucas-afk11:25
*** shardy is now known as shardy_lunch11:32
*** yamamoto has joined #openstack-oslo11:33
*** yamamoto has quit IRC11:35
*** yamamoto has joined #openstack-oslo11:39
*** salv-orl_ has quit IRC11:40
*** yamamoto has quit IRC11:52
*** sdague has joined #openstack-oslo11:54
*** lpetrut has joined #openstack-oslo11:55
*** jaosorior is now known as jaosorior_away12:12
*** salv-orlando has joined #openstack-oslo12:17
*** shardy_lunch is now known as shardy12:25
*** dmellado has quit IRC12:26
*** lucas-afk is now known as lucasagomes12:26
*** shyama_ has joined #openstack-oslo12:28
*** shyama has quit IRC12:29
*** shyama_ is now known as shyama12:30
*** gordc has joined #openstack-oslo12:36
*** gcb has quit IRC12:45
*** kani__ has quit IRC12:47
*** dmellado has joined #openstack-oslo12:47
*** efried has quit IRC12:57
*** yamamoto has joined #openstack-oslo12:57
*** yamamoto has quit IRC12:58
*** yamamoto has joined #openstack-oslo12:58
*** efried has joined #openstack-oslo13:09
*** yamamoto has quit IRC13:15
*** yamamoto has joined #openstack-oslo13:16
*** yamamoto has quit IRC13:16
*** yamamoto has joined #openstack-oslo13:16
*** ctp has quit IRC13:19
*** ctp has joined #openstack-oslo13:21
*** yamamoto has quit IRC13:25
*** yamamoto has joined #openstack-oslo13:26
*** dave-mccowan has joined #openstack-oslo13:27
*** yamamoto has quit IRC13:30
*** Dinesh_Bhor has quit IRC13:37
*** shardy is now known as shardy_afk13:44
*** pooja_jadhav has quit IRC13:55
*** jaosorior_away is now known as jaosorior_mtg14:05
*** cdent has quit IRC14:09
*** shardy_afk is now known as shardy14:17
*** bnemec is now known as beekneemech14:20
*** yamahata has joined #openstack-oslo14:21
*** rcernin has quit IRC14:24
*** yamamoto has joined #openstack-oslo14:27
*** salv-orlando has quit IRC14:28
*** zz_dimtruck is now known as dimtruck14:29
*** amotoki has joined #openstack-oslo14:33
*** amotoki has quit IRC14:36
*** amotoki has joined #openstack-oslo14:39
*** yamamoto has quit IRC14:53
*** jaosorior_mtg is now known as jaosorior14:58
*** jaosorior has quit IRC14:59
*** yamahata has quit IRC15:03
*** yamahata_ has joined #openstack-oslo15:03
*** cdent has joined #openstack-oslo15:03
bretonhow are cache backends tested in oslo?15:07
bretonfor example, memcache_pool15:07
bretonok, i see15:09
*** amotoki has quit IRC15:09
*** aarefiev is now known as aarefiev_afk15:11
*** amotoki has joined #openstack-oslo15:26
*** amotoki has quit IRC15:30
*** amotoki has joined #openstack-oslo15:32
*** e0ne has quit IRC15:32
*** amotoki has quit IRC15:35
*** mhickey has quit IRC15:42
*** lpetrut has quit IRC15:44
*** ildikov is now known as coffee_cat15:45
*** amotoki has joined #openstack-oslo15:48
*** yamamoto has joined #openstack-oslo15:51
*** dansmith is now known as superdan15:55
*** Guest86170 has quit IRC15:56
efriedharlowja Perhaps execute exception handler could use save_and_reraise_exception to ensure all of 'em get logged...15:57
*** Guest86170 has joined #openstack-oslo15:58
*** david-lyle has joined #openstack-oslo15:58
*** salv-orlando has joined #openstack-oslo16:00
*** salv-orlando has quit IRC16:04
*** salv-orlando has joined #openstack-oslo16:05
*** cdent has quit IRC16:09
*** john51 has quit IRC16:27
*** ihrachys has quit IRC16:27
*** ihrachys has joined #openstack-oslo16:27
*** john51_ has joined #openstack-oslo16:28
*** beekneemech has quit IRC16:30
*** lucasagomes is now known as lucas-afk16:36
*** amotoki has quit IRC16:39
*** bnemec has joined #openstack-oslo16:44
*** bnemec is now known as beekneemech16:45
harlowjaefried ya, that shouldn't be to hard16:48
harlowjaat least to get them logged16:49
*** shardy has quit IRC16:50
*** dmellado has quit IRC16:52
*** yamamoto has quit IRC16:55
*** salv-orlando has quit IRC17:00
*** dmellado has joined #openstack-oslo17:06
*** ctp has quit IRC17:08
*** ctp has joined #openstack-oslo17:10
*** Rockyg has joined #openstack-oslo17:13
*** tesseract has quit IRC17:19
*** ig0r_ has quit IRC17:24
*** ig0r_ has joined #openstack-oslo17:27
*** salv-orlando has joined #openstack-oslo17:34
*** ctp has quit IRC18:02
*** ctp has joined #openstack-oslo18:04
*** yamahata_ has quit IRC18:04
*** sambetts is now known as sambetts|afk18:15
*** yamahata_ has joined #openstack-oslo18:22
*** salv-orlando has quit IRC18:29
*** amotoki has joined #openstack-oslo18:39
*** jerrygb has quit IRC18:40
*** amotoki has quit IRC18:44
*** jerrygb has joined #openstack-oslo18:49
*** ansmith has quit IRC18:59
*** pcaruana has quit IRC19:02
*** e0ne has joined #openstack-oslo19:06
*** cdent has joined #openstack-oslo19:36
-openstackstatus- NOTICE: Gerrit will be offline briefly starting at 20:00 for scheduled maintenance http://lists.openstack.org/pipermail/openstack-dev/2017-April/115702.html19:42
*** ig0r_ has quit IRC19:55
*** e0ne has quit IRC19:56
-openstackstatus- NOTICE: Gerrit is offline briefly for scheduled maintenance http://lists.openstack.org/pipermail/openstack-dev/2017-April/115702.html20:03
*** ChanServ changes topic to "Gerrit is offline briefly for scheduled maintenance http://lists.openstack.org/pipermail/openstack-dev/2017-April/115702.html"20:03
*** jerrygb has quit IRC20:10
*** jerrygb has joined #openstack-oslo20:25
*** ChanServ changes topic to "#openstack-oslo"20:36
-openstackstatus- NOTICE: Gerrit is back in service and generally usable, though remote Git replicas (git.openstack.org and github.com) will be stale for the next few hours until online reindexing completes20:36
*** amotoki has joined #openstack-oslo20:40
*** amotoki has quit IRC20:46
*** openstackgerrit has quit IRC20:48
*** yamamoto has joined #openstack-oslo20:54
*** yamamoto has quit IRC20:58
*** gordc has quit IRC21:13
*** salv-orlando has joined #openstack-oslo21:38
*** amotoki has joined #openstack-oslo21:42
*** amotoki has quit IRC21:47
*** dimtruck is now known as zz_dimtruck21:47
*** salv-orl_ has joined #openstack-oslo21:49
*** salv-orlando has quit IRC21:52
*** zz_dimtruck is now known as dimtruck22:47
*** cdent has quit IRC22:47
*** salv-orl_ has quit IRC22:48
*** sdague has quit IRC23:24
*** yamahata_ has quit IRC23:40
*** yamamoto has joined #openstack-oslo23:56

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