13:02:22 #startmeeting nova api 13:02:23 Meeting started Wed Aug 31 13:02:22 2016 UTC and is due to finish in 60 minutes. The chair is alex_xu. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:02:24 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 13:02:26 The meeting name has been set to 'nova_api' 13:02:31 o/ 13:02:38 o/ 13:02:47 sorry, I always remember we use openstack-meeting-alt... 13:03:09 I guess sdague busy on something 13:03:20 #topic API Priorities 13:03:36 let us go through last few patches 13:03:46 #link https://review.openstack.org/#/c/356963/ 13:04:21 the one is about emit warn msg for user_id based rule 13:04:38 I didn' some improvement and test 13:04:47 * edleafe wanders in with cup of coffee in hand 13:05:08 it only checked the rules which loaded from policy.json 13:05:19 o/ 13:05:39 alex_xu: so I didn't see examples of that working on devstack 13:05:48 do you have log lines pointing to it working? 13:05:50 when user have full custom rules, it spend 0.37 second with execute 1000 times 13:05:59 sdague: I fixed it, let me find the line 13:06:48 alex_xu: ok, cool, if you fine examples of it running and put it into the review, I'll look later on it 13:07:03 starred it to come back 13:07:22 o/ 13:07:42 sdague: ok 13:07:46 sdague: there is the log http://logs.openstack.org/43/360943/3/check/gate-tempest-dsvm-full-ubuntu-xenial/fdd2590/logs/screen-n-api.txt.gz#_2016-08-29_15_15_52_844 13:08:05 johnthetubaguy: are you ok with the performance? 13:08:52 its not free, but it seems minimal, I am just trying to remember how many requests/sec we have going through an API node, and what difference that could make 13:09:31 0.37 seconds for 1000 iterations means that we're really adding only 1ms right? 13:09:37 on a normal request 13:09:45 johnthetubaguy: yea, if user have empty policy.json, it only use 0.009 second 13:09:56 alex_xu: per request? 13:10:05 sdague: no, 1000 request 13:10:30 that sounds better 13:10:36 how did you get 0.37? 13:10:36 right, so honestly, if the number is < 1ms per request it's a pointless discussion 13:10:42 johnthetubaguy: for 1000 13:10:50 if all the rules are custom 13:11:09 johnthetubaguy: I only execute the check code in the script with a loop execute 1000 times 13:11:26 I was meaning what was in policy.json 13:11:35 but anyways, seems like its tidy, so lets call that fine and move on 13:11:41 cool 13:11:43 s/tidy/tiny/ 13:11:46 yeh 13:12:14 johnthetubaguy: just load the defualt rule 13:12:18 johnthetubaguy: cool, thanks 13:12:48 the last one 13:12:51 #link https://review.openstack.org/322944 13:13:00 policy discover CLI 13:13:26 just waiting for more feedback 13:13:54 alex_xu: added to my queue 13:13:55 ok, so this might be one of those things where it's low risk, and we move it forward with only light feedback 13:14:00 edleafe: thanks 13:14:16 sdague: yea 13:14:22 related to policy, when I brought up the policy in code at the ops summit, people were excited 13:14:36 sdague: cool that echos the feedback from manchester 13:14:41 but they also said we really were going to need a policy reference document 13:14:44 sdague: cool :) 13:14:55 sdague: yeah, +1, with descriptions, etc 13:14:56 because the policy.json file would end up blank 13:15:06 and they wouldn't know which things to change 13:15:34 the cmd that outputs the merged yaml was the initial work around to help with that a little bit 13:15:37 yes, but if the rule name can easy to map to url, that will better 13:15:40 so, either post freeze, or early next cycle, we should make sure that policy reference document is a high priority 13:16:00 alex_xu: yeh, we could also fix it with adding descriptions, which honestly might be better 13:16:13 that's the way ops think about things, not always like urls 13:16:21 ok, at least that is the thing we can do now 13:16:22 I am tempted by both, honestly 13:16:23 this is forward looking, but relevant for O goals 13:17:10 well, we can do more url related things, once we have alias, so upgrading is not impossible, description first is my take, but yeah, this is for O 13:17:25 yep 13:17:32 ok, moving on? 13:17:35 I was hoping the cmd to output the merged should do for now, does that seem OK? 13:17:40 yea 13:17:43 * edleafe reads 'O goals' as 'zero goals' 13:17:44 johnthetubaguy: yeh, probably 13:17:58 edleafe: you need a better font :) 13:18:08 sdague: :) 13:18:14 that is all we have before freeze 13:18:18 there is another one that tells you about duplicates to help with upgrade too, but yeah, we should move on 13:18:19 anything I missed? 13:18:22 \o/ 13:18:32 \o/ 13:18:38 johnthetubaguy: yeh 13:19:00 #topic open 13:19:02 honestly, my brain is over on the placement-api this week, so unless there is anything else, probably worth getting back over there 13:19:29 oh, this should be a quick approve, api-ref related - https://review.openstack.org/#/c/362170/ 13:19:52 once dev calms down from the freeze, I'll schedule a final api-ref sprint, probably mid sept 13:19:53 there is bug mentioned by Matt, Kevin_Zheng happy to help on this https://review.openstack.org/359134, but this can be done after freeze 13:20:20 sdague: cool 13:20:37 yes 13:21:00 Kevin_Zheng: thanks for helping 13:21:13 np 13:21:25 so...if no more question, let us end the meeting, people are busy this week. 13:21:38 3... 13:21:41 2.. 13:21:45 1. 13:21:53 ok, thanks all! 13:21:54 thanks, alex_xu! 13:22:03 #endmeeting