Monday, 2017-07-17

*** bobh has quit IRC00:11
*** bobh has joined #openstack-sdks00:31
*** bobh has quit IRC00:32
*** bobh has joined #openstack-sdks00:32
*** bobh has quit IRC00:56
*** bobh has joined #openstack-sdks01:02
*** bobh has quit IRC01:18
*** markvoelker has joined #openstack-sdks01:29
*** sbezverk has quit IRC01:42
*** annp has joined #openstack-sdks01:43
*** fzdarsky_ has joined #openstack-sdks01:45
*** fzdarsky|afk has quit IRC01:48
*** bobh has joined #openstack-sdks01:51
*** markvoelker has quit IRC02:03
*** bobh has quit IRC02:08
*** bobh has joined #openstack-sdks02:11
*** markvoelker has joined #openstack-sdks03:00
*** dave-mccowan has quit IRC03:04
*** bobh has quit IRC03:05
*** markvoelker has quit IRC03:34
*** gouthamr has quit IRC03:42
*** rajathagasthya has joined #openstack-sdks03:47
*** markvoelker has joined #openstack-sdks04:30
*** rajathagasthya has quit IRC04:38
*** Dinesh_Bhor has joined #openstack-sdks04:46
*** markvoelker has quit IRC05:04
*** sbezverk has joined #openstack-sdks05:34
*** markvoelker has joined #openstack-sdks07:01
*** dhellmann has quit IRC07:16
*** dhellmann has joined #openstack-sdks07:17
*** GreenBlood has quit IRC07:34
*** kuzko has quit IRC07:34
*** markvoelker has quit IRC07:35
*** kuzko has joined #openstack-sdks07:37
*** GreenBlood has joined #openstack-sdks07:37
*** ralonsoh has joined #openstack-sdks07:42
*** aarefiev has joined #openstack-sdks08:10
*** markvoelker has joined #openstack-sdks08:31
*** itxaka has joined #openstack-sdks08:53
*** cdent has joined #openstack-sdks08:56
*** annp has quit IRC09:00
*** markvoelker has quit IRC09:05
*** mvpnitesh has joined #openstack-sdks09:19
*** markvoelker has joined #openstack-sdks10:02
*** d0ugal has joined #openstack-sdks10:13
*** d0ugal has quit IRC10:19
*** cdent has quit IRC10:33
*** markvoelker has quit IRC10:35
*** cdent has joined #openstack-sdks11:14
*** markvoelker has joined #openstack-sdks11:32
*** markvoelker has quit IRC11:56
*** markvoelker has joined #openstack-sdks11:57
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Fix masked variable name  https://review.openstack.org/48434012:06
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Add support for service type aliases  https://review.openstack.org/48434112:06
*** elmiko has joined #openstack-sdks12:14
*** elmiko has quit IRC12:22
*** elmiko has joined #openstack-sdks12:23
*** dtantsur has joined #openstack-sdks12:33
openstackgerritM V P Nitesh proposed openstack/python-openstackclient master: now we can add description for role creation in OSC  https://review.openstack.org/48435512:37
*** bobh has joined #openstack-sdks12:37
*** jkilpatr has joined #openstack-sdks12:43
*** bobh has quit IRC12:51
*** bobh has joined #openstack-sdks12:52
*** gouthamr has joined #openstack-sdks13:00
*** fried_rice is now known as efried13:02
*** bobh has quit IRC13:08
*** bobh has joined #openstack-sdks13:11
*** bobh has quit IRC13:16
*** scottda has joined #openstack-sdks13:23
*** markvoelker_ has joined #openstack-sdks13:33
*** markvoelker has quit IRC13:33
*** markvoelker_ has quit IRC13:38
*** markvoelker has joined #openstack-sdks13:39
*** bobh has joined #openstack-sdks13:41
stevemar@mordred poke13:43
stevemareww, my slack is showing13:43
stevemarmordred: IIRC you (or someone from the infra team) had managed to check in docs and create slide decks out of them? this making any sense?13:44
*** cdent_ has joined #openstack-sdks13:45
*** cdent has quit IRC13:47
*** cdent_ is now known as cdent13:47
*** sbezverk has quit IRC13:51
*** sbezverk has joined #openstack-sdks13:51
mordredstevemar: yup! we use gertty for the slides - and they mostly translate directly into sphinx docs13:58
mordredstevemar: https://docs.openstack.org/shade/latest/user/multi-cloud-demo.html is an example13:58
*** chlong has joined #openstack-sdks14:05
mordredefried: I think we should do the max_endpoint_version stuff on top of your current wip patch, right?14:06
efriedmordred Yeah.14:07
efriedThat one ought to be a fairly noncontroversial one.14:07
stevemarmordred: ah, i was thinking about http://inaugust.com/talks/os-client-config.html#/14:09
stevemarmordred: is the source for that anywhere?14:09
*** chlong has quit IRC14:10
mordredstevemar: ah - yah - so, the ones in my inaugust.com one I do in reveal.js html directly - the source for that is here: http://git.inaugust.com/cgit/inaugust.com/tree/src/talks/os-client-config.hbs14:10
mordredstevemar: it's mildy templated using a build script in that repo that just handles my typical frontmatter14:11
efriedmordred Is keystoneauth1.identity.base.BaseIdentityPlugin#get_endpoint a new (as-yet-unreleased) API?14:11
efriedi.e. can I remove the `version` kwarg from that one, as part of https://review.openstack.org/#/c/483604/ ?14:11
mordredefried: nope. that's a very used api14:12
efriedmordred Okay, but get_endpoint_data in same class?14:12
mordredhttps://github.com/openstack/keystoneauth/blob/2.21.0/keystoneauth1/identity/base.py#L160-L16214:14
mordredefried: get_endpoint_data is safe14:14
efriedmordred Cool.14:14
stevemarmordred: hmm. i'm wondering if i could make some markdown, translate it to HTML and publish that14:14
stevemarso the source isn't HTML :(14:14
mordredstevemar: yes you can - in fact, you can write slides in markdown for reveal.js directly - also the tool pandoc can convert from rst and markdown formats into html backends14:15
mordredstevemar: although it currently doesn't do as good a job as I want with rst slides written for presentty14:15
*** mvpnitesh has quit IRC14:16
mordredso I've got a todo-list item to make improvements to rst->reveal.js conversion so that I can write slides for presentty then occasionally show them as reveal.js instead - and also a sphinx plugin to cleanup the presentation of them when those rst files are included in docs14:16
*** marst has quit IRC14:30
efriedmordred Who's gonna know about ironic microversions?  Should I ask in #openstack-ironic?14:33
*** marst has joined #openstack-sdks14:46
mordredyah ...14:54
*** cdent has quit IRC15:02
*** annegentle has joined #openstack-sdks15:31
openstackgerritMonty Taylor proposed openstack/os-service-types master: WIP Use CacheControl for caching  https://review.openstack.org/48439715:33
*** chlong has joined #openstack-sdks15:36
*** annegentle has quit IRC15:36
*** chlong has quit IRC15:38
*** annegentle has joined #openstack-sdks15:38
openstackgerritMonty Taylor proposed openstack/service-types-authority master: Don't dump trailing whitespace  https://review.openstack.org/48440015:43
*** chlong has joined #openstack-sdks15:45
*** rajathagasthya has joined #openstack-sdks15:59
mordreddhellmann, efried: ^^ both may be interesting. the first one is in response for cdent suggesting we go ahead and do that. it turns out we've got a little bit of a long tail to chase before we can - so I hope we can land the current patch as is and do the change later15:59
efriedmordred (min_version='latest', max_version=None) converts to (min_version=None, max_version='latest') -- First, I don't think that's right; I think it should convert to (min_version='latest', max_version='latest').  Second, I thought this behavior was in a doc somewhere, but I can't find it - can you help?15:59
mordredefried: it should be in that spec update, which needs another update now ...16:03
efriedmordred Do you agree that (min_version='latest', max_version=None) should convert to (min_version='latest', max_version='latest')?16:03
mordredefried: I think th ekey is that min_version='latest', max_versoin=None or minversion=None, max_version='latest' should both return latest, yeah?16:04
mordredefried: yes16:04
mordredefried: also - I got an answer from ironic on microversions - they only support old form16:04
mordredHOWEVER - I think I've got an answer for the whole thign withouth special casing :)16:04
efriedmordred It depends whether 'latest' means 'the latest you have' or 'the actual latest'.16:05
efriedmordred In the former case, None/latest could reasonably get you some version that's not the actual latest, whereas latest/latest would fail because we can't satisfy it16:06
efriedmordred That may be a nonsensical distinction, I suppose.16:06
*** rajathagasthya has quit IRC16:06
efriedBy definition, the latest we know about is the latest we can act upon; we have no way of knowing if it's really the absolute latest.16:07
*** rajathagasthya has joined #openstack-sdks16:07
mordredefried: there is no concept of "the actual latest"16:07
*** cdent has joined #openstack-sdks16:07
mordredso yes16:07
mordred"latest" always means "the latest version the cloud you're talking to supports"16:08
efriedmordred Was gonna say, if max_version=latest, min_version is irrelevant.  But that's not right, cause min_version can still indicate a lower bound, which WOULD cause an error if the latest is lower than that.16:08
mordredyup16:09
mordredcdent: btw - patches up for cachecontrol  - and I'm about to have a thing related to the microversion thing16:11
mordredcdent: tl;dr on cachecontrol - we can't do it this week - we have some testing plumbing in our testing libraries we need todo (the code works, we just can't test it)16:12
cdentmordred: i’m basically done for today and out tomorrow doing family stuff, but will look wednesday16:12
cdentyeah, saw your comment, makes sense, and there’s no real rush from my point of view, I just didn’t want to build in some kind of resistance to it over the long term16:12
mordredcdent: ++ - just wanted to follow up with you on the topic16:14
mordredcdent: I'm going to bug efried and dhellmann to get that patch landed for now while you're out -so wanted to  make sure you're ok with moving forward with the plan in place to land the patch as soon as we have the testing libraries updated16:15
cdentyes, totally cool with that16:15
mordredjamielennox: speaking of - when you get in, please ping me - I've got a 'fun' challenge - I want to use requests_mock and cachecontrol on the same library, and both are transport adapters which I can't stack16:15
mordredjamielennox: (we want to wind up with requests.session being mocked by requests_mock and cachecontrol then being mounted on that so that cachecontrol is operating the whole time but when cachecontrol decides that it needs to make a remote call it hits requests_mock16:16
* cdent waves16:17
*** cdent has quit IRC16:17
openstackgerritGage Hugo proposed openstack/keystoneauth master: Enable sphinx todo extension  https://review.openstack.org/48441716:18
*** ralonsoh has quit IRC16:31
openstackgerritMonty Taylor proposed openstack/service-types-authority master: Remove leading openstack/ from project name  https://review.openstack.org/48442216:36
*** annegentle has quit IRC16:37
*** knikolla has quit IRC16:40
*** annegentle has joined #openstack-sdks16:41
*** chlong has quit IRC17:03
*** itxaka has quit IRC17:03
*** GheRiver1 has joined #openstack-sdks17:15
*** GheRiver1 has quit IRC17:15
*** chlong has joined #openstack-sdks17:19
openstackgerritMonty Taylor proposed openstack/os-service-types master: Add support for getting OpenStack project information  https://review.openstack.org/48443517:34
mordreddhellmann, efried: ^^ that should help both the docs job (pulled in doug's method from that patch) and also the microversion header patch17:35
efriedmordred Is there a test for get_service_data?17:37
mordredefried: thanks - I missed that one - one sec17:38
*** dtantsur is now known as dtantsur|afk18:07
openstackgerritMonty Taylor proposed openstack/os-service-types master: Add support for getting OpenStack project information  https://review.openstack.org/48443518:20
openstackgerritMonty Taylor proposed openstack/os-service-types master: Refactor bulk of data checking into mixin class  https://review.openstack.org/48444518:20
mordredefried: ok. added that test - and another missing test - then got annoyed and refactored a chunk of copy-pasta18:21
openstackgerritMonty Taylor proposed openstack/service-types-authority master: Remove leading openstack/ from project name  https://review.openstack.org/48442218:23
mordredefried: k - rebased that ^^ it's not actually related to the trailing-whitespace18:24
*** bobh has quit IRC18:45
*** bobh has joined #openstack-sdks19:04
*** cmurphy has quit IRC19:09
*** cmurphy has joined #openstack-sdks19:10
*** lbragstad has joined #openstack-sdks19:13
lbragstadcurious if i could get a quick api change sanity check here - https://review.openstack.org/#/c/482190/319:14
*** knikolla has joined #openstack-sdks19:14
lbragstadi'm just wondering if ^ is ok to do or not and looking for some advice19:14
*** jkilpatr_ has joined #openstack-sdks19:25
*** jkilpatr has quit IRC19:27
*** dave-mccowan has joined #openstack-sdks19:45
*** boris-42__ has joined #openstack-sdks19:47
openstackgerritMonty Taylor proposed openstack/os-service-types master: Add support for getting a complete list of type names  https://review.openstack.org/48447320:02
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Add support for service type aliases  https://review.openstack.org/48434120:03
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Fix masked variable name  https://review.openstack.org/48434020:03
*** cdent has joined #openstack-sdks20:03
mordredefried, cmurphy: ^^ that should take care of service-type alias support AND supporting old-style microversion headers AND supporting services, like cinder, that have a different microversion name than official service-type20:04
*** jkilpatr_ has quit IRC20:05
cmurphymordred: o720:06
*** annegentle has quit IRC20:07
*** dave-mccowan has quit IRC20:17
*** chlong has quit IRC20:27
*** chlong has joined #openstack-sdks20:32
*** jkilpatr has joined #openstack-sdks20:37
mordredcmurphy: oh - btw - I made you an initial core on os-service-types since you have context paged in for it21:04
cmurphymordred: oh neato21:04
* cmurphy adds to watchlist21:04
*** chlong has quit IRC21:26
*** dave-mccowan has joined #openstack-sdks21:34
*** annegentle has joined #openstack-sdks21:40
openstackgerritDean Troyer proposed openstack/python-openstackclient master: Fix column names for server list --no-name-lookup  https://review.openstack.org/48450021:51
*** cdent has quit IRC21:52
*** annegentle has quit IRC21:53
*** bobh has quit IRC22:02
*** gouthamr has quit IRC22:12
*** gouthamr has joined #openstack-sdks22:14
*** marst has quit IRC22:37
johnsomHi folks, FYI, I am going to try to pick up the octavia/load-balancer SDK patches22:52
johnsomReading the contributor docs now...  grin22:52
johnsomShould I use allow_retrieve or allow_get?  I see the docs say allow_retrieve but some, neutron ports are using allow_get22:56
johnsomDigging I see a bunch of stuff moving to resource2 so I guess that is the path forward.23:05
*** chlong has joined #openstack-sdks23:24
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Remove deprecated_since parameter for interface  https://review.openstack.org/48452823:24
efriedSo mordred I've been banging my head against these same couple of test cases for the past couple of days.  I'm at the point now where I'm actually working to understand all the logic in the new discovery algorithms.23:27
efriedmordred I'm pretty desperate not to have to support version+min_version+max_version in all these new APIs.23:28
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Remove deprecated_since for interface and fix text  https://review.openstack.org/48452823:28
mordredefried: is the code that's up your latest?23:30
mordredefried: if so, I can take a look first thing in the morning23:30
efriedmordred Well, nooo, not really.  I've got a mess of a sandbox at this point which includes some things that are fixes, some things that are experiments, and a bunch of debug code.23:31
mordrednod23:31
efriedmordred But I can try to work something up that represents only the first of those things and post it before morning.23:31
mordredefried: cool - it may be that we're at the point where if you show me what you've got a second set of eyes can help move if along23:31
*** gouthamr has quit IRC23:32
efriedmordred What I'm pretty sure I'm screwing up is the logic around https://review.openstack.org/#/c/483604/6/keystoneauth1/discover.py@90523:32
efriedI *thought* I didn't need all those weird and complex variables anymore.23:33
efriedBut my _catalog_matches_version is a tad too loose, so I'm not getting latest when I should because a non-latest matches.23:33
mordredefried: yah - I tihnk you still need them - but I think after you normalize version -> min/max you should be able to do update the definition of exact_match23:34
efriedmordred Yeah, I think that new def is making sure max_version[0] is equal, but max_version isn't exceeded.23:35
efriedSo version_match, but with the inequality reversed.23:36
mordredefried: actually - so version=2 -> min_version=2.0 max_version=2.latest right?23:39
efriedmordred Yes.23:39
efriedoh23:39
mordredefried: exact_match could then be is_between and min_version[0] == max_version[0]23:39
*** bobh has joined #openstack-sdks23:41
*** gouthamr has joined #openstack-sdks23:52
*** gouthamr has quit IRC23:53
*** gouthamr has joined #openstack-sdks23:54

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