*** david-lyle is now known as david-lyle_afk | 00:01 | |
*** ajo has quit IRC | 00:04 | |
boris-42 | dims__: around? | 00:06 |
---|---|---|
boris-42 | dhellmann: any chance to get new release of oslo.config with that patch? =) | 00:19 |
dims__ | boris-42: pong | 00:24 |
boris-42 | dims__: happy new year =) it's not too late lol | 00:24 |
boris-42 | dims__: so we (Rally team) has broken gates because of some changes in oslo.config | 00:25 |
boris-42 | dims__: this patch fixes https://review.openstack.org/#/c/145214/ them* | 00:25 |
boris-42 | dims__: could you please take a look at it thank you | 00:25 |
*** andreykurilin has quit IRC | 00:25 | |
dims__ | boris-42: will do in just a little bit | 00:26 |
*** zzzeek has quit IRC | 00:28 | |
boris-42 | dims__: thank you | 00:28 |
*** _amrith_ is now known as amrith | 01:30 | |
*** harlowja_at_home has quit IRC | 01:43 | |
*** tsekiyam_ has joined #openstack-oslo | 01:49 | |
*** tsekiya__ has joined #openstack-oslo | 01:52 | |
*** tsekiyama has quit IRC | 01:52 | |
*** amrith is now known as _amrith_ | 01:52 | |
*** tsekiyam_ has quit IRC | 01:53 | |
*** mtanino has quit IRC | 01:54 | |
*** tsekiya__ has quit IRC | 01:56 | |
*** harlowja_at_home has joined #openstack-oslo | 02:04 | |
openstackgerrit | Merged openstack/oslo.config: Fix of wrong cli opts unregistration https://review.openstack.org/145214 | 02:49 |
*** tsekiyama has joined #openstack-oslo | 03:02 | |
*** tsekiyama has quit IRC | 03:06 | |
openstackgerrit | Sridhar Gaddam proposed openstack/oslo.utils: Utility API to generate EUI-64 IPv6 address https://review.openstack.org/137774 | 03:13 |
*** harlowja_at_home has quit IRC | 03:33 | |
*** Nakato has quit IRC | 04:16 | |
*** Nakato has joined #openstack-oslo | 04:16 | |
*** Nakato has quit IRC | 04:18 | |
*** Nakato has joined #openstack-oslo | 04:19 | |
*** harlowja_at_home has joined #openstack-oslo | 04:36 | |
openstackgerrit | Joshua Harlow proposed openstack/taskflow: Use monotonic time when/if available https://review.openstack.org/144212 | 04:50 |
openstackgerrit | Joshua Harlow proposed openstack/taskflow: Use monotonic time when/if available https://review.openstack.org/144212 | 04:50 |
*** arnaud__ has joined #openstack-oslo | 04:51 | |
openstackgerrit | Merged openstack/taskflow: Rework the in-memory backend https://review.openstack.org/124552 | 04:52 |
*** harlowja_at_home has quit IRC | 04:58 | |
*** dims__ has quit IRC | 05:50 | |
*** dims__ has joined #openstack-oslo | 05:50 | |
*** amotoki has joined #openstack-oslo | 05:53 | |
*** dims__ has quit IRC | 05:54 | |
*** liusheng has joined #openstack-oslo | 06:00 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/oslo.messaging: Imported Translations from Transifex https://review.openstack.org/143256 | 06:11 |
*** rpodolyaka2 has joined #openstack-oslo | 06:27 | |
*** mtanino has joined #openstack-oslo | 06:34 | |
*** noelbk has joined #openstack-oslo | 06:41 | |
*** liusheng has quit IRC | 06:46 | |
*** e0ne has joined #openstack-oslo | 06:50 | |
*** mtanino has quit IRC | 06:57 | |
*** stevemar has quit IRC | 07:01 | |
*** noelbk has quit IRC | 07:10 | |
*** ajo has joined #openstack-oslo | 07:14 | |
*** zz_sabari is now known as sabari | 07:16 | |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: Ensure kombu channels are closed https://review.openstack.org/145232 | 07:23 |
*** e0ne has quit IRC | 07:23 | |
*** ajo has quit IRC | 07:26 | |
*** ajo has joined #openstack-oslo | 07:28 | |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: Ensure kombu channels are closed https://review.openstack.org/145232 | 07:30 |
*** arnaud__ has quit IRC | 07:43 | |
*** arnaud__ has joined #openstack-oslo | 07:44 | |
*** arnaud__ has quit IRC | 07:48 | |
*** sabari is now known as zz_sabari | 07:51 | |
*** subscope has joined #openstack-oslo | 07:57 | |
*** pcaruana|afk| is now known as pcaruana | 08:04 | |
*** zz_sabari is now known as sabari | 08:19 | |
*** dulek has joined #openstack-oslo | 08:24 | |
*** dtantsur|afk is now known as dtantsur | 08:42 | |
*** pcaruana has quit IRC | 08:59 | |
*** sabari is now known as zz_sabari | 09:00 | |
*** pcaruana has joined #openstack-oslo | 09:12 | |
*** GheRivero has quit IRC | 09:23 | |
*** GheRivero has joined #openstack-oslo | 09:23 | |
*** rpodolyaka2 has quit IRC | 09:31 | |
*** rpodolyaka2 has joined #openstack-oslo | 09:31 | |
*** boris-42 has quit IRC | 09:53 | |
*** andreykurilin has joined #openstack-oslo | 10:09 | |
*** ihrachyshka has joined #openstack-oslo | 10:10 | |
*** freyes has quit IRC | 10:22 | |
*** freyes has joined #openstack-oslo | 10:24 | |
*** yassine has joined #openstack-oslo | 10:48 | |
*** andreykurilin has quit IRC | 10:52 | |
*** andreykurilin has joined #openstack-oslo | 10:52 | |
*** rpodolyaka2 has quit IRC | 10:53 | |
*** boris-42 has joined #openstack-oslo | 11:06 | |
*** andreykurilin has quit IRC | 11:10 | |
*** amotoki has quit IRC | 11:12 | |
*** GheRivero has quit IRC | 11:15 | |
openstackgerrit | Julien Danjou proposed openstack/tooz: Add support for an optional redis-sentinel https://review.openstack.org/144999 | 11:17 |
*** GheRivero has joined #openstack-oslo | 11:21 | |
*** dims__ has joined #openstack-oslo | 11:30 | |
*** GheRivero has quit IRC | 11:33 | |
*** GheRivero has joined #openstack-oslo | 11:34 | |
*** GheRivero has quit IRC | 11:44 | |
*** GheRivero has joined #openstack-oslo | 11:50 | |
*** alexpilotti has joined #openstack-oslo | 11:57 | |
*** david-lyle_afk is now known as david-lyle | 11:58 | |
*** e0ne has joined #openstack-oslo | 11:59 | |
*** jaosorior has joined #openstack-oslo | 12:10 | |
*** vigneshvar has joined #openstack-oslo | 12:15 | |
*** salv-orlando has quit IRC | 12:29 | |
*** _amrith_ is now known as amrith | 12:30 | |
openstackgerrit | Davanum Srinivas (dims) proposed openstack/oslo.config: Support i18n messages in config generator https://review.openstack.org/145280 | 12:31 |
*** miqui has quit IRC | 12:36 | |
*** pblaho_ has joined #openstack-oslo | 12:38 | |
*** salv-orlando has joined #openstack-oslo | 12:43 | |
*** pblaho_ has quit IRC | 12:43 | |
*** rpodolyaka2 has joined #openstack-oslo | 12:49 | |
*** rushiagr_away is now known as rushiagr | 12:51 | |
*** GheRivero has quit IRC | 12:53 | |
*** GheRivero has joined #openstack-oslo | 12:53 | |
openstackgerrit | Merged openstack/tooz: Add support for an optional redis-sentinel https://review.openstack.org/144999 | 12:55 |
jd__ | could someone add me in Gerrit so I can release tooz ? (dims__, dhellmann?) | 13:05 |
*** david-lyle is now known as david-lyle_afk | 13:08 | |
*** rushiagr is now known as rushiagr_away | 13:09 | |
dims__ | jd__: tooz-release is empty! | 13:11 |
jd__ | dims__: this is so sad | 13:12 |
dims__ | can you check on infra? at least oslo-release should be in it | 13:13 |
dims__ | s/check/please check/ | 13:13 |
*** e0ne has quit IRC | 13:13 | |
dims__ | or we can wait for dhellmann, he may be able to do the magic | 13:14 |
*** bknudson has joined #openstack-oslo | 13:14 | |
*** GheRivero has quit IRC | 13:20 | |
*** amrith is now known as _amrith_ | 13:20 | |
openstackgerrit | Sean Dague proposed openstack/oslo.concurrency: make time format for processutils match lockutils https://review.openstack.org/145497 | 13:21 |
*** andreykurilin has joined #openstack-oslo | 13:27 | |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: TEST https://review.openstack.org/145498 | 13:29 |
*** pblaho has joined #openstack-oslo | 13:30 | |
*** rpodolyaka2 has quit IRC | 13:32 | |
*** jeckersb is now known as jeckersb_gone | 13:38 | |
*** pblaho has quit IRC | 13:45 | |
*** pblaho_ has joined #openstack-oslo | 13:45 | |
*** e0ne has joined #openstack-oslo | 13:47 | |
*** e0ne has quit IRC | 13:50 | |
*** kbyrne has quit IRC | 13:50 | |
*** e0ne has joined #openstack-oslo | 13:52 | |
*** jeckersb_gone is now known as jeckersb | 13:54 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 13:55 | |
*** kgiusti has joined #openstack-oslo | 13:59 | |
*** dulek_ has joined #openstack-oslo | 14:01 | |
*** dulek_ has quit IRC | 14:04 | |
*** dulek has quit IRC | 14:04 | |
*** dulek has joined #openstack-oslo | 14:06 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/tooz: Updated from global requirements https://review.openstack.org/144786 | 14:14 |
*** dulek has quit IRC | 14:16 | |
*** dulek_ has joined #openstack-oslo | 14:16 | |
*** mtanino has joined #openstack-oslo | 14:19 | |
*** mriedem has joined #openstack-oslo | 14:23 | |
*** dulek has joined #openstack-oslo | 14:27 | |
*** dulek_ has quit IRC | 14:28 | |
*** rpodolyaka2 has joined #openstack-oslo | 14:35 | |
*** salv-orlando has quit IRC | 14:41 | |
*** jecarey has joined #openstack-oslo | 14:49 | |
*** _amrith_ is now known as amrith | 14:51 | |
*** dulek has quit IRC | 14:51 | |
*** noelbk has joined #openstack-oslo | 14:51 | |
*** noelbk has quit IRC | 14:51 | |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: rabbit: fix timeout timer when duration is None https://review.openstack.org/145521 | 14:52 |
*** kbyrne has joined #openstack-oslo | 14:52 | |
*** dulek has joined #openstack-oslo | 14:52 | |
*** gordc has joined #openstack-oslo | 14:54 | |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: rabbit: fix timeout timer when duration is None https://review.openstack.org/145521 | 14:56 |
*** dulek has quit IRC | 14:57 | |
*** dulek has joined #openstack-oslo | 14:58 | |
*** mtanino has quit IRC | 14:58 | |
*** dulek has quit IRC | 14:59 | |
*** dulek has joined #openstack-oslo | 14:59 | |
*** salv-orlando has joined #openstack-oslo | 15:07 | |
*** dulek has quit IRC | 15:16 | |
*** pradk has joined #openstack-oslo | 15:20 | |
*** salv-orlando has quit IRC | 15:23 | |
*** rpodolyaka2 has quit IRC | 15:23 | |
*** rpodolyaka2 has joined #openstack-oslo | 15:24 | |
*** zz_jgrimm is now known as jgrimm | 15:36 | |
sileht | Hi guys, I have a issue with oslo.utils.strutils.mask_password | 15:42 |
sileht | oslo.messaging largejobs fail gate, I have investigated, and have I found that nova-conductor looks stuck and use 100% cpus | 15:43 |
*** subscope has quit IRC | 15:44 | |
sileht | and the reason is that mask_password do a lot of re.XXXX on the rpc message payload | 15:44 |
sileht | when the large jobs run, it start 100 vm, then nova conductor got 100 db update to do, but all oslo.messaging threads stuck in a regex | 15:46 |
sileht | (I haven't found which one yet) | 15:46 |
dhellmann | dims__, jd__ : someone from infra will have to fix the tooz release group for us | 15:50 |
jd__ | dhellmann: want me to ask? | 15:51 |
dhellmann | jd__: please | 15:51 |
dhellmann | sileht: ew, that's gross | 15:51 |
dims__ | Whoa! | 15:52 |
dhellmann | sileht: is oslo.messaging calling mask_password because it is logging, or before it sends the message over the rpc connection? | 15:54 |
*** mtanino has joined #openstack-oslo | 15:54 | |
sileht | dhellmann, just for logging | 15:54 |
dhellmann | sileht: can you tell me the line and file where the log call is? | 15:55 |
sileht | https://github.com/openstack/oslo.messaging/blob/master/oslo/messaging/_drivers/common.py#L164 | 15:55 |
sileht | and | 15:55 |
sileht | for each message received: https://github.com/openstack/oslo.messaging/blob/master/oslo/messaging/_drivers/amqpdriver.py#L100 | 15:56 |
dhellmann | so the driver is passing a dictionary to _safe_log(), which converts it to a string, then uses a bunch of regexes to sanitize it? | 15:57 |
sileht | dhellmann, yes | 15:57 |
dhellmann | I wonder if it would be faster to deep copy the dict, sanitize it as a data structure, then create the string and log it | 15:57 |
dhellmann | we could also just not do that debug logging for now | 15:58 |
sileht | dhellmann, previously it was the case | 15:58 |
dhellmann | until we can figure out a more efficient way to do it | 15:58 |
*** rpodolyaka2 has quit IRC | 15:58 | |
dhellmann | have we had patterns added to the regex list lately? or have message structures changed in some way that makes the regex more expensive to use? | 15:58 |
*** yamahata has joined #openstack-oslo | 15:59 | |
bknudson | just wondering if the problem you're discussing is causing http://logs.openstack.org/51/145051/1/gate/gate-tempest-dsvm-neutron-large-ops/2e149e0/console.html#_2015-01-07_13_37_51_452 ? | 15:59 |
bknudson | it's "FAIL: tearDownClass (tempest.scenario.test_large_ops.TestLargeOpsScenario)" | 15:59 |
sileht | bknudson, if the job use master branch of oslo.messaging yes | 16:00 |
*** stevemar has joined #openstack-oslo | 16:00 | |
bknudson | I don't think it does. | 16:00 |
sileht | dhellmann, I have recently replaced the custom oslo.msg implementation of mask_password by the strutils one | 16:01 |
bknudson | I'll keep diggin | 16:01 |
dhellmann | sileht: ah, so oslo.messaging used to do something different for mask_password? I wonder if it was more efficient | 16:01 |
sileht | dhellmann, yes it was more efficient but doesn't parse the whole payload... | 16:02 |
dhellmann | right | 16:02 |
*** andreykurilin has quit IRC | 16:02 | |
dims__ | dhellmann: jd__: fungi added oslo-release to tooz-release groups and i've added jd__ to tooz-release | 16:03 |
dhellmann | dims__: thanks | 16:03 |
dhellmann | jd__: please use the oslo_release.sh script in openstack-infra/release-tools to prepare the release | 16:04 |
jd__ | dhellmann: I was when I got rejected :( | 16:05 |
jd__ | trying again then :) | 16:06 |
dhellmann | jd__: ok, just making sure :-) | 16:07 |
jd__ | done | 16:07 |
jd__ | dhellmann: does that looks normal http://paste.openstack.org/show/155859/ ? especially the end | 16:07 |
jd__ | oh maybe that's because the LP project is python-tooz not tooz | 16:08 |
dhellmann | yeah, that argument needs to be the launchpad project name | 16:08 |
dhellmann | that bites me every time with stevedore | 16:08 |
dhellmann | jd__: you can rerun the script, and it will skip tagging the repo because it will find the existing tag | 16:09 |
* dhellmann wonders which library to release this morning | 16:09 | |
openstackgerrit | Rossella Sblendido proposed openstack/oslo.db: Retry query if db deadlock error is received https://review.openstack.org/109549 | 16:10 |
jd__ | dhellmann: cool it worked! | 16:10 |
dhellmann | jd__: woo! make sure you create a new next-kilo milestone for new bugs | 16:11 |
* jd__ looking for the button | 16:12 | |
openstackgerrit | gordon chung proposed openstack/oslo.messaging: Implements notification-dispatcher-filter https://review.openstack.org/77886 | 16:13 |
sileht | the consume re are: | 16:14 |
sileht | r'([\'"].*?%(key)s[\'"]\s*:\s*u?[\'"]).*?([\'"])', | 16:14 |
sileht | r'([\'"].*?%(key)s[\'"]\s*,\s*\'--?[A-z]+\'\s*,\s*u?[\'"]).*?([\'"])', | 16:14 |
jd__ | dhellmann: there's no LP API to create a milestone automatically? | 16:16 |
dhellmann | jd__: apparently not | 16:16 |
jd__ | booh | 16:17 |
*** tsekiyama has joined #openstack-oslo | 16:17 | |
dhellmann | sileht: try replacing some of those .*? patterns that are searching for strings between quotes with [^\"']*? to see if that helps | 16:18 |
dhellmann | sileht: we should probably put together a performance test for these things to make them easier to test | 16:18 |
sileht | dhellmann, I'm considering cutting the payload to limit the time consumption of the logging | 16:20 |
* sileht writting the bug report | 16:20 | |
dhellmann | sileht: cutting it how? a max length? | 16:20 |
dhellmann | or something smarter that logs some metadata about the message but not the entire message? | 16:20 |
sileht | dhellmann, yes | 16:20 |
dhellmann | sileht: yes, which? :-) | 16:22 |
sileht | dhellmann, perhaps logging, the msg_id, ctxt and a part of payload | 16:22 |
dhellmann | sileht: ok, I like that, especially if we can be smart about the "part of payload" piece to ensure that it never includes passwords | 16:23 |
dhellmann | although I suppose things like tokens appear in the context, so we have to be careful there, too. Maybe we can pick out a few identifiers instead of logging the whole context | 16:24 |
sileht | dhellmann, the size of the conductor message that cause the issue 66k | 16:25 |
dhellmann | holy wow | 16:25 |
sileht | dhellmann, it's a bit huge to log that ... | 16:25 |
dhellmann | yes, that's not going to be useful to anyone | 16:25 |
*** jgrimm is now known as zz_jgrimm | 16:25 | |
dhellmann | is that an entire copy of the database or something? | 16:25 |
sileht | lol | 16:25 |
sileht | http://paste.openstack.org/show/155864/ | 16:27 |
sileht | the format is odd, I have taken the message directly in rabbit | 16:28 |
dhellmann | sileht: what do you think about dropping the endpoints values? | 16:29 |
dhellmann | I'm not sure if that's considered useful or not | 16:29 |
sileht | hum, the paste looks truncated | 16:30 |
dhellmann | maybe because it's one long line? | 16:30 |
dhellmann | I also wonder if it would make sense to pass the context values in through extra so they will be pulled into the message format string, instead of embedding them in the log message directly. | 16:30 |
dhellmann | wait, is this your new proposed format or is this an example of the 66k messages we're logging now? | 16:31 |
sileht | it's the (truncated) 66k message | 16:32 |
dhellmann | ok | 16:34 |
dhellmann | yeah, this includes way more info than I think is really useful | 16:34 |
*** arnaud__ has joined #openstack-oslo | 16:34 | |
dhellmann | sileht: another optimization we can make is to only call mask_password if the message is going to be emitted. To do that we'll need to change _safe_log to take a logger and a level, rather than the log function, so we can test the level ourselves | 16:36 |
dhellmann | there's no sense in building a safe message if we're not logging debug content | 16:37 |
sdague | sileht: just noticing the regex thing | 16:37 |
sileht | dhellmann, yes but gate use debug level | 16:37 |
dhellmann | sileht: true, but it would help people in production who don't | 16:37 |
sdague | .*? is pretty expensive, especially once you put 2 of them in 1 regex (as it creates a ton of backtracking) | 16:38 |
sdague | is there a way to trim that bit up to something more specific | 16:38 |
dhellmann | yeah, I think we can replace some of those with [^"']* but we're also looking at just not logging the whole message | 16:38 |
dhellmann | sileht: maybe we should start by releasing an oslo.message that doesn't log every message at all, and then we can make it more efficient and turn it back on? | 16:39 |
*** dtantsur is now known as dtantsur|afk | 16:41 | |
*** salv-orlando has joined #openstack-oslo | 16:43 | |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: Don't log each received messages. https://review.openstack.org/145541 | 16:54 |
dhellmann | sileht: I'm working on the regexes to see if I can speed them up | 16:54 |
sileht | dhellmann, ok | 16:55 |
dims__ | dhellmann: are these the ones amrith added? | 16:55 |
dhellmann | dims__: yeah | 16:55 |
dhellmann | the tests are a bit of a mess, so I'm looking at those first | 16:56 |
dims__ | amrith: ping! :) | 16:56 |
*** ihrachyshka has quit IRC | 16:56 | |
dhellmann | sileht: a few comments on that patch | 16:58 |
*** noelbk has joined #openstack-oslo | 16:59 | |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: Don't log each received messages. https://review.openstack.org/145541 | 17:06 |
sileht | dhellmann, thanks, fixed | 17:06 |
openstackgerrit | ZhiQiang Fan proposed openstack/oslo-incubator: prints --insecure if verify=False and debug=True https://review.openstack.org/144176 | 17:10 |
*** gordc has quit IRC | 17:15 | |
*** gordc has joined #openstack-oslo | 17:16 | |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: rabbit: fix timeout timer when duration is None https://review.openstack.org/145521 | 17:16 |
*** noelbk has quit IRC | 17:21 | |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: Don't log each received messages. https://review.openstack.org/145541 | 17:23 |
jamespage | anyone know where there are cross project plans to switch from posix-ipc to sysv-ipc as python-tooz has done? | 17:23 |
jamespage | where/whether | 17:23 |
dhellmann | sileht: that version looks good to me | 17:24 |
dhellmann | jamespage: I don't know of any such plans | 17:24 |
jamespage | dhellmann, ack | 17:25 |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: Don't log each received messages https://review.openstack.org/145541 | 17:27 |
sileht | dhellmann, sorry, one more time ^ (stupid ending period...) | 17:29 |
sileht | bnemec, ^ | 17:29 |
bnemec | sileht: Already +2'd :-) | 17:30 |
dhellmann | sileht: +2a, let's see what jenkins says | 17:30 |
sileht | dhellmann, this should fix the largeops job, but I wonder if the timeout issue of the gate-tempest-dsvm-neutron-src-oslo.messaging is due to same bug. | 17:33 |
bnemec | posix-ipc - the api redesign gone so wrong that it can no longer be used for its intended purpose | 17:33 |
*** e0ne has quit IRC | 17:35 | |
*** dims__ has quit IRC | 17:43 | |
jamespage | jd__, as ceilometer is currently the only user of tooz, do you happen to know which driver it uses? if it's not the ipc driver, I'm tempted to just disable the ipc tests for the Ubuntu package build for now | 17:43 |
*** dims__ has joined #openstack-oslo | 17:44 | |
*** dims__ has quit IRC | 17:45 | |
*** dims__ has joined #openstack-oslo | 17:46 | |
*** zz_sabari is now known as sabari | 17:46 | |
*** david-lyle_afk is now known as david-lyle | 17:47 | |
dhellmann | sileht: I need a copy of that long message string and paste.openstack.org is erroring out, can you put it on another paste server? | 17:48 |
dhellmann | sileht: oh, nevermind, it's back up and working now | 17:50 |
sileht | dhellmann, I will generate it | 17:50 |
dhellmann | emacs is a little unhappy that I pasted that into my source file | 17:51 |
*** zzzeek has joined #openstack-oslo | 17:54 | |
*** cburgess_ is now known as cburgess | 17:58 | |
sileht | dhellmann, the uncutted message is 304k ! | 17:58 |
dhellmann | sileht: yeah, I saved it to a separate file for now | 17:58 |
sileht | dhellmann, just in case: http://dl.sileht.net/public/payload.json.gz | 18:01 |
*** e0ne has joined #openstack-oslo | 18:01 | |
sileht | (the whole message in json format) | 18:01 |
*** e0ne has quit IRC | 18:03 | |
*** sabari is now known as zz_sabari | 18:08 | |
*** pblaho_ has quit IRC | 18:16 | |
*** stevemar has quit IRC | 18:16 | |
*** stevemar has joined #openstack-oslo | 18:16 | |
*** yamahata has quit IRC | 18:20 | |
jd__ | jamespage: it uses whatever the user wants to use | 18:21 |
jd__ | jamespage: though IPC is less likely to be used so it'd be OK to disable it | 18:21 |
jd__ | jamespage: is it just a problem for tests or a problem to package IPC on Ubuntu? | 18:21 |
*** subscope has joined #openstack-oslo | 19:05 | |
*** yamahata has joined #openstack-oslo | 19:09 | |
*** zz_jgrimm is now known as jgrimm | 19:22 | |
*** raildo has joined #openstack-oslo | 19:25 | |
*** zz_sabari is now known as sabari | 19:26 | |
*** sabari is now known as zz_sabari | 19:27 | |
*** rpodolyaka2 has joined #openstack-oslo | 19:29 | |
openstackgerrit | Doug Hellmann proposed openstack/oslo.utils: Improve performance of strutils.mask_password https://review.openstack.org/145562 | 19:32 |
dhellmann | sileht, dims__, sdague: ^^ | 19:33 |
sdague | yep, looks very sane | 19:35 |
*** zz_sabari is now known as sabari | 19:35 | |
dhellmann | sdague: I'm a little scared by how much faster it is | 19:35 |
sdague | is that a bunch of runs averaged? | 19:36 |
sdague | honestly the double .*? is a big anti pattern in regex, because it keeps adjusting back and forth by one character searching for the matches | 19:36 |
dhellmann | I think it's just one rep, but the results were pretty consistent across several runs of the test | 19:36 |
dhellmann | yeah | 19:36 |
dhellmann | well, I'm also only looking for the patterns where we see the key in the input string using "in" first, and so that cuts down on the number of regexes applied to any given input | 19:37 |
dhellmann | that "in" test for a literal should be a lot faster than the regex | 19:37 |
*** vigneshvar has quit IRC | 19:38 | |
dhellmann | sdague: if I add a bunch of reps, I get pretty consistent numbers | 19:39 |
sdague | yeh, though now that you scoped the regex correctly, they are mostly clocking in at a few miliseconds even for large output | 19:40 |
dhellmann | true | 19:46 |
openstackgerrit | James Carey proposed openstack/oslo.i18n: Improve fixture documentation https://review.openstack.org/145375 | 19:47 |
*** andreykurilin has joined #openstack-oslo | 19:50 | |
*** rpodolyaka2 has quit IRC | 19:57 | |
*** jaypipes is now known as jaypipes-afk | 20:00 | |
dims__ | dhellmann: looking | 20:11 |
dhellmann | dims__: pep8 failure of some sort :-( | 20:12 |
dhellmann | oh, hrm, timeout downloading a package | 20:13 |
dims__ | "The remote end hung up unexpectedly" << old style phone? :) | 20:13 |
* dhellmann removes the modem dialing instructions from his changeset | 20:14 | |
dims__ | haha | 20:16 |
openstackgerrit | Merged openstack/oslo.messaging: Don't log each received messages https://review.openstack.org/145541 | 20:21 |
*** rpodolyaka2 has joined #openstack-oslo | 20:22 | |
dims__ | dhellmann: scratching my head on this one - (<%(key)s>)[^<]*(</%(key)s> | 20:23 |
dims__ | dhellmann: the other one replacing .*? with [^\"\'] i can understand | 20:24 |
dims__ | oops [^\"\']* | 20:24 |
dhellmann | it's an xml pattern, looking for the content between two tags <key> and </key> | 20:25 |
dhellmann | the content can't have a < in it, because that wouldn't be valid xml (it'll be <) | 20:25 |
dims__ | right, does it mean the string in between cannot have a < sign? | 20:25 |
dhellmann | right, but it already can't have that and be valid xml | 20:26 |
dims__ | right < | 20:26 |
dhellmann | right, the < has to be written as an entity escape sequence | 20:26 |
dims__ | cool. lgtm! thanks | 20:26 |
dhellmann | np, thanks for the close review :-) | 20:27 |
dims__ | i missed the backtracking issue when i was doing this with amrith :( | 20:28 |
openstackgerrit | Min Pae proposed openstack/taskflow: Fix for job consumption example using wrong object https://review.openstack.org/145574 | 20:28 |
*** e0ne has joined #openstack-oslo | 20:28 | |
dhellmann | with the small test strings it wouldn't have mattered, and I don't know that I would have thought about it either | 20:28 |
dims__ | right | 20:29 |
bnemec | This is why I cringe every time I review something with a regex | 20:29 |
dims__ | bnemec: yep, true! | 20:29 |
dhellmann | well, I don't think anyone anticipated a 310K log message, either | 20:30 |
dims__ | :) | 20:30 |
bnemec | There's always _something_ with regexes though. I don't know that I've ever written one that worked completely right on the first try. :-) | 20:31 |
bknudson | unit tests | 20:32 |
bknudson | they're a good target for tdd | 20:32 |
bnemec | Yeah, as long as you can come up with all of the edge cases. Like 310k input strings. ;-) | 20:33 |
dhellmann | gordc: I'm thinking of releasing oslo.middleware with the namespace package changes. Do you have anything you want to wait for? | 20:34 |
gordc | dhellmann: nope. was going to ask you exact same question but i figured you were busy with other oslo namespace changes. | 20:34 |
dhellmann | gordc: ok, I'll do it in a few minutes | 20:34 |
gordc | dhellmann: cool cool. | 20:35 |
dhellmann | gordc: 0.3.0 would be the next number, unless you think we're ready for 1.0 | 20:35 |
dhellmann | I'll just use 0.3.0, we can bump to 1.0 later | 20:36 |
gordc | 0.3.0 works for me. | 20:36 |
bknudson | having unit tests sure makes it easier to verify that performance fixes are valid | 20:37 |
bknudson | it looks like the replace code was looping through the string multiple times & replacing. | 20:37 |
bnemec | Hmm, some of the patterns are escaping \" and some aren't. I guess that's probably fine though. | 20:39 |
openstackgerrit | Doug Hellmann proposed openstack/oslo.middleware: Fix bug tracker link in readme https://review.openstack.org/145578 | 20:40 |
*** amrith is now known as _amrith_ | 20:40 | |
dhellmann | bnemec: yeah, I was trying to change as little as possible, but I don't think a lot of those escapes are needed | 20:40 |
dhellmann | bknudson: it is, using different patterns | 20:40 |
bnemec | dhellmann: Yeah, it's an existing problem, not something to block this change. | 20:41 |
*** subscope has quit IRC | 20:41 | |
dhellmann | gordc: that readme fix ^^ would be good to get in if you have a few minutes | 20:41 |
dhellmann | bnemec: yeah, we could probably clean that up further in a couple of ways | 20:42 |
gordc | dhellmann: done. | 20:43 |
dhellmann | gordc: thanks | 20:44 |
dhellmann | oslo.middleware 0.3.0 released | 20:46 |
*** ajo has quit IRC | 20:47 | |
openstackgerrit | Doug Hellmann proposed openstack/oslo.rootwrap: Add cross-testing script https://review.openstack.org/145582 | 20:49 |
dhellmann | ttx: how do you feel about an oslo.rootwrap release? | 20:49 |
dims__ | dhellmann: i saw this request from jogo for rootwrap - https://bugs.launchpad.net/oslo.rootwrap/+bug/1408073 | 21:00 |
dims__ | to make grenade better/easier? | 21:01 |
dhellmann | I'm not sure what to do with that. The config settings are up to the app, not the lib, so I don't think we can put them in the lib repository. | 21:01 |
dims__ | y, jogo are you saying that newer rootwrap is looking for a rootwrap specific config file now? | 21:03 |
*** sabari is now known as zz_sabari | 21:05 | |
*** openstackgerrit has quit IRC | 21:05 | |
*** openstackgerrit has joined #openstack-oslo | 21:05 | |
*** salv-orl_ has joined #openstack-oslo | 21:06 | |
*** salv-or__ has joined #openstack-oslo | 21:07 | |
*** e0ne has quit IRC | 21:08 | |
*** salv-orlando has quit IRC | 21:10 | |
*** salv-orlando has joined #openstack-oslo | 21:11 | |
*** salv-orl_ has quit IRC | 21:11 | |
*** salv-or__ has quit IRC | 21:12 | |
*** noelbk has joined #openstack-oslo | 21:24 | |
mriedem | dhellmann: i'm running tox for nova on stable/juno and hitting the billion deprecation warnings which stevedore 1.2.0 fixed on master (i thought?), but still seeing a ton of these: | 21:24 |
mriedem | return pkg_resources.EntryPoint.parse("x=" + s).load(False) | 21:24 |
mriedem | /home/mriedem/git/nova/.tox/py27/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py:22: DeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. | 21:24 |
mriedem | checked my venv and i have stevedore 1.2.0 | 21:24 |
mriedem | any ideas? | 21:24 |
dhellmann | mriedem: looking at the path, those calls are coming from paste | 21:24 |
mriedem | ah crap | 21:25 |
dhellmann | it looks like we need to get the paste folks to update their code, or convince the setuptools folks to drop the warning | 21:25 |
mriedem | yup http://logs.openstack.org/74/145374/1/check/gate-nova-python27/6201323/console.html#_2015-01-06_23_34_35_477 | 21:25 |
mriedem | 20736 hits of that | 21:25 |
mriedem | sdague: ^ :( | 21:25 |
sdague | oh, that's down in paste | 21:26 |
dhellmann | did we really not figure out how to make those deprecation warnings only show up once? | 21:26 |
sdague | paste deploy is basically stalled right? | 21:26 |
dhellmann | that might be a change to paste, too | 21:26 |
sdague | dhellmann: so... I tried the thing that was suggested | 21:27 |
sdague | but it didn't seem to work | 21:27 |
dhellmann | I really don't know. That was my impression, given the lack of python 3 support a couple of years ago. It's possible that's changed and paste is more active now. | 21:27 |
dhellmann | ah, bummer | 21:27 |
sdague | https://review.openstack.org/#/c/145037/1/nova/test.py,cm | 21:27 |
mriedem | oo someone is using new gerrit | 21:27 |
sdague | the docs indicate that that should log once, but it doesn't seem to | 21:28 |
dhellmann | sdague: I wonder if that didn't work because we have deprecations wired up to the logging? | 21:28 |
sdague | this isn't going through logging | 21:28 |
sdague | it's going to stderr directly from python warnings module | 21:28 |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: rabbit: fix timeout timer when duration is None https://review.openstack.org/145521 | 21:30 |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: Ensure kombu channels are closed https://review.openstack.org/145232 | 21:30 |
dhellmann | sdague: oh, I thought we were capturing them | 21:30 |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: Add a info log when a reconnection occurs https://review.openstack.org/138411 | 21:30 |
sdague | dhellmann: the issue is they are in the stderr stream | 21:30 |
sdague | which goes out to the console and the subunit logs, because it captures that | 21:30 |
dhellmann | sdague: maybe try the more complex filter specification? | 21:31 |
sdague | maybe | 21:31 |
dhellmann | sdague: or https://docs.python.org/2/library/logging.html#logging.captureWarnings | 21:31 |
dhellmann | that would cause them to go through logging, so they would at least not be going to stderr | 21:31 |
*** zz_sabari is now known as sabari | 21:31 | |
sdague | true | 21:32 |
bknudson | in keystone I changed the tests so that deprecations are only printed from keystone.* | 21:32 |
dhellmann | bknudson: how did you do that? we're having trouble making nova do something similar | 21:32 |
mriedem | https://review.openstack.org/#/c/143183/2/keystone/tests/core.py | 21:32 |
bknudson | mriedem: that's the wrong one. | 21:32 |
mriedem | https://review.openstack.org/#/c/144810/2/keystone/tests/core.py | 21:32 |
bknudson | that one caused everything to fail once paste started calling deprecated code | 21:33 |
sdague | bknudson: ok, but you are still getting the output right? | 21:33 |
bknudson | y, it's module='^keystone\\.') | 21:33 |
sdague | just not as an error | 21:33 |
dhellmann | yeah, that turns some of the deprecations into errors, but doesn't ignore the others | 21:33 |
sdague | I can try to work with that tomorrow though | 21:33 |
sdague | I need to leave shortly for lug meeting | 21:34 |
dhellmann | sdague: maybe adding a module filter to the ignore line you have would make it take precedence | 21:34 |
sdague | dhellmann: yeh | 21:34 |
bknudson | the filters are applied in order... the first one that matches causes it to stop | 21:34 |
sdague | honestly, something later might be reseting it as well | 21:34 |
dhellmann | true | 21:34 |
dhellmann | oh, you know, we did have a module messing with the filters at some point | 21:34 |
dhellmann | maybe moving the call to happen in the test setup would help | 21:34 |
sdague | yeh, that might | 21:34 |
dhellmann | we could also make the oslotest base class call logging.captureWarnings for the same reason | 21:35 |
sdague | ok, I'll dive in in the morning on it if now one has fixed it | 21:35 |
mriedem | i can pokey pokey | 21:35 |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: Declare DirectPublisher exchanges with passive=True https://review.openstack.org/109373 | 21:35 |
sdague | mriedem: you might want to build it as another fixture in the nova test class, I was pretty close to extracting everything as fixtures there anyway | 21:36 |
bknudson | the output of keystone tests is different for some reason... we don't see the output unless there's a failure in the test. | 21:36 |
mriedem | bknudson: that's something sdague added to nova from tempest | 21:36 |
sdague | the bigger issue, if this is deprecated, at some point it's going to change | 21:36 |
*** rpodolyaka2 has quit IRC | 21:36 | |
sdague | which mean paste deploy is going to break | 21:36 |
sdague | and this is dragging in from pip, so we're not really going to have the ability to pin it | 21:37 |
mriedem | bknudson: https://review.openstack.org/#/c/145340/ | 21:37 |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: Implements notification-dispatcher-filter https://review.openstack.org/77886 | 21:38 |
*** arnaud__ has quit IRC | 21:38 | |
*** arnaud__ has joined #openstack-oslo | 21:39 | |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: Move each drivers options into its own group https://review.openstack.org/120038 | 21:40 |
dims__ | dhellmann: does overriding warnings.showwarning help with avoiding stderr flood? | 21:42 |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: NotifyPublisher need handle amqp_auto_delete https://review.openstack.org/138723 | 21:43 |
*** arnaud__ has quit IRC | 21:43 | |
sdague | dims__: in theory the warnings module has facilities for what we want, just, so far just having gotten the right incantation | 21:44 |
dims__ | sdague: ah cool | 21:45 |
*** ajo has joined #openstack-oslo | 21:48 | |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: RabbitMQ heartbeat implementation https://review.openstack.org/126330 | 21:48 |
*** e0ne has joined #openstack-oslo | 21:52 | |
*** e0ne has quit IRC | 21:52 | |
*** jeckersb is now known as jeckersb_gone | 21:57 | |
*** jaypipes-afk is now known as jaypipes | 21:58 | |
*** jecarey has quit IRC | 21:58 | |
jamespage | jd__, both sysv and posix ipc are packaged, just getting a bit of pushback from the Ubuntu MIR team on having both supported in Ubuntu main | 22:11 |
openstackgerrit | Mehdi Abaakouk proposed openstack/oslo.messaging: RabbitMQ heartbeat implementation https://review.openstack.org/126330 | 22:12 |
openstackgerrit | James Page proposed openstack/oslo.messaging: zmq: support Cinder multi-backend server targets https://review.openstack.org/129185 | 22:15 |
openstackgerrit | James Page proposed openstack/oslo.messaging: zmq: Refactor test case shared code https://review.openstack.org/144954 | 22:16 |
jogo | dims__: the issue here is if you add a new line to the rootwrap config | 22:16 |
jogo | dims__: and upgrade but leave your /etc/ behind you are stuck with an old rootwrap config and new code fails | 22:16 |
dhellmann | jogo: do we consider the rootwrap config file to be something the deployer needs to customize, or is it "part of the code"? | 22:18 |
*** shardy is now known as shardy_z | 22:19 | |
jogo | dhellmann: IMHO part of the code | 22:19 |
jogo | dhellmann: maybe distros need to customize? but not sure why a user would need to | 22:19 |
dhellmann | jogo: in that case I would expect the file to be updated when the rest of the code is updated, right? | 22:19 |
dhellmann | maybe that means we're putting it in a bad place? | 22:19 |
dhellmann | ttx: ^^ | 22:19 |
jogo | dhellmann: that is my train of thought as well | 22:20 |
*** harlowja_at_home has joined #openstack-oslo | 22:29 | |
*** stevemar has quit IRC | 22:37 | |
*** mriedem has quit IRC | 22:45 | |
*** pradk has quit IRC | 23:01 | |
*** gordc has quit IRC | 23:08 | |
openstackgerrit | Michael Bayer proposed openstack/oslo.db: Ensure mysql_sql_mode is set for MySQLOpportunisticTests https://review.openstack.org/145622 | 23:10 |
openstackgerrit | Michael Bayer proposed openstack/oslo.db: Ensure DBConnectionError is raised on failed revalidate https://review.openstack.org/139738 | 23:10 |
*** yassine has quit IRC | 23:18 | |
*** stevemar has joined #openstack-oslo | 23:24 | |
*** jgrimm is now known as zz_jgrimm | 23:26 | |
*** dims__ has quit IRC | 23:30 | |
openstackgerrit | Merged openstack/oslo.utils: Improve performance of strutils.mask_password https://review.openstack.org/145562 | 23:38 |
dhellmann | I'll cut a release of oslo.utils first thing in the morning with ^^ unless someone else wants to do it and hang around for a while to make sure it doesn't break things worse than they are now. :-) | 23:42 |
dhellmann | call it 14 hrs | 23:42 |
*** zzzeek has quit IRC | 23:47 | |
*** andreykurilin has quit IRC | 23:50 | |
*** gordc has joined #openstack-oslo | 23:53 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!