Thursday, 2019-03-28

*** lbragstad has joined #openstack-oslo00:45
*** lbragstad has quit IRC00:57
*** njohnston has quit IRC01:48
*** jhesketh has joined #openstack-oslo02:12
*** rcernin has quit IRC04:47
*** rcernin has joined #openstack-oslo05:02
*** rcernin has quit IRC06:03
*** jbadiapa has quit IRC06:07
*** rcernin has joined #openstack-oslo06:47
*** rcernin has quit IRC06:47
*** rcernin has joined #openstack-oslo06:48
*** jbadiapa has joined #openstack-oslo07:14
*** e0ne has joined #openstack-oslo07:17
*** e0ne has quit IRC07:19
*** pcaruana has joined #openstack-oslo07:20
*** rcernin has quit IRC07:48
*** tosky has joined #openstack-oslo08:04
*** rcernin has joined #openstack-oslo08:05
*** hberaud|gone is now known as hberaud08:06
*** iurygregory_ has joined #openstack-oslo08:10
*** iurygregory has quit IRC08:12
*** iurygregory_ is now known as iurygregory08:12
*** oanson has quit IRC09:10
*** snapiri has quit IRC09:10
*** snapiri has joined #openstack-oslo09:18
*** shachar has joined #openstack-oslo09:21
*** snapiri has quit IRC09:22
*** oanson has joined #openstack-oslo09:41
*** e0ne has joined #openstack-oslo09:47
*** lpetrut has joined #openstack-oslo09:54
*** a-pugachev has joined #openstack-oslo10:04
*** melwitt has quit IRC10:26
*** e0ne has quit IRC10:31
*** melwitt has joined #openstack-oslo10:32
*** e0ne has joined #openstack-oslo10:36
*** hoonetorg has quit IRC10:39
*** hoonetorg has joined #openstack-oslo10:52
*** ansmith_ has quit IRC10:55
*** e0ne has quit IRC10:58
*** e0ne has joined #openstack-oslo11:05
*** njohnston_ has joined #openstack-oslo11:06
*** hberaud has quit IRC11:31
*** hberaud has joined #openstack-oslo11:36
*** hberaud has quit IRC11:46
*** hberaud has joined #openstack-oslo11:49
*** hberaud is now known as hberaud|lunch12:17
*** lbragstad has joined #openstack-oslo12:30
*** kgiusti has joined #openstack-oslo12:40
*** ansmith has joined #openstack-oslo12:40
*** e0ne has quit IRC12:41
*** e0ne has joined #openstack-oslo12:43
*** lbragstad has quit IRC12:49
*** raildo has joined #openstack-oslo12:52
*** lbragstad has joined #openstack-oslo13:02
openstackgerritJan Vondra proposed openstack/oslo.log master: Added cmdline information into fluentFormatter event message  https://review.openstack.org/64839313:02
*** Luzi has joined #openstack-oslo13:03
*** lbragstad has quit IRC13:07
openstackgerritNatal Ngétal proposed openstack-dev/pbr master: Add python3.7 job on Stein+  https://review.openstack.org/61065913:14
*** lbragstad has joined #openstack-oslo13:17
*** jhesketh has quit IRC13:18
*** hberaud|lunch is now known as hberaud13:19
*** e0ne has quit IRC13:20
*** lpetrut has quit IRC13:25
*** a-pugachev has quit IRC14:10
*** yan0s has joined #openstack-oslo14:37
*** e0ne has joined #openstack-oslo14:38
*** e0ne has quit IRC15:14
*** smcginnis has joined #openstack-oslo15:16
*** e0ne has joined #openstack-oslo15:20
smcginnisCan anyone give me pointers on how to get the config_dir that will be used to load policy_file?15:20
smcginnisI'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
smcginnisI 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
smcginnisJust 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 IRC15:25
bnemecHeh, we're having a related discussion about policy files in #keystone right now.15:27
smcginnisHah, so not just me?15:27
bnemecI _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
smcginnisThat is what I would expect.15:28
*** jhesketh has joined #openstack-oslo15:28
smcginnisBut I'm not clear on where I can discover that location.15:28
smcginnisI would have expected to be able to get it through cfg.find_config_dirs(project='cinder')15:30
smcginnisBut that returns []15:30
*** jhesketh has quit IRC15:34
*** kgiusti has left #openstack-oslo15:35
*** hberaud has quit IRC15:36
*** hberaud has joined #openstack-oslo15:37
*** hberaud has quit IRC15:39
*** hberaud has joined #openstack-oslo15:39
smcginnisbnemec: Any ideas on that? ^15:40
*** e0ne has quit IRC15:40
*** hberaud has quit IRC15:40
smcginnisI feel like I'm probably just missing some initialization step.15:40
*** hberaud has joined #openstack-oslo15:41
hberaudkmalloc: hey15:49
bnemecsmcginnis: When you run find_config_dirs, does /etc/cinder exist on that system?15:49
hberaudkmalloc: are you around?15:49
bnemecIt looks like oslo.config will only return paths that exist.15:49
smcginnisbnemec: Yes, it's there. I noticed there is not a policy file though.15:50
*** a-pugachev has joined #openstack-oslo15:51
smcginnisbnemec: OK, checking config_dirs still returns [], but with the policy.yaml file there find_file does work.15:53
kmallocHey15:54
kmallochberaud: I am here.15:54
smcginnisWhich 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
bnemecsmcginnis: Oh, find_config_dirs may only return the .d paths for if you want to use multiple separate config files.15:55
bnemechttps://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py#L33715:55
smcginnisI suppose I can do CONF.find_file('cinder.conf') and use the basedir to then look for the policy.json file.15:56
hberaudkmalloc: 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 format15:56
kmallocYeah I saw.15:57
hberaudkmalloc: I've pushed my changes https://review.openstack.org/#/c/634457/ and I guess we are ok15:57
kmallocI can unblock and will test locally today15:57
kmalloc:)15:57
kmallocGood job!15:57
smcginnisbnemec: 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
hberaudcan you retry on your side before15:57
bnemecsmcginnis: Could you do find_config_files(extension='.yaml') and see if policy.yaml is in the results?15:57
hberaudkmalloc: thanks :)15:57
kmallocYep, will confirm, but it looks good at a glance.15:57
hberaudkmalloc: nice15:58
smcginnisbnemec: 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
smcginnisbnemec: Thanks for the pointers. I think I have enough to go on for now.16:00
smcginnisAnd a meeting. :)16:00
bnemecSounds good. Let us know if you run into any issues.16:00
smcginnisThanks!16:00
*** jbadiapa has quit IRC16:02
*** yan0s has quit IRC16:15
*** e0ne has joined #openstack-oslo16:27
*** hberaud is now known as hberaud|gone16:30
*** smcginnis is now known as smcginnis_pto16:48
*** e0ne has quit IRC17:07
*** e0ne has joined #openstack-oslo17:08
*** e0ne has quit IRC17:17
*** e0ne has joined #openstack-oslo17:21
*** a-pugachev has quit IRC17:37
*** e0ne has quit IRC17:45
*** jbadiapa has joined #openstack-oslo17:54
*** e0ne has joined #openstack-oslo19:33
*** rcernin has quit IRC19:36
*** efried has joined #openstack-oslo19:57
efriedo/ hello oslo19:57
efriedI have discovered that my test case sleeps in oslo_messaging._drivers.impl_fake.FakeListener.poll19:58
efrieda) is there a reason a fake listener needs to do real sleeps?19:59
efriedb) what's the accepted way for me to mock this out or otherwise make it... not do that?19:59
*** e0ne has quit IRC20: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 IRC20:08
*** efried has quit IRC20:22
*** efried has joined #openstack-oslo20:26
*** ansmith has quit IRC20:29
openstackgerritCyril Roelandt proposed openstack/oslo.middleware master: Do not use the deprecated best_match() method  https://review.openstack.org/64534820:36
*** efried has quit IRC20:44
*** raildo has quit IRC21:03
*** ansmith has joined #openstack-oslo21:06
*** openstackgerrit has quit IRC21:07
bnemecansmith: Any thoughts on the fake driver having real sleeps? ^21:08
*** rcernin has joined #openstack-oslo21:44
*** efried has joined #openstack-oslo21:51
kmallochberaud|gone: FYI was getting an RC bug fixed in keystone, will explciitly test oslo.cache fix tomorrow.21:54
*** rcernin has quit IRC21:55
*** rcernin has joined #openstack-oslo22:04
*** a-pugachev has joined #openstack-oslo22:19
*** a-pugachev has quit IRC22:23
*** a-pugachev has joined #openstack-oslo22:24
*** a-pugachev has quit IRC22:42
*** openstackgerrit has joined #openstack-oslo23:29
openstackgerritNick 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/64855723:29
*** jhesketh has joined #openstack-oslo23:58

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