openstackgerrit | Joshua Harlow proposed a change to openstack/taskflow: Use a common message dispatcher https://review.openstack.org/101094 | 00:09 |
---|---|---|
openstackgerrit | Joshua Harlow proposed a change to openstack/taskflow: Allow handlers to provide validation callables https://review.openstack.org/101679 | 00:09 |
openstackgerrit | Joshua Harlow proposed a change to openstack/taskflow: WBE notification message validation https://review.openstack.org/103657 | 00:09 |
openstackgerrit | Joshua Harlow proposed a change to openstack/taskflow: WBE response message validation https://review.openstack.org/103690 | 00:10 |
openstackgerrit | Joshua Harlow proposed a change to openstack/taskflow: WBE request message validation https://review.openstack.org/103695 | 00:10 |
openstackgerrit | Joshua Harlow proposed a change to openstack/taskflow: Add basic WBE validation sanity tests https://review.openstack.org/104016 | 00:10 |
openstackgerrit | Zhongyue Luo proposed a change to openstack/oslo-incubator: Use timestamp in loopingcall https://review.openstack.org/103704 | 00:13 |
*** ajo|mac_ has quit IRC | 00:13 | |
openstackgerrit | Zhongyue Luo proposed a change to openstack/oslo-incubator: Use timestamp in loopingcall https://review.openstack.org/103704 | 00:16 |
openstackgerrit | Zhongyue Luo proposed a change to openstack/oslo-incubator: Changes calcuation of variable delay https://review.openstack.org/103708 | 00:19 |
*** dims__ has quit IRC | 00:25 | |
openstackgerrit | Joshua Harlow proposed a change to openstack/taskflow: Improve WBE testing coverage https://review.openstack.org/101717 | 00:32 |
openstackgerrit | Sean Dague proposed a change to openstack/oslo-incubator: update new requests logger to default WARN https://review.openstack.org/103960 | 00:32 |
*** dims__ has joined #openstack-oslo | 00:43 | |
openstackgerrit | Joshua Harlow proposed a change to openstack/oslo-incubator: Use the standard python logging in network_utils https://review.openstack.org/104041 | 00:47 |
*** dstanek is now known as dstanek_zzz | 00:50 | |
openstackgerrit | Joshua Harlow proposed a change to openstack/oslo.messaging: Add a thread + futures executor based executor https://review.openstack.org/70914 | 00:51 |
openstackgerrit | Joshua Harlow proposed a change to openstack/oslo-incubator: Use the standard python logging in network_utils https://review.openstack.org/104041 | 01:16 |
*** dstanek_zzz is now known as dstanek | 01:17 | |
*** zzzeek has joined #openstack-oslo | 01:36 | |
*** mriedem has left #openstack-oslo | 01:53 | |
*** mriedem has quit IRC | 01:53 | |
*** praneshp has quit IRC | 01:54 | |
*** zzzeek has quit IRC | 02:00 | |
openstackgerrit | jichenjc proposed a change to openstack/oslo-incubator: Add lock_path as param to remove_external function https://review.openstack.org/103732 | 02:08 |
openstackgerrit | jichenjc proposed a change to openstack/oslo-incubator: Add lock_path as param to remove_external function https://review.openstack.org/103732 | 02:16 |
*** zhiyan_ is now known as zhiyan | 02:22 | |
*** dstanek is now known as dstanek_zzz | 02:26 | |
*** arnaud has quit IRC | 02:29 | |
*** zhiyan is now known as zhiyan_ | 02:30 | |
*** zhiyan_ is now known as zhiyan | 02:42 | |
*** dstanek_zzz is now known as dstanek | 02:48 | |
*** harlowja is now known as harlowja_away | 02:50 | |
*** ajc_ has joined #openstack-oslo | 02:50 | |
*** praneshp has joined #openstack-oslo | 02:52 | |
*** dims__ has quit IRC | 03:09 | |
*** zhiyan is now known as zhiyan_ | 03:22 | |
*** zhiyan_ is now known as zhiyan | 03:24 | |
*** zhiyan has quit IRC | 03:30 | |
*** zhiyan has joined #openstack-oslo | 03:37 | |
*** zhiyan is now known as zhiyan_ | 03:39 | |
*** zhiyan_ is now known as zhiyan | 03:40 | |
*** SridharG has joined #openstack-oslo | 03:45 | |
*** zhiyan is now known as zhiyan_ | 03:46 | |
*** zhiyan_ is now known as zhiyan | 03:50 | |
*** arnaud has joined #openstack-oslo | 03:50 | |
openstackgerrit | jichenjc proposed a change to openstack/oslo-incubator: Add lock_path as param to remove_external function https://review.openstack.org/103732 | 03:54 |
*** praneshp_ has joined #openstack-oslo | 04:01 | |
*** tong_ has joined #openstack-oslo | 04:02 | |
*** tongli has quit IRC | 04:03 | |
*** praneshp has quit IRC | 04:04 | |
*** praneshp_ is now known as praneshp | 04:04 | |
*** tong_ has quit IRC | 04:33 | |
*** dims__ has joined #openstack-oslo | 04:37 | |
*** dims__ has quit IRC | 04:42 | |
*** lbragstad is now known as lbragstad_ | 04:45 | |
*** arnaud has quit IRC | 04:47 | |
*** arnaud has joined #openstack-oslo | 04:49 | |
*** dims__ has joined #openstack-oslo | 05:02 | |
*** dstanek is now known as dstanek_zzz | 05:04 | |
*** dims__ has quit IRC | 05:07 | |
*** dstanek_zzz is now known as dstanek | 05:51 | |
*** dstanek is now known as dstanek_zzz | 06:01 | |
*** dims__ has joined #openstack-oslo | 06:03 | |
*** dstanek_zzz is now known as dstanek | 06:06 | |
*** dims__ has quit IRC | 06:08 | |
*** dstanek is now known as dstanek_zzz | 06:15 | |
openstackgerrit | Abhijeet Malawade proposed a change to openstack/oslo.messaging: Cleanup listener after stopping rpc server https://review.openstack.org/103186 | 06:20 |
*** jaosorior has joined #openstack-oslo | 06:34 | |
*** tkelsey has joined #openstack-oslo | 06:51 | |
*** GheRivero_afk is now known as GheRivero | 06:56 | |
*** mrda is now known as mrda_away | 07:11 | |
*** flaper87|afk is now known as flaper87 | 07:19 | |
*** ajo|mac has joined #openstack-oslo | 07:24 | |
*** arnaud has quit IRC | 07:31 | |
*** flaper87 is now known as flaper87|afk | 07:35 | |
*** pblaho has joined #openstack-oslo | 07:38 | |
*** praneshp has quit IRC | 07:38 | |
*** ildikov has joined #openstack-oslo | 07:51 | |
*** markmc has joined #openstack-oslo | 08:00 | |
*** nacim has joined #openstack-oslo | 08:02 | |
*** dims__ has joined #openstack-oslo | 08:06 | |
*** dims__ has quit IRC | 08:11 | |
*** oomichi has quit IRC | 08:14 | |
*** flaper87|afk is now known as flaper87 | 08:17 | |
openstackgerrit | Radoslav Gerganov proposed a change to openstack/oslo.vmware: Refactor the PBM support https://review.openstack.org/102480 | 08:17 |
*** ihrachyshka has joined #openstack-oslo | 08:19 | |
openstackgerrit | Angus Lees proposed a change to openstack/oslo-incubator: Test that concurrent sqlalchemy transactions don't block https://review.openstack.org/104111 | 08:27 |
openstackgerrit | Ilya Pekelny proposed a change to openstack/oslo.db: Add a base test case for DB schema comparison https://review.openstack.org/93398 | 08:38 |
openstackgerrit | Gordon Sim proposed a change to openstack/oslo-specs: Added spec for proposed AMQP 1.0 driver https://review.openstack.org/96729 | 08:52 |
openstackgerrit | Juan Antonio Osorio Robles proposed a change to openstack/oslo.messaging: Raise if invalid conf is given to get_transport https://review.openstack.org/103866 | 09:06 |
*** dims__ has joined #openstack-oslo | 09:07 | |
*** dims__ has quit IRC | 09:12 | |
*** ajo has joined #openstack-oslo | 09:18 | |
openstackgerrit | Gordon Sim proposed a change to openstack/oslo-specs: Added spec for proposed AMQP 1.0 driver https://review.openstack.org/96729 | 09:29 |
boris-42 | markmc hi, did you have a chanche to take a look at my spec? | 09:30 |
boris-42 | markmc https://review.openstack.org/#/c/103825/ | 09:30 |
*** ujjain has quit IRC | 09:42 | |
*** nacim has quit IRC | 09:48 | |
*** mkoderer has quit IRC | 09:52 | |
*** nacim has joined #openstack-oslo | 09:58 | |
openstackgerrit | Gordon Sim proposed a change to openstack/oslo-specs: Added spec for proposed AMQP 1.0 driver https://review.openstack.org/96729 | 10:02 |
*** dims__ has joined #openstack-oslo | 10:08 | |
*** dims__ has quit IRC | 10:13 | |
*** ujjain has joined #openstack-oslo | 10:23 | |
*** ujjain has quit IRC | 10:24 | |
*** ujjain has joined #openstack-oslo | 10:24 | |
*** pcm_ has joined #openstack-oslo | 10:25 | |
*** pcm_ has quit IRC | 10:26 | |
*** pcm_ has joined #openstack-oslo | 10:26 | |
*** ajo has quit IRC | 10:31 | |
*** dims__ has joined #openstack-oslo | 10:32 | |
*** ajo has joined #openstack-oslo | 10:34 | |
*** SridharG has quit IRC | 10:42 | |
*** Alexei_9871 has joined #openstack-oslo | 10:43 | |
*** ildikov_ has joined #openstack-oslo | 10:57 | |
*** ildikov has quit IRC | 11:00 | |
*** i159 has joined #openstack-oslo | 11:21 | |
*** tkelsey has quit IRC | 11:32 | |
openstackgerrit | Alex Xu proposed a change to openstack/oslo-specs: Support policy configuration directories https://review.openstack.org/104157 | 11:38 |
*** mkoderer has joined #openstack-oslo | 11:40 | |
boris-42 | markmc please=) don't ignore me=) | 11:47 |
openstackgerrit | A change was merged to openstack/oslo-incubator: Updated from global requirements https://review.openstack.org/104022 | 11:50 |
openstackgerrit | A change was merged to openstack/oslo-incubator: Use the standard python logging in network_utils https://review.openstack.org/104041 | 11:50 |
*** SridharG has joined #openstack-oslo | 11:52 | |
*** markmcclain has joined #openstack-oslo | 11:53 | |
openstackgerrit | Graham Hayes proposed a change to openstack/oslosphinx: Added a incubating project config option https://review.openstack.org/103935 | 11:55 |
*** ajc_ has quit IRC | 11:58 | |
*** markmcclain1 has joined #openstack-oslo | 11:59 | |
*** markmcclain has quit IRC | 11:59 | |
*** markmcclain1 has quit IRC | 12:02 | |
*** alexpilotti has joined #openstack-oslo | 12:15 | |
dims__ | python33 jobs should be unclogged now | 12:24 |
*** dstanek_zzz is now known as dstanek | 12:29 | |
flaper87 | dhellmann: ping | 12:32 |
flaper87 | I'd like to make processutils use standard python logging but there's 1 function it is using from oslo's log module that we could probably move elsewhere. processutils uses `mask_password` to hide passwords in commands log messages | 12:34 |
flaper87 | I think that function could go into the strutils module, which means it could go in the str transformation module proposed for oslo-utils | 12:34 |
flaper87 | Does that make sense to you? (and other folks reading this) | 12:35 |
flaper87 | We'll have to do that or something similar when moving away from oslo-inc log anyway | 12:36 |
*** erecio has joined #openstack-oslo | 12:43 | |
openstackgerrit | Alex Xu proposed a change to openstack/oslo-specs: Support policy configuration directories https://review.openstack.org/104157 | 12:47 |
ihrachyshka | flaper87: makes sense, it's not directly related to logging | 12:51 |
*** dims__ has quit IRC | 12:52 | |
*** dims__ has joined #openstack-oslo | 12:53 | |
dims__ | flaper87, sounds good to me | 12:57 |
*** pblaho has quit IRC | 12:59 | |
*** tkelsey has joined #openstack-oslo | 13:05 | |
openstackgerrit | A change was merged to openstack/oslo-incubator: Python 3: replace "im_self" by "__self__" https://review.openstack.org/76725 | 13:06 |
openstackgerrit | A change was merged to openstack/oslo-incubator: Make periodic tasks run on regular spacing interval https://review.openstack.org/99695 | 13:06 |
openstackgerrit | A change was merged to openstack/oslo.config: Add CLI option support to config fixture https://review.openstack.org/102515 | 13:15 |
*** i159 has quit IRC | 13:19 | |
*** rdopieralski has joined #openstack-oslo | 13:19 | |
rdopieralski | speaking of oslo.config, I wonder how useful it would be do add a helper method that does something like _all_sections here: https://review.openstack.org/#/c/100521/11/openstack_dashboard/utils/settings.py | 13:20 |
*** i159 has joined #openstack-oslo | 13:21 | |
rdopieralski | (I don't know the section names in there up front, so I have to peek, and then register the right groups) | 13:21 |
rdopieralski | or is there a better way of doing it? | 13:21 |
markmc | rdopieralski, heh | 13:21 |
markmc | rdopieralski, quick question ... | 13:21 |
markmc | in python, if an attribute is prefixed with underscore, what does it mean? :) | 13:22 |
*** mriedem has joined #openstack-oslo | 13:22 | |
markmc | rdopieralski, I'm talking about conf._namespace - you really, really, really shouldn't be looking at that | 13:23 |
rdopieralski | markmc: it means that it's an internal implementation detail of whatever scope it is in, and that it shouldn't be accessed from outside of it, or at least, the programmer who accesses it takes the risk of it changing from under him | 13:23 |
markmc | rdopieralski, right :) | 13:23 |
rdopieralski | markmc: yeah, but there is no other way | 13:23 |
markmc | rdopieralski, what exactly is the use case here? | 13:23 |
markmc | ok, it's groups that begin with 'dashboard:' | 13:24 |
markmc | you're trying to discover them | 13:24 |
rdopieralski | markmc: https://review.openstack.org/#/c/100521/11/openstack_dashboard/settings.conf | 13:24 |
rdopieralski | markmc: so, I was thinking about adding an apropriate method to oslo.config, so that I don't have to do this hack :) | 13:26 |
rdopieralski | obviously, it won't work with command line options | 13:26 |
markmc | rdopieralski, what is the canonical list of dashboards ? | 13:28 |
markmc | is it from import_submodules(module) | 13:28 |
rdopieralski | markmc: there is none, you can create new dashboards and name them whatever you want them | 13:28 |
dhellmann | flaper87: yeah, moving that function makes sense. Maybe import it into the logging code in the incubator for backwards-compat, with a comment to remove that when oslo.log graduates? | 13:29 |
rdopieralski | markmc: that import_submodules is a leftover from how we did it previously, using python files for configuration | 13:29 |
flaper87 | dhellmann: +1 | 13:30 |
markmc | rdopieralski, ok, so previously a dashboard was enabled simply by being on the filesystem ? | 13:30 |
markmc | rdopieralski, now it is enabled by adding a [dashboard:foo] group ? | 13:30 |
flaper87 | dhellmann: I'll move it now since the oslo-utils spec hasn't been approved | 13:30 |
flaper87 | dhellmann: we should probably mention this function in the spec too | 13:30 |
flaper87 | thoughts? | 13:30 |
* flaper87 sad panda, the spec already has 2 +2s | 13:30 | |
dhellmann | flaper87: yes, definitely, can you do that? | 13:30 |
flaper87 | :P | 13:30 |
markmc | rdopieralski, (ignoring 'disabled' for now) | 13:30 |
flaper87 | dhellmann: yup | 13:30 |
dhellmann | flaper87: it's not approved until I merge it :-) | 13:30 |
rdopieralski | markmc: no, by having a config file, like here: https://github.com/openstack/horizon/blob/master/openstack_dashboard/enabled/_20_admin.py | 13:30 |
dhellmann | flaper87: thanks for spotting this and working out the solution :-) | 13:31 |
rdopieralski | markmc: now it would also add its own config file, with that group | 13:31 |
flaper87 | dhellmann: my pleasure :) | 13:31 |
markmc | rdopieralski, ok, the common pattern for this would be to do | 13:31 |
markmc | [horizon] | 13:31 |
markmc | (one sec) | 13:31 |
markmc | sorry | 13:32 |
markmc | [horizon] | 13:32 |
markmc | dashboards = foo,bar | 13:32 |
markmc | [dashboard:foo] | 13:32 |
markmc | ... | 13:32 |
markmc | [dashboard:bar] | 13:32 |
markmc | ... | 13:32 |
markmc | at least nova, neutron, cinder do something very similar | 13:33 |
rdopieralski | that won't work for us, because then installing a plugin would require you to modify a single central file | 13:33 |
markmc | ok, then you could use MultiStrOpt | 13:33 |
markmc | [horizon] | 13:33 |
markmc | dashboard = foo | 13:33 |
markmc | dashboard = bar | 13:33 |
markmc | [dashboard:foo] | 13:33 |
markmc | ... | 13:33 |
markmc | [dashboard:bar] | 13:34 |
markmc | ... | 13:34 |
rdopieralski | how do you disable a dashboard then? | 13:34 |
markmc | [dashboard:bar] | 13:34 |
markmc | disabled = True | 13:34 |
openstackgerrit | Flavio Percoco proposed a change to openstack/oslo-specs: graduate-oslo-utils https://review.openstack.org/98431 | 13:34 |
rdopieralski | but it still won't work with command line options | 13:34 |
flaper87 | dhellmann: ^ added mask_password assuming a not-yet-propossed patch that moves it into strutils | 13:34 |
dhellmann | rdopieralski, markmc : can't the dashboard plugins register their own options? | 13:34 |
flaper87 | I'll work on that patch right away | 13:34 |
rdopieralski | so the only "advantage" is that you have to type the names of the dashboards twice | 13:35 |
*** jecarey has quit IRC | 13:35 | |
rdopieralski | dhellmann: they would need to execute some code to do that | 13:35 |
markmc | rdopieralski, this doesn't seem like the kind of thing you want to do on the command line | 13:35 |
rdopieralski | markmc: yeah, sure | 13:35 |
rdopieralski | markmc: that's not really an issue | 13:35 |
openstackgerrit | Gordon Sim proposed a change to openstack/oslo.messaging: Possible performance optimisation for publish https://review.openstack.org/104194 | 13:36 |
markmc | rdopieralski, if you really want to do it your way, use ConfigParser (or whatever it's called) to parse the files listed in CONF.config_files and list their sections | 13:36 |
rdopieralski | so every dahboard config file would have this boilerplate: [horizon] dashoard = foo [dashboad:foo] ... | 13:36 |
dhellmann | rdopieralski: they're being imported | 13:36 |
rdopieralski | markmc: I would do that, but oslo.config had the bright idea of writing their own ConfigParser, and the syntax differs in obscure corner cases | 13:37 |
markmc | rdopieralski, that ConfigParser is part of the public API | 13:37 |
rdopieralski | dhellmann: they are being imported after being listed in the settings | 13:37 |
rdopieralski | markmc: then I introduce a race condition | 13:39 |
markmc | rdopieralski, the files list passed to load_config() - what does that look like? | 13:39 |
dhellmann | rdopieralski: on closer reading, I see you're having them provide values for options for values that something else is using | 13:40 |
rdopieralski | markmc: _files = [os.path.join(ROOT_PATH, 'settings.conf'), os.path.join(LOCAL_PATH, 'local_settings.conf')] | 13:41 |
rdopieralski | _files.extend(sorted(glob.glob(os.path.join(ENABLED_PATH, '*.conf')))) | 13:41 |
markmc | ENABLED_PATH is where the per-dashboard config files are? | 13:41 |
rdopieralski | yes | 13:41 |
rdopieralski | but ideally I don't want to have two different file formats | 13:42 |
rdopieralski | and I want to be able to add several dashboards and panels in one file | 13:42 |
dhellmann | wow this dashboard discovery code is hairy | 13:43 |
rdopieralski | it is | 13:43 |
rdopieralski | it was a stopgap solution | 13:43 |
markmc | rdopieralski, ok, if it was dashboard-per-file I'd suggest using the basename of each file to look for [dashboard:] sections | 13:43 |
dhellmann | you could probably replace a lot of this with stevedore, which would give you an API entry point to invoke to register options, which would avoid the need to explicitly scan the config settings for the dashboards | 13:43 |
rdopieralski | markmc: why do I need to have the name twice if it's there already? | 13:44 |
dhellmann | there's even a manager for plugins that know how to figure out if they are enabled or not, which would automatically ignore the ones with "disabled = True" in their config section | 13:44 |
rdopieralski | dhellmann: that sounds interesting | 13:44 |
markmc | rdopieralski, the notion of listing unregistered groups doesn't exist in the API | 13:44 |
dhellmann | http://stevedore.readthedocs.org/en/latest/managers.html#enabledextensionmanager | 13:44 |
markmc | rdopieralski, so, an explicit list of dashboards or parse the files to list their sections | 13:45 |
rdopieralski | dhellmann: thank you, I will see what I can do with that | 13:45 |
markmc | yeah, stevedore is a good idea too | 13:45 |
rdopieralski | well, I've heard the name a couple of times, but it's hard to guess what it does | 13:45 |
dhellmann | update_dashboards() I think could be replaced by a loop over the manager calling methods on the plugins like "get_installed_apps" and "get_angular_modules" to retrieve those settings | 13:45 |
dhellmann | http://en.wikipedia.org/wiki/Stevedore | 13:46 |
rdopieralski | if it was named oslo.plugins ;) | 13:46 |
dhellmann | rdopieralski: it's not limited to use in openstack, and started life outside of oslo :-) | 13:47 |
rdopieralski | I will definitely try to use that, it looks like it will solve a lot of our problems | 13:47 |
rdopieralski | thank you | 13:47 |
rdopieralski | I should come here more often ;) | 13:47 |
dhellmann | rdopieralski: let me know if I can help you find the right use pattern | 13:47 |
dims__ | dhellmann, about the i18n review. did you get a chance look at the instances of gettextutils.Message in nova? | 13:49 |
dhellmann | dims__: They're instantiating Message directly? | 13:49 |
dims__ | y | 13:50 |
dhellmann | why? | 13:50 |
dims__ | or at least referring to them | 13:50 |
dims__ | elif isinstance(value, gettextutils.Message): | 13:50 |
dims__ | return unicode(value).encode('utf-8') | 13:50 |
dhellmann | that's what translate() is for | 13:50 |
dims__ | elif isinstance(value, gettextutils.Message): | 13:50 |
dims__ | return value.data | 13:50 |
dhellmann | ok, let me look... | 13:50 |
dims__ | thanks | 13:50 |
dims__ | biab | 13:52 |
dhellmann | dims__: ok, the case in the API code can be replaced with a call to translate(), since it does the same checks | 13:56 |
dhellmann | dims__: the case in the test may be more trouble, but I think we can work around that, too | 13:57 |
dhellmann | markmc: do you have any opinion on whether Message should be part of the public API of oslo.i18n? I'm trying to treat it as an implementation detail. | 13:59 |
*** zzzeek has joined #openstack-oslo | 14:01 | |
markmc | dhellmann, no opinion I'm afraid | 14:06 |
markmc | dhellmann, keep it private until there's an obvious use case for it, I guess | 14:06 |
boris-42 | markmc dhellmann btw guys can we discuss about stevedore | 14:06 |
boris-42 | markmc dhellmann do we actually need it? | 14:06 |
boris-42 | markmc dhellmann I mean there is a simple way to make autodiscovring that doesn't require specifying everything | 14:07 |
boris-42 | markmc dhellmann in conf file | 14:07 |
boris-42 | markmc dhellmann e.g. you need to create 1 class as a base | 14:07 |
boris-42 | and iterate through all his childs until you find the class with proper name | 14:08 |
boris-42 | why this doesn't work for example for oslo.messaging ? | 14:08 |
boris-42 | maybe I am missing something | 14:08 |
boris-42 | (it's not hollywar, just a question) | 14:09 |
*** erecio has quit IRC | 14:10 | |
zzzeek | what do we need to bump SQLA requirements to >= 0.8 ? | 14:18 |
boris-42 | zzzeek hm add patch to global requreiments | 14:21 |
boris-42 | zzzeek https://github.com/openstack/requirements | 14:21 |
zzzeek | and see what everyone says | 14:21 |
zzzeek | well yes i knew it was there :) | 14:21 |
boris-42 | zzzeek so everybody will get updates | 14:21 |
boris-42 | zzzeek to update their version to it | 14:21 |
boris-42 | zzzeek and we will see what will say gates of these projects=) | 14:22 |
zzzeek | boris-42: OK but in reality this is more of a vendor/customer thing b.c. some distros might still be putting out 0.7.8 | 14:22 |
boris-42 | zzzeek btw | 14:25 |
boris-42 | zzzeek could I ask you for some help | 14:25 |
zzzeek | sure | 14:25 |
ihrachyshka | zzzeek: which of them, specifically? for RHOSP5 for RHEL 6.5 it's already 0.8.4-something, and it's quite an old platform | 14:26 |
boris-42 | zzzeek probably we can get some more interesting data | 14:26 |
boris-42 | zzzeek https://github.com/stackforge/osprofiler/blob/master/osprofiler/sqlalchemy.py | 14:26 |
boris-42 | zzzeek during profiling | 14:26 |
zzzeek | ihrachyshka: as new as I can get is the best, if we made it 0.8.4, terrific | 14:26 |
zzzeek | boris-42: i might profile SQL at the cursor.execute level | 14:28 |
rpodolyaka | btw, there already is a patch on review bumping alembic and sa versions in global requirements - https://review.openstack.org/#/c/101918/ | 14:28 |
boris-42 | zzzeek what is the difference ? | 14:28 |
zzzeek | boris-42: well you get the raw thing that is being sent to the cursor, at the very least it means your str() call there won’t potentially cause a SQL Core element to recompile itself | 14:28 |
zzzeek | boris-42: which takes up a significant portion of time | 14:29 |
boris-42 | zzzeek hm interesting | 14:29 |
boris-42 | zzzeek yep seems reasonable | 14:29 |
zzzeek | boris-42: DB level tracking, transactions are interesting also, rollbacks which occur when connections are returned to the conn pool are often a performance issue | 14:30 |
zzzeek | boris-42: OS’s patterns of many small transactions adds up a lot | 14:30 |
zzzeek | boris-42: transactions are not cheap on MySQL | 14:30 |
boris-42 | zzzeek btw if you'll have some time | 14:33 |
boris-42 | zzzeek It will be nice if you improve this part a bit=) | 14:33 |
zzzeek | this file here looks pretty straightforward | 14:34 |
boris-42 | zzzeek lol=) | 14:36 |
boris-42 | zzzeek I like when things are simple=) | 14:36 |
boris-42 | zzzeek btw I have issue with this when I am running | 14:37 |
boris-42 | zzzeek these data is creating a lot of load on collector | 14:37 |
boris-42 | zzzeek cause sql queires are quite loooong | 14:37 |
openstackgerrit | lawrancejing proposed a change to openstack/oslo-incubator: Use immutable arg rather mutable arg https://review.openstack.org/103698 | 14:38 |
boris-42 | zzzeek e.g something like that http://paste.openstack.org/show/85328/ | 14:38 |
zzzeek | well that is a pretty terrible query, left outer joining 5 times is pretty unnecessary | 14:40 |
zzzeek | someone is conflating joinedload() with “magic pixie performance dust" | 14:40 |
zzzeek | pro tip: put it in an editor with word wrap, search for the first “FROM”, add a line break right there | 14:41 |
zzzeek | from FROM on down, that’s really the query | 14:41 |
openstackgerrit | Yuriy Taraday proposed a change to openstack/oslo.config: Allow to reference values outside DEFAULT in substitution https://review.openstack.org/103884 | 14:42 |
openstackgerrit | Flavio Percoco proposed a change to openstack/oslo-incubator: Move `mask_password` to strutils https://review.openstack.org/104209 | 14:43 |
boris-42 | zzzeek yep | 14:43 |
boris-42 | zzzeek that is why we need this stuff=) | 14:43 |
zzzeek | joinedload() supports inner=True so those are at least inner joins | 14:43 |
boris-42 | zzzeek so I am not speaking about that query =) | 14:44 |
boris-42 | zzzeek I am speaking about osprofiler lib =) | 14:44 |
boris-42 | zzzeek and what we can collect more related to sqlalchemy | 14:44 |
boris-42 | zzzeek and how to make it better=) | 14:44 |
boris-42 | zzzeek I don't want to fix anything in openstack, unit I finish work on osproifler | 14:45 |
zzzeek | i know that, but thats the query they’re writing, that’s it. not sure what improvement there could be | 14:45 |
boris-42 | zzzeek cause it's waste of time=) | 14:45 |
boris-42 | zzzeek in osproifler? | 14:45 |
boris-42 | zzzeek or in nova?) | 14:45 |
zzzeek | when you say, “the query is looming" | 14:45 |
boris-42 | zzzeek oh sorry | 14:45 |
boris-42 | zzzeek forgot abou tthat=) | 14:46 |
boris-42 | zzzeek is there anything interesting data then we can fetch? | 14:46 |
boris-42 | zzzeek e.g. amount of updated/changed rows and so on? | 14:46 |
zzzeek | not without querying the database | 14:46 |
zzzeek | i guess you could log session size | 14:46 |
zzzeek | you want to catch flush() calls and count session.new / dirty / deleted / identity_map ? | 14:47 |
boris-42 | zzzeek yep getting info about session | 14:48 |
boris-42 | zzzeek can help sometimes | 14:48 |
openstackgerrit | A change was merged to openstack/oslo.config: Add oslo-config-generator https://review.openstack.org/100946 | 14:51 |
*** tkelsey has quit IRC | 14:54 | |
*** dims__ has quit IRC | 14:55 | |
openstackgerrit | Flavio Percoco proposed a change to openstack/oslo-incubator: Remove `processutils` dependency on `log` https://review.openstack.org/104213 | 14:55 |
dhellmann | markmc: ok, that's basically what I was trying to do | 14:56 |
dhellmann | boris-42: scanning subclasses only works if the code containing those subclasses has already been imported. stevedore finds plugins defined in other packages | 14:56 |
boris-42 | dhellmann so we resolve this issue by forcing importing these modules | 14:57 |
dhellmann | boris-42: how can I import your code from my application if I don't know your code exists? | 14:57 |
openstackgerrit | Flavio Percoco proposed a change to openstack/oslo-incubator: Remove `processutils` dependency on `log` https://review.openstack.org/104213 | 14:58 |
openstackgerrit | Flavio Percoco proposed a change to openstack/oslo-incubator: Move `mask_password` to strutils https://review.openstack.org/104209 | 14:58 |
boris-42 | dhellmann not sure that I get=) | 14:58 |
dhellmann | boris-42: stevedore will load plugins from third-party packages | 14:58 |
boris-42 | dhellmann we had the same issue with rally plugins | 14:58 |
boris-42 | dhellmann we are just importing .py files | 14:58 |
flaper87 | dhellmann: no need to review now, just a heads up. those 2 last patches are for the mask_password thing and making processutils use stdlib logging | 14:59 |
boris-42 | dhellmann that are specified if they are specified | 14:59 |
boris-42 | dhellmann e.g. rally imports all .py files from .rally/plugins directory | 14:59 |
flaper87 | (I'll comment on the spec-utils mentioning the review) | 14:59 |
dhellmann | boris-42: yeah, you're going backwards in usability, potentially introducing import issues, and requiring explicit configuration -- all of those are things setuptools entry points were meant to fix | 14:59 |
boris-42 | dhellmann backward? | 15:00 |
dhellmann | boris-42: what you're suggesting does not actually solve all of the use cases that entry points solve | 15:00 |
boris-42 | dhellmann imho configuration options are backward | 15:00 |
boris-42 | dhellmann for example in rally we have more then 50 classes | 15:00 |
dhellmann | boris-42: you need to look at the history before we continue this conversation | 15:00 |
boris-42 | dhellmann probably | 15:00 |
*** jecarey has joined #openstack-oslo | 15:00 | |
boris-42 | dhellmann any interesting post about that? | 15:00 |
boris-42 | dhellmann as I said probably I don't know something | 15:01 |
dhellmann | boris-42: most of what I've written is in the stevedore docs | 15:01 |
boris-42 | dhellmann but currently it doesn't looks nice | 15:01 |
boris-42 | dhellmann e.g. if you have 200 classes | 15:01 |
boris-42 | dhellmann you'll need 200 options | 15:01 |
boris-42 | dhellmann if you have 2000 you'll need 2000 | 15:01 |
boris-42 | dhellmann to write any plugin you need to change configuration | 15:02 |
boris-42 | dhellmann but okay I'll try to find historical reasons of stevedore | 15:02 |
dhellmann | http://stevedore.readthedocs.org/en/latest/essays/pycon2013.html | 15:02 |
*** tsekiyama has joined #openstack-oslo | 15:03 | |
boris-42 | dhellmann thanks | 15:03 |
boris-42 | dhellmann btw I decided to change one name in public API of osprofiler | 15:04 |
boris-42 | dhellmann that is used by oslo.messaging | 15:04 |
boris-42 | dhellmann as I need in any case to push 0.2.0 version | 15:04 |
boris-42 | dhellmann but I don't think that it should be blocker for that spec .. | 15:04 |
dhellmann | boris-42: i get nervous about making oslo.messaging rely on something that doesn't have a stable api | 15:05 |
boris-42 | dhellmann it's just changing of name.. | 15:05 |
boris-42 | dhellmann get_profiler -> profiler() | 15:05 |
dhellmann | boris-42: if the old name no longer works, that's an API change | 15:05 |
boris-42 | dhellmann I will make all changes | 15:06 |
boris-42 | dhellmann before any of patches in OpenSack | 15:06 |
dhellmann | boris-42: also, functions and methods should have verbs in their name | 15:06 |
boris-42 | dhellmann sorry | 15:06 |
boris-42 | dhellmann get_profiler() -> get() | 15:06 |
dhellmann | really? | 15:06 |
boris-42 | dhellmann it's done to make it more pretty | 15:06 |
boris-42 | from osproifler import profiler | 15:07 |
boris-42 | profiler.get() | 15:07 |
*** tkelsey_ has joined #openstack-oslo | 15:07 | |
boris-42 | instead of profiler.get_proifler() | 15:07 |
boris-42 | so there are methods init(), get(), start() and stop() | 15:07 |
dhellmann | flaper87: what effect will the deprecation warning in https://review.openstack.org/#/c/104209/2 have on log output for tests -- we get complaints about oslo changing logging behavior | 15:08 |
flaper87 | dhellmann: tests were moved to strutils | 15:10 |
flaper87 | oh wait, you mean nova and other apps tests | 15:10 |
* flaper87 slaps himself | 15:10 | |
dhellmann | flaper87: yeah | 15:11 |
flaper87 | mmh, that'sa good point. I've no idea but I'll try to find out | 15:12 |
flaper87 | I actually was wondering whether keeping this method there makes sense at all | 15:12 |
flaper87 | we're moving it and someone syncing from oslo should notice that, I think | 15:13 |
flaper87 | (last famous words) | 15:13 |
*** i159 has quit IRC | 15:13 | |
flaper87 | Based on other services tests, it'll cause quite some noise | 15:13 |
dhellmann | flaper87: yeah, I would like to put off forcing the import change until they migrate to oslo.log, to avoid complaints about making syncs harder | 15:14 |
flaper87 | dhellmann: makes sense | 15:14 |
dhellmann | flaper87: if it makes the logs noisy, we should take out the warning and leave a comment | 15:14 |
flaper87 | dhellmann: what about just getting rid of the warning? | 15:14 |
flaper87 | LOL | 15:14 |
flaper87 | yeah, we'll force the change when switching over to oslo.log | 15:15 |
dhellmann | I had really meant for you to do something like "from openstack.common.strutils import mask_password # noqa" | 15:15 |
dhellmann | the warning would be good, except for the complaining :-/ | 15:15 |
flaper87 | dhellmann: I did that but I then wrote that wrapper+warning to give people a heads up about the change | 15:15 |
flaper87 | ok, I'll change that with the import from strutils | 15:16 |
*** nacim has quit IRC | 15:16 | |
openstackgerrit | Flavio Percoco proposed a change to openstack/oslo-incubator: Remove `processutils` dependency on `log` https://review.openstack.org/104213 | 15:17 |
openstackgerrit | Flavio Percoco proposed a change to openstack/oslo-incubator: Move `mask_password` to strutils https://review.openstack.org/104209 | 15:17 |
dhellmann | flaper87: yeah, if you add "if you don't like this warning message complain to flaper87 instead of dhellmann" then I can +2 it :-) | 15:18 |
openstackgerrit | Mark McLoughlin proposed a change to openstack/oslo.config: generator: refactor MultiStrOpt handling https://review.openstack.org/104225 | 15:18 |
openstackgerrit | Mark McLoughlin proposed a change to openstack/oslo.config: cfg,generator: add Opt.sample_default attribute https://review.openstack.org/104226 | 15:18 |
openstackgerrit | Mark McLoughlin proposed a change to openstack/oslo.config: generator: remove the default sanitizer feature https://review.openstack.org/104227 | 15:18 |
openstackgerrit | Yuriy Taraday proposed a change to openstack/oslo-specs: Add rootwrap-daemon-mode blueprint https://review.openstack.org/94613 | 15:18 |
flaper87 | dhellmann: LOOOOOOL, I prefer the silent, nasty, noqa import | 15:18 |
flaper87 | :P | 15:18 |
dhellmann | flaper87: I thought you might see it my way :-) | 15:19 |
openstackgerrit | Flavio Percoco proposed a change to openstack/oslo-incubator: Remove `processutils` dependency on `log` https://review.openstack.org/104213 | 15:20 |
openstackgerrit | Flavio Percoco proposed a change to openstack/oslo-incubator: Move `mask_password` to strutils https://review.openstack.org/104209 | 15:20 |
flaper87 | ok, the last one fixes pep8 and adds a comment to the import regarding oslo.log graduation | 15:20 |
openstackgerrit | Mark McLoughlin proposed a change to openstack/oslo-specs: Add oslo-config-generator https://review.openstack.org/102548 | 15:20 |
dhellmann | flaper87: should we link those commits to both graduation blueprints? | 15:21 |
flaper87 | I didn't do it because I considered this change a tiny step forward so, nothing really really related to the oslo.log blueprint. I can do it if you think otherwise | 15:22 |
flaper87 | dhellmann: ^ | 15:22 |
*** dims__ has joined #openstack-oslo | 15:23 | |
dhellmann | flaper87: I'm probably just being pedantic about tracking; we can leave them as they are | 15:23 |
dhellmann | flaper87: while you wait for those tests to run, do you have a few minutes to look over https://review.openstack.org/#/c/103224/ for me? That's the last patch to review before releasing oslo.i18n | 15:24 |
* flaper87 clicks and reviews dhellmann's patch | 15:25 | |
* flaper87 needs to improve his oslo's queries on gerrit | 15:25 | |
dhellmann | flaper87: https://wiki.openstack.org/wiki/Oslo#Review_Links | 15:26 |
dims__ | dhellmann, sounds good | 15:27 |
*** dims__ has quit IRC | 15:27 | |
*** dims__ has joined #openstack-oslo | 15:27 | |
dhellmann | dims__: thanks for bringing that up, though, I should add it to the migration notes | 15:28 |
dims__ | dhellmann, +1 | 15:29 |
flaper87 | dhellmann: oooohhhhhh, that link is useful. | 15:30 |
openstackgerrit | Doug Hellmann proposed a change to openstack/oslo-specs: Update adoption notes about Message objects https://review.openstack.org/104234 | 15:32 |
dhellmann | dims__: ^^ | 15:32 |
*** james_li has joined #openstack-oslo | 15:36 | |
*** SridharG has quit IRC | 15:43 | |
*** markmcclain has joined #openstack-oslo | 15:45 | |
openstackgerrit | Flavio Percoco proposed a change to openstack/oslo-incubator: Remove `processutils` dependency on `log` https://review.openstack.org/104213 | 15:46 |
openstackgerrit | Flavio Percoco proposed a change to openstack/oslo-incubator: Move `mask_password` to strutils https://review.openstack.org/104209 | 15:46 |
* flaper87 swears he tested pep8 this time | 15:46 | |
*** ihrachyshka has quit IRC | 15:51 | |
boris-42 | dhellmann btw can I make one another spec | 15:58 |
boris-42 | dhellmann called "Integration of OSprofiler in projects" | 15:58 |
boris-42 | dhellmann cause the process is the same for all projects, and it's hard for me to get the similar spec in all projects specs stuff | 15:58 |
boris-42 | dhellmann and some of projects are asking spec | 15:59 |
dhellmann | boris-42: do they want an oslo spec, or do they want a spec in their own repo where they can vote? | 16:05 |
boris-42 | dhellmann I would like to have one spec | 16:06 |
boris-42 | dhellmann to call all PTL and cores that are interested | 16:06 |
boris-42 | dhellmann and make one spec that works for all | 16:06 |
dhellmann | boris-42: I understand that, but what are you being *asked* to do? | 16:06 |
boris-42 | dhellmann so to have some spec that will be discussed | 16:06 |
boris-42 | dhellmann and approved | 16:06 |
boris-42 | dhellmann not all projects are asking but for some of these projects is intereting to see that this is accepted by community | 16:07 |
dhellmann | boris-42: is that not https://review.openstack.org/#/c/103825/ ? | 16:07 |
boris-42 | dhellmann nope | 16:07 |
boris-42 | dhellmann it's related to oslo.messaging | 16:07 |
boris-42 | dhellmann it's too specific | 16:07 |
boris-42 | dhellmann integrating in oslo.messaging and in projects like cinder is quite different | 16:08 |
dhellmann | boris-42: why not add details to ^^? | 16:08 |
boris-42 | dhellmann but there is no difference between integrating in cider and nova | 16:08 |
boris-42 | dhellmann so then I should chose another name for BP | 16:08 |
boris-42 | dhellmann e.g. Integration of OSprofiler in OpenStack | 16:08 |
*** arnaud has joined #openstack-oslo | 16:08 | |
*** ildikov has joined #openstack-oslo | 16:09 | |
boris-42 | dhellmann I will do what you'll prefer | 16:09 |
boris-42 | dhellmann to put it in one or in 2 specs | 16:09 |
dhellmann | isn't the oslo.messaging work an implementation aspect of enabling the cross-service profiling? | 16:09 |
boris-42 | dhellmann oslo.messaging is just used to sync profiler instances in different services (of one project) | 16:09 |
boris-42 | dhellmann but enabling osproifler in project means to add one small patch in python client | 16:10 |
boris-42 | dhellmann and one middleware in code base | 16:10 |
dhellmann | boris-42: ok, try to write one spec describing the changes needed, and if you have to rename the spec that's ok | 16:10 |
dhellmann | boris-42: include *all* of the changes (client, API, messaging, whatever) | 16:10 |
*** ildikov|2 has joined #openstack-oslo | 16:11 | |
boris-42 | dhellmann okay there are just those 3 | 16:11 |
*** ildikov has quit IRC | 16:11 | |
boris-42 | dhellmann actually 4 (oslo.db can be as well changed) but it's not essential | 16:11 |
boris-42 | dhellmann okay I will do | 16:11 |
dims__ | flaper87, don't you have to fix processutils.py too? (in https://review.openstack.org/#/c/104209) | 16:11 |
dhellmann | boris-42: *all* of the changes :-) | 16:12 |
*** ildikov_ has quit IRC | 16:12 | |
boris-42 | dhellmann okay, I'll ping you when I finish | 16:12 |
boris-42 | dhellmann thanks | 16:12 |
flaper87 | dims__: there's a follow-up patch for that | 16:12 |
flaper87 | dims__: this patch imports mask_password from strutils so processutils is fine | 16:13 |
dims__ | flaper87, ah ok. | 16:13 |
flaper87 | dims__: since you're on it. This is the follow-up patch: https://review.openstack.org/#/c/104213/ | 16:14 |
dims__ | y, found it | 16:14 |
dims__ | just as a note, when we sync to nova, we'll need to fix 3 references to logging.mask_password | 16:15 |
dhellmann | dims__: we left an import in log.py so we didn't need to worry about that on sync, but we will need to do it when moving to oslo.log | 16:16 |
dims__ | sounds good. thx | 16:16 |
flaper87 | dims__: thanks for the reviews | 16:18 |
*** mriedem has quit IRC | 16:19 | |
dims__ | flaper87, my pleasure | 16:20 |
*** jaosorior has quit IRC | 16:22 | |
openstackgerrit | A change was merged to openstack/oslo-incubator: Move `mask_password` to strutils https://review.openstack.org/104209 | 16:23 |
openstackgerrit | A change was merged to openstack/oslo-incubator: Remove `processutils` dependency on `log` https://review.openstack.org/104213 | 16:23 |
*** SridharG has joined #openstack-oslo | 16:25 | |
*** markmc has quit IRC | 16:31 | |
*** ildikov|2 has quit IRC | 16:33 | |
*** flaper87 is now known as flaper87|afk | 16:34 | |
zhiyan | hi folks, does oslo.config has a routine release schedule? how can i get a notice for that? check it by maillist? | 16:38 |
dhellmann | zhiyan: we plan to tag alphas as needed throughout the cycle, and release the next non-alpha version at the end of juno | 16:39 |
dhellmann | zhiyan: I try to mention planned releases in the project meetings on tuesday and we announce new releases on the dev mailing list, but don't necessarily plan out dates for alphas very far in advance | 16:39 |
openstackgerrit | Yuriy Taraday proposed a change to openstack/oslo.config: Allow to reference values outside DEFAULT in substitution https://review.openstack.org/103884 | 16:46 |
openstackgerrit | A change was merged to openstack/oslo-incubator: Use lockutils wrapper to set OSLO_LOCK_PATH for run_tests.sh https://review.openstack.org/85637 | 16:47 |
*** markmcclain has quit IRC | 16:48 | |
*** zhiyan is now known as zhiyan_ | 16:50 | |
*** zhiyan_ is now known as zhiyan | 16:51 | |
*** harlowja_away is now known as harlowja | 16:52 | |
*** tkelsey_ has quit IRC | 16:52 | |
*** markmcclain has joined #openstack-oslo | 16:58 | |
*** markmcclain has quit IRC | 16:58 | |
*** AAzza has joined #openstack-oslo | 16:59 | |
*** markmcclain has joined #openstack-oslo | 16:59 | |
AAzza | hi, all. I want to help with Python 3 support. Currenty I'm searching for problems for myself, but maybe you can suggest some modules it is worth to pay attention? | 17:05 |
*** zhiyan is now known as zhiyan_ | 17:08 | |
*** Alexei_9871 has quit IRC | 17:09 | |
*** praneshp has joined #openstack-oslo | 17:14 | |
*** tmcpeak has joined #openstack-oslo | 17:15 | |
*** tmcpeak has left #openstack-oslo | 17:16 | |
*** AAzza has left #openstack-oslo | 17:18 | |
*** AAzza has joined #openstack-oslo | 17:18 | |
*** mriedem has joined #openstack-oslo | 17:25 | |
*** AAzza is now known as AAzza_afk | 17:29 | |
dims__ | AAzza_afk, if you check the tox.ini you will see that only a subset of test cases are enabled for py33 | 17:32 |
*** dstanek is now known as dstanek_lunch | 17:41 | |
*** openstackgerrit has quit IRC | 17:49 | |
*** openstackgerrit has joined #openstack-oslo | 17:49 | |
*** arnaud has quit IRC | 17:59 | |
*** i159 has joined #openstack-oslo | 18:03 | |
openstackgerrit | A change was merged to openstack/oslo.i18n: Shift public API to top level package https://review.openstack.org/103224 | 18:14 |
*** AAzza_afk is now known as AAzza | 18:25 | |
*** rdopieralski has quit IRC | 18:28 | |
openstackgerrit | Anne Gentle proposed a change to openstack/oslosphinx: Added a incubating project config option https://review.openstack.org/103935 | 18:28 |
*** zzzeek has quit IRC | 18:30 | |
*** zzzeek has joined #openstack-oslo | 18:34 | |
*** dims__ has quit IRC | 18:37 | |
*** i159 has quit IRC | 18:39 | |
*** SridharG has quit IRC | 18:41 | |
*** tongli has joined #openstack-oslo | 18:43 | |
*** dims__ has joined #openstack-oslo | 18:47 | |
*** james_li has quit IRC | 18:49 | |
openstackgerrit | Doug Hellmann proposed a change to openstack/oslo.i18n: Document how to add import exceptions https://review.openstack.org/103213 | 18:49 |
openstackgerrit | Doug Hellmann proposed a change to openstack/oslo.i18n: Remove mention of Message objects from public docs https://review.openstack.org/102819 | 18:49 |
*** AAzza- has joined #openstack-oslo | 18:54 | |
*** dstanek_lunch is now known as dstanek_lunch_zz | 18:55 | |
*** james_li has joined #openstack-oslo | 18:55 | |
*** AAzza has quit IRC | 18:57 | |
*** AAzza- is now known as AAzza | 18:57 | |
*** harlowja is now known as harlowja_away | 18:59 | |
*** dstanek_lunch_zz is now known as dstanek | 18:59 | |
*** AAzza has quit IRC | 19:03 | |
*** harlowja_away is now known as harlowja | 19:03 | |
*** AAzza has joined #openstack-oslo | 19:08 | |
dhellmann | oslo.i18n 0.1.0 is released! | 19:12 |
dims__ | w00t! | 19:15 |
dims__ | dhellmann, have a nova review in progress? should i try? | 19:16 |
dhellmann | dims__: we need to get it into the global requirements list, first, but if you want to start working on a port locally that would be great | 19:16 |
bknudson | now I have to get working on keystone using it! | 19:17 |
dims__ | dhellmann, will do | 19:17 |
dhellmann | bknudson: +1 | 19:18 |
dhellmann | dims__: thanks | 19:18 |
openstackgerrit | Doug Hellmann proposed a change to openstack/oslo-incubator: Mark gettextutils obsolete https://review.openstack.org/104307 | 19:20 |
*** AAzza is now known as AAzza_afk | 19:22 | |
*** dims__ has quit IRC | 19:33 | |
*** zzzeek has quit IRC | 19:41 | |
*** dims has joined #openstack-oslo | 19:44 | |
*** dims_ has joined #openstack-oslo | 19:48 | |
*** praneshp has quit IRC | 19:49 | |
*** dims has quit IRC | 19:49 | |
*** praneshp has joined #openstack-oslo | 19:54 | |
*** dims_ has quit IRC | 19:54 | |
*** dims has joined #openstack-oslo | 19:54 | |
*** dims_ has joined #openstack-oslo | 19:58 | |
*** dims has quit IRC | 20:00 | |
*** dims_ has quit IRC | 20:05 | |
*** dims has joined #openstack-oslo | 20:06 | |
*** harlowja is now known as harlowja_away | 20:09 | |
*** ihrachyshka has joined #openstack-oslo | 20:21 | |
*** james_li has quit IRC | 20:22 | |
*** james_li has joined #openstack-oslo | 20:22 | |
*** ihrachyshka has quit IRC | 20:26 | |
*** alexpilotti has quit IRC | 20:31 | |
*** harlowja_away is now known as harlowja | 20:39 | |
*** dims has quit IRC | 20:55 | |
openstackgerrit | Ken Giusti proposed a change to openstack/oslo.messaging: An initial implementation of a 1.0 based messaging driver https://review.openstack.org/75815 | 20:58 |
*** dims has joined #openstack-oslo | 21:00 | |
*** mrda_away is now known as mrda | 21:02 | |
*** jecarey has quit IRC | 21:06 | |
*** dims_ has joined #openstack-oslo | 21:13 | |
*** dims has quit IRC | 21:15 | |
*** lbragstad_ is now known as lbragstad | 21:17 | |
openstackgerrit | Joshua Harlow proposed a change to openstack/taskflow: Update oslo incubator code to commit 0b02fc0f36814968 https://review.openstack.org/104345 | 21:17 |
openstackgerrit | A change was merged to openstack/oslosphinx: Added a incubating project config option https://review.openstack.org/103935 | 21:18 |
*** dims_ has quit IRC | 21:18 | |
*** james_li has quit IRC | 21:20 | |
*** jecarey has joined #openstack-oslo | 21:20 | |
openstackgerrit | A change was merged to openstack/oslo-specs: graduate-oslo-utils https://review.openstack.org/98431 | 21:21 |
*** ajo|mac has quit IRC | 21:21 | |
*** markmcclain has quit IRC | 21:25 | |
*** dims has joined #openstack-oslo | 21:31 | |
bknudson | dhellmann: question about switch to oslo.i18n -- | 21:37 |
bknudson | there's still "from keystone.openstack.common.gettextutils import _LI" in keystone.openstack.common | 21:38 |
dhellmann | bknudson: yeah, I have a note to work on updating the incubator, we might need to do that before you can adopt it | 21:39 |
bknudson | dhellmann: ok, sounds complicated | 21:39 |
dhellmann | bknudson: I was going to try to do that in the morning when I'm fresh, because I need to figure out how to get the new imports right | 21:39 |
bknudson | if incubator uses it then keystone will have to import even if we don't switch to oslo.i18n | 21:40 |
dhellmann | bknudson: I was thinking about adding an integration module to the incubator, and letting projects sync that instead of gettextutils. I haven't tried it to see if it works, though. | 21:40 |
bknudson | dhellmann: that's what I was thinking you might be able to do | 21:41 |
dhellmann | I think we'd eventually be able to get rid of it, after we remove the incubated copy of gettextutils | 21:42 |
dhellmann | although maybe not, since other projects are likely to bring code with translations back into the incubator | 21:43 |
bknudson | all the oslo-incubator stuff should need is _, _LI, etc. | 21:44 |
bknudson | if the application provided those then it could set them to either oslo-incubator gettextutils or its own from oslo.i18n | 21:45 |
dhellmann | bknudson: the problem is the imports in the incubated modules | 21:45 |
bknudson | maybe oslo-incubator changes to "from oslo.i18n import _" | 21:46 |
bknudson | then when I import that into keystone it becomes "from keystone.i18n import _" | 21:46 |
dhellmann | there's no _ in oslo.i18n, though, that's the thing -- it will only exist in the integration module within the project | 21:46 |
bknudson | which is the name of my integration module anyways | 21:46 |
bknudson | since update.py changes oslo to keystone | 21:47 |
bknudson | this would require everyone to name their integration module <base>.i18n | 21:47 |
dhellmann | that works except for 2 things: there is no instance of the translator factory in oslo.i18n, because that can't be a global the library creates, and oslo.i18n is a special case that isn't replaced | 21:48 |
dhellmann | however, you're on the right track | 21:48 |
dhellmann | an openstack/common/i18n.py could have all of those things | 21:49 |
dhellmann | and "from openstack.common import i18n" would be changed to "from keystone.openstack.common import i18n", and the contents of that file would also have oslo replaced with keystone | 21:49 |
dhellmann | that's what I am going to experiment with tomorrow morning | 21:49 |
openstackgerrit | Abhishek Chanda proposed a change to openstack/stevedore: Migrate tox to use testr https://review.openstack.org/101673 | 21:50 |
bknudson | dhellmann: ok, thanks | 21:51 |
dhellmann | bknudson: I'll add you to the review so you can see what I mean | 21:52 |
openstackgerrit | Joshua Harlow proposed a change to openstack/taskflow: Remove need to do special exception catching in parse_uri https://review.openstack.org/104354 | 21:53 |
*** james_li has joined #openstack-oslo | 21:55 | |
*** tongli has quit IRC | 22:01 | |
*** pcm_ has quit IRC | 22:02 | |
*** zzzeek has joined #openstack-oslo | 22:22 | |
openstackgerrit | Doug Hellmann proposed a change to openstack/oslo-specs: Update adoption notes about Message objects https://review.openstack.org/104234 | 22:33 |
*** tsekiyam_ has joined #openstack-oslo | 22:42 | |
*** tsekiyama has quit IRC | 22:45 | |
openstackgerrit | Joshua Harlow proposed a change to openstack/taskflow: Update oslo incubator code to commit 0b02fc0f36814968 https://review.openstack.org/104345 | 22:47 |
openstackgerrit | Joshua Harlow proposed a change to openstack/taskflow: Remove need to do special exception catching in parse_uri https://review.openstack.org/104354 | 22:47 |
*** tsekiyam_ has quit IRC | 22:47 | |
openstackgerrit | Joshua Harlow proposed a change to openstack/taskflow: Update oslo incubator code to commit 0b02fc0f36814968 https://review.openstack.org/104345 | 22:55 |
openstackgerrit | Joshua Harlow proposed a change to openstack/taskflow: Remove need to do special exception catching in parse_uri https://review.openstack.org/104354 | 22:55 |
*** jecarey has quit IRC | 22:57 | |
*** jecarey has joined #openstack-oslo | 22:57 | |
openstackgerrit | A change was merged to openstack/oslo-incubator: Mark gettextutils obsolete https://review.openstack.org/104307 | 23:09 |
openstackgerrit | A change was merged to openstack/oslo-incubator: Use timestamp in loopingcall https://review.openstack.org/103704 | 23:13 |
openstackgerrit | A change was merged to openstack/oslo-incubator: update new requests logger to default WARN https://review.openstack.org/103960 | 23:17 |
*** james_li has quit IRC | 23:27 | |
openstackgerrit | A change was merged to openstack/oslo-incubator: Changes calcuation of variable delay https://review.openstack.org/103708 | 23:44 |
*** oomichi has joined #openstack-oslo | 23:45 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!