| *** lbragstad has joined #openstack-oslo | 00:45 | |
| *** lbragstad has quit IRC | 00:57 | |
| *** njohnston has quit IRC | 01:48 | |
| *** jhesketh has joined #openstack-oslo | 02:12 | |
| *** rcernin has quit IRC | 04:47 | |
| *** rcernin has joined #openstack-oslo | 05:02 | |
| *** rcernin has quit IRC | 06:03 | |
| *** jbadiapa has quit IRC | 06:07 | |
| *** rcernin has joined #openstack-oslo | 06:47 | |
| *** rcernin has quit IRC | 06:47 | |
| *** rcernin has joined #openstack-oslo | 06:48 | |
| *** jbadiapa has joined #openstack-oslo | 07:14 | |
| *** e0ne has joined #openstack-oslo | 07:17 | |
| *** e0ne has quit IRC | 07:19 | |
| *** pcaruana has joined #openstack-oslo | 07:20 | |
| *** rcernin has quit IRC | 07:48 | |
| *** tosky has joined #openstack-oslo | 08:04 | |
| *** rcernin has joined #openstack-oslo | 08:05 | |
| *** hberaud|gone is now known as hberaud | 08:06 | |
| *** iurygregory_ has joined #openstack-oslo | 08:10 | |
| *** iurygregory has quit IRC | 08:12 | |
| *** iurygregory_ is now known as iurygregory | 08:12 | |
| *** oanson has quit IRC | 09:10 | |
| *** snapiri has quit IRC | 09:10 | |
| *** snapiri has joined #openstack-oslo | 09:18 | |
| *** shachar has joined #openstack-oslo | 09:21 | |
| *** snapiri has quit IRC | 09:22 | |
| *** oanson has joined #openstack-oslo | 09:41 | |
| *** e0ne has joined #openstack-oslo | 09:47 | |
| *** lpetrut has joined #openstack-oslo | 09:54 | |
| *** a-pugachev has joined #openstack-oslo | 10:04 | |
| *** melwitt has quit IRC | 10:26 | |
| *** e0ne has quit IRC | 10:31 | |
| *** melwitt has joined #openstack-oslo | 10:32 | |
| *** e0ne has joined #openstack-oslo | 10:36 | |
| *** hoonetorg has quit IRC | 10:39 | |
| *** hoonetorg has joined #openstack-oslo | 10:52 | |
| *** ansmith_ has quit IRC | 10:55 | |
| *** e0ne has quit IRC | 10:58 | |
| *** e0ne has joined #openstack-oslo | 11:05 | |
| *** njohnston_ has joined #openstack-oslo | 11:06 | |
| *** hberaud has quit IRC | 11:31 | |
| *** hberaud has joined #openstack-oslo | 11:36 | |
| *** hberaud has quit IRC | 11:46 | |
| *** hberaud has joined #openstack-oslo | 11:49 | |
| *** hberaud is now known as hberaud|lunch | 12:17 | |
| *** lbragstad has joined #openstack-oslo | 12:30 | |
| *** kgiusti has joined #openstack-oslo | 12:40 | |
| *** ansmith has joined #openstack-oslo | 12:40 | |
| *** e0ne has quit IRC | 12:41 | |
| *** e0ne has joined #openstack-oslo | 12:43 | |
| *** lbragstad has quit IRC | 12:49 | |
| *** raildo has joined #openstack-oslo | 12:52 | |
| *** lbragstad has joined #openstack-oslo | 13:02 | |
| openstackgerrit | Jan Vondra proposed openstack/oslo.log master: Added cmdline information into fluentFormatter event message https://review.openstack.org/648393 | 13:02 |
|---|---|---|
| *** Luzi has joined #openstack-oslo | 13:03 | |
| *** lbragstad has quit IRC | 13:07 | |
| openstackgerrit | Natal Ngétal proposed openstack-dev/pbr master: Add python3.7 job on Stein+ https://review.openstack.org/610659 | 13:14 |
| *** lbragstad has joined #openstack-oslo | 13:17 | |
| *** jhesketh has quit IRC | 13:18 | |
| *** hberaud|lunch is now known as hberaud | 13:19 | |
| *** e0ne has quit IRC | 13:20 | |
| *** lpetrut has quit IRC | 13:25 | |
| *** a-pugachev has quit IRC | 14:10 | |
| *** yan0s has joined #openstack-oslo | 14:37 | |
| *** e0ne has joined #openstack-oslo | 14:38 | |
| *** e0ne has quit IRC | 15:14 | |
| *** smcginnis has joined #openstack-oslo | 15:16 | |
| *** e0ne has joined #openstack-oslo | 15:20 | |
| smcginnis | Can anyone give me pointers on how to get the config_dir that will be used to load policy_file? | 15:20 |
| smcginnis | I'm trying to write an upgrade checker that looks for CONF.oslo_policy.policy_file. That defaults to just "policy.yaml" in Cinder. | 15:21 |
| smcginnis | I would like to fine the config dir where the running code will actually read from, but using oslo.config file_file isn't finding anything and it looks like the config_dirs is empty when run from the checker. | 15:22 |
| smcginnis | Just need to see if it's going to be /etc/cinder/policy.yaml or /i/decided/to/put/it/here/policy.yaml. | 15:22 |
| *** Luzi has quit IRC | 15:25 | |
| bnemec | Heh, we're having a related discussion about policy files in #keystone right now. | 15:27 |
| smcginnis | Hah, so not just me? | 15:27 |
| bnemec | I _think_ it probably defaults to the same location as the cinder.conf file, but I mostly say that because it would be the sane behavior. | 15:28 |
| smcginnis | That is what I would expect. | 15:28 |
| *** jhesketh has joined #openstack-oslo | 15:28 | |
| smcginnis | But I'm not clear on where I can discover that location. | 15:28 |
| smcginnis | I would have expected to be able to get it through cfg.find_config_dirs(project='cinder') | 15:30 |
| smcginnis | But that returns [] | 15:30 |
| *** jhesketh has quit IRC | 15:34 | |
| *** kgiusti has left #openstack-oslo | 15:35 | |
| *** hberaud has quit IRC | 15:36 | |
| *** hberaud has joined #openstack-oslo | 15:37 | |
| *** hberaud has quit IRC | 15:39 | |
| *** hberaud has joined #openstack-oslo | 15:39 | |
| smcginnis | bnemec: Any ideas on that? ^ | 15:40 |
| *** e0ne has quit IRC | 15:40 | |
| *** hberaud has quit IRC | 15:40 | |
| smcginnis | I feel like I'm probably just missing some initialization step. | 15:40 |
| *** hberaud has joined #openstack-oslo | 15:41 | |
| hberaud | kmalloc: hey | 15:49 |
| bnemec | smcginnis: When you run find_config_dirs, does /etc/cinder exist on that system? | 15:49 |
| hberaud | kmalloc: are you around? | 15:49 |
| bnemec | It looks like oslo.config will only return paths that exist. | 15:49 |
| smcginnis | bnemec: Yes, it's there. I noticed there is not a policy file though. | 15:50 |
| *** a-pugachev has joined #openstack-oslo | 15:51 | |
| smcginnis | bnemec: OK, checking config_dirs still returns [], but with the policy.yaml file there find_file does work. | 15:53 |
| kmalloc | Hey | 15:54 |
| kmalloc | hberaud: I am here. | 15:54 |
| smcginnis | Which is a little tricky, because the thing I'm trying to do is check if they have a policy.json file present when their config specifies a policy.yaml file. | 15:54 |
| bnemec | smcginnis: Oh, find_config_dirs may only return the .d paths for if you want to use multiple separate config files. | 15:55 |
| bnemec | https://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py#L337 | 15:55 |
| smcginnis | I suppose I can do CONF.find_file('cinder.conf') and use the basedir to then look for the policy.json file. | 15:56 |
| hberaud | kmalloc: I did some tests with pymemcache and data storage format between python-memcached and pymemcache and pymemcache provide a special serializer to deal with the python-memcached format | 15:56 |
| kmalloc | Yeah I saw. | 15:57 |
| hberaud | kmalloc: I've pushed my changes https://review.openstack.org/#/c/634457/ and I guess we are ok | 15:57 |
| kmalloc | I can unblock and will test locally today | 15:57 |
| kmalloc | :) | 15:57 |
| kmalloc | Good job! | 15:57 |
| smcginnis | bnemec: Yeah, looks like that will work. The only way they can have their policy file somewhere other than the cinder.conf file is if they set policy_file to a full path, right? | 15:57 |
| hberaud | can you retry on your side before | 15:57 |
| bnemec | smcginnis: Could you do find_config_files(extension='.yaml') and see if policy.yaml is in the results? | 15:57 |
| hberaud | kmalloc: thanks :) | 15:57 |
| kmalloc | Yep, will confirm, but it looks good at a glance. | 15:57 |
| hberaud | kmalloc: nice | 15:58 |
| smcginnis | bnemec: Hmm, I'll have to look into that. Right now I get no such option find_config_files in group [DEFAULT], but I can track that down. | 15:59 |
| smcginnis | bnemec: Thanks for the pointers. I think I have enough to go on for now. | 16:00 |
| smcginnis | And a meeting. :) | 16:00 |
| bnemec | Sounds good. Let us know if you run into any issues. | 16:00 |
| smcginnis | Thanks! | 16:00 |
| *** jbadiapa has quit IRC | 16:02 | |
| *** yan0s has quit IRC | 16:15 | |
| *** e0ne has joined #openstack-oslo | 16:27 | |
| *** hberaud is now known as hberaud|gone | 16:30 | |
| *** smcginnis is now known as smcginnis_pto | 16:48 | |
| *** e0ne has quit IRC | 17:07 | |
| *** e0ne has joined #openstack-oslo | 17:08 | |
| *** e0ne has quit IRC | 17:17 | |
| *** e0ne has joined #openstack-oslo | 17:21 | |
| *** a-pugachev has quit IRC | 17:37 | |
| *** e0ne has quit IRC | 17:45 | |
| *** jbadiapa has joined #openstack-oslo | 17:54 | |
| *** e0ne has joined #openstack-oslo | 19:33 | |
| *** rcernin has quit IRC | 19:36 | |
| *** efried has joined #openstack-oslo | 19:57 | |
| efried | o/ hello oslo | 19:57 |
| efried | I have discovered that my test case sleeps in oslo_messaging._drivers.impl_fake.FakeListener.poll | 19:58 |
| efried | a) is there a reason a fake listener needs to do real sleeps? | 19:59 |
| efried | b) what's the accepted way for me to mock this out or otherwise make it... not do that? | 19:59 |
| *** e0ne has quit IRC | 20:00 | |
| efried | (I have learned my lesson mocking private things from oslo libs in the past, so that's right out like five) | 20:01 |
| *** pcaruana has quit IRC | 20:08 | |
| *** efried has quit IRC | 20:22 | |
| *** efried has joined #openstack-oslo | 20:26 | |
| *** ansmith has quit IRC | 20:29 | |
| openstackgerrit | Cyril Roelandt proposed openstack/oslo.middleware master: Do not use the deprecated best_match() method https://review.openstack.org/645348 | 20:36 |
| *** efried has quit IRC | 20:44 | |
| *** raildo has quit IRC | 21:03 | |
| *** ansmith has joined #openstack-oslo | 21:06 | |
| *** openstackgerrit has quit IRC | 21:07 | |
| bnemec | ansmith: Any thoughts on the fake driver having real sleeps? ^ | 21:08 |
| *** rcernin has joined #openstack-oslo | 21:44 | |
| *** efried has joined #openstack-oslo | 21:51 | |
| kmalloc | hberaud|gone: FYI was getting an RC bug fixed in keystone, will explciitly test oslo.cache fix tomorrow. | 21:54 |
| *** rcernin has quit IRC | 21:55 | |
| *** rcernin has joined #openstack-oslo | 22:04 | |
| *** a-pugachev has joined #openstack-oslo | 22:19 | |
| *** a-pugachev has quit IRC | 22:23 | |
| *** a-pugachev has joined #openstack-oslo | 22:24 | |
| *** a-pugachev has quit IRC | 22:42 | |
| *** openstackgerrit has joined #openstack-oslo | 23:29 | |
| openstackgerrit | Nick Maludy proposed openstack/tooz master: Adds heartbeating to the consul driver. Also fixes a bug with the log warning level for the tenacity library. https://review.openstack.org/648557 | 23:29 |
| *** jhesketh has joined #openstack-oslo | 23:58 | |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!