openstackgerrit | Merged openstack/oslo.messaging: [zmq] Matchmaker redis available time https://review.openstack.org/405257 | 00:06 |
---|---|---|
*** spzala has joined #openstack-oslo | 00:14 | |
*** jamielennox is now known as jamielennox|away | 00:45 | |
*** ihrachys has joined #openstack-oslo | 00:46 | |
*** ihrachys has quit IRC | 00:51 | |
*** itisha has quit IRC | 00:59 | |
*** tovin07 has quit IRC | 01:08 | |
*** hieulq has quit IRC | 01:09 | |
*** spzala has quit IRC | 01:25 | |
*** jschwarz has quit IRC | 01:25 | |
*** jschwarz has joined #openstack-oslo | 01:27 | |
*** browne has quit IRC | 01:28 | |
*** spzala has joined #openstack-oslo | 01:34 | |
*** mtanino has quit IRC | 01:41 | |
*** jamielennox|away is now known as jamielennox | 01:50 | |
*** mriedem has quit IRC | 01:50 | |
*** mriedem has joined #openstack-oslo | 01:50 | |
*** zhangguoqing has joined #openstack-oslo | 02:00 | |
*** int32bit has joined #openstack-oslo | 02:06 | |
*** gcb has joined #openstack-oslo | 02:12 | |
*** sdague has quit IRC | 02:12 | |
*** int32bit_ has joined #openstack-oslo | 02:22 | |
*** int32bit has quit IRC | 02:25 | |
*** mtanino has joined #openstack-oslo | 02:37 | |
*** int32bit_ has quit IRC | 02:49 | |
*** int32bit has joined #openstack-oslo | 02:50 | |
*** spzala has quit IRC | 02:54 | |
*** mtanino has quit IRC | 03:02 | |
*** sheeprine has quit IRC | 03:11 | |
*** sheeprine has joined #openstack-oslo | 03:15 | |
*** mriedem is now known as mriedem_afk | 03:19 | |
*** Rockyg has quit IRC | 03:31 | |
*** yamamoto_ has joined #openstack-oslo | 03:39 | |
*** int32bit_ has joined #openstack-oslo | 03:54 | |
*** int32bit has quit IRC | 03:56 | |
*** yamahata has quit IRC | 04:02 | |
*** hieulq has joined #openstack-oslo | 04:05 | |
*** int32bit_ has quit IRC | 04:20 | |
*** int32bit has joined #openstack-oslo | 04:20 | |
*** dimtruck is now known as zz_dimtruck | 04:23 | |
*** int32bit has quit IRC | 04:25 | |
*** harlowja has joined #openstack-oslo | 04:37 | |
*** nicolasbock has quit IRC | 04:48 | |
*** int32bit has joined #openstack-oslo | 04:50 | |
*** spzala has joined #openstack-oslo | 04:54 | |
*** spzala has quit IRC | 04:59 | |
*** zhangguoqing has quit IRC | 05:03 | |
*** links has joined #openstack-oslo | 05:05 | |
*** yamahata has joined #openstack-oslo | 05:24 | |
*** int32bit_ has joined #openstack-oslo | 05:43 | |
*** ansmith has quit IRC | 05:44 | |
*** harlowja has quit IRC | 05:46 | |
*** int32bit has quit IRC | 05:46 | |
*** Guest78677 has quit IRC | 05:52 | |
*** ansmith has joined #openstack-oslo | 05:59 | |
*** tovin07 has joined #openstack-oslo | 05:59 | |
*** lpetrut has joined #openstack-oslo | 06:32 | |
*** yamamoto_ has quit IRC | 06:33 | |
*** oanson has joined #openstack-oslo | 06:40 | |
*** tsufiev_ is now known as tsufiev | 06:45 | |
*** nkrinner_afk is now known as nkrinner | 07:00 | |
openstackgerrit | Vipin Balachandran proposed openstack/osprofiler: Organize unit tests under tests/unit folder https://review.openstack.org/407966 | 07:00 |
openstackgerrit | howard lee proposed openstack/taskflow: Update author and author-email https://review.openstack.org/408447 | 07:09 |
*** lpetrut has quit IRC | 07:13 | |
*** yamamoto_ has joined #openstack-oslo | 07:17 | |
*** eezhova has joined #openstack-oslo | 07:23 | |
*** rcernin has joined #openstack-oslo | 07:26 | |
*** lpetrut has joined #openstack-oslo | 07:30 | |
*** rasca has joined #openstack-oslo | 07:53 | |
*** spzala has joined #openstack-oslo | 07:54 | |
*** ihrachys has joined #openstack-oslo | 07:58 | |
*** spzala has quit IRC | 07:59 | |
*** ihrachys has quit IRC | 08:00 | |
*** ihrachys has joined #openstack-oslo | 08:00 | |
*** lpetrut has quit IRC | 08:02 | |
*** eezhova has quit IRC | 08:16 | |
*** lpetrut has joined #openstack-oslo | 08:17 | |
*** nkrinner has quit IRC | 08:20 | |
*** nkrinner has joined #openstack-oslo | 08:22 | |
openstackgerrit | Vipin Balachandran proposed openstack/osprofiler: Add functional test for notifier backend https://review.openstack.org/407967 | 08:22 |
*** lpetrut has quit IRC | 08:28 | |
*** nkrinner has quit IRC | 08:28 | |
*** lpetrut has joined #openstack-oslo | 08:31 | |
*** jamielennox is now known as jamielennox|away | 08:33 | |
*** pblaho has joined #openstack-oslo | 08:35 | |
*** lpetrut has quit IRC | 08:41 | |
*** lpetrut has joined #openstack-oslo | 08:41 | |
*** nkrinner has joined #openstack-oslo | 08:42 | |
*** mkoderer has joined #openstack-oslo | 08:45 | |
*** lpetrut has quit IRC | 08:46 | |
*** eezhova has joined #openstack-oslo | 08:49 | |
*** pcaruana has joined #openstack-oslo | 08:58 | |
*** zzzeek has quit IRC | 09:00 | |
*** zzzeek has joined #openstack-oslo | 09:00 | |
*** yassine has joined #openstack-oslo | 09:12 | |
*** yassine is now known as Guest34488 | 09:13 | |
*** zhangguoqing has joined #openstack-oslo | 09:35 | |
*** lucas-afk is now known as lucasagomes | 09:36 | |
*** hogepodge has quit IRC | 09:45 | |
*** hogepodge has joined #openstack-oslo | 09:46 | |
*** e0ne has joined #openstack-oslo | 10:01 | |
openstackgerrit | Vipin Balachandran proposed openstack/osprofiler: Pass oslo.messaging kwargs only for "messaging://" https://review.openstack.org/408533 | 10:04 |
*** ihrachys has quit IRC | 10:06 | |
*** yamahata has quit IRC | 10:08 | |
*** bogdando has quit IRC | 10:08 | |
*** yamamoto_ has quit IRC | 10:11 | |
*** yamamoto_ has joined #openstack-oslo | 10:13 | |
*** ihrachys has joined #openstack-oslo | 10:13 | |
*** bogdando has joined #openstack-oslo | 10:23 | |
*** cdent has joined #openstack-oslo | 10:30 | |
*** lpetrut has joined #openstack-oslo | 10:33 | |
*** ozamiatin_ has joined #openstack-oslo | 10:54 | |
*** int32bit_ has quit IRC | 10:54 | |
*** int32bit has joined #openstack-oslo | 10:55 | |
*** zhangguoqing has quit IRC | 10:56 | |
*** zhangguoqing has joined #openstack-oslo | 10:56 | |
*** links has quit IRC | 11:00 | |
*** hogepodge has quit IRC | 11:01 | |
*** links has joined #openstack-oslo | 11:16 | |
*** hogepodge has joined #openstack-oslo | 11:21 | |
*** hogepodge has quit IRC | 11:26 | |
*** rtheis has joined #openstack-oslo | 11:33 | |
*** hogepodge has joined #openstack-oslo | 11:38 | |
*** int32bit_ has joined #openstack-oslo | 11:41 | |
*** int32bit has quit IRC | 11:42 | |
*** hogepodge has quit IRC | 11:48 | |
*** int32bit_ has quit IRC | 11:48 | |
*** nicolasbock has joined #openstack-oslo | 11:49 | |
*** spzala has joined #openstack-oslo | 11:55 | |
*** spzala has quit IRC | 11:59 | |
*** hogepodge has joined #openstack-oslo | 12:00 | |
*** yamamoto_ has quit IRC | 12:02 | |
*** ansmith has quit IRC | 12:09 | |
*** priteau has joined #openstack-oslo | 12:19 | |
*** sdague has joined #openstack-oslo | 12:26 | |
*** lucasagomes is now known as lucas-hungry | 12:32 | |
*** yamamoto has joined #openstack-oslo | 12:45 | |
*** links has quit IRC | 12:53 | |
*** links has joined #openstack-oslo | 13:05 | |
*** edmondsw__ has joined #openstack-oslo | 13:06 | |
*** edmondsw__ has quit IRC | 13:06 | |
*** boris-42 has quit IRC | 13:09 | |
*** boris-42 has joined #openstack-oslo | 13:10 | |
*** itisha has joined #openstack-oslo | 13:17 | |
*** kgiusti has joined #openstack-oslo | 13:19 | |
*** yamahata has joined #openstack-oslo | 13:24 | |
*** mriedem_afk is now known as mriedem | 13:26 | |
*** gordc has joined #openstack-oslo | 13:29 | |
*** frickler has joined #openstack-oslo | 13:32 | |
*** int32bit has joined #openstack-oslo | 13:33 | |
*** int32bit has quit IRC | 13:37 | |
*** tommylikehu_ has joined #openstack-oslo | 13:43 | |
*** lucas-hungry is now known as lucasagomes | 13:45 | |
*** ansmith has joined #openstack-oslo | 13:57 | |
*** jdandrea has joined #openstack-oslo | 14:04 | |
*** spzala has joined #openstack-oslo | 14:10 | |
*** eandersson has joined #openstack-oslo | 14:11 | |
*** mriedem has quit IRC | 14:14 | |
*** yamamoto has quit IRC | 14:14 | |
*** yamamoto has joined #openstack-oslo | 14:16 | |
*** int32bit has joined #openstack-oslo | 14:19 | |
*** int32bit_ has joined #openstack-oslo | 14:24 | |
*** int32bit has quit IRC | 14:24 | |
*** boden has joined #openstack-oslo | 14:25 | |
*** oanson has quit IRC | 14:26 | |
*** boden has quit IRC | 14:26 | |
*** boden has joined #openstack-oslo | 14:29 | |
*** zhangguoqing has quit IRC | 14:35 | |
*** int32bit_ has quit IRC | 14:47 | |
*** int32bit has joined #openstack-oslo | 14:47 | |
*** zhenq has joined #openstack-oslo | 14:48 | |
*** takedakn has joined #openstack-oslo | 14:54 | |
*** int32bit has quit IRC | 14:59 | |
*** int32bit has joined #openstack-oslo | 15:00 | |
*** ansmith has quit IRC | 15:02 | |
*** mriedem has joined #openstack-oslo | 15:03 | |
*** takedakn has quit IRC | 15:05 | |
*** ansmith has joined #openstack-oslo | 15:17 | |
*** links has quit IRC | 15:20 | |
*** int32bit has quit IRC | 15:45 | |
*** int32bit has joined #openstack-oslo | 15:46 | |
*** mtanino has joined #openstack-oslo | 15:49 | |
*** ihrachys has quit IRC | 16:02 | |
*** nkrinner is now known as nkrinner_afk | 16:04 | |
*** ansmith has quit IRC | 16:05 | |
*** mhickey has joined #openstack-oslo | 16:08 | |
*** rasca has quit IRC | 16:11 | |
*** ozamiatin_ has quit IRC | 16:12 | |
*** int32bit has quit IRC | 16:15 | |
*** pcaruana has quit IRC | 16:19 | |
*** rcernin has quit IRC | 16:31 | |
*** mriedem1 has joined #openstack-oslo | 16:32 | |
*** mriedem has quit IRC | 16:34 | |
*** mriedem1 is now known as mriedem | 16:35 | |
*** eezhova has quit IRC | 16:50 | |
*** tommylikehu_ has quit IRC | 16:57 | |
*** browne has joined #openstack-oslo | 16:59 | |
*** rcernin has joined #openstack-oslo | 17:03 | |
*** yamamoto has quit IRC | 17:03 | |
*** ansmith has joined #openstack-oslo | 17:09 | |
openstackgerrit | John Perkins proposed openstack/oslo.config: oslo validator https://review.openstack.org/384559 | 17:11 |
*** lpetrut has quit IRC | 17:12 | |
*** ihrachys has joined #openstack-oslo | 17:12 | |
*** ihrachys has quit IRC | 17:22 | |
*** eezhova has joined #openstack-oslo | 17:23 | |
*** mhickey has quit IRC | 17:24 | |
openstackgerrit | Ken Giusti proposed openstack/oslo.messaging: [AMQP 1.0] Setup the amqp1 test environment on ubuntu https://review.openstack.org/408731 | 17:25 |
*** yamamoto has joined #openstack-oslo | 17:25 | |
openstackgerrit | Nakul Dahiwade proposed openstack/oslo.versionedobjects: Adding Dict and List as valid value types in String() Field. https://review.openstack.org/408739 | 17:34 |
*** yamamoto has quit IRC | 17:34 | |
openstackgerrit | Nakul Dahiwade proposed openstack/oslo.versionedobjects: Adding Dict and List as valid value types in String() Field. https://review.openstack.org/408739 | 17:36 |
*** e0ne has quit IRC | 17:45 | |
*** int32bit has joined #openstack-oslo | 17:49 | |
*** int32bit has quit IRC | 17:53 | |
*** eezhova has quit IRC | 17:54 | |
*** ihrachys has joined #openstack-oslo | 17:55 | |
*** browne has quit IRC | 17:56 | |
*** lucasagomes is now known as lucas-pto | 17:56 | |
*** eezhova has joined #openstack-oslo | 17:58 | |
*** eezhova has quit IRC | 18:04 | |
*** rm_work has quit IRC | 18:16 | |
*** harlowja has joined #openstack-oslo | 18:17 | |
*** harlowja_ has joined #openstack-oslo | 18:20 | |
*** harlowja has quit IRC | 18:22 | |
*** lpetrut has joined #openstack-oslo | 18:22 | |
*** dharinic is now known as dharinic|lunch | 18:22 | |
*** rm_work has joined #openstack-oslo | 18:23 | |
*** eezhova has joined #openstack-oslo | 18:25 | |
*** browne has joined #openstack-oslo | 18:30 | |
*** yamamoto has joined #openstack-oslo | 18:35 | |
*** mkoderer has quit IRC | 18:36 | |
*** bogdando has quit IRC | 18:40 | |
*** yamamoto has quit IRC | 18:52 | |
*** browne1 has joined #openstack-oslo | 18:53 | |
*** browne has quit IRC | 18:53 | |
*** zz_dimtruck is now known as dimtruck | 18:57 | |
*** dharinic|lunch is now known as dharinic | 18:58 | |
*** eezhova has quit IRC | 19:00 | |
*** jdandrea has quit IRC | 19:05 | |
*** yamahata has quit IRC | 19:16 | |
*** cdent has quit IRC | 19:20 | |
*** e0ne has joined #openstack-oslo | 19:25 | |
*** lpetrut has quit IRC | 19:35 | |
*** dmsimard has joined #openstack-oslo | 19:36 | |
dmsimard | dhellmann: hi, I think https://review.openstack.org/#/c/400751/5 broke everything in RDO -- I was looking for a second opinion | 19:37 |
dmsimard | Every openstack service are now failing with stack traces that look like this one: http://paste.openstack.org/raw/591850/ | 19:38 |
dmsimard | lxsli, gcb: ^ | 19:38 |
dmsimard | For other examples, can simply ctrl+f "startswith" in https://ci.centos.org/artifacts/rdo/weirdo-master-promote-puppet-openstack-scenario001/758/weirdo-project/logs/syslog.txt.gz .. it's all over the place. | 19:39 |
dmsimard | oslo-config 3.19 worked for us, everything started making explosion sounds after 3.21. | 19:43 |
*** rcernin has quit IRC | 19:43 | |
mwhahaha | not so sure it's that | 19:47 |
mwhahaha | i just pulled down 3.21 and it seems to work let me try another service | 19:47 |
*** jdandrea has joined #openstack-oslo | 19:47 | |
mwhahaha | nm yea it's that, i guess not all services are impacted though | 19:50 |
dmsimard | mwhahaha: my suspicion is around launching services with more than one config file (the way distros typically do, which would explain why perhaps "it worked in devstack") .. like nova-api --config /usr/share/nova/nova-dist.conf --config /etc/nova/nova.conf | 19:51 |
dmsimard | except from looking at a typical finished deployment process list, I'm not so sure now | 19:51 |
dmsimard | http://logs.openstack.org/64/403164/1/gate/gate-puppet-openstack-integration-4-scenario001-tempest-centos-7/55cbf2b/logs/ps.txt.gz | 19:51 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/oslo.messaging: Updated from global requirements https://review.openstack.org/408795 | 19:52 |
dmsimard | although it's true that some of those are actually run behind httpd | 19:52 |
mwhahaha | i added some debugging and it's getting passed a path in a list | 19:52 |
mwhahaha | sec | 19:52 |
*** ozamiatin_ has joined #openstack-oslo | 19:52 | |
mwhahaha | i added a print(path) to posixpath.py http://paste.openstack.org/show/591852/ | 19:52 |
mwhahaha | it's getting passed ['/etc/nova/nova.conf'] | 19:53 |
dmsimard | https://github.com/openstack/nova/blob/master/nova/wsgi/nova-api.py#L30 ? | 19:53 |
dmsimard | that's the wsgi that apache uses | 19:54 |
mwhahaha | that was for nova-conductor | 19:54 |
mwhahaha | which isn't behind apache | 19:54 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/taskflow: Updated from global requirements https://review.openstack.org/408797 | 19:54 |
dmsimard | right, I have the inverse logic. Do you see any nova-api stack traces in https://ci.centos.org/artifacts/rdo/weirdo-master-promote-puppet-openstack-scenario001/758/weirdo-project/logs/syslog.txt.gz ? :) | 19:54 |
mwhahaha | http://paste.openstack.org/show/591853/ | 19:55 |
mwhahaha | it's litterally when you run it with nothing | 19:55 |
mwhahaha | yup that's it | 19:55 |
mwhahaha | the default_config_files | 19:55 |
mwhahaha | i bet | 19:55 |
openstackgerrit | Merged openstack/oslo.messaging: Add bindep.txt/test-setup.sh to prepare the system https://review.openstack.org/405135 | 19:57 |
*** rcernin has joined #openstack-oslo | 19:57 | |
dmsimard | harlowja_: any thoughts/help? ^ | 19:57 |
* harlowja_ wonders what in https://review.openstack.org/#/c/400751/ would affect that | 19:58 | |
dmsimard | FWIW I created a bug https://bugs.launchpad.net/oslo.config/+bug/1648598 | 19:58 |
openstack | Launchpad bug 1648598 in oslo.config "oslo.config 3.21: every service failing with AttributeError: 'list' object has no attribute 'startswith'" [Undecided,New] | 19:58 |
dmsimard | harlowja_: a colleague also caught https://review.openstack.org/#/c/400667/ which shipped with 3.21 | 20:00 |
dmsimard | which sounds like a better culprit | 20:00 |
harlowja_ | kk | 20:00 |
*** trown has joined #openstack-oslo | 20:01 | |
harlowja_ | dmsimard propose a revert sounds like a good thing then | 20:03 |
harlowja_ | 400667 looks like the better candidate imho | 20:03 |
dmsimard | yeah, let me submit a revert and test it on a bunch of things locally. | 20:03 |
harlowja_ | k | 20:03 |
*** gordc has quit IRC | 20:04 | |
openstackgerrit | David Moreau Simard proposed openstack/oslo.config: Revert "Add defaults for config-dir" https://review.openstack.org/408800 | 20:04 |
openstackgerrit | David Moreau Simard proposed openstack/oslo.config: Revert "Add defaults for config-dir" https://review.openstack.org/408800 | 20:05 |
*** gordc has joined #openstack-oslo | 20:05 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/oslo.messaging: Updated from global requirements https://review.openstack.org/408795 | 20:11 |
*** jamielennox|away is now known as jamielennox | 20:13 | |
mwhahaha | dmsimard: it's not the config dir one | 20:14 |
mwhahaha | dmsimard: it's the other one | 20:14 |
*** ihrachys has quit IRC | 20:14 | |
mwhahaha | dmsimard: self.default_config_files ends up being ['/usr/share/nova/nova-dist.conf', ['/etc/nova/nova.conf']] | 20:14 |
mwhahaha | let me see if i can narrow it down | 20:15 |
dmsimard | mwhahaha: so it's not https://review.openstack.org/#/c/400667/, you're saying it's https://review.openstack.org/#/c/400751/ ? | 20:15 |
mwhahaha | yea i think it might be in _find_config_files, let me see if i can figure it out | 20:15 |
mwhahaha | that change really should have had some more tests around it | 20:16 |
*** yamahata has joined #openstack-oslo | 20:17 | |
openstackgerrit | Merged openstack/osprofiler: Organize unit tests under tests/unit folder https://review.openstack.org/407966 | 20:17 |
openstackgerrit | Merged openstack/osprofiler: Pass oslo.messaging kwargs only for "messaging://" https://review.openstack.org/408533 | 20:17 |
*** e0ne has quit IRC | 20:20 | |
*** spzala has quit IRC | 20:22 | |
*** rasca has joined #openstack-oslo | 20:23 | |
*** int32bit has joined #openstack-oslo | 20:23 | |
*** jeckersb is now known as jeckersb_gone | 20:26 | |
dmsimard | harlowja_: it looks like this might be a false alarm and more of an issue on our end -- double checking right now | 20:27 |
*** int32bit has quit IRC | 20:28 | |
*** d0ugal has quit IRC | 20:29 | |
*** d0ugal has joined #openstack-oslo | 20:35 | |
dhellmann | dmsimard, harlowja_, mwhahaha : sigh, I thought that change was going to cause issues, but I thought we caught them all. :-( Keep me posted if you end up needing to push out a new release with a fix. | 20:36 |
*** spzala has joined #openstack-oslo | 20:36 | |
dmsimard | dhellmann: we're trying a fix on our end right now, it might be a human error :( | 20:37 |
dmsimard | We'll report back with our finding. | 20:37 |
dhellmann | dmsimard : sounds good, and if it's related to a confusing piece of config doc we can update that, too | 20:37 |
dhellmann | either way, let me know | 20:37 |
harlowja_ | dmsimard cool cool | 20:38 |
*** spzala has quit IRC | 20:39 | |
*** ihrachys has joined #openstack-oslo | 20:48 | |
*** Guest34488 has quit IRC | 20:49 | |
*** rcernin has quit IRC | 20:51 | |
*** rcernin has joined #openstack-oslo | 20:51 | |
*** e0ne has joined #openstack-oslo | 20:53 | |
*** itisha has quit IRC | 20:59 | |
*** mriedem is now known as kristia__ | 21:02 | |
*** kristia__ is now known as mriedem | 21:02 | |
*** ihrachys has quit IRC | 21:04 | |
*** ihrachys has joined #openstack-oslo | 21:08 | |
*** rcernin has quit IRC | 21:09 | |
*** rcernin has joined #openstack-oslo | 21:11 | |
*** e0ne has quit IRC | 21:19 | |
*** e0ne has joined #openstack-oslo | 21:20 | |
*** jdandrea has quit IRC | 21:20 | |
*** e0ne has quit IRC | 21:24 | |
*** rtheis has quit IRC | 21:28 | |
*** e0ne has joined #openstack-oslo | 21:28 | |
*** trown is now known as trown|outtypewww | 21:30 | |
*** cdent has joined #openstack-oslo | 21:32 | |
*** kgiusti has quit IRC | 21:35 | |
*** e0ne has quit IRC | 21:36 | |
*** e0ne has joined #openstack-oslo | 21:37 | |
*** dimtruck is now known as zz_dimtruck | 21:44 | |
*** ansmith has quit IRC | 21:47 | |
johnsom | harlowja_ Oslo_db / taskflow question. I see in taskflow you are going direct to sqlalchemy. Is that because you can't really specify the per session transaction isolation level via oslo_db? | 21:51 |
harlowja_ | nah, more in part is that the taskflow sqlachemy stuff pre-existing oslo.db and i've never really had the time/energy to shift it :-P | 21:52 |
harlowja_ | http://www.mail-archive.com/openstack-dev@lists.openstack.org/msg04661.html (damn 3 years ago, ha) | 21:52 |
johnsom | Hmm, ok. Any pointers of how I can set a per-session isolation level via oslo.db? I'm not seeing it here: http://docs.openstack.org/developer/oslo.db/api/oslo_db.sqlalchemy.session.html | 21:53 |
*** zz_dimtruck is now known as dimtruck | 21:53 | |
*** eezhova has joined #openstack-oslo | 21:57 | |
*** e0ne has quit IRC | 21:59 | |
*** eezhova has quit IRC | 22:02 | |
*** JayF has joined #openstack-oslo | 22:06 | |
*** e0ne has joined #openstack-oslo | 22:06 | |
JayF | Has anyone ever tried to write a unit test to verify that all config options specified in a project have some kind of default set? | 22:07 |
*** e0ne has quit IRC | 22:14 | |
*** rasca has quit IRC | 22:24 | |
*** lpetrut has joined #openstack-oslo | 22:26 | |
harlowja_ | johnsom hmmmm | 22:26 |
harlowja_ | zzzeek ^ do u know if that's possible | 22:27 |
*** mriedem has quit IRC | 22:29 | |
*** jamielennox is now known as jamielennox|away | 22:29 | |
*** jamielennox|away is now known as jamielennox | 22:34 | |
*** spzala has joined #openstack-oslo | 22:39 | |
*** int32bit has joined #openstack-oslo | 22:43 | |
*** cdent has quit IRC | 22:43 | |
*** jdandrea has joined #openstack-oslo | 22:44 | |
*** spzala has quit IRC | 22:44 | |
johnsom | harlowja_ This doesn't look promising: http://git.openstack.org/cgit/openstack/mistral/tree/mistral/db/sqlalchemy/base.py#n60 | 22:45 |
johnsom | Maybe we have a feature request.... | 22:45 |
harlowja_ | damn | 22:45 |
harlowja_ | i've seen stuff like this from mistral and a few other projects now | 22:46 |
johnsom | Pretty ugly | 22:46 |
harlowja_ | ya | 22:46 |
harlowja_ | idk why people do such things | 22:46 |
*** int32bit has quit IRC | 22:47 | |
*** eezhova has joined #openstack-oslo | 22:50 | |
zzzeek | johnsom / harlowja_ : http://docs.sqlalchemy.org/en/latest/orm/session_transaction.html#setting-transaction-isolation-levels | 22:55 |
*** eezhova has quit IRC | 22:55 | |
johnsom | Yeah, I can do that via sqlalchemy but I have been scratching my head on how to do it with oslo_db | 22:56 |
*** jdandrea has quit IRC | 22:59 | |
*** pradk has quit IRC | 23:00 | |
*** jdandrea has joined #openstack-oslo | 23:00 | |
*** david-lyle_ has joined #openstack-oslo | 23:05 | |
zzzeek | johnsom: oslo_db gives you a session | 23:06 |
*** tommylikehu_ has joined #openstack-oslo | 23:06 | |
zzzeek | johnsom: are you doing pure enginefacade ? | 23:06 |
johnsom | Yeah, but when I did session.connection(execution_options={'isolation_level': 'SERIALIZABLE'}) it didn't take. | 23:07 |
*** lpetrut has quit IRC | 23:07 | |
zzzeek | johnsom: what project | 23:07 |
johnsom | I'm trying the enigne / maker approach now | 23:07 |
johnsom | Octavia | 23:07 |
*** david-lyle has quit IRC | 23:07 | |
zzzeek | johnsom: is that project using oslo_db.sqlalchemy.enginefacdade decorators and/or context managers? | 23:07 |
*** tommylikehu_ has quit IRC | 23:07 | |
johnsom | https://github.com/openstack/octavia/blob/master/octavia/db/api.py | 23:07 |
zzzeek | or are you doing a get_session() type of thing ? | 23:07 |
johnsom | get_session stuff | 23:08 |
zzzeek | that's get_session(). you grab that session and make sure you do the connection() thing first thing | 23:08 |
zzzeek | johnsom: however SERIALIZABLE not a good idea in general | 23:08 |
johnsom | Yeah that is a copy paste from the sqlalchemy docs page | 23:08 |
zzzeek | johnsom: mysql doesn't really have SERIALIZABLE | 23:09 |
johnsom | In this case it's what I'm trying to do. I'm trying to lock a quota row. | 23:09 |
zzzeek | johnsom: if you have the row then use normal SELECT FOR UPDATE | 23:11 |
*** rcernin has quit IRC | 23:11 | |
zzzeek | mysql seems to have improved their SERIALIZABLE but it still wont work across galera nodes | 23:11 |
johnsom | Yeah, that is what I have in there, but it's not locking out the second process from coming along with it's own select for update | 23:11 |
zzzeek | johnsom: also, all transactions that are interacting w the row must be doing SERIALIZABLE for it to work | 23:12 |
zzzeek | johnsom: id read through http://stackoverflow.com/a/8112871/34549 and if you, like me, glaze over 1/3rd of the way through, id stay away from SERIALIZABLE and just use SELECT FOR UPDATE or optimistic update (Even better) | 23:13 |
*** gordc has quit IRC | 23:18 | |
*** boden has quit IRC | 23:28 | |
*** rcernin has joined #openstack-oslo | 23:33 | |
*** david-lyle_ is now known as david-lyle | 23:35 | |
*** jdandrea has quit IRC | 23:44 | |
*** zhenq has quit IRC | 23:46 | |
*** zhenq has joined #openstack-oslo | 23:46 | |
*** rcernin has quit IRC | 23:49 | |
*** jamielennox is now known as jamielennox|away | 23:49 | |
*** yamahata has quit IRC | 23:51 | |
*** sdague has quit IRC | 23:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!