Monday, 2017-11-06

*** salv-orlando has joined #openstack-oslo00:30
*** oanson has quit IRC00:34
*** salv-orlando has quit IRC00:35
*** dave-mcc_ has joined #openstack-oslo00:37
*** oanson has joined #openstack-oslo00:42
*** kiseok7 has joined #openstack-oslo01:05
*** dave-mcc_ has quit IRC01:23
*** salv-orlando has joined #openstack-oslo01:31
*** salv-orlando has quit IRC01:36
*** cfriesen has joined #openstack-oslo01:54
openstackgerritOpenStack Proposal Bot proposed openstack/pycadf master: Updated from global requirements  https://review.openstack.org/47013701:59
*** dave-mccowan has joined #openstack-oslo02:00
openstackgerritIWAMOTO Toshihiro proposed openstack/oslo.rootwrap master: Protect rootwrap daemon socket against multiple threads  https://review.openstack.org/51454702:00
*** salv-orlando has joined #openstack-oslo02:32
*** cfriesen has quit IRC02:35
*** salv-orlando has quit IRC02:37
*** cfriesen has joined #openstack-oslo02:42
*** dave-mccowan has quit IRC02:46
*** daidv has joined #openstack-oslo02:46
*** dave-mccowan has joined #openstack-oslo02:54
*** shardy has joined #openstack-oslo02:58
*** yamamoto has joined #openstack-oslo03:03
*** d0ugal has quit IRC03:14
*** namnh has joined #openstack-oslo03:14
*** dave-mccowan has quit IRC03:18
*** shardy has quit IRC03:21
*** cfriesen has quit IRC03:22
*** cfriesen has joined #openstack-oslo03:27
*** dave-mccowan has joined #openstack-oslo03:30
*** dave-mccowan has quit IRC03:58
*** pooja_jadhav has joined #openstack-oslo03:58
*** pooja-jadhav has joined #openstack-oslo03:58
*** dave-mccowan has joined #openstack-oslo04:03
*** cfriesen has quit IRC04:07
*** cfriesen has joined #openstack-oslo04:13
*** salv-orlando has joined #openstack-oslo04:34
*** salv-orlando has quit IRC04:38
*** jbadiapa_ has quit IRC04:41
*** gcb has joined #openstack-oslo04:43
*** cfriesen has quit IRC04:55
*** dave-mccowan has quit IRC04:56
openstackgerritMerged openstack/oslo.messaging master: Remove stable/newton from zuul settings  https://review.openstack.org/51618504:59
*** gcb has quit IRC05:04
*** dave-mccowan has joined #openstack-oslo05:12
*** gcb has joined #openstack-oslo05:18
*** jaosorior has joined #openstack-oslo05:27
*** gcb has quit IRC05:51
*** yamamoto_ has joined #openstack-oslo06:09
*** salv-orlando has joined #openstack-oslo06:10
*** dave-mccowan has quit IRC06:12
*** purplerbot has quit IRC06:13
*** purplerbot_ has joined #openstack-oslo06:13
*** purplerbot_ is now known as purplerbot__06:13
*** purplerbot__ is now known as purplerbot06:13
*** yamamoto has quit IRC06:14
*** aspiers has quit IRC06:14
*** clayton has quit IRC06:14
*** clayton has joined #openstack-oslo06:14
*** aspiers has joined #openstack-oslo06:19
*** pooja-jadhav has quit IRC06:25
*** openstackgerrit has quit IRC06:31
*** zzzeek has quit IRC06:31
*** john51 has quit IRC06:31
*** toabctl has quit IRC06:31
*** john51 has joined #openstack-oslo06:32
*** jbadiapa has joined #openstack-oslo06:34
*** d0ugal has joined #openstack-oslo06:38
*** pooja_jadhav has quit IRC07:08
*** spectr has joined #openstack-oslo07:09
*** openstackgerrit has joined #openstack-oslo07:12
*** zzzeek has joined #openstack-oslo07:12
*** toabctl has joined #openstack-oslo07:12
*** john51 has quit IRC07:14
*** john51 has joined #openstack-oslo07:19
*** pcaruana has joined #openstack-oslo07:47
*** salv-orlando has quit IRC07:57
*** salv-orlando has joined #openstack-oslo07:58
*** salv-orlando has quit IRC08:02
*** e0ne has joined #openstack-oslo08:08
openstackgerritJuan Antonio Osorio Robles proposed openstack/oslo.log master: Add option to use JSON formatter  https://review.openstack.org/51788208:13
jaosoriorTengu: this is what I have so far ^^ gotta add some tests and such08:13
Tengureading it right now :). Seems pretty simple in the end. Easier than the "long fastidious way" I proposed with the complete logging.conf file.08:14
jaosoriorTengu: haha I never said it was fastidious08:15
Tengunope, but it is ;)08:15
*** ralonsoh has joined #openstack-oslo08:16
*** tesseract has joined #openstack-oslo08:17
Tengujaosorior: apparently oslo.log will require some changes for its JSON output, as it might cause issues when we feed them to an ELK: the multi-line shouldn't be in a "list" format, more as a "string" with "\n" printed in it :/.08:19
Tengujaosorior: not directly related to your proposal of course.08:19
Tenguthe list issue is a bit more annoying, because one can argue "not valid json", and it's true. but also too dogmatic. anyway. will see how to get something clean on that one, might request a new configuration parameter for that specific part.08:20
Tengusomething like json_multiline = list // string08:20
jaosoriorTengu: we could probably fix that though08:20
jaosoriorright, could be one or several configuration options08:21
jaosoriormaybe just having a enable_elk_friendly_json or something of the sort08:21
TenguI can open an issue for that.08:21
Tengujaosorior: checking with a colleague if other things might create issues in an ELK, and I'll open an issue in oslo.log project for that.08:23
openstackgerritJuan Antonio Osorio Robles proposed openstack/oslo.log master: Add option to use JSON formatter  https://review.openstack.org/51788208:29
*** AlexeyAbashkin has joined #openstack-oslo08:33
*** AlexeyAbashkin has quit IRC08:51
*** AlexeyAbashkin has joined #openstack-oslo08:51
*** salv-orlando has joined #openstack-oslo08:57
*** yamamoto_ has quit IRC09:06
*** lucas-afk is now known as lucasagomes09:07
openstackgerritJuan Antonio Osorio Robles proposed openstack/oslo.log master: Use retrieved context instead of entry in the record's 'extra'  https://review.openstack.org/51789409:12
jaosoriorTengu: seems we need that too ^^09:12
jaosoriorTengu: on top of those we can start enabling/disabling things to make it ELK friendly09:13
Tenguah, cool !09:13
Tenguas said we'll check what the ELK complains about and create an issue with those information so that we're complete.09:14
jaosoriorTengu: so, one of them, as you told me, was the stacktrace being a list, we can change that, let me know what other changes are needed when you can09:14
jaosoriorTengu: ah, great great09:14
Tengu:)09:14
*** openstackgerrit has quit IRC09:18
*** pblaho has joined #openstack-oslo09:19
*** openstackgerrit has joined #openstack-oslo09:19
openstackgerritJuan Antonio Osorio Robles proposed openstack/oslo.log master: Use retrieved context instead of entry in the record's 'extra'  https://review.openstack.org/51789409:19
*** dansmith has quit IRC09:39
*** dansmith has joined #openstack-oslo09:40
*** dansmith is now known as Guest1705309:40
*** lpetrut has joined #openstack-oslo09:41
*** AlexeyAbashkin has quit IRC10:00
*** AlexeyAbashkin has joined #openstack-oslo10:02
*** pblaho has quit IRC10:03
*** namnh has quit IRC10:05
*** yamamoto has joined #openstack-oslo10:06
*** AlexeyAbashkin has quit IRC10:06
*** yamamoto has quit IRC10:15
*** yamamoto has joined #openstack-oslo10:21
*** yamamoto has quit IRC10:29
*** yamamoto has joined #openstack-oslo10:40
*** pblaho has joined #openstack-oslo10:46
*** pblaho has quit IRC10:51
*** yamamoto has quit IRC11:00
*** pblaho has joined #openstack-oslo11:04
*** pbourke has quit IRC11:04
*** pblaho has quit IRC11:06
*** pblaho has joined #openstack-oslo11:06
*** pbourke has joined #openstack-oslo11:06
*** AlexeyAbashkin has joined #openstack-oslo11:06
*** yamamoto has joined #openstack-oslo11:19
*** sdague has joined #openstack-oslo11:29
*** hoonetorg has quit IRC11:32
*** hoonetorg has joined #openstack-oslo11:48
*** AlexeyAbashkin has quit IRC11:52
*** AlexeyAbashkin has joined #openstack-oslo11:55
*** salv-orlando has quit IRC11:56
*** salv-orlando has joined #openstack-oslo11:56
*** AlexeyAbashkin has quit IRC12:00
*** salv-orlando has quit IRC12:01
*** raildo has joined #openstack-oslo12:02
*** nicolasbock has joined #openstack-oslo12:07
*** pooja_jadhav has joined #openstack-oslo12:10
*** AlexeyAbashkin has joined #openstack-oslo12:13
*** lucasagomes is now known as lucas-hungry12:16
*** yamamoto has quit IRC12:17
*** ansmith has quit IRC12:19
*** salv-orlando has joined #openstack-oslo12:24
*** AlexeyAbashkin has quit IRC12:34
*** pblaho has quit IRC12:43
openstackgerritMerged openstack/tooz master: Zuul: add file extension to playbook path  https://review.openstack.org/51611412:48
*** gordc has joined #openstack-oslo12:52
*** eck`gone is now known as eck`12:58
*** salv-orlando has quit IRC13:01
*** salv-orlando has joined #openstack-oslo13:01
*** salv-orlando has quit IRC13:05
*** catintheroof has joined #openstack-oslo13:06
*** pcaruana has quit IRC13:08
*** pblaho has joined #openstack-oslo13:11
*** catintheroof has quit IRC13:12
*** lucas-hungry is now known as lucasagomes13:14
*** catintheroof has joined #openstack-oslo13:14
*** yamamoto has joined #openstack-oslo13:18
*** pcaruana has joined #openstack-oslo13:20
*** geekinutah has quit IRC13:23
*** samueldmq has quit IRC13:23
*** geekinutah has joined #openstack-oslo13:24
*** samueldmq has joined #openstack-oslo13:24
*** yamamoto has quit IRC13:27
*** jaosorior has quit IRC13:40
*** jaosorior has joined #openstack-oslo13:42
*** kgiusti has joined #openstack-oslo13:43
*** salv-orlando has joined #openstack-oslo13:45
*** ansmith has joined #openstack-oslo13:47
*** janzian has joined #openstack-oslo13:51
*** AlexeyAbashkin has joined #openstack-oslo14:02
*** pcaruana has quit IRC14:05
*** AlexeyAbashkin has quit IRC14:16
*** pcaruana has joined #openstack-oslo14:17
openstackgerritMerged openstack/devstack-plugin-amqp1 master: Move project specific tests in repo  https://review.openstack.org/51709214:18
*** spectr has quit IRC14:29
*** nug- is now known as cFouts14:30
*** spectr has joined #openstack-oslo14:30
*** spilla has joined #openstack-oslo14:41
*** AlexeyAbashkin has joined #openstack-oslo14:51
*** d0ugal has quit IRC15:08
*** AlexeyAbashkin has quit IRC15:15
*** d0ugal has joined #openstack-oslo15:33
*** d0ugal has quit IRC15:34
*** d0ugal has joined #openstack-oslo15:34
*** kmalloc has joined #openstack-oslo15:37
jaosoriorbnemec: hey, could you check this out https://review.openstack.org/#/c/517882/ ?15:43
bnemecjaosorior: Can you add a unit test to verify that the output is JSON formatted?15:49
bnemecOtherwise lgtm.15:49
*** salv-orlando has quit IRC15:54
*** salv-orlando has joined #openstack-oslo15:55
jaosoriorbnemec: sure.... uhm... where would that go?15:55
jaosoriorbnemec: there is a unit test that checks the JSON formatter itself15:56
bnemecjaosorior: I'm thinking something like https://github.com/openstack/oslo.log/blob/master/oslo_log/tests/unit/test_log.py#L61715:58
bnemecExcept do a self.config(use_json=True), log a message, then assert that the log output is JSON.15:58
*** salv-orlando has quit IRC15:59
bnemecjaosorior: And not testing everything that class does.  I just used that as an example since it seems to have test cases that do something similar.15:59
jaosoriorbnemec: soo... it's not as trivial. The syslog and journal handles mock the calls to the backends. and the contextformatter test that you linked doesn't use the setup function which actually reads configurations16:06
jaosoriorif I want to test that I can set the handler myself, I'll end up replicating this test https://github.com/openstack/oslo.log/blob/master/oslo_log/tests/unit/test_log.py#L41016:06
jaosoriorwhich actually tests if there's JSON output16:07
*** Guest30702 has quit IRC16:15
bnemecjaosorior: Okay, what about this: https://github.com/openstack/oslo.log/blob/master/oslo_log/tests/unit/test_log.py#L1548 ?16:16
jaosoriorbnemec: I hadn't found that one, great16:17
bnemecI'm just looking for something to hit that code path in the unit tests so we don't accidentally break it in the future if we refactor the logic or something.16:17
*** aselius has joined #openstack-oslo16:18
*** catintheroof has quit IRC16:19
jaosoriorbnemec: I understand. trust me, I want this tested as well :D just didn't know how16:20
bnemecjaosorior: Yeah, a lot of times figuring out the best way to test the code takes longer than actually writing it. :-)16:22
*** ralonsoh has quit IRC16:25
openstackgerritJuan Antonio Osorio Robles proposed openstack/oslo.log master: Add option to use JSON formatter  https://review.openstack.org/51788216:27
openstackgerritJuan Antonio Osorio Robles proposed openstack/oslo.log master: Use retrieved context instead of entry in the record's 'extra'  https://review.openstack.org/51789416:27
jaosoriorbnemec: what about this? ^^16:27
bnemecjaosorior: Did you mean to leave the stuff at line 526 in test_log?  I'm a little confused by it since that output looks like not JSON.16:51
jaosoriorbnemec: I didn't16:52
jaosoriorthat was a previous attempt that didn't work16:52
bnemecjaosorior: Okay, I thought maybe that's what happened. :-)16:52
bnemecThe other new test lgtm though.16:52
openstackgerritJuan Antonio Osorio Robles proposed openstack/oslo.log master: Add option to use JSON formatter  https://review.openstack.org/51788216:53
openstackgerritJuan Antonio Osorio Robles proposed openstack/oslo.log master: Use retrieved context instead of entry in the record's 'extra'  https://review.openstack.org/51789416:53
*** salv-orlando has joined #openstack-oslo16:56
*** salv-orlando has quit IRC17:00
*** janzian has quit IRC17:00
*** pcaruana has quit IRC17:01
*** e0ne has quit IRC17:05
*** tesseract has quit IRC17:10
*** catintheroof has joined #openstack-oslo17:12
*** rmascena has joined #openstack-oslo17:13
*** raildo has quit IRC17:14
*** catintheroof has quit IRC17:17
*** janzian has joined #openstack-oslo17:18
*** lucasagomes is now known as lucas-afk17:27
*** miqui has joined #openstack-oslo17:28
*** catintheroof has joined #openstack-oslo17:37
*** catintheroof has quit IRC17:41
jaosoriorbnemec: thanks!17:42
bnemecjaosorior: np, thanks for doing the implementation on this!17:43
jaosoriorbnemec: I might poke you for this one https://review.openstack.org/#/c/517894/4 soon but first I want some feedback.17:45
*** e0ne has joined #openstack-oslo17:51
*** lpetrut has quit IRC17:53
*** catintheroof has joined #openstack-oslo17:56
*** e0ne has quit IRC17:56
*** salv-orlando has joined #openstack-oslo17:58
*** e0ne has joined #openstack-oslo17:59
*** rmascena has quit IRC18:04
*** raildo has joined #openstack-oslo18:04
*** harlowja has joined #openstack-oslo18:19
*** lpetrut has joined #openstack-oslo19:00
*** ihrachys_ has joined #openstack-oslo19:06
*** pooja-jadhav has joined #openstack-oslo19:07
*** ihrachys_ has quit IRC19:07
*** ihrachys has quit IRC19:07
*** ihrachys_ has joined #openstack-oslo19:07
*** ihrachys_ is now known as ihrachys19:09
*** pooja_jadhav has quit IRC19:09
*** d0ugal has quit IRC19:52
*** e0ne has quit IRC19:53
*** pcaruana has joined #openstack-oslo19:57
*** pcaruana has quit IRC20:03
*** d0ugal has joined #openstack-oslo20:16
*** Guest17053 has quit IRC20:18
*** dansmith has joined #openstack-oslo20:20
*** dansmith is now known as Guest7138820:20
*** AlexeyAbashkin has joined #openstack-oslo21:00
*** AlexeyAbashkin has quit IRC21:04
openstackgerritMerged openstack/oslo.log master: Add option to use JSON formatter  https://review.openstack.org/51788221:19
*** kgiusti has left #openstack-oslo21:24
*** ansmith has quit IRC21:35
*** dave-mccowan has joined #openstack-oslo21:51
*** dave-mccowan has quit IRC21:51
*** catintheroof has quit IRC21:51
*** dave-mccowan has joined #openstack-oslo22:01
*** dave-mcc_ has joined #openstack-oslo22:05
*** dave-mccowan has quit IRC22:06
*** janzian has quit IRC22:25
*** spilla has quit IRC22:26
*** ansmith has joined #openstack-oslo22:31
*** lpetrut has quit IRC22:56
*** dave-mcc_ has quit IRC22:56
*** ihrachys has quit IRC23:11
*** yassine has joined #openstack-oslo23:20
*** yassine is now known as Guest2724223:20
*** ihrachys has joined #openstack-oslo23:22
*** salv-orlando has quit IRC23:31
*** salv-orlando has joined #openstack-oslo23:31
*** salv-orlando has quit IRC23:36
*** dave-mccowan has joined #openstack-oslo23:39
*** raildo has quit IRC23:55
*** gordc has quit IRC23:56

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