*** dimtruck is now known as zz_dimtruck | 00:03 | |
*** zz_dimtruck is now known as dimtruck | 00:03 | |
*** dimtruck is now known as zz_dimtruck | 00:13 | |
openstackgerrit | Octave Orgeron proposed openstack/oslo.db master: Enable MySQL Storage Engine selection https://review.openstack.org/427970 | 00:17 |
---|---|---|
*** ansmith has quit IRC | 00:49 | |
*** hongbin has quit IRC | 01:06 | |
*** tovin07_ has joined #openstack-oslo | 02:15 | |
*** gcb has joined #openstack-oslo | 02:24 | |
*** yamahata_ has quit IRC | 02:24 | |
*** gcb has quit IRC | 02:28 | |
*** gcb has joined #openstack-oslo | 02:29 | |
*** zhangguoqing has joined #openstack-oslo | 02:36 | |
*** gcb has quit IRC | 03:00 | |
*** tovin07 has quit IRC | 03:35 | |
*** zhangguoqing has quit IRC | 03:53 | |
*** syjulian has quit IRC | 04:06 | |
*** nicolasbock has quit IRC | 04:13 | |
*** tovin07 has joined #openstack-oslo | 04:14 | |
openstackgerrit | Merged openstack/oslo.cache master: Check reStructuredText documents for common style issues. https://review.openstack.org/449406 | 04:26 |
*** zhangguoqing has joined #openstack-oslo | 04:35 | |
*** yamahata_ has joined #openstack-oslo | 04:36 | |
*** salv-orlando has joined #openstack-oslo | 04:45 | |
*** salv-orlando has quit IRC | 04:49 | |
*** shyama has joined #openstack-oslo | 04:52 | |
*** syjulian has joined #openstack-oslo | 04:53 | |
*** amotoki has joined #openstack-oslo | 05:14 | |
*** zhangguoqing has quit IRC | 05:16 | |
*** salv-orlando has joined #openstack-oslo | 05:46 | |
*** salv-orlando has quit IRC | 05:51 | |
*** syjulian has quit IRC | 05:55 | |
*** salv-orlando has joined #openstack-oslo | 05:59 | |
*** jaosorior_away is now known as jaosorior | 06:16 | |
*** e0ne has joined #openstack-oslo | 06:23 | |
*** syjulian has joined #openstack-oslo | 06:26 | |
*** salv-orlando has quit IRC | 06:53 | |
*** zhangguoqing has joined #openstack-oslo | 06:56 | |
*** zhangguoqing has quit IRC | 06:57 | |
*** zhangguoqing has joined #openstack-oslo | 06:59 | |
*** zhangguo_ has joined #openstack-oslo | 07:00 | |
*** zhangguoqing has quit IRC | 07:01 | |
*** kornicameister has quit IRC | 07:03 | |
*** e0ne has quit IRC | 07:09 | |
*** lpetrut has joined #openstack-oslo | 07:11 | |
*** pcaruana has joined #openstack-oslo | 07:32 | |
*** beekneemech has joined #openstack-oslo | 07:40 | |
*** sputnik13 has quit IRC | 07:41 | |
*** jd_ has quit IRC | 07:41 | |
*** ebbex has quit IRC | 07:41 | |
*** bnemec has quit IRC | 07:41 | |
*** jd_ has joined #openstack-oslo | 07:43 | |
*** ebbex has joined #openstack-oslo | 07:46 | |
*** beekneemech has quit IRC | 07:50 | |
*** zzzeek has quit IRC | 08:00 | |
*** zzzeek has joined #openstack-oslo | 08:01 | |
*** lucas-afk is now known as lucasagomes | 08:13 | |
*** lpetrut_ has joined #openstack-oslo | 08:24 | |
*** lpetrut has quit IRC | 08:27 | |
*** yassine has joined #openstack-oslo | 08:28 | |
*** yassine is now known as Guest85363 | 08:28 | |
*** cdent has joined #openstack-oslo | 08:46 | |
*** aarefiev_afk is now known as aarefiev | 08:50 | |
*** e0ne has joined #openstack-oslo | 08:52 | |
*** salv-orlando has joined #openstack-oslo | 08:58 | |
*** salv-orlando has quit IRC | 09:03 | |
*** sambetts|afk is now known as sambetts | 09:05 | |
*** cdent has quit IRC | 09:24 | |
*** salv-orlando has joined #openstack-oslo | 09:29 | |
*** shardy has joined #openstack-oslo | 09:41 | |
*** aarefiev has quit IRC | 09:43 | |
*** mikal has quit IRC | 09:46 | |
*** aarefiev has joined #openstack-oslo | 09:47 | |
*** mikal has joined #openstack-oslo | 09:48 | |
*** salv-orl_ has joined #openstack-oslo | 09:49 | |
*** salv-orlando has quit IRC | 09:52 | |
*** cdent has joined #openstack-oslo | 09:59 | |
*** kornicameister has joined #openstack-oslo | 10:00 | |
*** zhangguo_ has quit IRC | 10:04 | |
*** salv-orl_ has quit IRC | 10:06 | |
*** nicolasbock has joined #openstack-oslo | 10:12 | |
*** boden has joined #openstack-oslo | 10:21 | |
*** zhangguoqing has joined #openstack-oslo | 10:22 | |
*** tovin07_ has quit IRC | 10:28 | |
*** yamahata_ has quit IRC | 10:36 | |
*** mhickey has joined #openstack-oslo | 10:37 | |
*** mhickey has quit IRC | 10:41 | |
*** mhickey has joined #openstack-oslo | 10:54 | |
*** sdague has joined #openstack-oslo | 10:57 | |
*** dave-mccowan has joined #openstack-oslo | 11:26 | |
*** zhangguoqing has quit IRC | 11:26 | |
*** zhangguoqing has joined #openstack-oslo | 11:27 | |
*** kornicameister has quit IRC | 11:28 | |
*** Guest85363 has quit IRC | 11:32 | |
*** Guest85363 has joined #openstack-oslo | 11:33 | |
*** dave-mccowan has quit IRC | 11:41 | |
*** pcaruana has quit IRC | 11:51 | |
*** lucasagomes is now known as lucas-hungry | 11:52 | |
*** pcaruana has joined #openstack-oslo | 11:56 | |
*** dave-mccowan has joined #openstack-oslo | 12:07 | |
*** kornicameister has joined #openstack-oslo | 12:09 | |
*** pblaho has quit IRC | 12:10 | |
openstackgerrit | Merged openstack/oslo.messaging master: [AMQP 1.0] Add default SASL realm setting https://review.openstack.org/456719 | 12:30 |
*** cdent has quit IRC | 12:34 | |
*** ansmith has joined #openstack-oslo | 12:43 | |
*** pcaruana has quit IRC | 12:50 | |
*** lucas-hungry is now known as lucasagomes | 12:50 | |
*** pcaruana has joined #openstack-oslo | 12:53 | |
openstackgerrit | Merged openstack/oslo.cache master: Remove unused/duplicated logging import https://review.openstack.org/435271 | 13:06 |
openstackgerrit | Doug Hellmann proposed openstack/oslo.log master: add exception summaries to the main log line https://review.openstack.org/459424 | 13:16 |
*** gordc has joined #openstack-oslo | 13:17 | |
*** Guest85363 has quit IRC | 13:24 | |
*** Guest85363 has joined #openstack-oslo | 13:25 | |
*** pcaruana has quit IRC | 13:43 | |
*** pcaruana has joined #openstack-oslo | 13:55 | |
*** cdent has joined #openstack-oslo | 13:55 | |
*** pblaho has joined #openstack-oslo | 14:11 | |
*** yamahata_ has joined #openstack-oslo | 14:13 | |
*** bnemec has joined #openstack-oslo | 14:14 | |
*** shyama has quit IRC | 14:17 | |
*** zhangguoqing has quit IRC | 14:21 | |
*** zhangguoqing has joined #openstack-oslo | 14:22 | |
*** efried has joined #openstack-oslo | 14:23 | |
efried | dhellmann bnemec I've been playing around and I can't get deprecated_reason to show up anywhere. Looking at the code, I can't figure out why that would be. | 14:24 |
efried | Also tried advanced=True, and that message isn't showing up either. | 14:24 |
*** zhangguoqing has quit IRC | 14:26 | |
dhellmann | efried : can you share your sample script in a pastebin? | 14:28 |
dhellmann | efried : I think the advanced stuff is for the sample generator? | 14:28 |
efried | dhellmann Yeah, I'm clearly not looking at the right source. Stand by. | 14:29 |
efried | dhellmann https://pastebin.com/7Stpmj3W | 14:30 |
dhellmann | ok, let me poke it a bit locally | 14:30 |
efried | dhellmann And here's my conf: | 14:30 |
efried | https://pastebin.com/PHBp6UAA | 14:30 |
dhellmann | efried : and how are you running the script? | 14:33 |
efried | dhellmann python cfgtest.py --config-file tmp/f.conf | 14:33 |
dhellmann | k | 14:34 |
efried | I know it's finding the file cause it's printing out '2' | 14:34 |
efried | took me a while to get to that point ;-) | 14:34 |
*** zz_dimtruck is now known as dimtruck | 14:34 | |
dhellmann | efried : ok, I don't see any code trying to print the deprecation reason | 14:36 |
dhellmann | I do see the sample generator using that value | 14:36 |
dhellmann | we could enhance oslo.config to print that data, too | 14:36 |
efried | dhellmann I thought I saw it in generator.py, but it's not the right message format. | 14:36 |
dhellmann | well, the generator code is only used when you're building a sample config file, it's not used at runtime | 14:36 |
*** zhangguoqing has joined #openstack-oslo | 14:36 | |
efried | okay. | 14:37 |
efried | Where's the source code that prints the message, "Option "test" from group "mygroup" is deprecated for removal. Its value may be silently ignored in the future." ? | 14:37 |
dhellmann | when I run the program as you describe I do get a log message warning me that test from mygroup is deprecated for removal | 14:37 |
efried | I tried grepping through all of oslo_config and couldn't find that guy. | 14:37 |
*** zhangguoqing has quit IRC | 14:37 | |
dhellmann | that's in oslo_config/cfg.py around line 955 | 14:38 |
dhellmann | you probably couldn't find it because the message isn't all on one line | 14:38 |
*** lpetrut_ has quit IRC | 14:38 | |
dhellmann | you could enhance that message to add the reason text, if there is reason text | 14:38 |
efried | dhellmann Yup. Was trying various line-split permutations, but hadn't hit that one yet ;-) | 14:38 |
efried | dhellmann Okay. It's not a huge deal if it doesn't work - just as long as I know it's not my fault ;-) | 14:39 |
dhellmann | :-) | 14:39 |
dhellmann | let me see if I can get it to include the reason | 14:39 |
efried | dhellmann You want me to open a launchpad bug? Propose a fix? (Does that happen in review.openstack.org or via github pull request?) | 14:40 |
dhellmann | efried : we don't need a bug (the oslo team isn't quite so strict about tracking this sort of thing) | 14:42 |
dhellmann | a patch would go through review.openstack.org | 14:42 |
dhellmann | I'm working on that now | 14:42 |
efried | Neat, thanks. | 14:42 |
efried | dhellmann I'm also not seeing any result of setting advanced=True | 14:43 |
efried | Which may or may not be fixed in the same spot. | 14:43 |
efried | (I don't need that one, but since you're in there...) | 14:43 |
dhellmann | a lot of these annotation options are really only useful for the sample generator | 14:44 |
dhellmann | that one means "you probably don't need to set this" | 14:44 |
efried | Okay. Maybe I missed it, but are they documented as such? | 14:46 |
dhellmann | probably not | 14:47 |
dhellmann | it would be useful to annotate the values that are only used that way, though | 14:48 |
dhellmann | I think when we were adding them, we weren't considering how it might be confusing like this :-/ | 14:48 |
efried | If we're documenting, something that would have saved me some time is how to actually load a config file. | 14:49 |
efried | The part about doing CONF(argv[1:]) where argv contains --config-file /path/to/file.conf | 14:49 |
efried | I wound up figuring that out by looking at the nova-compute source. | 14:50 |
*** hongbin has joined #openstack-oslo | 15:02 | |
openstackgerrit | Doug Hellmann proposed openstack/oslo.config master: add deprecation_reason to log message https://review.openstack.org/459736 | 15:02 |
dhellmann | efried : ^^ | 15:03 |
dhellmann | efried : you don't have to explicitly give the path unless the file is not in the expected location | 15:03 |
efried | dhellmann Okay. But the CONF(argv[1:]) thing and the --config-file thing. | 15:04 |
dhellmann | efried : https://docs.openstack.org/developer/oslo.config/cfg.html#loading-config-files | 15:05 |
efried | dhellmann Right - that doc was frustrating for me. I don't know what "the config manager has two CLI options" means | 15:06 |
efried | I.e. what's "the config manager" in that case? | 15:06 |
efried | oh, now I see the argv thing. | 15:06 |
dhellmann | the ConfigOpts instance is the "config manager" | 15:06 |
efried | Okay. I'm probably the dumb one, but I'll just say, as a noob, I was not able to get from point A to point B by reading that (and I did read it). | 15:07 |
*** ansmith has quit IRC | 15:07 | |
*** salv-orlando has joined #openstack-oslo | 15:10 | |
dhellmann | hmm | 15:12 |
dhellmann | what additional information would have helped? | 15:12 |
dhellmann | we probably want an end-to-end tutorial somewhere | 15:13 |
dhellmann | we have a lot of the parts, but I'm not sure they're necessarily in order | 15:13 |
dhellmann | efried : this may be a case of me knowing things a little too well to see where we're not introducing concepts well enough. I'd be happy to collaborate with you on improving that. | 15:14 |
dhellmann | i.e., if you can help outline some intro material that would be useful, I can help fill in the details | 15:14 |
*** salv-orlando has quit IRC | 15:15 | |
efried | dhellmann Okay, sure. | 15:17 |
dhellmann | efried : maybe after the summit though? the next couple of weeks are going to be pretty busy :-) | 15:18 |
efried | What would have been useful for me is a 1-2-3 "Getting Started" / "Playing Around" tutorial. | 15:18 |
efried | Sure. Maybe I can send you an email? | 15:19 |
dhellmann | efried : sure doug@doughellmann.com | 15:19 |
efried | dhellmann Roger wilco. And thanks! | 15:19 |
dhellmann | thanks for agreeing to help! | 15:19 |
*** ansmith has joined #openstack-oslo | 15:23 | |
*** shardy is now known as shardy_afk | 15:25 | |
*** pblaho has quit IRC | 15:36 | |
*** zhangguoqing has joined #openstack-oslo | 15:45 | |
*** zhangguoqing has quit IRC | 15:46 | |
*** shardy_afk is now known as shardy | 15:49 | |
openstackgerrit | Doug Hellmann proposed openstack/oslo.log master: add exception summaries to the main log line https://review.openstack.org/459424 | 15:50 |
*** e0ne has quit IRC | 15:52 | |
*** mhickey has quit IRC | 16:03 | |
*** pblaho has joined #openstack-oslo | 16:03 | |
*** lucasagomes is now known as lucas-afk | 16:27 | |
*** amotoki has quit IRC | 16:34 | |
*** zhangguoqing has joined #openstack-oslo | 16:35 | |
*** zhangguoqing has quit IRC | 16:37 | |
*** pcaruana has quit IRC | 16:39 | |
*** browne has joined #openstack-oslo | 17:10 | |
openstackgerrit | melanie witt proposed openstack/oslo.service master: Add min_interval to BackOffLoopingCall https://review.openstack.org/459790 | 17:10 |
*** salv-orlando has joined #openstack-oslo | 17:12 | |
openstackgerrit | melanie witt proposed openstack/oslo.service master: Add min_interval to BackOffLoopingCall https://review.openstack.org/459790 | 17:14 |
*** salv-orlando has quit IRC | 17:16 | |
*** oomichi has joined #openstack-oslo | 17:17 | |
*** yamahata_ has quit IRC | 17:18 | |
*** zhangguoqing has joined #openstack-oslo | 17:19 | |
*** jaosorior is now known as jaosorior_away | 17:19 | |
*** zhangguoqing has quit IRC | 17:20 | |
*** yamahata_ has joined #openstack-oslo | 17:39 | |
*** mhickey has joined #openstack-oslo | 17:41 | |
openstackgerrit | Doug Hellmann proposed openstack/oslo.log master: add exception summaries to the main log line https://review.openstack.org/459424 | 18:10 |
*** shardy has quit IRC | 18:36 | |
*** salv-orlando has joined #openstack-oslo | 19:13 | |
*** cdent has quit IRC | 19:17 | |
*** salv-orlando has quit IRC | 19:18 | |
*** cdent has joined #openstack-oslo | 19:18 | |
EmilienM | dhellmann: hey, about https://review.openstack.org/#/c/454897/ - do we want to wait for Boston to continue the work/discussions here? | 19:21 |
EmilienM | I'm curious if we could maybe write a PoC to have something to demo | 19:21 |
EmilienM | or if we would rather want to wait for Boston and discuss further | 19:22 |
dhellmann | EmilienM : I don't expect to have time to write a poc before the summit, but could probably by pike-3 | 19:22 |
dhellmann | but I'd like some feedback about the direction before starting so much refactoring work | 19:22 |
dhellmann | the replies about not wanting to mix files a config servers, for example, was a bit of a surprise | 19:23 |
dhellmann | or rather that people *would* want to do that | 19:23 |
dhellmann | and I would like to work out what to do about the mutable options stuff, since I realized that as it's currently written it will break the ability to change logging settings, since that needs an explicit triggering action to rebuild the logger hierarchy | 19:24 |
EmilienM | yeah the spec that you wrote was super useful to find eventual blockers and things to adress | 19:24 |
dhellmann | yeah, and I would like to see if we can work through those before writing too much code | 19:25 |
dhellmann | the mutability thing in particular is tricky | 19:25 |
dhellmann | I don't know if lxsli is still around to provide input on that | 19:26 |
EmilienM | ok, waiting is good | 19:26 |
dhellmann | I have no idea who, if anyone, uses it | 19:26 |
EmilienM | dhellmann: I've been trying to find a plan B (if we decide to not use etcd) without using templates | 19:27 |
dhellmann | we might be able to generate a template using the config generator | 19:27 |
EmilienM | and I haven't found anything except using config files | 19:27 |
dhellmann | we'd add a new output mode for "confd template" | 19:27 |
EmilienM | dhellmann: that's what we do in tripleo | 19:27 |
EmilienM | we use oslo config generator to generate the config and override the parameters with puppet | 19:27 |
dhellmann | oh, why isn't that in oslo.config? | 19:28 |
dhellmann | ah | 19:28 |
dhellmann | nm, I get it | 19:28 |
EmilienM | that way, we don't maintain templates and provide full config to operators | 19:28 |
EmilienM | dhellmann: let me show you the result, a sec | 19:28 |
EmilienM | dhellmann: example with nova http://logs.openstack.org/03/457603/8/check/gate-tripleo-ci-centos-7-scenario001-multinode-oooq/4696e34/logs/etc/nova/nova.conf.txt.gz | 19:28 |
EmilienM | it has all options that are possible, so operators know about them | 19:29 |
dhellmann | how do you override the values? | 19:29 |
EmilienM | dhellmann: a few years ago (in 2011 I think), we wrote a Puppet provider (ruby), that looks for the parameter in the file and change the string to be param=value | 19:29 |
dhellmann | aha | 19:29 |
EmilienM | it works well with sections and multi options | 19:30 |
dhellmann | so my idea is to have the generator write a file that can be used as input to confd | 19:30 |
EmilienM | well, it works for all uses cases in OpenStack | 19:30 |
EmilienM | ah that's a good idea too | 19:30 |
dhellmann | the problem is sometimes you don't know what sections you need in advance | 19:30 |
dhellmann | for example, cinder backends | 19:30 |
EmilienM | as long as we 1) don't maintain template 2) provide a common interface to get parameters (what bnemec is working on) | 19:30 |
EmilienM | yeah corner cases could be figured later maybe | 19:30 |
EmilienM | but I like the idea | 19:30 |
dhellmann | well, we know that's going to be an issue we'd have to solve to make it usable | 19:31 |
dhellmann | maybe something driving the config generator could feed it extra info somehow, but then we have a whole new way to specify what those things are | 19:31 |
EmilienM | so we would need to rewrite oslo config generator a bit, no? | 19:31 |
dhellmann | yeah, we would need changes | 19:32 |
dhellmann | though it becomes a sort of weird halfway tool at that point, taking *some* runtime parameters (the backend sections to create) and discovering the rest automatically | 19:33 |
dhellmann | you couldn't just run the tool and then use the output to configure cinder | 19:33 |
dhellmann | you'd have to have some of the cinder config to pass in | 19:33 |
openstackgerrit | Doug Hellmann proposed openstack/oslo.log master: add exception summaries to the main log line https://review.openstack.org/459424 | 19:40 |
*** dave-mccowan has quit IRC | 19:41 | |
*** dave-mccowan has joined #openstack-oslo | 19:42 | |
*** dave-mccowan has quit IRC | 19:48 | |
*** e0ne has joined #openstack-oslo | 19:50 | |
*** e0ne has quit IRC | 20:00 | |
*** salv-orlando has joined #openstack-oslo | 20:03 | |
*** mhickey has quit IRC | 20:08 | |
*** sambetts is now known as sambetts|afk | 20:25 | |
*** ansmith has quit IRC | 20:46 | |
*** kgiusti has left #openstack-oslo | 20:47 | |
openstackgerrit | Doug Hellmann proposed openstack/oslo.log master: add exception summaries to the main log line https://review.openstack.org/459424 | 21:17 |
openstackgerrit | Octave Orgeron proposed openstack/oslo.db master: Enable MySQL Storage Engine selection https://review.openstack.org/427970 | 21:47 |
*** salv-orl_ has joined #openstack-oslo | 21:49 | |
openstackgerrit | Octave Orgeron proposed openstack/oslo.db master: Enable MySQL Storage Engine selection https://review.openstack.org/427970 | 21:51 |
*** salv-orlando has quit IRC | 21:52 | |
*** salv-orl_ has quit IRC | 22:04 | |
*** boden has quit IRC | 22:28 | |
*** dimtruck is now known as zz_dimtruck | 22:31 | |
*** harlowja has quit IRC | 22:34 | |
*** dave-mccowan has joined #openstack-oslo | 22:34 | |
*** cdent has quit IRC | 22:47 | |
*** sdague has quit IRC | 23:11 | |
*** gordc has quit IRC | 23:15 | |
*** nicolasbock has quit IRC | 23:19 | |
*** kornicameister has quit IRC | 23:23 | |
*** kornica has joined #openstack-oslo | 23:23 | |
*** openstack has joined #openstack-oslo | 23:27 | |
*** harlowja has joined #openstack-oslo | 23:29 | |
*** dave-mccowan has quit IRC | 23:33 | |
*** hongbin has quit IRC | 23:44 | |
*** zz_dimtruck is now known as dimtruck | 23:54 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!