13:00:07 #startmeeting nova api 13:00:08 Meeting started Wed Mar 1 13:00:07 2017 UTC and is due to finish in 60 minutes. The chair is alex_xu. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:00:09 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 13:00:12 The meeting name has been set to 'nova_api' 13:00:18 who is here today? 13:00:43 o/ 13:00:56 johnthetubaguy: sdague, are you around? 13:01:01 yeh 13:01:03 O/ 13:01:04 Kevin_Zheng: welcome back 13:01:16 man, it's wed already.... 13:01:35 yea... 13:01:40 o/ 13:01:57 alex_xu: :) 13:02:31 I see why we didn't prorioty for api this release now, the policy stuff is waiting for more hierarchy quota things 13:03:19 policy stuff? 13:03:30 #topic anything we looking for api team in Pike although no prority task 13:03:36 that shouldn't be blocked by any hierarchy stuff 13:03:59 right, policy can happen now 13:04:26 johnthetubaguy: maybe I misunderstand the note at https://etherpad.openstack.org/p/nova-ptg-pike-api@6 13:04:28 I got the some OSIC folks kicked off on that yesterday, specs are up 13:04:29 alex_xu: yeh, honestly, when we got to the priorities section, it wasn't clear to me that there were must haves besides the policy docs 13:04:39 sdague: +1 13:05:06 alex_xu: happy to entertain ideas to move forward, it didn't seem like there were that many proposals for big pushes 13:05:27 i'm cool with that 13:05:29 alex_xu: hmm, yeah, that note looks wrong to me 13:05:54 alex_xu: we discussed all the policy stuff when the keystone folks came to visit, maybe thats what that meant 13:06:13 ah, i see now :) 13:06:30 right, there were kind of 2 different things there 13:07:07 for other things, we did mention the api concepts guide needs some more love, but with api-ref in a good shape its not as critical as policy docs IMHO 13:07:19 yea 13:08:42 johnthetubaguy: what about https://review.openstack.org/433037 ? 13:08:48 just waiting for more review? 13:08:56 FWIW ironic have already done a great start at the policy stuff: https://github.com/openstack/ironic/blob/8db68fef4e97b2ed6552b80215ab03093f18e615/ironic/common/policy.py 13:09:28 alex_xu: for me all three specs just need reviewing as a sub team, then getting the other specs-cores to take a look afterwards 13:10:07 johnthetubaguy: got it, i'm clear the path now 13:10:35 I believe keystone are planning on doing the move policy into code, and add descriptions bit 13:12:12 has anyone got any questions on the three policy specs? 13:12:29 if you are like me, you are still having your brain reboot post PTG, so thats more for next week 13:12:37 johnthetubaguy: no, I just need to get enough breathing space to start reading 13:12:47 sdague: cool, totally 13:13:13 me too 13:14:22 so i think we are clear the plan, anything more? 13:14:27 I found a pending spec of mine around tidying up security groups APIs 13:14:35 I frankly don't have the bandwidth on that 13:14:44 which one? 13:14:48 #link https://review.openstack.org/#/c/382414/ 13:15:00 so if someone wanted to take that and drive it, I would be more than happy 13:16:20 for the notes... 13:16:22 #link https://developer.openstack.org/api-guide/compute/users.html 13:16:38 #help lots of api-guide TODOs that need filling in 13:17:09 #info main focus is likely policy docs, please review the spec: https://review.openstack.org/#/c/433010/ 13:17:38 for extra context, there is a POC here: https://review.openstack.org/#/c/434842/ 13:17:46 #link POC for policy docs: https://review.openstack.org/#/c/434842/ 13:18:02 there is a POC for the scope work, which is way more confusing 13:18:23 #link POC for policy scope here: https://review.openstack.org/#/c/435485/ 13:18:30 I remember we talk about deprecation personality? that should be a simple microversion? if yes, I can take that 13:18:44 #link spec for policy scope work here: https://review.openstack.org/#/c/433037 13:19:06 alex_xu: good point, that needs a spec doing 13:19:15 alex_xu: I think mriedem was going to take that 13:19:23 worth asking him 13:19:35 johnthetubaguy: ok, cool, i will check with thm 13:19:41 s/thm/him 13:20:43 thats all I have for sure 13:20:44 johnthetubaguy: thanks for the link 13:21:18 I suppose quota changes are API related, and sdague is taking up that one with keystone 13:21:39 but its more a tracking/planning thing for us this cycle, I assume 13:21:47 yeh 13:21:55 (well except the cells v2 related changes, but thats not really API as such) 13:22:16 and fending off the folks that want to rip up current progress :) 13:23:19 I guess we didn't have freeze timeline yet? 13:23:32 we didn't do timelines, thats true 13:24:31 ok, that probably we come out later i guess 13:24:56 I think we can move on 13:25:04 #topic open 13:25:35 #link https://review.openstack.org/409644 13:25:55 bhagyashris: ^ have a patch to fix a strange value of rotation 13:26:20 it is also a case we need to think about the question "microversion or not" 13:26:38 "Caveat: The last backup of an instance should be deleted by user explicitly." 13:26:39 but I feel the backup API maybe a target we want to deprecate in the future? 13:26:44 I am not sure what that means 13:27:50 I think the question here is would we backport this change to all previous stable releases, well maybe. 13:29:23 emm....not sure how to answer the question about would we backport this change 13:30:24 well, is it a bug fix we want to backport, with zero discoverability 13:30:31 ... maybe, I could go either way 13:30:58 the backup API is something we can implement in the client with create_image API, so i wonder is anybody want to deprecate backup API? 13:32:45 sdague: ^ any thought? 13:33:02 I think it was meant to eventually do differential snapshots, but I don't believe it does today 13:33:44 that caveat, I wonder if it means you can delete all old snapshots by passing in a value of zero? 13:33:45 yes, it is entire snapshot 13:34:09 if thats the case, we might want to keep this, and just fix the code so it stops creating a new snapshot, and just deletes the old ones 13:34:58 FWIW, I think this is one of the rubbish APIs that were "inherited" from the old slicehost cloud API 13:35:11 yeah as I have changed the rotation parameter from 0 to 1 then user will nedd to delete tha last backup explicity 13:35:27 feels like we should just stop the code creating the extra snapshot then 13:35:28 s/nedd/need 13:35:32 would that fix the problem? 13:37:11 emm...I also feel like that, just stop the code creating the extra snapshot 13:38:51 bhagyashris: I added a link to the two lines in the code you need to look at to skip creating the snapshot if rotation==0 13:39:15 bhagyashris: there are some niggles around upgrade that make it not quite that simple, but that shouldn't be too bad 13:39:30 s/niggles/problems/ 13:40:01 ok. 13:41:38 ok, bhagyashris if you feel good now, i think we can move on 13:42:31 yeah sure 13:42:44 thank you. 13:42:58 np 13:43:32 * alex_xu just found that involve service min_version 13:43:41 yeah 13:44:02 only skip creating the snapshot, once all nova-compute nodes are upgraded 13:44:12 creating the snapshot record in glance, that is 13:44:35 yea 13:45:22 johnthetubaguy: so you want to keep the api behaviour consistent in upgrade? 13:46:22 I feel it is fine just some nodes skip the snapshot, some nodes not. 13:46:22 well, its more about ensuring it works 13:46:33 if you don't create the snapshot, old compute nodes will fail backup 13:46:44 because they are still trying to upload the snapshot 13:46:45 whatever all the snaphsot will be deleted finally, the result of API won't change 13:46:55 yeah, the API doesn't change 13:47:12 except there is no longer a snapshot that is created and deleted, but thats basically a noop 13:48:26 ah, image created in the nova api 13:50:03 I see now 13:50:31 so...anything else we want to bring up? 13:50:43 i have one 13:50:48 https://review.openstack.org/#/c/423112 13:51:00 Do we like this or not 13:51:02 ? 13:51:41 it seems we implemented the spec just fine, but the DB can fit more in than the API 13:51:54 feels like we should keep 60 limit, let me check the API-WG spec 13:52:33 I also feel it isn't worth a microversion 13:52:51 If that's the case I will abandon this and do my other tags related bp with limit 60 :) 13:53:05 hmm, we should update the api-wg spec: https://specs.openstack.org/openstack/api-wg/guidelines/tags.html 13:53:12 it doesn't seem to mention max lenght 13:53:24 I don't think we should increase it really, unless we have a really good reason 13:53:26 yes, it didn't metion it 13:53:35 * alex_xu add a todo for himself 13:54:02 johnthetubaguy: +1 13:54:50 I will update the API e.g. 13:54:57 API wg 13:55:07 Kevin_Zheng: cool 13:55:21 so anything more? 13:55:34 just to be clear, we enforce the 60 character limit in the API right? 13:55:44 in the json schema I assume? 13:56:28 yea, as i read, it is 60 13:56:31 in schema 13:57:36 I guess Kevin_Zheng just drop the network 13:58:12 ok, 3 mins, I guess no more will bring up 13:58:33 thanks all! 13:58:35 #endmeeting