12:00:28 #startmeeting nova api 12:00:29 Meeting started Fri Jul 10 12:00:28 2015 UTC and is due to finish in 60 minutes. The chair is alex_xu. Information about MeetBot at http://wiki.debian.org/MeetBot. 12:00:30 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 12:00:32 The meeting name has been set to 'nova_api' 12:00:44 hello~ who is here today! 12:00:57 hi 12:01:00 alex_xu, hi 12:01:09 gmann: Jeffrey4l hi! 12:01:39 wait one more minute if there are more people join in 12:02:01 hi 12:02:12 johnthetubaguy: hi 12:02:25 I should really run off and get some lunch, soon ish, but just want to make sure you are not being blocked by anything 12:02:33 there are pending specs I guess 12:02:48 johnthetubaguy: thanks a lot! 12:03:03 so let me quick go through all the items 12:03:10 s/me/us/ 12:03:12 #topic Liberty priority items 12:03:24 Good news is we merged most of items' spec in L1 except the only one https://review.openstack.org/#/c/173243/ 12:03:41 But I think it won't have too much change. Maybe I should ping Anne to see if she can remove the -1 12:04:19 #action alex_xu catch Anne to see if she can remove the -1 12:04:36 For other thing we can focus on code. They are Microversion client, remove v3, policy cleanup. 12:04:45 Microversion client is ready review for a while~. 12:04:52 #link https://review.openstack.org/#/c/152569/39 12:05:02 I reviewed it today, I found it still have some problem. I think it still coding the pattern as API will do version negotiation. That isn't what we discussed before, right? 12:05:18 johnthetubaguy: sdague ^ 12:05:26 yeah, that doesn't sound correct 12:05:38 I mean it could be an option, but it certainly shouldn't be the default 12:05:51 I guess there is something misunderstand what is 'API bit' and 'CLI bit' 12:06:01 quite possibly 12:06:32 yeh, I feel like that whole back and forth has been a lot of communication issues 12:06:46 I had thought we got to the bottom of that in the spec 12:07:36 sdague: do we still need update spec? or just focus on the code now? 12:07:53 I think just the code, the spec was obviously not clarifying anything 12:08:06 sdague: yea... 12:08:25 +1 12:08:28 let me see if I can catch the author, try to explain some to him 12:08:30 (sadly) 12:08:48 so if a google hangout helps for these things, lets try set that up 12:08:58 I think we are spread between enough timezones something could work 12:09:42 (thats me "giving permission", rather than requesting that) 12:10:05 johnthetubaguy: the author isn't English guys I guess, then +me too...maybe text for me better 12:10:20 johnthetubaguy: yeh, or at least get a dedicated chunk of irc time 12:11:33 * nightanne waves over coffee 12:12:20 yeah, either of those could work 12:12:45 anyways, sounds like there is more communication needed, but thats cool 12:12:57 yea, agree 12:13:46 I can send email to contact the author, then find out a time. or maybe next api meeting 12:14:38 #action alex_xu send email to contact microversio client author to setup a meeting 12:14:49 For policy cleanup, I submited more patches~ The final goal is remove the hard-code permission checks decorator. 12:14:51 cool 12:14:53 thank you 12:14:55 #link https://review.openstack.org/200382 12:14:57 johnthetubaguy: np 12:15:09 There are some useless db call still using hard-code permission, I want to cleanup the useless db call directly. 12:15:14 I guess no more question for this 12:15:25 For removing v3, the patch looks like still under coding, not ready for review yet. 12:15:35 if a blueprint helps to track those things, we can add one, but its not a requirement 12:16:12 johnthetubaguy: for removing v3 or policy?, those have bluepring too 12:17:21 sorry, I was meaning the db calls, although yeah, I guess thats already covered 12:17:35 johnthetubaguy: yea 12:17:51 welcome anyone review for priority items~ 12:17:54 let's moving on 12:17:59 #topic What is next for nova api policy 12:18:21 After catching a lot of discussion about dynamic policy, I see the thing as sdague said we need waiting for dynamic policy's big picture before we continue policy improvement in nova. 12:18:34 The propose from sdague about 'default in code', and '/policy' didn't get agreement with keystone guys yet from yet. And from previous meeting, we said we should workout what we want to in the future first. So let us work out the devref first? 12:18:57 yeh, I need to circle around with morganfainberg on the oslo.policy changes 12:19:03 he seemed pretty ammenable to it 12:19:27 but, vacation last week, and working through some other issues this week (like multinode) 12:19:52 so this was a post summit action I think, don't totally remember who got that one 12:20:01 I think its good to stop and write down the problems we want to solve 12:20:14 we do have a lot of policy, all over the place 12:20:36 I mean we have a big API, thats the root cause 12:20:49 johnthetubaguy: yea 12:20:59 anyways, all good, we just need more time in the day 12:21:09 sdague: actually the propose and idea is from you. Would you like to draft devref?, or you want to others help? 12:21:37 it is unlikely that I'll get to it before the midcycle 12:21:48 so its one of the thing I might draft if I get there first, but i looks unlikely for me too 12:21:49 maybe we can allocate a bit of time to talk it through at the midcycle 12:22:06 I think we already did that at the summit though 12:22:15 well, maybe not the dynamic bit I supose 12:23:15 yeh, I feel like we have end game, but there are details to talk through 12:23:20 if there isn't time, that's fine as well 12:24:17 cool, its probably worth talking through then 12:24:46 I assigned time on Monday for all the priorities, it could go in there 12:25:20 ok, cool. 12:26:01 so waiting for the result from mid-cycle. let's moving on 12:26:10 #topic What is next for Liberty-2 12:26:26 We still have few items I think need to do, like remove extension, and api reference doc. 12:26:44 anything more? 12:27:24 if no more other thing is more prioirty, I will work on remove extension, probably an nova-specs 12:27:43 and welcome anyone interesting in it to help on ^ 12:28:07 I can help ;P 12:28:17 Jeffrey4l: cool, thanks :) 12:28:19 it would be good to the the docs moving too 12:28:39 np~ 12:28:42 we really need all the specs in ASAP, if possible 12:28:57 johnthetubaguy: actually remove extesion is a little related to api reference doc. 12:29:10 alex_xu: can you help with the api ref doc? I have ideas 12:29:19 because our api ref doc still talk about extension 12:29:28 morninganne: yea, sure 12:29:40 #link http://developer.openstack.org/api-ref-compute-v2.1.html#os-extended-availability-zone-v2.1 12:29:48 ^ it still talk about extesion for v2.1 12:30:01 alex_xu: ideas here http://lists.openstack.org/pipermail/openstack-docs/2015-June/007041.html 12:30:03 #link http://lists.openstack.org/pipermail/openstack-docs/2015-June/007041.html 12:30:27 alex_xu: do you have a doc bug in https://bugs.launchpad.net/openstack-api-site 12:30:33 morninganne: cool~ this is what I want~ 12:30:35 yeah, we did say the docs should be the main aim for liberty 12:31:02 morninganne: not yet 12:31:12 johnthetubaguy: +1 12:31:26 morninganne: so we can switch to swagger now, or we still need maintaince existed api ref doc? 12:31:32 alex_xu: please jump in. I haven't had a chance to tackle the JSON schema work for /actions 12:31:43 #link https://review.openstack.org/#/c/177934 12:31:47 alex_xu: we have to maintain while we get the generated swagger solution working 12:31:49 morninganne: yea /actions is a problem, it isn't discoverable 12:32:01 about API ref doc site new idea 12:32:04 read the spec and posts carefully, it's "Swagger-ish" :) 12:32:06 FYI 12:32:13 gmann: thanks yes that's the spec 12:32:18 gmann: the list post is the latest progress 12:32:26 I should just merge that spec :) 12:32:56 yea 12:33:33 morninganne: the current api doc ref for v2.1 looks like mess, and it didn't support microversion, I'm not sure maintance it whether is waste, if we can have swagger in no long time 12:33:36 alex_xu: we'll send PRs to https://github.com/russell/fairy-slipper 12:33:45 alex_xu: it's a waste, please work on https://github.com/russell/fairy-slipper 12:33:57 alex_xu: accelerating Swagger is preferred 12:34:14 morninganne: ok, cool 12:34:18 alex_xu: and microversion for swagger is what we want 12:34:21 to the future! :) 12:34:31 I think testing the new micro versions in the new thing would be fun 12:34:35 maybe just do keypairs 12:34:37 morninganne: yes, agree, and hope we get that for liberty release 12:34:39 and see how it works? 12:34:41 only 3 months til release right 12:35:07 morninganne: yea, it's tight 12:35:29 johnthetubaguy: you mean doc? 12:35:49 yeah 12:35:58 keypairs where? (tell me more) 12:35:59 use the new doc system on two microversions 12:36:02 see how it looks 12:36:23 ah, we'll need more than that though eventually? 12:36:27 (more than pairs?) 12:36:33 agreed 12:36:39 * russellb is amused he got an irc notification about something called fairy-slipper 12:36:51 russellb: ha ha hah 12:36:54 just its somewhere we have added a version already 12:36:59 russellb: hehe 12:37:08 :) 12:37:20 never thought about the attention aspect. I have a new lease on life. 12:37:48 ok, cool 12:37:59 so its this bit: https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/plugins/v3/keypairs.py#L54 12:38:03 it has one microversion 12:38:06 another is in review 12:38:13 its just an interesting test case 12:38:57 something tells me that we kinda want v2.0 and v2.1 in the same set of docs really, rather than separate 12:39:09 johnthetubaguy: yea 12:39:12 in the same way v2.1 and v2.2 should be in the same docs I guess 12:39:24 but anyways, keypairs is a small place we could start with I think 12:39:32 johnthetubaguy: do we still need talk about extension in v2.0? 12:39:49 alex_xu: hm, good question. it's already out there and what people think of at Rackspace 12:40:01 alex_xu: well consider it removed in v2.1 I guess 12:40:01 but yes, we consider it removed in 2.1 12:40:06 (it being all extensions) 12:40:23 if v2.0 still consider extensions, then we may not put v2.1 and v2.0 in one doc 12:40:39 I think we just need to look at it differently 12:40:55 in v2.0 the extension returns 404 if not listed in that /extensions 12:41:10 thats gets dropped at some version, once we get that sorted 12:41:36 I mean when you use v2.1 code, it will not be possible to turn any of those off, but its still technically an API concept 12:41:39 does that make sense? 12:41:46 basically call the whole thing the Nova API 12:42:06 johnthetubaguy: not to end users, never use extension for end users 12:42:08 just note that some bits might be missing, based on the extension list, where as later its a version 12:42:25 johnthetubaguy: we'll use microversions in end user doc though I think 12:42:31 morninganne: well that is the end user API we have right /extensions 12:42:47 johnthetubaguy: only to people grepping nova code if we can make the docs nice 12:43:02 johnthetubaguy: capabilities/rights not extensions 12:43:12 thats quite different actually 12:43:12 johnthetubaguy: I'd like to ban the word extensions except for in the nova code 12:43:18 so its in the API 12:43:25 johnthetubaguy: nooo... 12:43:33 * morninganne is sad panda 12:43:37 we are trying to remove it 12:43:46 but its been there since almost the beginning 12:43:50 and agreed that sucks 12:44:06 we call it as plugin 12:44:18 if that sounds better~ 12:44:35 so we don't have to do any of that right 12:44:52 its simply that an API can be disabled and return 404 12:45:02 you can see if its disabled by looking in the extension list 12:45:11 (well see if its enabled, I guess) 12:45:25 now as of some version, thats no longer there, as its always enabled 12:45:29 and its pure policy 12:45:34 I don't think we can hide that 12:45:59 at no time should we say v2.0 vs extensions any more 12:46:01 its just a single v2.0 API 12:46:15 just you can discover if its missing in a particular way 12:46:22 at least thats what I was thinking 12:46:27 .... seems like I should write that down 12:47:26 does the policy file say extensions johnthetubaguy? 12:47:30 heh 12:47:40 yes please so I can ban the word extensions (I kid, really) 12:48:20 morninganne: so the API says extensions 12:48:43 johnthetubaguy: where 12:48:55 docs or code? 12:48:59 / extenions 12:49:09 https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/plugins/v3/extension_info.py. 12:49:26 thats the v2.1 version 12:49:28 oh in the API resource, got it. did y'all have a name debate about /capabilities or anything like that? 12:49:43 it was added years ago right 12:49:46 (might be too late, just trying to fill in my history knowledge) 12:49:52 johnthetubaguy: to 2.0, sure :) 12:49:52 thats just keeping compatibility with the old API 12:50:01 johnthetubaguy: oh ok, I get it. yeah 12:50:13 * alex_xu lose the context... 12:50:15 johnthetubaguy: could add a 2nd resource called /capabilities some day 12:50:17 we didn't want to add it, but yeah, its required 12:50:26 we are talking about dropping it 12:50:31 alex_xu: oh I'm just trying to eliminate the word extensions but it's a resource in the API 12:50:32 it doesn't mean anything much any more 12:50:38 johnthetubaguy: cool, that's what I'm looking for 12:50:50 but yeah, thats the spec we discussed about 12:50:54 above^ 12:51:03 basically add a microversion to drop /extensions 12:51:06 morninganne: yea, it just for v2.0 user switch to v2.1 smooth, will drop in the future 12:51:12 ok 12:51:18 :thumbsup" 12:51:22 heh I can't type 12:51:29 I thought we were basically agreeing 12:51:36 ayup 12:51:45 I mostly just seek understanding when I question :) 12:51:54 not arguing :) 12:52:04 morninganne: me too, generally 12:52:06 :) 12:52:30 ok, cool, so for l2, two items: remove v3 and api doc, any question? 12:52:39 sorry, remove extension 12:52:42 anyways, I think we can have a single doc that covers both v2.0 and v2.1 and v2.2, in theory 12:53:03 but that can be the new doc for v2.1 I guess 12:53:09 johnthetubaguy: yea, that is the goal 12:53:24 once the doc covers v2.0 well enough, it replaces the old one, just like the code :) 12:53:45 alex_xu: cool, just making sure we all thinking the same thing there 12:54:01 johnthetubaguy: yea 12:55:03 do we still have question for Liberty-2 works items? 12:56:18 nothing from me 12:56:29 ok, cool, no question 12:56:51 #action alex_xu Jeffrey4l works on remove extensions 12:57:04 #action alex_xu help morninganne on nova api doc 12:57:14 sweet thanks alex_xu 12:57:24 morninganne: np :) 12:57:33 let's moving on 12:57:37 awesomeness 12:57:39 #topic open 12:58:12 two items I listed, hope api team help non-priority feature review, for the api impact feature 12:58:35 #link http://lists.openstack.org/pipermail/openstack-dev/2015-July/068815.html 12:58:40 I checked just few items 12:58:50 and some of them is not ready for review 12:59:32 and there are some api-wg guideline is closed to merge, it worth to review 12:59:34 #link API-WG guideline review http://lists.openstack.org/pipermail/openstack-dev/2015-July/068682.html 12:59:51 * alex_xu just reivew part of those guideline~ 13:00:08 any more open? if no, then we can let johnthetubaguy go to lunch~ 13:00:44 3... 13:00:49 2.. 13:00:55 1. 13:01:11 thanks all! 13:01:17 #endmeeting