*** tovin07_ has joined #openstack-oslo | 01:07 | |
*** yamahata has quit IRC | 01:14 | |
*** jamielennox is now known as jamielennox|away | 01:17 | |
*** jamielennox|away is now known as jamielennox | 01:34 | |
*** gomarivera has joined #openstack-oslo | 01:38 | |
openstackgerrit | lan proposed openstack/oslo.db master: Using assertIsNone(xxx) instead of assertEqual(None, xxx) https://review.openstack.org/471181 | 01:55 |
---|---|---|
*** aselius has quit IRC | 01:56 | |
openstackgerrit | lan proposed openstack/oslo.db master: Using assertIsNone(xxx) instead of assertEqual(None, xxx) https://review.openstack.org/471181 | 02:01 |
openstackgerrit | Vu Cong Tuan proposed openstack/oslo.config master: Fix html_last_updated_fmt for Python3 https://review.openstack.org/470654 | 02:14 |
*** links has joined #openstack-oslo | 02:27 | |
*** chenying has quit IRC | 02:28 | |
*** chenying has joined #openstack-oslo | 02:28 | |
*** links has quit IRC | 02:30 | |
*** links has joined #openstack-oslo | 02:30 | |
*** chenying has quit IRC | 02:54 | |
*** chenying has joined #openstack-oslo | 02:54 | |
openstackgerrit | Vu Cong Tuan proposed openstack/taskflow master: Fix html_last_updated_fmt for Python3 https://review.openstack.org/470660 | 02:55 |
*** dimtruck is now known as zz_dimtruck | 03:01 | |
*** gomarivera has quit IRC | 03:21 | |
openstackgerrit | Merged openstack/oslo.messaging master: Fix serializer tests https://review.openstack.org/471086 | 03:21 |
*** gomarivera has joined #openstack-oslo | 03:22 | |
*** gomarivera has quit IRC | 03:23 | |
*** gomarivera has joined #openstack-oslo | 03:23 | |
*** yamamoto_ has joined #openstack-oslo | 03:25 | |
*** gomarivera has quit IRC | 03:34 | |
*** gomarivera has joined #openstack-oslo | 03:34 | |
*** gomarivera has quit IRC | 03:38 | |
*** gomarivera has joined #openstack-oslo | 03:44 | |
*** ihrachys has joined #openstack-oslo | 03:53 | |
*** david-lyle has left #openstack-oslo | 03:56 | |
*** ihrachys has quit IRC | 04:04 | |
*** ihrachys has joined #openstack-oslo | 04:23 | |
*** salv-orlando has joined #openstack-oslo | 04:26 | |
*** salv-orlando has quit IRC | 04:31 | |
*** ihrachys has quit IRC | 04:50 | |
*** salv-orlando has joined #openstack-oslo | 05:00 | |
*** yamamoto_ has quit IRC | 05:07 | |
*** jaosorior_away is now known as jaosorior | 05:44 | |
*** yamamoto has joined #openstack-oslo | 05:51 | |
openstackgerrit | Merged openstack/oslo.config master: Cast generator_options to dict https://review.openstack.org/471056 | 05:55 |
openstackgerrit | Merged openstack/automaton master: Remove support for py34 https://review.openstack.org/470833 | 06:00 |
*** gomarivera has quit IRC | 06:01 | |
*** gomarivera has joined #openstack-oslo | 06:01 | |
*** gomarivera has quit IRC | 06:06 | |
*** rcernin has joined #openstack-oslo | 06:10 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/oslo.messaging master: Updated from global requirements https://review.openstack.org/470530 | 06:10 |
*** salv-orlando has quit IRC | 06:13 | |
*** salv-orlando has joined #openstack-oslo | 06:13 | |
*** salv-orlando has quit IRC | 06:17 | |
*** pcaruana has joined #openstack-oslo | 06:39 | |
*** jaosorior is now known as jaosorior_away | 06:41 | |
*** yamamoto has quit IRC | 06:46 | |
*** yamamoto has joined #openstack-oslo | 06:47 | |
*** yamahata has joined #openstack-oslo | 06:47 | |
*** mmasaki has quit IRC | 06:48 | |
*** amrith has quit IRC | 06:48 | |
*** mmasaki has joined #openstack-oslo | 06:49 | |
*** amrith has joined #openstack-oslo | 06:49 | |
*** salv-orlando has joined #openstack-oslo | 07:01 | |
*** aarefiev has joined #openstack-oslo | 07:03 | |
openstackgerrit | Merged openstack/oslo.messaging master: deprecated blocking executor https://review.openstack.org/469805 | 07:04 |
*** eliqiao has quit IRC | 07:09 | |
*** eliqiao has joined #openstack-oslo | 07:10 | |
*** tesseract has joined #openstack-oslo | 07:13 | |
openstackgerrit | lan proposed openstack/oslo.db master: Using assertIsNone(xxx) instead of assertEqual(None, xxx) https://review.openstack.org/471181 | 07:22 |
*** yamahata has quit IRC | 07:23 | |
*** salv-orl_ has joined #openstack-oslo | 07:28 | |
openstackgerrit | Vu Cong Tuan proposed openstack/osprofiler master: Replace oslo.messaging.get_transport with get_notification_transport https://review.openstack.org/471232 | 07:29 |
*** salv-orlando has quit IRC | 07:31 | |
*** nicolasbock has joined #openstack-oslo | 07:31 | |
*** fnordahl has quit IRC | 07:32 | |
*** fnordahl has joined #openstack-oslo | 07:39 | |
*** oanson_ has joined #openstack-oslo | 07:42 | |
*** oanson_ has quit IRC | 07:50 | |
*** zzzeek has quit IRC | 08:00 | |
*** zzzeek has joined #openstack-oslo | 08:00 | |
*** links has quit IRC | 08:02 | |
*** gomarivera has joined #openstack-oslo | 08:02 | |
*** gomarivera has quit IRC | 08:07 | |
openstackgerrit | ChangBo Guo(gcb) proposed openstack/oslo.messaging master: Fix rabbitmq driver with blocking executor https://review.openstack.org/469806 | 08:11 |
*** e0ne has joined #openstack-oslo | 08:13 | |
openstackgerrit | Lingyong Xu proposed openstack/oslo.utils master: Replace oslo_utils.timeutils.isotime https://review.openstack.org/469777 | 08:17 |
*** links has joined #openstack-oslo | 08:19 | |
*** lucas-afk is now known as lucasagomes | 08:26 | |
*** hoonetorg has quit IRC | 08:51 | |
*** oanson_ has joined #openstack-oslo | 08:51 | |
*** jaosorior_away is now known as jaosorior | 08:53 | |
*** nicolasbock has quit IRC | 09:03 | |
*** jaosorior has quit IRC | 09:04 | |
*** hoonetorg has joined #openstack-oslo | 09:09 | |
*** sambetts|afk is now known as sambetts | 09:24 | |
*** links has quit IRC | 09:25 | |
openstackgerrit | Lingyong Xu proposed openstack/oslo.utils master: Replace oslo_utils.timeutils.isotime https://review.openstack.org/469777 | 09:27 |
*** links has joined #openstack-oslo | 09:42 | |
*** sdague has joined #openstack-oslo | 09:44 | |
openstackgerrit | Merged openstack/oslo.messaging master: Updated from global requirements https://review.openstack.org/470530 | 09:46 |
*** shardy has joined #openstack-oslo | 09:55 | |
*** oanson_ has quit IRC | 09:55 | |
*** cdent has joined #openstack-oslo | 09:57 | |
*** lpetrut has joined #openstack-oslo | 10:03 | |
*** jamielennox is now known as jamielennox|away | 10:10 | |
*** tovin07_ has quit IRC | 10:11 | |
*** jamielennox|away is now known as jamielennox | 10:16 | |
*** purplerbot has quit IRC | 10:33 | |
*** purplerbot has joined #openstack-oslo | 10:33 | |
*** boden has joined #openstack-oslo | 10:34 | |
*** nicolasbock has joined #openstack-oslo | 10:44 | |
*** yamamoto has quit IRC | 10:52 | |
*** raildo has joined #openstack-oslo | 10:52 | |
*** salv-orl_ has quit IRC | 11:16 | |
*** lucasagomes is now known as lucas-hungry | 11:16 | |
*** shardy is now known as shardy_afk | 11:21 | |
*** ansmith has quit IRC | 11:23 | |
*** rcernin has quit IRC | 11:52 | |
*** pcaruana has quit IRC | 11:53 | |
*** jaosorior has joined #openstack-oslo | 11:56 | |
*** yamamoto has joined #openstack-oslo | 11:56 | |
*** rcernin has joined #openstack-oslo | 12:07 | |
*** pcaruana has joined #openstack-oslo | 12:09 | |
*** shardy_afk is now known as shardy | 12:10 | |
*** dave-mccowan has joined #openstack-oslo | 12:15 | |
*** lucas-hungry is now known as lucasagomes | 12:16 | |
*** yamamoto has quit IRC | 12:21 | |
*** MVenesio has joined #openstack-oslo | 12:27 | |
*** ansmith has joined #openstack-oslo | 12:32 | |
*** yamamoto has joined #openstack-oslo | 12:38 | |
*** gordc has joined #openstack-oslo | 12:39 | |
*** links has quit IRC | 12:56 | |
*** eck`gone is now known as eck` | 13:06 | |
*** ihrachys has joined #openstack-oslo | 13:09 | |
*** yamamoto has quit IRC | 13:10 | |
*** yamamoto has joined #openstack-oslo | 13:11 | |
*** gomarivera has joined #openstack-oslo | 13:17 | |
*** yamamoto has quit IRC | 13:21 | |
*** yamamoto has joined #openstack-oslo | 13:23 | |
*** gomarivera has quit IRC | 13:30 | |
*** eck` is now known as eck`gone | 13:30 | |
*** eck`gone has quit IRC | 13:31 | |
*** eck`gone has joined #openstack-oslo | 13:32 | |
*** eck`gone is now known as eck` | 13:32 | |
*** pcaruana has quit IRC | 13:34 | |
*** rcernin has quit IRC | 13:36 | |
*** zz_dimtruck is now known as dimtruck | 13:41 | |
*** rcernin has joined #openstack-oslo | 13:49 | |
*** pcaruana has joined #openstack-oslo | 13:51 | |
*** janzian has joined #openstack-oslo | 13:55 | |
*** pcaruana has quit IRC | 13:59 | |
*** pcaruana has joined #openstack-oslo | 14:00 | |
*** salv-orlando has joined #openstack-oslo | 14:04 | |
*** rcernin has quit IRC | 14:04 | |
*** rcernin has joined #openstack-oslo | 14:05 | |
*** rcernin has quit IRC | 14:07 | |
*** rcernin has joined #openstack-oslo | 14:07 | |
*** links has joined #openstack-oslo | 14:12 | |
*** links has quit IRC | 14:17 | |
*** MVenesio has quit IRC | 14:25 | |
*** hongbin has joined #openstack-oslo | 14:28 | |
*** ihrachys is now known as ihrachys|afk | 14:31 | |
zzzeek | is there any way when folks are looking to be useful w/ micro-patches like https://review.openstack.org/#/c/471181/, they could come around and ask how they might be useful to us? b.c. i can think of some oslo.db things that are more important than this | 14:43 |
*** rcernin has quit IRC | 14:54 | |
*** yamamoto has quit IRC | 14:55 | |
*** dimtruck is now known as zz_dimtruck | 14:58 | |
*** salv-orlando has quit IRC | 14:59 | |
*** salv-orlando has joined #openstack-oslo | 15:00 | |
*** salv-orlando has quit IRC | 15:04 | |
*** gomarivera has joined #openstack-oslo | 15:05 | |
*** aselius has joined #openstack-oslo | 15:15 | |
*** gomarivera has quit IRC | 15:22 | |
*** gomarivera has joined #openstack-oslo | 15:22 | |
*** e0ne has quit IRC | 15:32 | |
openstackgerrit | Balazs Gibizer proposed openstack/oslo.versionedobjects master: Fixed JSONSchema Enum and IPV4AndV6Address https://review.openstack.org/419114 | 15:39 |
*** jaosorior is now known as jaosorior_away | 15:47 | |
*** lucasagomes is now known as lucas-afk | 15:58 | |
*** ihrachys|afk is now known as ihrachys | 16:01 | |
*** dfisher has joined #openstack-oslo | 16:13 | |
*** yamahata has joined #openstack-oslo | 16:15 | |
*** yamamoto has joined #openstack-oslo | 16:26 | |
*** jamielennox is now known as jamielennox|away | 16:26 | |
*** dfisher has left #openstack-oslo | 16:26 | |
*** yamamoto has quit IRC | 16:31 | |
*** tesseract has quit IRC | 16:32 | |
*** mriedem has joined #openstack-oslo | 16:32 | |
mriedem | is there a way for nova to override oslo_messaging_notifications.driver for unit tests using the oslo_messaging.conffixture? | 16:33 |
mriedem | i've tried something like this http://paste.openstack.org/show/611533/ | 16:33 |
mriedem | but that doesn't work | 16:33 |
mriedem | where self.notification_drivers = ['noop'] | 16:33 |
mriedem | i see that ConfFixture.transport_driver is a property on the fixture, would i need to do similar for something like notification_drivers? | 16:34 |
*** pcaruana has quit IRC | 16:34 | |
*** lpetrut has quit IRC | 16:36 | |
dims | mriedem : nova seems to be fixing up transport_driver already (http://git.openstack.org/cgit/openstack/nova/tree/nova/tests/fixtures.py#n686) wanna add the notification_driver there too? | 16:37 |
mriedem | dims: but transport_driver is already a property on the messaging ConfFixture | 16:38 |
mriedem | https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/conffixture.py#L126 | 16:39 |
mriedem | similar thing for notification_driver(s) doesn't exist | 16:39 |
mriedem | that's why i'm wondering if i'd have to add that to the ConfFixture, | 16:39 |
mriedem | or if there is another way | 16:39 |
dims | ah looks like we need to add that | 16:39 |
dims | mriedem : neutron seems to be doing another way http://codesearch.openstack.org/?q=notification_driver.*fake&i=nope&files=&repos= | 16:40 |
mriedem | nova also has a fake notifier, so it could be i'm doing the fixture in the wrong place | 16:42 |
mriedem | gibi: have you ever figured out a way to configure oslo.messaging for the noop notification driver during nova unit tests? | 16:43 |
mriedem | i'm trying to test NOTIFIER.is_enabled without using mock, | 16:43 |
mriedem | i.e. i'd like to actually configure oslo.messaging to use the noop notifier | 16:44 |
gibi | mriedem: I think the reason I went with a mock in the original unit test is that it seemed easier | 16:45 |
mriedem | yeah i'm doing mock on is_enabled too | 16:45 |
mriedem | but i don't feel good about it | 16:46 |
gibi | let me check how this was tested on oslo.messaging side | 16:46 |
gibi | https://review.openstack.org/#/c/441221/1/oslo_messaging/tests/notify/test_notifier.py | 16:47 |
gibi | but I guess it doesn't in the nova case | 16:48 |
gibi | mriedem: do you want to setup the unit test in a way that you have a real, but noop notifier? Do you want to add some notification client that assert that there is no notification on the rpc? | 16:50 |
gibi | as far as I know we don't have a notification client in nova | 16:52 |
mriedem | i'm writing a test for https://review.openstack.org/#/c/459923/23/nova/notifications/base.py@220 | 16:53 |
*** ihrachys is now known as ihrachys|afk | 16:54 | |
*** ihrachys|afk is now known as ihrachys | 16:55 | |
gibi | mriedem: I think these tests are ensures that the decoratore is noop if notification is not enabled https://review.openstack.org/#/c/428260/7/nova/tests/unit/test_rpc.py | 16:55 |
gibi | and NOTIFIER.is_enabled is verified on oslo side | 16:55 |
mriedem | i just did https://review.openstack.org/#/c/459923/24/nova/tests/unit/notifications/test_base.py | 16:56 |
gibi | mriedem: I think the generic test cases I linked above I covering your case | 16:58 |
gibi | mriedem: except that you want to avoid mocking the is_enabled | 16:58 |
gibi | mriedem: https://review.openstack.org/#/c/428260/7/nova/tests/unit/test_rpc.py@545 seems functionally equivalent with https://review.openstack.org/#/c/459923/24/nova/tests/unit/notifications/test_base.py@58 | 17:00 |
mriedem | gibi: it doesn't test that the decorator is used on that one method though, which was the point of my test | 17:01 |
mriedem | anyway... | 17:01 |
mriedem | i'm giving up on it for now | 17:01 |
gibi | mriedem: ohh I see, so you want to see that the decorator is placed on the function | 17:01 |
mriedem | yes | 17:02 |
mriedem | so dims doesn't remove it in a year during some crazy dims refactor frenzy | 17:02 |
gibi | mriedem: OK, that make sense | 17:02 |
*** zz_dimtruck is now known as dimtruck | 17:02 | |
dims | LOL | 17:03 |
*** jamielennox|away is now known as jamielennox | 17:05 | |
*** kgiusti has quit IRC | 17:08 | |
*** jlvillal is now known as jlvacation | 17:10 | |
*** sambetts is now known as sambetts|afk | 17:16 | |
*** mriedem has left #openstack-oslo | 17:35 | |
*** nicolasbock has quit IRC | 17:41 | |
*** nicolasbock has joined #openstack-oslo | 17:42 | |
*** yamamoto has joined #openstack-oslo | 18:29 | |
*** cdent has quit IRC | 18:31 | |
*** yamamoto has quit IRC | 18:34 | |
*** mordred has quit IRC | 18:47 | |
*** mordred has joined #openstack-oslo | 18:48 | |
*** pcaruana has joined #openstack-oslo | 18:56 | |
*** salv-orlando has joined #openstack-oslo | 19:03 | |
*** mriedem has joined #openstack-oslo | 19:03 | |
mriedem | dhellmann: i think there is a problem with the error summary stuff in oslo.log tha went into 3.28 | 19:03 |
mriedem | we're seeing ": NotImplementedError" showing up at the end of log messages which aren't for errors in n-cpu | 19:04 |
mriedem | http://logs.openstack.org/82/471082/1/gate/gate-novaclient-dsvm-functional-neutron-ubuntu-xenial/796acb7/logs/screen-n-cpu.txt.gz#_Jun_06_13_14_02_210879 | 19:04 |
mriedem | that's the wrong one | 19:04 |
mriedem | http://logs.openstack.org/82/471082/1/gate/gate-novaclient-dsvm-functional-neutron-ubuntu-xenial/796acb7/logs/screen-n-cpu.txt.gz#_Jun_06_13_14_02_594292 | 19:04 |
mriedem | "Shutting down instance from state 1: NotImplementedError" | 19:04 |
mriedem | https://bugs.launchpad.net/oslo.log/+bug/1696213 | 19:09 |
openstack | Launchpad bug 1696213 in oslo.log "error summary formatter is putting ": NotImplementedError" in non-error log messages" [Undecided,New] | 19:09 |
*** harlowja has quit IRC | 19:29 | |
*** yamamoto has joined #openstack-oslo | 19:31 | |
dhellmann | mriedem : we found that python 2 does not clear sys.exc_info() if an exception is raised and caught during module import. Could that be the case here? | 19:32 |
dhellmann | we could add NotImplementedError to the set of exceptions that are ignored by default | 19:32 |
*** pcaruana has quit IRC | 19:33 | |
mriedem | was that ihar's recent change? | 19:36 |
mriedem | for ImportError? | 19:36 |
dhellmann | yeah | 19:36 |
dhellmann | that doesn't seem to be the issue here, though | 19:36 |
dhellmann | I'm looking for the patchset | 19:36 |
mriedem | i don't know where the NotImplementedError is coming from | 19:36 |
*** yamamoto has quit IRC | 19:36 | |
dhellmann | my line numbers don't match what's in the log there | 19:36 |
mriedem | yeah b/c something merged | 19:37 |
mriedem | in the bug report i noted it's coming from https://github.com/openstack/nova/blob/e01ae75d52900d96355dfcb39ef9b136f0c0d5c4/nova/virt/libvirt/driver.py#L2520 | 19:37 |
dhellmann | yeah | 19:37 |
mriedem | but it's really all over the nova-compute logs | 19:37 |
dhellmann | oh, I see the "direct_snapshot() is not implemented" messages now | 19:38 |
dhellmann | in driver.py I see direct_snapshot() called in the snapshot() method, and that NotImplementedError is caught and handled with a bunch of logic | 19:40 |
dhellmann | I imagine some of the log messages are coming from there | 19:40 |
dhellmann | there are a couple of ways to handle this, I think | 19:40 |
dhellmann | we could add a sys.exc_clear() call in the exception handler | 19:41 |
dhellmann | we could add NotImplementedError as an ignored exception | 19:41 |
dhellmann | (those aren't mutually exclusive) | 19:41 |
* dhellmann thinks | 19:41 | |
mriedem | yeah nova has some flow control for NotImplementedError unfortunately | 19:42 |
dhellmann | we could also change oslo.log so the first time it sees an exception it logs it, and later it doesn't | 19:42 |
mriedem | i tried to clean that up once but it was a mess | 19:42 |
dhellmann | we could cache just the id() value to keep it manageable | 19:43 |
dhellmann | and maybe use an lru cache with a fixed limit so we don't have a memory issue | 19:43 |
dhellmann | that feels a bit complicated, though | 19:43 |
dhellmann | and I thought it would be useful to have the error message attached to the log messages associated with the cleanup, too | 19:43 |
dhellmann | so I'm not sure I like the idea, but it's an option | 19:43 |
dhellmann | mriedem : if we ignore NotImplementedError, what happens if one of those other errors, like Forbidden, happens? we'd see the same error repeated for those cleanup calls | 19:44 |
dhellmann | would that be more ok? | 19:44 |
dhellmann | i.e., is it the error type that makes this ugly, or the repetition in general? | 19:44 |
mriedem | the repetition firstly | 19:46 |
mriedem | since it's all over the logs | 19:46 |
dhellmann | ok | 19:46 |
mriedem | 73 matches on ": NotImplementedError" in there | 19:46 |
dhellmann | so then the question is should we only log exceptions at warning or error level? or should we log at any level but only one time? | 19:47 |
dhellmann | maybe I'll try the first way, since I think that would be easier to implement | 19:48 |
*** harlowja has joined #openstack-oslo | 19:50 | |
dhellmann | after the tc meeting, though | 19:50 |
mriedem | maybe i can somehow work this into the postgresql discussion | 19:51 |
mriedem | and just totally derail everything | 19:51 |
dhellmann | oh, please do | 19:52 |
*** cdent has joined #openstack-oslo | 19:58 | |
*** shardy has quit IRC | 20:05 | |
*** salv-orl_ has joined #openstack-oslo | 20:06 | |
*** salv-orlando has quit IRC | 20:08 | |
*** eck` is now known as eck`gone | 20:18 | |
*** kgiusti has joined #openstack-oslo | 20:22 | |
*** raildo has quit IRC | 20:32 | |
*** yamamoto has joined #openstack-oslo | 20:32 | |
*** jamielennox has quit IRC | 20:34 | |
*** nicolasbock has quit IRC | 20:35 | |
*** yamamoto has quit IRC | 20:37 | |
*** jamielennox has joined #openstack-oslo | 20:38 | |
*** eck`gone is now known as eck` | 21:02 | |
*** dave-mccowan has quit IRC | 21:06 | |
*** ansmith has quit IRC | 21:06 | |
*** mriedem has left #openstack-oslo | 21:24 | |
*** yamamoto has joined #openstack-oslo | 21:33 | |
*** yamamoto has quit IRC | 21:37 | |
*** gordc has quit IRC | 21:45 | |
*** gomarivera has quit IRC | 21:57 | |
*** gomarivera has joined #openstack-oslo | 21:58 | |
*** dimtruck is now known as zz_dimtruck | 21:59 | |
*** gomarivera has quit IRC | 22:02 | |
*** sdague has quit IRC | 22:18 | |
*** boden has quit IRC | 22:19 | |
*** lbragstad has quit IRC | 22:30 | |
*** yamamoto_ has joined #openstack-oslo | 22:34 | |
*** yamamoto_ has quit IRC | 22:40 | |
*** gomarivera has joined #openstack-oslo | 22:43 | |
*** gomarivera has quit IRC | 22:47 | |
*** hongbin has quit IRC | 22:59 | |
*** cdent has quit IRC | 23:03 | |
*** yamamoto_ has joined #openstack-oslo | 23:36 | |
*** yamamoto_ has quit IRC | 23:42 | |
*** janzian has quit IRC | 23:43 | |
*** zz_dimtruck is now known as dimtruck | 23:58 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!