16:00:17 #startmeeting api wg 16:00:18 Meeting started Thu Mar 26 16:00:17 2015 UTC and is due to finish in 60 minutes. The chair is etoews. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:00:19 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:00:21 The meeting name has been set to 'api_wg' 16:00:39 yo/ 16:00:56 hi 16:00:57 hi 16:00:58 \oy 16:01:02 hi 16:01:04 hi 16:01:24 o/ 16:01:29 feels like long time no see :) 16:01:35 hehe 16:01:45 howdy 16:02:01 #topic agenda 16:02:14 #link https://wiki.openstack.org/wiki/Meetings/API-WG#Agenda 16:02:28 o/ 16:02:39 i mixed it up a bit and moved the guidelines higher in the agenda 16:03:15 seems like the past few meetings (that i've been a part of anyway) have been about everything but the guidelines 16:03:43 i'd like to get some guidelines in the bag 16:04:02 but first... 16:04:02 #topic previous meeting action items 16:04:13 #link http://eavesdrop.openstack.org/meetings/api_wg/2015/api_wg.2015-03-12-16.00.html 16:04:58 the only action there was for me to create a guideline about errors. and i've got a start on that. 16:05:14 any other actions from meetings past that have fallen off the radar? 16:05:38 I had to start some discussion on metadata and tags on the ML, which I did a while ago 16:06:07 what's the subject on that email? i don't recall seeing it. 16:06:19 let me look for it, it was more than a week ago 16:07:34 etoews: http://osdir.com/ml/openstack-dev/2015-03/msg00558.html 16:07:58 #link https://review.openstack.org/#/c/141229/ (Metadata guidelines) 16:08:21 #link https://review.openstack.org/#/c/155620/ (Tagging guidelines) 16:09:13 sorry i missed that. my email filters were failing for a couple of weeks. 16:09:26 etoews: I wouldn't possibly be able to guess why 16:09:27 but as you see, not much activity 16:10:03 i starting to think we should add [all] to a lot of our [api] emails. 16:10:19 people seem to be tuning out the [api] 16:10:45 a) yes b) I suspect people have a hard time getting enough context on things like metadata and tagging guidelines to feel like it is relevant to them 16:11:18 yeah, b) makes sense, most people don't care 16:13:08 hmmm...(b) is tough one. 16:13:54 if nothing else, openstack requires a certain amount of perseverance and endurance. 16:14:02 it seemed like, aside from swift, there wasn't much pushback on the metadata ideas miguelgrinberg had put forth earlier 16:14:10 cdent: But the heat team did reach out to ask, so probably you could get some communication closure by circling back on the instance tag thread 16:14:31 (you meaning miguelgrinberg not you cdent, heh) :) 16:14:34 annegentle: not only that, they have implemented tags already :) 16:14:41 miguelgrinberg: figures 16:14:43 :) 16:14:47 some of this is timing, with feature freeze looming 16:14:49 but I'm there pestering those guys all the time :) 16:14:56 :) 16:14:58 "this" being split attention 16:15:34 well we're talking about guidelines anyway so... 16:15:35 #topic guidelines 16:15:46 #link https://review.openstack.org/#/q/status:open+project:openstack/api-wg,n,z 16:16:03 let's continue on #link https://review.openstack.org/#/c/141229/ for a bit 16:16:26 is there consensus within the api wg on it? 16:16:51 I think the only critic was notmyname 16:16:58 yea, i like this solution 16:17:46 alright. can people please put some +1's on it and see if we can get the ball rolling again? 16:18:04 will do 16:18:05 There were some comments from jaypipes that I answered, but he never confirmed he was okay with my reasoning 16:19:01 mostly related to the JSON structure, he thought it could be simplified 16:19:11 i've observed there can be some long pauses between jaypipes responses :) 16:19:41 Yeah it would seem like everyone else is fine with it 16:20:14 notmyname wanted explicit character set definitions there (which the RFC deems is unnecessary and the I-JSON makes even more unnecessary) 16:20:19 *the I-JSON RFC 16:20:39 sigmavirus24: I'd respond on the review with that so we all know. (I didn't know) 16:20:49 annegentle: I responded earlier with that 16:20:50 *is unfamiliar with i-json* 16:20:58 sigmavirus24: ah missed it in my scan, sorry 16:20:59 etoews: it's new 16:21:02 annegentle: no worries 16:21:19 annegentle: notmyname then just asked for examples of foreign character sets being used in JSON 16:21:25 I haven't looked to see if miguelgrinberg added that or not 16:21:37 Ah right, I did not 16:21:44 (e.g., left-to-right character sets being able to be used in UTF-{8,16,32} 16:22:05 miguelgrinberg: does it need an update before we start putting some of those +1s back? 16:22:06 (Which if I remember my UTF-{8,16,32} well enough is also guaranteed) 16:22:24 I should at least make a note regarding all texts being UTF-8/16/32 16:22:49 I personally don't think it is necessary, but doesn't hurt to be explicitt 16:23:02 #action miguelgrinberg to at least make a note regarding all texts being UTF-8/16/32 on https://review.openstack.org/#/c/141229/ 16:23:10 let's move on 16:23:11 miguelgrinberg: it's always good to address reviewers input so they keep reviewing :) 16:23:31 #link https://review.openstack.org/#/c/155620/ 16:23:52 i haven't had a chance to look at that one yet 16:24:04 looking good though 16:24:12 again, seems like we have good consensus among ourselves. no dissent yet... 16:24:25 time to broaden it to the CPLs? 16:24:44 i think so 16:25:18 miguelgrinberg: care to add the CPLs to the reviewers? 16:25:26 maybe add the same note about tags being UTF? 16:25:52 sure 16:26:16 I'll push a new version for both in a little bit 16:26:25 * cdent makes UTF-8 4EVAH t-shirt 16:26:32 cdent: so you want I-JSON, eh? 16:26:34 =P 16:26:39 heh 16:26:51 I just can't stand that anyone uses anything else, ever 16:26:59 #action miguelgrinberg to add note about UTF to https://review.openstack.org/#/c/155620/ and add CPLs to reviewers 16:28:04 allow json in the api wg repo #link https://review.openstack.org/#/c/167869/ 16:28:12 what say you? 16:28:32 +several 16:28:37 got my thumbs up ;) 16:28:47 muchas gracias 16:30:39 errors #link https://review.openstack.org/#/c/167793/ 16:30:57 i'm adding some of my own comments to that review right now. 16:31:20 i think it's a great idea, and i like the starting material 16:31:28 I think needs to happen but it is unlikely to be a smooth transition 16:31:33 i wonder if we should engage with the log-wg too though? 16:31:38 also, I'm curious about the use of 500 in some of the examples 16:31:48 this seems to border on their expertise as well 16:31:58 * sigmavirus24 hasn't read it 16:32:05 I like it 16:32:13 what is the general feeling about 500 among this group? My feeling is it should almost never happen. 16:32:29 (that is it should only happen on an uncaught exception) 16:32:41 i think 500 is appropriate if the server has some internal issue 16:32:45 cdent: I would rather 500 become the default OK response 16:32:48 * sigmavirus24 jokes 16:32:59 sigmavirus24: ok, was gonna say... 16:33:20 the term "habitual line stepper" comes to mind ;) 16:33:26 :) 16:33:32 ¯\_(ツ)_/¯ 16:33:36 hehe! 16:34:35 etoews: sorry. 16:35:20 jaypipes: :) welcome 16:35:29 cdent: so it's always a minefield when providing an example 16:36:10 etoews: that's a good example, the scheduler not finding a valid host happens a lot 16:36:13 yeah etoews, it just seemed like it was being kind of encouraging of such things, and...well 16:36:15 i made a note that it's a totally contrived example but i totally get that it's hard to see past the details. 16:36:31 cdent: exactly. please comment on the review. 16:36:40 etoews: but is it really 500 they get back on scheduler failure (I'm looking) 16:36:44 i should know better 16:36:57 will do etoews 16:37:00 miguelgrinberg: +2 from me on that. your answers make sense. 16:37:11 example code has a way of becoming real code when people copy/pasta it literally 16:37:11 etoews: really stepped into this time 16:37:26 thanks jaypipes :) no worries. 16:37:42 jaypipes: awesome, thanks 16:37:51 it's unfortunate that the example json files are the first in the review 16:37:53 elmiko: :) i'm completely expecting this one to be a lightning rod 16:38:01 i'm grabbing with both hands. 16:38:08 ha! 16:38:39 i'd appreciate some feedback on my comments in that review too. 16:38:57 and i still have 2 things left todo. (1) Get samples of errors from some of the services and (2) give the projects some guidance on how they could adopt this format. 16:39:25 samples are easy. i can at the very least do a bad GET on a resource from the api 16:39:50 i'll ask again, should we get some input from the log-wg regarding possible error formats? 16:39:56 (2) will be trickier but i'm hoping after (1) i can find a way 16:40:02 or at least pull them in on the review 16:40:06 elmiko: yes! sorry i missed that. 16:40:19 cool, no worries 16:40:35 i mentioned it in a comment on the front page of the review "I'd like to discuss this within the API WG first before broadening the discussion to the CPLs and the Logging WG." 16:41:16 i consider the id and code properties to be the "interface" to the stuff the logging wg is doing. 16:41:36 i tried to call that out explicitly in the schema 16:41:43 etoews: I mentioned this in a comment. Do we need a common list of codes for the errors all projects need to handle? 16:41:58 etoews: ok, cool. i must have missed that part. 16:42:28 miguelgrinberg: one sec. 16:43:58 miguelgrinberg: do you mean common codes that would go into the code property? 16:44:23 etoews: yes 16:44:30 and their associated hrefs 16:44:34 the logging wg is working on that 16:44:40 ah okay, great 16:44:51 the associated hrefs is an open question 16:45:06 that's why i am considering making it optional 16:45:20 etoews: maybe that's a good idea 16:45:51 i suppose projects could always "default" to linking to the api doc but that probably isn't super helpful because that's where the developer probably just came from ;) 16:46:18 yeah, should be included only if there is a meaningful link for it 16:46:29 Is there not an existing emerging standard we can steal for this. I know much of this was framed on jsonapi, yeah. Can we not just do exactly what they do? 16:46:37 as for common code to generate the errors that could be doable in oslo i think 16:46:50 eventually I hope we have that 16:46:54 cdent: that was my original thought 16:47:03 that would also allow for the common code 16:47:24 and a lot is common but i don't think all of it is appropriate to openstack 16:47:53 if we did change href to links, we'd certainly be breaking further away from json-apoi 16:47:57 apoi 16:48:29 i think that's a good start on that review. thanks for the comments. 16:48:31 #topic Service catalog consistency 16:48:37 holla 16:48:41 i believe annegentle added that one 16:48:59 so Sean Dague's interested in service catalog consistency from a QA standpoint, aren't we all. 16:49:18 so he asked what next steps were based on etoews ML post from Dec? 16:49:24 and I'm implicated as well :) 16:49:31 So I'm bringing it here 16:49:40 #link http://lists.openstack.org/pipermail/openstack-dev/2014-December/053295.html 16:49:49 I guess the next step is draft a guideline? 16:50:02 +1 16:50:06 Current state is here 16:50:08 #link https://wiki.openstack.org/wiki/API_Working_Group/Current_Design/Service_Catalog 16:50:41 So, my ask here is, 1) what additional analysis is needed of current state? and 2) is anyone interested in drafting guidelines? 16:50:49 is dtroyer around? 16:51:41 he inadvertently defined the defacto service catalog by virtue of devstack 16:51:42 I think what happens now is DevStack becomes a "standard" 16:51:46 heh right. 16:52:05 :) 16:52:35 I'll let people read a bit, but let me know if you're interested, and what else we need to investigate. I can't clear my plate until after April, but I'm interested in working on it. 16:52:38 i guess i was hoping someone from QA would step up and propose a guideline 16:53:00 yeah, that's a possibility too, they're looking for "where" and I'm saying "API-WG" 16:53:04 so I can also ask there 16:53:05 i don't think any of us have the bandwidth right now 16:53:10 right. 16:53:31 Okay, let me know if anyone's interested, and I'll also ask Qa. 16:53:36 thx annegentle 16:53:45 #topic Capability Discovery API 16:53:56 #link http://lists.openstack.org/pipermail/openstack-dev/2015-March/059284.html 16:54:16 really just posting that there for visibility 16:54:54 i'm not entirely sure what to do about it at this point 16:55:27 seems like a cool idea though 16:55:33 we need to get people who want guidelines to also propose guidelines. 16:55:44 maybe i'll prod them to do so 16:55:56 a novel idea ;) 16:56:32 #topic meeting time 16:56:36 i wonder if it would be helpful if we had some sort of guideline template, like we do for specs? 16:56:43 elmiko: +1 16:56:55 elmiko: care to take a crack at it ;) 16:57:11 etoews: ok, i'll try to come up with something 16:57:28 #action elmiko to try to come up with a guideline template 16:57:30 thanks! 16:57:31 most likely i'll need help, but that's what reviews are for =) 16:57:51 is that alternate meeting time killing anyone else? 16:58:06 now with dst it's become almost impossible for me to attend 16:58:08 i can make it, but it is kinda late during dst 16:58:28 I can't ever make it regardless of dst sorry :( 16:58:35 =( 16:58:39 do we change it? 16:59:03 i think we need to hear from the asia/australia/nz contingent 16:59:09 maybe something for the ML? 16:59:18 ya. that was my feeling too. 16:59:31 #action etoews to discuss changing meeting time on ML. 17:00:02 time 17:00:07 #endmeeting