Sunday, 2017-06-25

*** spzala has joined #openstack-keystone00:31
*** bknudson has joined #openstack-keystone01:59
*** bknudson has quit IRC01:59
*** edmondsw has joined #openstack-keystone02:10
*** edmondsw has quit IRC02:14
*** nicolasbock has joined #openstack-keystone02:46
*** goofie_ has quit IRC02:54
*** goofie_ has joined #openstack-keystone03:10
*** nicolasbock has quit IRC03:14
*** edmondsw has joined #openstack-keystone03:58
*** edmondsw has quit IRC04:02
*** aojea has joined #openstack-keystone05:24
*** aojea has quit IRC05:29
*** spzala has quit IRC05:34
*** edmondsw has joined #openstack-keystone05:46
*** edmondsw has quit IRC05:50
*** links has joined #openstack-keystone05:55
*** mvk has quit IRC06:14
*** links has quit IRC06:20
*** goofie_ has quit IRC06:34
*** brad[] has quit IRC06:35
*** brad[] has joined #openstack-keystone06:36
*** spzala has joined #openstack-keystone07:35
*** spzala has quit IRC07:40
*** zzzeek has quit IRC08:00
*** zzzeek has joined #openstack-keystone08:00
*** pepenemov has joined #openstack-keystone08:00
*** spzala has joined #openstack-keystone08:05
*** spzala has quit IRC08:13
*** spzala has joined #openstack-keystone09:10
*** spzala has quit IRC09:14
*** pepenemov has quit IRC09:20
*** edmondsw has joined #openstack-keystone09:22
*** aojea has joined #openstack-keystone09:25
*** edmondsw has quit IRC09:26
*** aojea has quit IRC09:30
*** goofie_ has joined #openstack-keystone10:19
*** edmondsw has joined #openstack-keystone11:10
*** spzala has joined #openstack-keystone11:10
*** edmondsw has quit IRC11:14
*** spzala has quit IRC11:16
*** hoonetorg has quit IRC11:28
*** hoonetorg has joined #openstack-keystone11:41
*** dave-mccowan has joined #openstack-keystone11:48
*** goofie_ has quit IRC11:56
*** aojea has joined #openstack-keystone12:09
*** spzala has joined #openstack-keystone12:12
*** shuyingya has joined #openstack-keystone12:13
*** spzala has quit IRC12:16
*** aojea has quit IRC12:19
*** goofie_ has joined #openstack-keystone12:56
*** edmondsw has joined #openstack-keystone12:58
*** edmondsw has quit IRC13:02
*** goofie_ has quit IRC13:14
*** goofie_ has joined #openstack-keystone13:20
*** goofie_ has quit IRC13:33
*** aojea has joined #openstack-keystone13:37
*** dave-mccowan has quit IRC13:48
*** spzala has joined #openstack-keystone13:55
*** spzala_ has joined #openstack-keystone13:55
*** spzala has quit IRC13:55
*** spzala_ has quit IRC14:03
*** shuyingya has quit IRC14:18
*** aojea has quit IRC14:23
*** goofie_ has joined #openstack-keystone14:39
*** spzala has joined #openstack-keystone14:46
*** edmondsw has joined #openstack-keystone14:46
*** iurygregory has quit IRC14:50
*** edmondsw has quit IRC14:51
*** shuyingya has joined #openstack-keystone14:58
*** shuyingya has quit IRC15:02
mordredcmurphy: so, remember yesterday when I said something about not wanting to rebase the stack to remove that parameter?15:02
mordredcmurphy: I was just adding another test and have discovered that I believe there is a (reasonably deep and obscure) logic flaw that probaby nobody will ever hit but that is wrong nonetheless - and which I think is going to need me to do that rebase anyway15:03
mordredyay me15:03
cmurphymordred: oh yay15:07
*** aojea has joined #openstack-keystone15:09
*** aojea has quit IRC15:13
mordredcmurphy: yah. tell me about it. the 'issue' I found is that if you get an EndpointData and ask it for two different versions, it'll run discovery again even if it has the data it needs from the first run becuase it caches discovery by the requested endpoint and only keeps results in the EndpointData15:14
mordredcmurphy: so if the first versioned endpoint requested needed the unversioned discovery document to be fetched (meaning the whole list was available) - it doesn't know that it can satisfy a subsequent request for a different version using data it already has15:14
mordrednow - to be fair, the chances of ANYONE ever actually wanting to do that and being pissed about the additional fetch are like 0.000001%15:15
mordredbut we did the work and saved the data and have an api that lets that request be made pretty easily - so there is no reason to do it wrong (at least now that we konw it's wrong)15:16
cmurphyyeah if we have caches probably best to use the caches :)15:17
mordredyup :)15:30
mordredcmurphy: also - tests are awesome15:30
*** aojea has joined #openstack-keystone15:31
cmurphyindeed15:31
*** aojea has quit IRC15:36
*** dave-mccowan has joined #openstack-keystone15:36
mordredcmurphy: OH - I just realized why this logic shows up now and not earlier in the stack - it's actually the 'optimize to not fetch urls when you don't need to' patch that triggers the sadness - so I may not need to rebase the entire thing15:39
*** spzala has quit IRC16:17
*** aojea has joined #openstack-keystone16:18
*** spzala has joined #openstack-keystone16:24
*** afazekas has quit IRC16:25
*** mordred has quit IRC16:29
*** spzala has quit IRC16:29
*** edmondsw has joined #openstack-keystone16:34
*** aojea_ has joined #openstack-keystone16:37
*** edmondsw has quit IRC16:39
*** aojea has quit IRC16:40
*** aojea_ has quit IRC16:42
*** aojea has joined #openstack-keystone16:42
*** aojea has quit IRC16:53
*** aojea_ has joined #openstack-keystone16:53
*** afazekas has joined #openstack-keystone17:01
*** goofie_ has quit IRC17:07
*** mordred has joined #openstack-keystone17:07
*** spzala has joined #openstack-keystone17:26
*** spzala has quit IRC17:30
*** sbezverk has quit IRC18:00
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystoneauth master: Rework discovery cache  https://review.openstack.org/47714918:12
*** spzala has joined #openstack-keystone18:18
samueldmqmordred: ^ added more tests and a comment18:18
samueldmqmordred: the behavior of get_endpoint is changed in that patch (even if the get_endpoint_data behavior is kept)18:19
samueldmqsee my comment inline18:19
*** edmondsw has joined #openstack-keystone18:22
*** edmondsw has quit IRC18:26
*** spzala has quit IRC18:31
*** dave-mccowan has quit IRC18:44
*** aojea_ has quit IRC19:07
*** aojea has joined #openstack-keystone19:14
*** aojea has quit IRC19:18
*** ducttape_ has joined #openstack-keystone19:22
*** ducttap__ has quit IRC19:22
*** tobberydberg has joined #openstack-keystone20:11
*** f13o has joined #openstack-keystone20:18
*** sjain_ has joined #openstack-keystone20:24
mordredsamueldmq: cool - I've also got another set of updates coming from today20:29
*** spzala has joined #openstack-keystone20:31
mordredsamueldmq: ah  - yes - good point - I think we should definitely keep self._discovery_cache in that call (and remove the cache=None argument) - we can add the cache argument to the keystoneauth1.discovery.get_discovery call in the next patch when we move it - and have the method in that path always pass in self._discovery_cache to the cache argument20:31
mordredsamueldmq: good catch on teh behavior change@20:32
mordred!20:32
*** spzala has quit IRC20:35
*** shuyingya has joined #openstack-keystone20:36
*** aojea has joined #openstack-keystone20:36
*** sjain_ has quit IRC20:39
*** shuyingya has quit IRC20:40
*** tobberydberg has quit IRC20:59
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Update mocks and make sure double-discovery works  https://review.openstack.org/47724220:59
*** tobberydberg has joined #openstack-keystone20:59
*** tobberydberg has quit IRC21:04
*** jdennis has joined #openstack-keystone21:06
*** goofie has joined #openstack-keystone21:08
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Rework discovery cache  https://review.openstack.org/47714921:38
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Move version discovery logic to keystoneauth1.discover  https://review.openstack.org/46908621:38
mordredsamueldmq: that's got your updates in it ^^ but also removed the addition of the cache parameter to the auth plugin call, since it's not really a necessary api addition any more21:39
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Expose getting EndpointData on adapter and session  https://review.openstack.org/46909121:47
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Add support for version ranges  https://review.openstack.org/46909021:47
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Support a list of interface values  https://review.openstack.org/47716921:47
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Support explicitly requesting the 'latest' version  https://review.openstack.org/46908921:47
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Add flags to turn discovery on and off  https://review.openstack.org/46908821:47
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Plumb endpoint_override through get_endpoint_data  https://review.openstack.org/46909221:47
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Update mocks and make sure double-discovery works  https://review.openstack.org/47724221:47
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Optimize matching version no microversion needed  https://review.openstack.org/47027421:47
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Add url manipulation and microversion collection  https://review.openstack.org/46908721:47
*** edmondsw has joined #openstack-keystone21:58
*** edmondsw has quit IRC22:03
*** aojea has quit IRC22:27
*** f13o has quit IRC22:35
*** edmondsw has joined #openstack-keystone22:37
*** edmondsw has quit IRC22:37
*** edmondsw has joined #openstack-keystone22:38
*** edmondsw has quit IRC22:42
*** shuyingya has joined #openstack-keystone22:55
*** shuyingya has quit IRC23:00
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Ensure double-discovery and project_id manipulation works  https://review.openstack.org/47724223:03
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Refactor volume mock urls in identity_common tests  https://review.openstack.org/47724623:03
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Expose getting EndpointData on adapter and session  https://review.openstack.org/46909123:29
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Add support for version ranges  https://review.openstack.org/46909023:29
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Support a list of interface values  https://review.openstack.org/47716923:29
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Plumb endpoint_override through get_endpoint_data  https://review.openstack.org/46909223:29
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Ensure we discover only when we should  https://review.openstack.org/47724223:29
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Optimize matching version no microversion needed  https://review.openstack.org/47027423:29
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Refactor volume mock urls in identity_common tests  https://review.openstack.org/47724623:29
mordredcmurphy, samueldmq, morgan: ok - I WAS able to get a large portion of that latest patch split into an insolated test refactor patch and two pieces of it applied to the earlier patches in the stack they were fixing23:30
mordredthe final state in the patch adds tests then ties off on getting the discover_versions argument to be in the state we want it23:30
morganSounds good.23:31
mordreddiscover_versions argument is the only thing I can't go back and get working properly in the stack from the start without majorly reworking all the tests23:31
* mordred flogs self23:31
morganEh23:31
morgan*shrug*23:32
mordredyah. that's about where I got to23:32
mordredI'm more interesting in making sure the stack works :)23:32
jamielennoxmordred: whoa23:33
* mordred waves at jamielennox23:33
jamielennoxmordred: where do you want to manage _discovery_cache from?23:38
*** shuyingya has joined #openstack-keystone23:41
mordredjamielennox: main goal is auth plugin being able to pass one in in the following patch - but being able to pass in a dict to be able to share version discovery across more than one session (since version discovery isn't auth/user specific) is a nice side-benefit23:44
*** shuyingya has quit IRC23:45
*** spzala has joined #openstack-keystone23:47

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