Tuesday, 2018-04-24

*** pcaruana has quit IRC00:02
*** chyka has quit IRC00:11
*** rmascena__ has quit IRC00:25
*** wanghao has joined #openstack-meeting-300:30
*** tonyb has quit IRC00:33
*** bobmel has joined #openstack-meeting-300:33
*** tonyb has joined #openstack-meeting-300:35
*** wanghao has quit IRC00:35
*** wanghao has joined #openstack-meeting-300:35
*** bobmel has quit IRC00:38
*** wanghao has quit IRC00:39
*** wanghao has joined #openstack-meeting-300:40
*** wanghao has quit IRC00:40
*** wanghao has joined #openstack-meeting-300:41
*** spzala has joined #openstack-meeting-300:49
*** wanghao_ has joined #openstack-meeting-300:58
*** wanghao has quit IRC01:01
*** wanghao_ has quit IRC01:01
*** wanghao has joined #openstack-meeting-301:02
*** wanghao has quit IRC01:09
*** wanghao has joined #openstack-meeting-301:10
*** jamesmcarthur has joined #openstack-meeting-301:11
*** julim has joined #openstack-meeting-301:12
*** wanghao has quit IRC01:12
*** wanghao has joined #openstack-meeting-301:12
*** spzala has quit IRC01:13
*** julim has quit IRC01:14
*** wanghao has quit IRC01:20
*** wanghao has joined #openstack-meeting-301:21
*** yamahata has quit IRC01:26
*** wanghao has quit IRC01:28
*** salv-orl_ has joined #openstack-meeting-301:28
*** wanghao has joined #openstack-meeting-301:29
*** salv-orlando has quit IRC01:31
*** hongbin_ has joined #openstack-meeting-301:32
*** wanghao has quit IRC01:32
*** wanghao has joined #openstack-meeting-301:33
*** jamesmcarthur has quit IRC01:40
*** wanghao has quit IRC01:41
*** wanghao has joined #openstack-meeting-301:42
*** wanghao has quit IRC01:45
*** wanghao has joined #openstack-meeting-301:46
*** spzala has joined #openstack-meeting-301:52
*** wanghao has quit IRC01:52
*** wanghao has joined #openstack-meeting-301:52
*** spzala has quit IRC01:57
*** wanghao has quit IRC01:58
*** wanghao has joined #openstack-meeting-301:59
*** jamesmcarthur has joined #openstack-meeting-301:59
*** wanghao has quit IRC02:02
*** wanghao has joined #openstack-meeting-302:02
*** zhipeng has joined #openstack-meeting-302:03
*** wanghao has quit IRC02:03
*** wanghao has joined #openstack-meeting-302:04
*** jamesmcarthur has quit IRC02:04
*** wanghao has quit IRC02:04
*** jamesmcarthur has joined #openstack-meeting-302:05
*** wanghao has joined #openstack-meeting-302:05
*** wanghao has quit IRC02:08
*** wanghao has joined #openstack-meeting-302:09
*** wanghao has quit IRC02:10
*** wanghao has joined #openstack-meeting-302:11
*** wanghao has quit IRC02:11
*** wanghao has joined #openstack-meeting-302:12
*** zhipeng has quit IRC02:17
*** wanghao has quit IRC02:18
*** wanghao has joined #openstack-meeting-302:18
*** wanghao has quit IRC02:28
*** wanghao has joined #openstack-meeting-302:28
*** jamesmcarthur has quit IRC02:29
*** spzala has joined #openstack-meeting-302:34
*** wanghao has quit IRC02:34
*** bobmel has joined #openstack-meeting-302:34
*** wanghao has joined #openstack-meeting-302:34
*** julim has joined #openstack-meeting-302:35
*** bobmel has quit IRC02:40
*** wanghao has quit IRC02:40
*** wanghao has joined #openstack-meeting-302:40
*** wanghao has quit IRC02:46
*** psachin has joined #openstack-meeting-302:46
*** wanghao has joined #openstack-meeting-302:46
*** spzala has quit IRC02:48
*** wanghao has quit IRC02:52
*** wanghao has joined #openstack-meeting-302:53
*** yamamoto has quit IRC02:53
*** yamamoto has joined #openstack-meeting-302:54
*** wanghao has quit IRC02:58
*** wanghao has joined #openstack-meeting-302:59
*** yamamoto has quit IRC02:59
*** jamesmcarthur has joined #openstack-meeting-303:06
*** wanghao has quit IRC03:06
*** wanghao has joined #openstack-meeting-303:06
*** jamesmcarthur has quit IRC03:10
*** wanghao has quit IRC03:13
*** wanghao has joined #openstack-meeting-303:14
*** wanghao has quit IRC03:21
*** wanghao has joined #openstack-meeting-303:22
*** wanghao has quit IRC03:31
*** wanghao has joined #openstack-meeting-303:33
*** lpetrut has joined #openstack-meeting-303:39
*** wanghao has quit IRC03:39
*** wanghao_ has joined #openstack-meeting-303:40
*** wanghao_ has quit IRC03:44
*** wanghao_ has joined #openstack-meeting-303:44
*** wanghao_ has quit IRC03:48
*** wanghao has joined #openstack-meeting-303:49
*** wanghao has quit IRC03:56
*** shu-mutow-AWAY is now known as shu-mutow03:57
*** wanghao has joined #openstack-meeting-303:57
*** hongbin_ has quit IRC03:58
*** wanghao has quit IRC04:00
*** wanghao has joined #openstack-meeting-304:01
*** ianychoi has quit IRC04:02
*** wanghao has quit IRC04:02
*** ianychoi has joined #openstack-meeting-304:04
*** wanghao has joined #openstack-meeting-304:04
*** wanghao has quit IRC04:05
*** wanghao has joined #openstack-meeting-304:06
*** wanghao has quit IRC04:08
*** wanghao has joined #openstack-meeting-304:09
*** wanghao has quit IRC04:10
*** lpetrut has quit IRC04:11
*** wanghao has joined #openstack-meeting-304:11
*** wanghao has quit IRC04:13
*** wanghao has joined #openstack-meeting-304:14
*** dklyle has joined #openstack-meeting-304:17
*** wanghao has quit IRC04:18
*** wanghao has joined #openstack-meeting-304:18
*** anilvenkata has joined #openstack-meeting-304:19
*** wanghao has quit IRC04:20
*** wanghao has joined #openstack-meeting-304:20
*** wanghao has quit IRC04:22
*** wanghao has joined #openstack-meeting-304:23
*** anilvenkata has quit IRC04:23
*** wanghao has quit IRC04:24
*** wanghao has joined #openstack-meeting-304:25
*** ianychoi has quit IRC04:28
*** wanghao has quit IRC04:29
*** markvoelker has quit IRC04:29
*** wanghao has joined #openstack-meeting-304:29
*** ianychoi has joined #openstack-meeting-304:31
*** wanghao has quit IRC04:31
*** wanghao has joined #openstack-meeting-304:32
*** wanghao has quit IRC04:33
*** julim has quit IRC04:34
*** wanghao has joined #openstack-meeting-304:34
*** bobmel has joined #openstack-meeting-304:35
*** wanghao has quit IRC04:35
*** anilvenkata has joined #openstack-meeting-304:36
*** wanghao has joined #openstack-meeting-304:36
*** dklyle has quit IRC04:37
*** wanghao has quit IRC04:39
*** slaweq has joined #openstack-meeting-304:39
*** wanghao has joined #openstack-meeting-304:40
*** bobmel has quit IRC04:40
*** wanghao has quit IRC04:42
*** wanghao has joined #openstack-meeting-304:42
*** wanghao has quit IRC04:44
*** wanghao has joined #openstack-meeting-304:45
*** slaweq has quit IRC04:47
*** wanghao has quit IRC04:48
*** wanghao has joined #openstack-meeting-304:49
*** wanghao has quit IRC04:51
*** wanghao has joined #openstack-meeting-304:52
*** lpetrut has joined #openstack-meeting-304:58
*** wanghao has quit IRC04:58
*** wanghao has joined #openstack-meeting-304:58
*** wanghao has quit IRC05:00
*** wanghao has joined #openstack-meeting-305:01
*** wanghao has quit IRC05:06
*** wanghao has joined #openstack-meeting-305:06
*** wanghao has quit IRC05:10
*** wanghao has joined #openstack-meeting-305:11
*** wanghao has quit IRC05:17
*** wanghao has joined #openstack-meeting-305:18
*** rajinir has quit IRC05:18
*** e0ne has joined #openstack-meeting-305:19
*** wanghao has quit IRC05:22
*** wanghao has joined #openstack-meeting-305:22
*** lpetrut has quit IRC05:27
*** wanghao has quit IRC05:27
*** wanghao has joined #openstack-meeting-305:28
*** bobmel has joined #openstack-meeting-305:36
*** wanghao has quit IRC05:36
*** wanghao has joined #openstack-meeting-305:37
*** marios has joined #openstack-meeting-305:39
*** e0ne has quit IRC05:40
*** bobmel has quit IRC05:41
*** wanghao has quit IRC05:41
*** wanghao has joined #openstack-meeting-305:47
*** wanghao has quit IRC05:54
*** wanghao has joined #openstack-meeting-305:54
*** shu-mutow is now known as shu-mutow-AWAY05:59
*** wanghao has quit IRC05:59
*** wanghao has joined #openstack-meeting-305:59
*** wanghao has quit IRC06:06
*** wanghao has joined #openstack-meeting-306:07
*** MarkBaker has quit IRC06:07
*** julim has joined #openstack-meeting-306:08
*** wanghao has quit IRC06:09
*** wanghao has joined #openstack-meeting-306:10
*** wanghao has quit IRC06:12
*** wanghao has joined #openstack-meeting-306:14
*** wanghao has quit IRC06:27
*** wanghao has joined #openstack-meeting-306:28
*** lpetrut has joined #openstack-meeting-306:29
*** markvoelker has joined #openstack-meeting-306:30
*** wanghao has quit IRC06:30
*** wanghao has joined #openstack-meeting-306:31
*** MarkBaker has joined #openstack-meeting-306:31
*** slaweq has joined #openstack-meeting-306:32
*** wanghao has quit IRC06:33
*** wanghao has joined #openstack-meeting-306:34
*** wanghao has quit IRC06:40
*** wanghao has joined #openstack-meeting-306:40
*** slaweq has quit IRC06:42
*** salv-orl_ has quit IRC06:45
*** salv-orlando has joined #openstack-meeting-306:46
*** wanghao has quit IRC06:46
*** wanghao has joined #openstack-meeting-306:46
*** wanghao has quit IRC06:50
*** salv-orlando has quit IRC06:50
*** wanghao has joined #openstack-meeting-306:51
*** wanghao has quit IRC06:54
*** wanghao has joined #openstack-meeting-306:55
*** pcaruana has joined #openstack-meeting-306:58
*** ianychoi has quit IRC07:00
*** salv-orlando has joined #openstack-meeting-307:00
*** wanghao has quit IRC07:02
*** wanghao has joined #openstack-meeting-307:02
*** markvoelker has quit IRC07:04
*** wanghao has quit IRC07:06
*** wanghao has joined #openstack-meeting-307:07
*** ianychoi has joined #openstack-meeting-307:11
*** wanghao has quit IRC07:12
*** wanghao has joined #openstack-meeting-307:12
*** slaweq has joined #openstack-meeting-307:16
*** wanghao has quit IRC07:16
*** wanghao has joined #openstack-meeting-307:16
*** wanghao has quit IRC07:21
*** wanghao has joined #openstack-meeting-307:22
*** wanghao has quit IRC07:26
*** wanghao has joined #openstack-meeting-307:26
*** wanghao has quit IRC07:30
*** wanghao has joined #openstack-meeting-307:31
*** rmart04 has joined #openstack-meeting-307:31
*** wanghao has quit IRC07:35
*** wanghao has joined #openstack-meeting-307:36
*** bobmel has joined #openstack-meeting-307:37
*** zhipeng has joined #openstack-meeting-307:40
*** wanghao has quit IRC07:40
*** wanghao has joined #openstack-meeting-307:40
*** bobmel has quit IRC07:42
*** derekjhyang has quit IRC07:44
*** wanghao has quit IRC07:45
*** ethfci has quit IRC07:45
*** tssurya has joined #openstack-meeting-307:45
*** wanghao has joined #openstack-meeting-307:45
*** ethfci has joined #openstack-meeting-307:45
*** ethfci has quit IRC07:47
*** ethfci has joined #openstack-meeting-307:47
*** wanghao has quit IRC07:47
*** wanghao has joined #openstack-meeting-307:48
*** wanghao has quit IRC07:51
*** wanghao has joined #openstack-meeting-307:52
*** spzala has joined #openstack-meeting-307:53
*** wanghao has quit IRC07:56
*** wanghao has joined #openstack-meeting-307:57
*** spzala has quit IRC07:57
*** markvoelker has joined #openstack-meeting-308:01
*** wanghao has quit IRC08:01
*** wanghao has joined #openstack-meeting-308:02
*** wanghao has quit IRC08:05
*** wanghao has joined #openstack-meeting-308:06
*** zhipeng has quit IRC08:10
*** wanghao has quit IRC08:10
*** wanghao has joined #openstack-meeting-308:12
*** wanghao has quit IRC08:17
*** wanghao has joined #openstack-meeting-308:17
*** wanghao has quit IRC08:19
*** wanghao has joined #openstack-meeting-308:20
*** wanghao has quit IRC08:22
*** wanghao has joined #openstack-meeting-308:23
*** wanghao has quit IRC08:24
*** wanghao has joined #openstack-meeting-308:25
*** wanghao has quit IRC08:26
*** wanghao has joined #openstack-meeting-308:26
*** wanghao has quit IRC08:30
*** wanghao has joined #openstack-meeting-308:30
*** wanghao has quit IRC08:31
*** wanghao has joined #openstack-meeting-308:32
*** wanghao has quit IRC08:33
*** wanghao has joined #openstack-meeting-308:34
*** markvoelker has quit IRC08:34
*** witek_ has quit IRC08:34
*** wanghao has quit IRC08:35
*** wanghao has joined #openstack-meeting-308:37
*** wanghao has quit IRC08:40
*** wanghao has joined #openstack-meeting-308:41
*** MarkBaker has quit IRC08:42
*** wanghao has quit IRC08:43
*** wanghao has joined #openstack-meeting-308:43
*** wanghao has quit IRC08:47
*** radeks has joined #openstack-meeting-308:48
*** wanghao has joined #openstack-meeting-308:48
*** wanghao has quit IRC08:50
*** wanghao has joined #openstack-meeting-308:50
*** wanghao has quit IRC08:53
*** wanghao has joined #openstack-meeting-308:53
*** wanghao has quit IRC08:55
*** wanghao has joined #openstack-meeting-308:56
*** e0ne has joined #openstack-meeting-308:56
*** wanghao has quit IRC08:56
*** wanghao has joined #openstack-meeting-308:57
*** wanghao has quit IRC08:58
*** wanghao has joined #openstack-meeting-308:59
*** wanghao has quit IRC09:00
*** wanghao has joined #openstack-meeting-309:00
*** wanghao has quit IRC09:07
*** wanghao has joined #openstack-meeting-309:07
*** wanghao has quit IRC09:14
*** wanghao has joined #openstack-meeting-309:15
*** wanghao has quit IRC09:21
*** wanghao has joined #openstack-meeting-309:21
*** wanghao has quit IRC09:27
*** wanghao has joined #openstack-meeting-309:28
*** markvoelker has joined #openstack-meeting-309:31
*** wanghao has quit IRC09:32
*** wanghao has joined #openstack-meeting-309:32
*** wanghao has quit IRC09:36
*** wanghao has joined #openstack-meeting-309:37
*** bobmel has joined #openstack-meeting-309:38
*** wanghao has quit IRC09:41
*** wanghao has joined #openstack-meeting-309:41
*** bobmel has quit IRC09:42
*** wanghao has quit IRC09:47
*** wanghao has joined #openstack-meeting-309:48
*** wanghao has quit IRC09:53
*** wanghao has joined #openstack-meeting-309:53
*** wanghao has quit IRC09:58
*** wanghao has joined #openstack-meeting-309:59
*** julim has quit IRC10:00
*** wanghao has quit IRC10:03
*** wanghao has joined #openstack-meeting-310:04
*** rmart04_ has joined #openstack-meeting-310:04
*** markvoelker has quit IRC10:06
*** wanghao has quit IRC10:06
*** rmart04 has quit IRC10:06
*** rmart04_ is now known as rmart0410:06
*** bobmel has joined #openstack-meeting-310:07
*** sambetts_ is now known as sambetts10:11
*** rmart04 has quit IRC10:17
*** rmart04 has joined #openstack-meeting-310:33
*** lxkong has quit IRC10:35
*** rmart04 has quit IRC10:46
*** markvoelker has joined #openstack-meeting-311:02
*** chyka has joined #openstack-meeting-311:06
*** rmart04 has joined #openstack-meeting-311:09
*** chyka has quit IRC11:11
*** wanghao has joined #openstack-meeting-311:11
*** pbourke has quit IRC11:18
*** pbourke has joined #openstack-meeting-311:18
*** wanghao has quit IRC11:28
*** markvoelker has quit IRC11:36
*** mjturek has joined #openstack-meeting-311:37
*** wanghao has joined #openstack-meeting-311:38
*** mjturek has quit IRC11:39
*** spzala has joined #openstack-meeting-311:53
*** liuyulong has joined #openstack-meeting-311:53
*** spzala has quit IRC11:57
*** wanghao has quit IRC12:03
*** raildo has joined #openstack-meeting-312:08
*** yamamoto has joined #openstack-meeting-312:14
*** markvoelker has joined #openstack-meeting-312:16
*** psachin has quit IRC12:37
*** mjturek has joined #openstack-meeting-312:38
*** VW has joined #openstack-meeting-312:50
*** spzala has joined #openstack-meeting-312:53
*** spzala has quit IRC12:57
*** lyan has joined #openstack-meeting-313:01
*** lyan is now known as Guest4658813:01
*** alexchadin has joined #openstack-meeting-313:02
*** jjung has quit IRC13:08
*** jjung has joined #openstack-meeting-313:09
*** jgu_ has joined #openstack-meeting-313:12
*** jjung has quit IRC13:15
*** jgu has quit IRC13:15
*** salv-orlando has quit IRC13:18
*** salv-orlando has joined #openstack-meeting-313:19
*** salv-orlando has quit IRC13:24
*** spzala has joined #openstack-meeting-313:26
*** liuyulong has quit IRC13:27
*** yamamoto has quit IRC13:28
*** yamamoto has joined #openstack-meeting-313:28
*** alexchadin has quit IRC13:50
*** wanghao has joined #openstack-meeting-313:51
*** mrmartin has quit IRC13:56
*** mrmartin has joined #openstack-meeting-313:56
*** hongbin_ has joined #openstack-meeting-313:59
*** yamahata has joined #openstack-meeting-314:04
*** rajinir has joined #openstack-meeting-314:14
*** bobh has joined #openstack-meeting-314:16
*** iyamahat has joined #openstack-meeting-314:19
*** alexchadin has joined #openstack-meeting-314:25
*** iyamahat has quit IRC14:26
*** iyamahat has joined #openstack-meeting-314:26
*** anilvenkata has quit IRC14:29
*** namnh has joined #openstack-meeting-314:35
*** ying_zuo has quit IRC14:39
*** ying_zuo has joined #openstack-meeting-314:39
*** rossella_s has quit IRC14:42
*** gagehugo has joined #openstack-meeting-314:46
*** alexchadin has quit IRC14:48
*** jamesmcarthur has joined #openstack-meeting-314:51
*** spilla has joined #openstack-meeting-314:57
*** yamamoto has quit IRC14:58
*** moguimar has joined #openstack-meeting-314:59
*** rossella_s has joined #openstack-meeting-314:59
raildo#startmeeting oslo-config-plaintext-secrets15:00
openstackMeeting started Tue Apr 24 15:00:06 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
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.15:00
*** openstack changes topic to " (Meeting topic: oslo-config-plaintext-secrets)"15:00
openstackThe meeting name has been set to 'oslo_config_plaintext_secrets'15:00
gagehugoo/15:00
raildo#link https://etherpad.openstack.org/p/oslo-config-plaintext-secrets15:00
moguimaro/15:00
spillao/15:00
raildohey folks :)15:00
moguimarhey15:00
moguimarthink we're missing doug15:01
raildowe can wait a few minutes15:01
moguimarsure thing15:01
*** rmart04 has quit IRC15:01
moguimardhellmann15:02
dhellmanno/15:02
moguimargreat15:02
dhellmannsorry I'm late15:02
raildolet's start15:02
raildono problem15:02
moguimarno worries15:02
raildo#topic Status Check15:02
*** openstack changes topic to "Status Check (Meeting topic: oslo-config-plaintext-secrets)"15:02
dhellmannbnemec was going to try to drop by today, too15:02
raildothat would be great15:03
bnemecYes, thanks for the ping15:03
raildohey bnemec, welcome :)15:03
raildoso, we have another patch related to this topic15:03
moguimarjaosorior is joining as well15:03
raildo#link https://review.openstack.org/#/c/562746/15:03
moguimarbut here is next to me15:03
raildo#link https://review.openstack.org/#/q/topic:bp/oslo-config-drivers+(status:open+OR+status:merged)15:04
raildo^ for all the patches related15:04
raildoso, I believe that we are starting to get a good progress, but we need to speed up a little bit to have that done on Rocky15:05
moguimarabout the ini driver15:05
dhellmannthe file reorg looks pretty good, sorry I didn't think of that earlier in the process15:05
moguimarI'm able to fetch the url content and store it to something like self.data15:05
moguimarhaving self.uri and self.data15:06
*** jaosorior has joined #openstack-meeting-315:06
dhellmannwe probably want those to be private attributes of the source, so self._uri and self._data15:06
moguimarI was talking to jaosorior15:06
jaosorioro/15:06
moguimarsure15:06
raildomoguimar, do you think that you can add some related tests on that patch, about it?15:06
dhellmannit's hard to make something private once we publish it as public15:06
raildowould be great to have those tests on it15:06
moguimaryep, I'm used to do TDD15:06
dhellmannbut it sounds like you're making good progress if you're fetching data. I haven't looked at the parser in a while, how hard is it to pass data to that without it being in a file?15:07
raildojaosorior, hey :)15:07
moguimarand I was digging in the test cases to learn how to do that15:07
jaosorioryo15:07
jaosoriorgreetings from Brno15:07
moguimarI was talking to ozz on getting the self._data and writing it to a NamedTempFile15:07
moguimarand creating a new ConfigOpts on that temporary file15:07
moguimarlatter in the get() call, we'll register the opt parameter and try to fetch it's value15:08
dhellmannwe should really only need the parser, right?15:08
jaosoriorIsn't it possible to make the Ini file parser to read from a string instead of a file?15:08
moguimaras multiple calls to register_opt are acceptable15:08
jaosorioryou could load the string into a StringIO object, and it would read similarly to a file15:08
jaosoriorso then you don't need to write that to a tempfile15:08
moguimaryup15:08
jaosorioranyway, implementation details15:08
dhellmannbut important implementation details15:08
moguimarI thought about that as well, but I haven't found some API to acomplish it yet15:09
dhellmannI don't think we want a ConfigOpts causing a driver to create another ConfigOpts15:09
moguimarif you guys can point me to a easier path, I'll dig into that15:09
raildo#link https://docs.python.org/2/library/stringio.html15:09
dhellmannwe might have to modify oslo_config.cfg.ConfigParser15:10
jaosoriordhellmann: lets say that we have a ConfigOpts object already, how do we get it to take another string object after the parsing has been made?15:10
dhellmannfor now you could write to a temporary file, I guess15:10
jaosoriorthought it would throw an exception15:10
dhellmannjaosorior : we don't want it to15:10
jaosoriordon't we?15:10
dhellmannall of the stuff in the driver should be hidden behind the driver API15:10
dhellmannthat's the point of the drivesr15:10
dhellmannConfigOpts shouldn't know about all of these other sources of data, many of which won't even be files15:11
jaosoriorand what we're talking is still behind the driver API15:11
dhellmannright15:11
dhellmannthe spec describes the lookup logic that will be used to invoke the driver, but the driver shouldn't assume anything about ConfigOpts and ConfigOpts shouldn't assume anything about the driver beyond the API we've defined15:11
moguimarwe need to be carefull about the priority for the lookup logic15:12
dhellmannwe do, and that's described in the spec15:12
moguimaryep15:12
jaosoriorright15:12
jaosorioroh15:12
jaosoriorI see the issue now15:12
jaosoriorright15:12
moguimarlooping through the drivers and trying to fetch the opt15:12
dhellmannwithin a given driver, the driver and source objects just need to do the *minimum* amount of work to fetch a string from their backend data source15:12
raildook, so moguimar, jaosorior is that something in the spec related to this topic, that's is not clear for you guys?15:13
*** alexchadin has joined #openstack-meeting-315:13
jaosoriordhellmann: I think moguimar might be right in the fact that we might need to create another ConfigOpt object, that would be searched for if that specific driver is used15:13
dhellmannhow will that work with the castellan driver?15:14
dhellmanncastellan doesn't have an INI file15:14
jaosoriordhellmann: the castellan driver is a bit simpler than this ini file driver, in the sense that in castellan you can search for specific keys in the backend15:14
moguimarnot really raildo, we came up with that plan to create a ConfigOpt over the tempfile that is doable, but if you guys can point us to a more lightweight solution, we'll dig into it15:14
dhellmannthe ConfigParser lets you look for specific keys, too15:14
jaosoriorright, but you would need to build a new one if you want to keep the hierarchy, as far as I've understood15:15
moguimarSo can I create e ConfigParser from a temp file and try to fetch the options from it?15:15
dhellmannyes, you will need a new ConfigParser, but not a new ConfigOpts15:15
dhellmannwe will introduce lots of bugs if we register an Opt against 2 ConfigOpts at the same time, so we need to not use ConfigOpts15:15
dhellmannmoguimar : yes, that should work15:15
moguimargreat15:16
dhellmannactually, using the parse() method you might not even need the file15:16
moguimaras we haven't spent time on a new ConfigOpts thats even better15:16
dhellmannit says it takes a "lineiter" argument15:16
dhellmannso if you use splitlines() on the text you get from requests.get() that should work15:16
jaosoriordhellmann: that's where I mentioned the StringIO object; but if it takes a lineiter, then that's not even needed and it makes stuff way easier15:16
dhellmannyes, I think so15:17
moguimarI think that requests is a little heavy for this job15:17
raildojaosorior, ++15:17
jaosoriorOK, I think that should be fine then15:17
moguimarwhy not urllib.urlopen?15:17
dhellmannmoguimar : requests is the only acceptable way to handle SSL certs in python apps.15:17
dhellmannwe use it all over openstack, so it's not adding a new dependency15:17
moguimarwe only fetch the file, we don't do REST methods over it15:17
moguimargot it15:17
dhellmannyou *might* need a _Namespace() instance to actually look up values15:18
dhellmannin a parsed INI file15:18
dhellmannthat seems to be where the _get_value() method is defined, rather than on the parser itself15:18
dhellmannso you would use the parser to parse the data, create a _namespace, call _add_parsed_config_file to set it up, then you can fetch values from it15:19
dhellmannusing _get_value()15:19
dhellmannthis code could do with some refactoring :-)15:20
dhellmannbut let's use it as it is for now15:20
jaosoriorI honestly got a little bit lost in that code-base15:21
jaosoriorso I don't entirely follow15:21
dhellmannyeah, it's a little messy15:22
* jaosorior still browsing the oslo.cfg codebase15:22
dhellmannthe parser really just parses the INI file15:22
dhellmannthe namespace knows about how to do lookups in argparse data and in ini data15:22
dhellmannwe only need the latter, but because that's where the lookup code is we'll want to use the _Namespace class to do it15:22
jaosoriorI see15:23
dhellmannthe alternative is to extend the ini parser, but then we have 2 ways to do the lookup and...15:23
dhellmannit's sort of like what you were starting out to do with ConfigOpts, but doesn't go to the extent of registering the options15:23
raildook, I'm trying to catch up that discussion in the etherpad, so please, take a look on that later, so we can have all the necessary steps on it :)15:24
raildo#topic Open Discussion15:25
*** openstack changes topic to "Open Discussion (Meeting topic: oslo-config-plaintext-secrets)"15:25
raildowe still have 5 minutes15:25
raildoanything else?15:25
moguimarok, what is the plan after the ini driver is done?15:25
dhellmannthe next step according to the etherpad is to do the work in ConfigOpts so it knows how to use the drivers15:26
dhellmannthat will mean taking over the patch I started and extending it with the new lookup logic and anything else that is missing15:26
spillatheres a WIP sitting out there already15:26
dhellmannsee item 4 under "work items and owners" at the top15:26
spillawhat dhellmann said15:26
raildo#link https://review.openstack.org/#/c/554316/15:26
moguimarfair enough15:27
moguimarthat is all I have15:28
moguimarfor today15:28
*** dklyle has joined #openstack-meeting-315:29
raildook, so thanks for your time folks :) have a great week!15:29
raildo#endmeeting15:29
*** openstack changes topic to "OpenStack Meetings || https://wiki.openstack.org/wiki/Meetings/"15:29
openstackMeeting ended Tue Apr 24 15:29:49 2018 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)15:29
openstackMinutes:        http://eavesdrop.openstack.org/meetings/oslo_config_plaintext_secrets/2018/oslo_config_plaintext_secrets.2018-04-24-15.00.html15:29
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/oslo_config_plaintext_secrets/2018/oslo_config_plaintext_secrets.2018-04-24-15.00.txt15:29
openstackLog:            http://eavesdrop.openstack.org/meetings/oslo_config_plaintext_secrets/2018/oslo_config_plaintext_secrets.2018-04-24-15.00.log.html15:29
moguimarthanks guys15:29
spillathanks all :)15:30
moguimaro/15:30
jaosoriorthanks folks!15:30
*** gagehugo has left #openstack-meeting-315:30
*** spsurya has quit IRC15:31
*** spsurya has joined #openstack-meeting-315:32
*** salv-orl_ has joined #openstack-meeting-315:35
*** moguimar has quit IRC15:35
*** e0ne has quit IRC15:39
*** jaosorior has left #openstack-meeting-315:45
*** alexchadin has quit IRC15:46
*** chyka has joined #openstack-meeting-315:50
*** pcaruana has quit IRC15:51
*** chyka_ has joined #openstack-meeting-315:53
*** moguimar has joined #openstack-meeting-315:55
*** chyka has quit IRC15:56
*** rossella_s has quit IRC15:59
*** yamamoto has joined #openstack-meeting-315:59
*** rossella_s has joined #openstack-meeting-315:59
*** pbourke has quit IRC16:04
*** yamamoto has quit IRC16:04
*** pbourke has joined #openstack-meeting-316:05
*** iyamahat has quit IRC16:10
*** rossella_s has quit IRC16:10
*** rossella_s has joined #openstack-meeting-316:15
*** yamahata has quit IRC16:15
*** jamesmcarthur has quit IRC16:19
*** jamesmcarthur has joined #openstack-meeting-316:20
*** tssurya has quit IRC16:23
*** jamesmcarthur has quit IRC16:24
*** rossella_s has quit IRC16:28
*** rossella_s has joined #openstack-meeting-316:29
*** marios has quit IRC16:31
*** bobh has quit IRC16:43
*** pcaruana has joined #openstack-meeting-316:43
*** bobh has joined #openstack-meeting-316:44
*** salv-orl_ has quit IRC16:48
*** e0ne has joined #openstack-meeting-316:51
*** sambetts is now known as sambetts|afk16:55
*** yamamoto has joined #openstack-meeting-317:00
*** wanghao has quit IRC17:01
*** moguimar has quit IRC17:01
*** wanghao has joined #openstack-meeting-317:01
*** wanghao has quit IRC17:02
*** wanghao has joined #openstack-meeting-317:02
*** wanghao has quit IRC17:02
*** wanghao has joined #openstack-meeting-317:03
*** iyamahat has joined #openstack-meeting-317:03
*** wanghao has quit IRC17:03
*** wanghao has joined #openstack-meeting-317:04
*** wanghao has quit IRC17:04
*** yamamoto has quit IRC17:06
*** rossella_s has quit IRC17:06
*** rossella_s has joined #openstack-meeting-317:11
*** namnh has quit IRC17:21
*** namnh has joined #openstack-meeting-317:25
*** namnh has quit IRC17:30
*** rmart04 has joined #openstack-meeting-317:31
*** namnh has joined #openstack-meeting-317:31
*** lpetrut_ has joined #openstack-meeting-317:34
*** lpetrut has quit IRC17:38
*** namnh has quit IRC17:44
*** rmart04 has quit IRC17:45
*** namnh has joined #openstack-meeting-317:45
*** rmart04 has joined #openstack-meeting-317:46
*** namnh has quit IRC17:55
*** namnh has joined #openstack-meeting-318:00
*** yamamoto has joined #openstack-meeting-318:03
*** yamamoto has quit IRC18:08
*** namnh has quit IRC18:10
*** lpetrut_ has quit IRC18:17
*** ianychoi has quit IRC18:26
*** iyamahat has quit IRC18:26
*** ianychoi has joined #openstack-meeting-318:26
*** pcaruana has quit IRC18:32
*** VW has quit IRC18:36
*** VW has joined #openstack-meeting-318:38
*** VW has quit IRC18:47
*** VW has joined #openstack-meeting-318:49
*** rmart04 has quit IRC18:53
*** ociuhandu has joined #openstack-meeting-318:55
*** dims has quit IRC19:02
*** bobh has quit IRC19:04
*** yamahata has joined #openstack-meeting-319:04
*** yamamoto has joined #openstack-meeting-319:04
*** lpetrut_ has joined #openstack-meeting-319:04
*** iyamahat has joined #openstack-meeting-319:05
*** dims has joined #openstack-meeting-319:09
*** yamamoto has quit IRC19:10
*** radeks has quit IRC19:14
*** salv-orlando has joined #openstack-meeting-319:16
*** VW has quit IRC19:21
*** bobh has joined #openstack-meeting-319:36
*** VW has joined #openstack-meeting-319:38
*** ianychoi has quit IRC19:39
*** bobh has quit IRC19:41
*** ianychoi has joined #openstack-meeting-319:41
*** ianychoi has quit IRC20:05
*** yamamoto has joined #openstack-meeting-320:06
*** lpetrut_ has quit IRC20:07
*** spilla has left #openstack-meeting-320:07
*** ianychoi has joined #openstack-meeting-320:09
*** yamamoto has quit IRC20:11
*** e0ne has quit IRC20:15
*** dklyle has quit IRC20:18
*** bobh has joined #openstack-meeting-320:22
*** bobh has quit IRC20:23
*** bobh has joined #openstack-meeting-320:23
*** slaweq has quit IRC20:25
*** slaweq has joined #openstack-meeting-320:26
*** iyamahat has quit IRC20:28
*** yamahata has quit IRC20:29
*** spzala has quit IRC20:32
*** spzala has joined #openstack-meeting-320:32
*** raildo has quit IRC20:34
*** raildo has joined #openstack-meeting-320:34
*** spzala has quit IRC20:34
*** alexchadin has joined #openstack-meeting-320:38
*** alexchadin has quit IRC20:38
*** ianychoi has quit IRC20:39
*** ianychoi has joined #openstack-meeting-320:40
*** rmascena has joined #openstack-meeting-320:44
*** raildo has quit IRC20:46
*** rmascena has quit IRC20:50
*** iyamahat has joined #openstack-meeting-320:50
*** iyamahat_ has joined #openstack-meeting-320:50
*** iyamahat has quit IRC20:55
*** dklyle has joined #openstack-meeting-320:56
*** yamamoto has joined #openstack-meeting-321:08
*** yamahata has joined #openstack-meeting-321:09
*** lxkong has joined #openstack-meeting-321:09
*** rajinir has quit IRC21:12
*** yamamoto has quit IRC21:14
*** dklyle has quit IRC21:14
*** slaweq has quit IRC21:14
*** slaweq has joined #openstack-meeting-321:15
*** slaweq has quit IRC21:20
*** ianychoi has quit IRC21:24
*** ianychoi has joined #openstack-meeting-321:25
*** VW has quit IRC21:27
*** VW has joined #openstack-meeting-321:28
*** ianychoi has quit IRC21:35
*** ianychoi has joined #openstack-meeting-321:36
*** namnh has joined #openstack-meeting-321:37
*** ociuhandu has quit IRC21:39
*** bobh has quit IRC21:40
*** dklyle has joined #openstack-meeting-321:44
*** ociuhandu has joined #openstack-meeting-321:46
*** abalutoiu has joined #openstack-meeting-321:56
*** abalutoiu_ has quit IRC21:57
*** abalutoiu_ has joined #openstack-meeting-322:02
*** ianychoi has quit IRC22:02
*** ianychoi has joined #openstack-meeting-322:04
*** abalutoiu has quit IRC22:06
*** namnh has quit IRC22:07
*** jamesmcarthur has joined #openstack-meeting-322:09
*** yamamoto has joined #openstack-meeting-322:09
*** yamamoto has quit IRC22:14
*** jamesmcarthur has quit IRC22:19
*** jamesmcarthur has joined #openstack-meeting-322:20
*** jamesmcarthur has quit IRC22:21
*** jamesmcarthur has joined #openstack-meeting-322:21
*** jamesmcarthur has quit IRC22:26
*** VW has quit IRC22:30
*** VW has joined #openstack-meeting-322:31
*** Guest46588 has quit IRC22:32
*** ociuhandu_ has joined #openstack-meeting-322:32
*** ociuhandu has quit IRC22:33
*** yamamoto has joined #openstack-meeting-323:10
*** yamamoto has quit IRC23:16
*** aagate has quit IRC23:24
*** chyka_ has quit IRC23:29
*** hongbin_ has quit IRC23:33
*** mjturek has quit IRC23:42
*** yamamoto has joined #openstack-meeting-323:58

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