15:00:37 #startmeeting oslo-config-plaintext-secrets 15:00:38 Meeting started Tue Jun 26 15:00:37 2018 UTC and is due to finish in 60 minutes. The chair is raildo. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:00:39 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:00:41 The meeting name has been set to 'oslo_config_plaintext_secrets' 15:00:43 #link https://etherpad.openstack.org/p/oslo-config-plaintext-secrets 15:01:22 o/ 15:01:46 courtesy ping for dhellmann, redrobot, bnemec 15:01:52 o/ 15:01:54 \o 15:01:57 o/ 15:02:00 \o/ 15:02:24 redrobot: are you trying to dance axé? 15:02:26 o/ 15:02:36 haha, something like that moguimar 15:02:46 o/ 15:03:00 hello everyone, I think we are good to start :) 15:03:11 #topic Issues with the separate cache for external sources 15:03:51 ok, so I'm trying to implement the new cache for the driver that point for external sources 15:04:13 but I'm having problems to distinguish between a value from the external source or from the ini file at the get method over cfg 15:04:44 https://github.com/openstack/oslo.config/blob/1319cfb476ddd3c00030f088d42f4b0045f33b0a/oslo_config/cfg.py#L2940-L2952 15:05:05 looks like we will be able to get the map between source - value over https://review.openstack.org/#/c/554316/16/oslo_config/cfg.py (line 3079) 15:05:38 I think that the LocationInfo would help with that but I didn't get luck with that, someone can help me on this task? 15:05:50 it may be easier to manage that cache in a different place 15:06:27 we know that the only place we ask sources for config values is in the new _do_get() around line 3078 : https://review.openstack.org/#/c/554316/16/oslo_config/cfg.py 15:06:39 so we could add values to the new cache there 15:07:10 oh, sorry, that's the same line you pointed to :-) 15:07:18 why do you need the location info there? 15:07:26 dhellmann, yeah, that what I was trying to do 15:07:56 we know the values are coming from a source there because that's the loop where we ask the sources for values. so we don't need the location info details, right? 15:08:05 dhellmann, so, it will be easy just add the values in that source over the new cache, but I guess that we still need to double check that over the get? 15:08:07 then up in _get() we can check the separate cache 15:08:31 yeah 15:09:23 so, we can create the new cache over the _do_get() and just check if the value is over this cache in the get() method 15:09:38 ok, I'll do that :) 15:09:56 thanks dhellmann 15:10:25 #topic documentation 15:10:30 I'm always asking myself again why are we having this cache stuff 15:10:41 We have a disclaimer in the docs 15:10:51 can we add some 'why'? 15:11:19 moguimar, because we are not making this values that come from the external sources mutable 15:11:40 so, we need to make sure that we are having the proper value, if someone try to change those values later 15:11:48 that is now a why, that is a what we are doing 15:12:06 I'll dig on the meeting logs 15:12:09 we want to enforce the immutable disclaimer we have documented 15:12:24 otherwise users may have surprising behavior, because immutable options behave mutably 15:13:22 moguimar, is that more clear for you? 15:13:23 thanks dhellmann 15:13:28 yup 15:13:35 great 15:14:01 I made some updates to the docs today 15:14:08 so, about the documentation, it's just an update that moguimar sent a new patch set today (thanks Moises!) 15:14:18 #link https://review.openstack.org/#/c/576947 15:16:32 btw, for test this, you just need to run $tox -edocs and will generate the html page over the docs/build path 15:16:33 I added some sessions 15:17:00 the html is looking nice =D 15:17:28 so, reviews are appreciated :) 15:17:44 But I get what dhellmann said, we need later to separate developer/user guides 15:18:29 agreed 15:18:55 #topic Open discussion 15:19:13 that all that I have for today, anything else? 15:19:28 dhellmann: there is one comment of yours about the driver option 15:19:56 yes 15:19:56 #link https://review.openstack.org/#/c/575107/5/oslo_config/sources/_uri.py 15:19:58 this one 15:20:24 the option is not registered by the driver class, it is just there for sample generation with the specific value 15:20:35 ideally that option would match the one ConfigOpts actually uses 15:21:00 I'm using choices at ConfigOpts 15:21:06 although I like having the sample_default set to show the name of the driver for the group 15:21:07 like you suggested 15:21:32 ok, good 15:21:35 that's what I did, the sample_default points to the required value 15:21:38 ++ 15:22:16 should we move the driver name to a variable and reuse it? 15:23:03 did you move the driver_opt to list_opts()? 15:23:11 if so, there's already a variable with the name there 15:23:15 in the loop 15:24:30 enjoying the remaining minutes that we have here, redrobot do you have any updates about that we discuss in the tripleo meeting? like about HA vault, or choosing between the options for the vault backend? 15:25:56 to my calculations, we only have the cache to be done by raildo and reviews on all the other tasks 15:26:08 next week I'll be on PTO/holidays 15:26:10 moguimar, ++ 15:26:25 are we able to close Phase 0 this week? 15:26:33 I hope so :) 15:26:44 you all may be interested in this other spec from cdent: https://review.openstack.org/#/c/576860/ 15:27:14 dhellmann, thanks for pointing that, I'll review it today 15:27:28 #action all review the spec: https://review.openstack.org/#/c/576860/ 15:28:06 anything else folks? 15:28:31 not on my end, I'm only waiting for reviews now 15:29:09 if you're able to push some cache stuff today, I can review/test it tomorrow raildo 15:29:18 I will watch for the updated version of moguimar's patch and the cache work and try to review those today/tomorrow 15:29:34 I have a few meetings today, but I hope to have some free time to finish that today 15:29:47 in the worst case, I'll send a WIP patch 15:29:59 o/ 15:30:04 sorry yeah, 15:30:08 redrobot, hey :) 15:30:13 dhellmann: fastest way to do it I think is get the latest version and try the sample generator and also see the HTML docks 15:30:15 not sure what we want to talk about in this meeting vs tripleo 15:30:26 Vault open source does have HA options 15:30:30 moguimar : sure 15:30:31 redrobot, basically the same thing :) 15:30:37 but they require an ha-enabled backend 15:31:20 HA == A single master + X hot-standby nodes 15:31:30 redrobot, so, doesn't make sense to go for mysql, as ozz have suggested? 15:32:05 well, we could use mysql for storage 15:32:15 so you can actually define a separate storage backend from the ha-backend 15:32:18 vault doesn't handles storage 15:32:38 but we'd still need etcd to be the ha-backend 15:32:42 got it 15:33:01 vault is kinda in the midle to encrypt/decrypt stuff 15:33:18 I took some notes: 15:33:19 cpu and network io only probably 15:33:21 #link https://etherpad.openstack.org/p/production-vault 15:33:47 thanks redrobot, so we can dig into this notes and talk about that next week 15:34:10 moguimar, yup... with the option to have hot standby nodes. 15:34:27 exactly 15:34:28 I don't want to take more time for all of you guys :) 15:34:40 I'm cool, you can end it 15:35:08 so, have a good week everyone! 15:35:12 o/ 15:35:14 #endmeeting