Tuesday, 2017-04-25

*** dimtruck is now known as zz_dimtruck00:03
*** zz_dimtruck is now known as dimtruck00:03
*** dimtruck is now known as zz_dimtruck00:13
openstackgerritOctave Orgeron proposed openstack/oslo.db master: Enable MySQL Storage Engine selection  https://review.openstack.org/42797000:17
*** ansmith has quit IRC00:49
*** hongbin has quit IRC01:06
*** tovin07_ has joined #openstack-oslo02:15
*** gcb has joined #openstack-oslo02:24
*** yamahata_ has quit IRC02:24
*** gcb has quit IRC02:28
*** gcb has joined #openstack-oslo02:29
*** zhangguoqing has joined #openstack-oslo02:36
*** gcb has quit IRC03:00
*** tovin07 has quit IRC03:35
*** zhangguoqing has quit IRC03:53
*** syjulian has quit IRC04:06
*** nicolasbock has quit IRC04:13
*** tovin07 has joined #openstack-oslo04:14
openstackgerritMerged openstack/oslo.cache master: Check reStructuredText documents for common style issues.  https://review.openstack.org/44940604:26
*** zhangguoqing has joined #openstack-oslo04:35
*** yamahata_ has joined #openstack-oslo04:36
*** salv-orlando has joined #openstack-oslo04:45
*** salv-orlando has quit IRC04:49
*** shyama has joined #openstack-oslo04:52
*** syjulian has joined #openstack-oslo04:53
*** amotoki has joined #openstack-oslo05:14
*** zhangguoqing has quit IRC05:16
*** salv-orlando has joined #openstack-oslo05:46
*** salv-orlando has quit IRC05:51
*** syjulian has quit IRC05:55
*** salv-orlando has joined #openstack-oslo05:59
*** jaosorior_away is now known as jaosorior06:16
*** e0ne has joined #openstack-oslo06:23
*** syjulian has joined #openstack-oslo06:26
*** salv-orlando has quit IRC06:53
*** zhangguoqing has joined #openstack-oslo06:56
*** zhangguoqing has quit IRC06:57
*** zhangguoqing has joined #openstack-oslo06:59
*** zhangguo_ has joined #openstack-oslo07:00
*** zhangguoqing has quit IRC07:01
*** kornicameister has quit IRC07:03
*** e0ne has quit IRC07:09
*** lpetrut has joined #openstack-oslo07:11
*** pcaruana has joined #openstack-oslo07:32
*** beekneemech has joined #openstack-oslo07:40
*** sputnik13 has quit IRC07:41
*** jd_ has quit IRC07:41
*** ebbex has quit IRC07:41
*** bnemec has quit IRC07:41
*** jd_ has joined #openstack-oslo07:43
*** ebbex has joined #openstack-oslo07:46
*** beekneemech has quit IRC07:50
*** zzzeek has quit IRC08:00
*** zzzeek has joined #openstack-oslo08:01
*** lucas-afk is now known as lucasagomes08:13
*** lpetrut_ has joined #openstack-oslo08:24
*** lpetrut has quit IRC08:27
*** yassine has joined #openstack-oslo08:28
*** yassine is now known as Guest8536308:28
*** cdent has joined #openstack-oslo08:46
*** aarefiev_afk is now known as aarefiev08:50
*** e0ne has joined #openstack-oslo08:52
*** salv-orlando has joined #openstack-oslo08:58
*** salv-orlando has quit IRC09:03
*** sambetts|afk is now known as sambetts09:05
*** cdent has quit IRC09:24
*** salv-orlando has joined #openstack-oslo09:29
*** shardy has joined #openstack-oslo09:41
*** aarefiev has quit IRC09:43
*** mikal has quit IRC09:46
*** aarefiev has joined #openstack-oslo09:47
*** mikal has joined #openstack-oslo09:48
*** salv-orl_ has joined #openstack-oslo09:49
*** salv-orlando has quit IRC09:52
*** cdent has joined #openstack-oslo09:59
*** kornicameister has joined #openstack-oslo10:00
*** zhangguo_ has quit IRC10:04
*** salv-orl_ has quit IRC10:06
*** nicolasbock has joined #openstack-oslo10:12
*** boden has joined #openstack-oslo10:21
*** zhangguoqing has joined #openstack-oslo10:22
*** tovin07_ has quit IRC10:28
*** yamahata_ has quit IRC10:36
*** mhickey has joined #openstack-oslo10:37
*** mhickey has quit IRC10:41
*** mhickey has joined #openstack-oslo10:54
*** sdague has joined #openstack-oslo10:57
*** dave-mccowan has joined #openstack-oslo11:26
*** zhangguoqing has quit IRC11:26
*** zhangguoqing has joined #openstack-oslo11:27
*** kornicameister has quit IRC11:28
*** Guest85363 has quit IRC11:32
*** Guest85363 has joined #openstack-oslo11:33
*** dave-mccowan has quit IRC11:41
*** pcaruana has quit IRC11:51
*** lucasagomes is now known as lucas-hungry11:52
*** pcaruana has joined #openstack-oslo11:56
*** dave-mccowan has joined #openstack-oslo12:07
*** kornicameister has joined #openstack-oslo12:09
*** pblaho has quit IRC12:10
openstackgerritMerged openstack/oslo.messaging master: [AMQP 1.0] Add default SASL realm setting  https://review.openstack.org/45671912:30
*** cdent has quit IRC12:34
*** ansmith has joined #openstack-oslo12:43
*** pcaruana has quit IRC12:50
*** lucas-hungry is now known as lucasagomes12:50
*** pcaruana has joined #openstack-oslo12:53
openstackgerritMerged openstack/oslo.cache master: Remove unused/duplicated logging import  https://review.openstack.org/43527113:06
openstackgerritDoug Hellmann proposed openstack/oslo.log master: add exception summaries to the main log line  https://review.openstack.org/45942413:16
*** gordc has joined #openstack-oslo13:17
*** Guest85363 has quit IRC13:24
*** Guest85363 has joined #openstack-oslo13:25
*** pcaruana has quit IRC13:43
*** pcaruana has joined #openstack-oslo13:55
*** cdent has joined #openstack-oslo13:55
*** pblaho has joined #openstack-oslo14:11
*** yamahata_ has joined #openstack-oslo14:13
*** bnemec has joined #openstack-oslo14:14
*** shyama has quit IRC14:17
*** zhangguoqing has quit IRC14:21
*** zhangguoqing has joined #openstack-oslo14:22
*** efried has joined #openstack-oslo14:23
efrieddhellmann 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
efriedAlso tried advanced=True, and that message isn't showing up either.14:24
*** zhangguoqing has quit IRC14:26
dhellmannefried : can you share your sample script in a pastebin?14:28
dhellmannefried : I think the advanced stuff is for the sample generator?14:28
efrieddhellmann Yeah, I'm clearly not looking at the right source.  Stand by.14:29
efrieddhellmann https://pastebin.com/7Stpmj3W14:30
dhellmannok, let me poke it a bit locally14:30
efrieddhellmann And here's my conf:14:30
efriedhttps://pastebin.com/PHBp6UAA14:30
dhellmannefried : and how are you running the script?14:33
efrieddhellmann   python cfgtest.py --config-file tmp/f.conf14:33
dhellmannk14:34
efriedI know it's finding the file cause it's printing out '2'14:34
efriedtook me a while to get to that point ;-)14:34
*** zz_dimtruck is now known as dimtruck14:34
dhellmannefried : ok, I don't see any code trying to print the deprecation reason14:36
dhellmannI do see the sample generator using that value14:36
dhellmannwe could enhance oslo.config to print that data, too14:36
efrieddhellmann I thought I saw it in generator.py, but it's not the right message format.14:36
dhellmannwell, the generator code is only used when you're building a sample config file, it's not used at runtime14:36
*** zhangguoqing has joined #openstack-oslo14:36
efriedokay.14:37
efriedWhere'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
dhellmannwhen I run the program as you describe I do get a log message warning me that test from mygroup is deprecated for removal14:37
efriedI tried grepping through all of oslo_config and couldn't find that guy.14:37
*** zhangguoqing has quit IRC14:37
dhellmannthat's in oslo_config/cfg.py around line 95514:38
dhellmannyou probably couldn't find it because the message isn't all on one line14:38
*** lpetrut_ has quit IRC14:38
dhellmannyou could enhance that message to add the reason text, if there is reason text14:38
efrieddhellmann Yup.  Was trying various line-split permutations, but hadn't hit that one yet ;-)14:38
efrieddhellmann 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
dhellmannlet me see if I can get it to include the reason14:39
efrieddhellmann 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
dhellmannefried : we don't need a bug (the oslo team isn't quite so strict about tracking this sort of thing)14:42
dhellmanna patch would go through review.openstack.org14:42
dhellmannI'm working on that now14:42
efriedNeat, thanks.14:42
efrieddhellmann I'm also not seeing any result of setting advanced=True14:43
efriedWhich 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
dhellmanna lot of these annotation options are really only useful for the sample generator14:44
dhellmannthat one means "you probably don't need to set this"14:44
efriedOkay.  Maybe I missed it, but are they documented as such?14:46
dhellmannprobably not14:47
dhellmannit would be useful to annotate the values that are only used that way, though14:48
dhellmannI think when we were adding them, we weren't considering how it might be confusing like this :-/14:48
efriedIf we're documenting, something that would have saved me some time is how to actually load a config file.14:49
efriedThe part about doing CONF(argv[1:]) where argv contains --config-file /path/to/file.conf14:49
efriedI wound up figuring that out by looking at the nova-compute source.14:50
*** hongbin has joined #openstack-oslo15:02
openstackgerritDoug Hellmann proposed openstack/oslo.config master: add deprecation_reason to log message  https://review.openstack.org/45973615:02
dhellmannefried : ^^15:03
dhellmannefried : you don't have to explicitly give the path unless the file is not in the expected location15:03
efrieddhellmann Okay.  But the CONF(argv[1:]) thing and the --config-file thing.15:04
dhellmannefried : https://docs.openstack.org/developer/oslo.config/cfg.html#loading-config-files15:05
efrieddhellmann Right - that doc was frustrating for me.  I don't know what "the config manager has two CLI options" means15:06
efriedI.e. what's "the config manager" in that case?15:06
efriedoh, now I see the argv thing.15:06
dhellmannthe ConfigOpts instance is the "config manager"15:06
efriedOkay.  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 IRC15:07
*** salv-orlando has joined #openstack-oslo15:10
dhellmannhmm15:12
dhellmannwhat additional information would have helped?15:12
dhellmannwe probably want an end-to-end tutorial somewhere15:13
dhellmannwe have a lot of the parts, but I'm not sure they're necessarily in order15:13
dhellmannefried : 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
dhellmanni.e., if you can help outline some intro material that would be useful, I can help fill in the details15:14
*** salv-orlando has quit IRC15:15
efrieddhellmann Okay, sure.15:17
dhellmannefried : maybe after the summit though? the next couple of weeks are going to be pretty busy :-)15:18
efriedWhat would have been useful for me is a 1-2-3 "Getting Started" / "Playing Around" tutorial.15:18
efriedSure.  Maybe I can send you an email?15:19
dhellmannefried : sure doug@doughellmann.com15:19
efrieddhellmann Roger wilco.  And thanks!15:19
dhellmannthanks for agreeing to help!15:19
*** ansmith has joined #openstack-oslo15:23
*** shardy is now known as shardy_afk15:25
*** pblaho has quit IRC15:36
*** zhangguoqing has joined #openstack-oslo15:45
*** zhangguoqing has quit IRC15:46
*** shardy_afk is now known as shardy15:49
openstackgerritDoug Hellmann proposed openstack/oslo.log master: add exception summaries to the main log line  https://review.openstack.org/45942415:50
*** e0ne has quit IRC15:52
*** mhickey has quit IRC16:03
*** pblaho has joined #openstack-oslo16:03
*** lucasagomes is now known as lucas-afk16:27
*** amotoki has quit IRC16:34
*** zhangguoqing has joined #openstack-oslo16:35
*** zhangguoqing has quit IRC16:37
*** pcaruana has quit IRC16:39
*** browne has joined #openstack-oslo17:10
openstackgerritmelanie witt proposed openstack/oslo.service master: Add min_interval to BackOffLoopingCall  https://review.openstack.org/45979017:10
*** salv-orlando has joined #openstack-oslo17:12
openstackgerritmelanie witt proposed openstack/oslo.service master: Add min_interval to BackOffLoopingCall  https://review.openstack.org/45979017:14
*** salv-orlando has quit IRC17:16
*** oomichi has joined #openstack-oslo17:17
*** yamahata_ has quit IRC17:18
*** zhangguoqing has joined #openstack-oslo17:19
*** jaosorior is now known as jaosorior_away17:19
*** zhangguoqing has quit IRC17:20
*** yamahata_ has joined #openstack-oslo17:39
*** mhickey has joined #openstack-oslo17:41
openstackgerritDoug Hellmann proposed openstack/oslo.log master: add exception summaries to the main log line  https://review.openstack.org/45942418:10
*** shardy has quit IRC18:36
*** salv-orlando has joined #openstack-oslo19:13
*** cdent has quit IRC19:17
*** salv-orlando has quit IRC19:18
*** cdent has joined #openstack-oslo19:18
EmilienMdhellmann: hey, about https://review.openstack.org/#/c/454897/ - do we want to wait for Boston to continue the work/discussions here?19:21
EmilienMI'm curious if we could maybe write a PoC to have something to demo19:21
EmilienMor if we would rather want to wait for Boston and discuss further19:22
dhellmannEmilienM : I don't expect to have time to write a poc before the summit, but could probably by pike-319:22
dhellmannbut I'd like some feedback about the direction before starting so much refactoring work19:22
dhellmannthe replies about not wanting to mix files a config servers, for example, was a bit of a surprise19:23
dhellmannor rather that people *would* want to do that19:23
dhellmannand 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 hierarchy19:24
EmilienMyeah the spec that you wrote was super useful to find eventual blockers and things to adress19:24
dhellmannyeah, and I would like to see if we can work through those before writing too much code19:25
dhellmannthe mutability thing in particular is tricky19:25
dhellmannI don't know if lxsli is still around to provide input on that19:26
EmilienMok, waiting is good19:26
dhellmannI have no idea who, if anyone, uses it19:26
EmilienMdhellmann: I've been trying to find a plan B (if we decide to not use etcd) without using templates19:27
dhellmannwe might be able to generate a template using the config generator19:27
EmilienMand I haven't found anything except using config files19:27
dhellmannwe'd add a new output mode for "confd template"19:27
EmilienMdhellmann: that's what we do in tripleo19:27
EmilienMwe use oslo config generator to generate the config and override the parameters with puppet19:27
dhellmannoh, why isn't that in oslo.config?19:28
dhellmannah19:28
dhellmannnm, I get it19:28
EmilienMthat way, we don't maintain templates and provide full config to operators19:28
EmilienMdhellmann: let me show you the result, a sec19:28
EmilienMdhellmann: 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.gz19:28
EmilienMit has all options that are possible, so operators know about them19:29
dhellmannhow do you override the values?19:29
EmilienMdhellmann: 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=value19:29
dhellmannaha19:29
EmilienMit works well with sections and multi options19:30
dhellmannso my idea is to have the generator write a file that can be used as input to confd19:30
EmilienMwell, it works for all uses cases in OpenStack19:30
EmilienMah that's a good idea too19:30
dhellmannthe problem is sometimes you don't know what sections you need in advance19:30
dhellmannfor example, cinder backends19:30
EmilienMas long as we 1) don't maintain template 2) provide a common interface to get parameters (what bnemec is working on)19:30
EmilienMyeah corner cases could be figured later maybe19:30
EmilienMbut I like the idea19:30
dhellmannwell, we know that's going to be an issue we'd have to solve to make it usable19:31
dhellmannmaybe something driving the config generator could feed it extra info somehow, but then we have a whole new way to specify what those things are19:31
EmilienMso we would need to rewrite oslo config generator a bit, no?19:31
dhellmannyeah, we would need changes19:32
dhellmannthough it becomes a sort of weird halfway tool at that point, taking *some* runtime parameters (the backend sections to create) and discovering the rest automatically19:33
dhellmannyou couldn't just run the tool and then use the output to configure cinder19:33
dhellmannyou'd have to have some of the cinder config to pass in19:33
openstackgerritDoug Hellmann proposed openstack/oslo.log master: add exception summaries to the main log line  https://review.openstack.org/45942419:40
*** dave-mccowan has quit IRC19:41
*** dave-mccowan has joined #openstack-oslo19:42
*** dave-mccowan has quit IRC19:48
*** e0ne has joined #openstack-oslo19:50
*** e0ne has quit IRC20:00
*** salv-orlando has joined #openstack-oslo20:03
*** mhickey has quit IRC20:08
*** sambetts is now known as sambetts|afk20:25
*** ansmith has quit IRC20:46
*** kgiusti has left #openstack-oslo20:47
openstackgerritDoug Hellmann proposed openstack/oslo.log master: add exception summaries to the main log line  https://review.openstack.org/45942421:17
openstackgerritOctave Orgeron proposed openstack/oslo.db master: Enable MySQL Storage Engine selection  https://review.openstack.org/42797021:47
*** salv-orl_ has joined #openstack-oslo21:49
openstackgerritOctave Orgeron proposed openstack/oslo.db master: Enable MySQL Storage Engine selection  https://review.openstack.org/42797021:51
*** salv-orlando has quit IRC21:52
*** salv-orl_ has quit IRC22:04
*** boden has quit IRC22:28
*** dimtruck is now known as zz_dimtruck22:31
*** harlowja has quit IRC22:34
*** dave-mccowan has joined #openstack-oslo22:34
*** cdent has quit IRC22:47
*** sdague has quit IRC23:11
*** gordc has quit IRC23:15
*** nicolasbock has quit IRC23:19
*** kornicameister has quit IRC23:23
*** kornica has joined #openstack-oslo23:23
*** openstack has joined #openstack-oslo23:27
*** harlowja has joined #openstack-oslo23:29
*** dave-mccowan has quit IRC23:33
*** hongbin has quit IRC23:44
*** zz_dimtruck is now known as dimtruck23:54

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!