15:59:47 #startmeeting api wg 15:59:48 Meeting started Thu Jun 9 15:59:47 2016 UTC and is due to finish in 60 minutes. The chair is etoews. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:59:50 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:59:53 The meeting name has been set to 'api_wg' 15:59:55 hi 15:59:58 hi 16:00:45 hola 16:00:47 hello 16:01:05 hiya 16:01:19 #link https://wiki.openstack.org/wiki/Meetings/API-WG#Agenda 16:01:44 #topic previous meeting action items 16:01:52 #link http://eavesdrop.openstack.org/meetings/api_wg/2016/api_wg.2016-06-02-16.00.html 16:01:59 nada 16:02:23 actually doing work during the meetings is awesome 16:02:28 did it all during, yeah 16:03:17 let's move the weekly newsletter until later. we have some guests so let's find out what they're up to. 16:03:37 #topic Glance v2 image sharing enhancement 16:03:39 sorry, i'm kinda bifurcated here. dealing with a local fire 16:03:51 #link https://etherpad.openstack.org/p/newton-image-visibility-changes-api 16:04:01 rosmaita: that's you right? 16:04:13 yep 16:04:31 please take a quick look at the etherpad 16:04:46 otherwise i will be typing exactly what's there in here 16:05:00 * cdent looks 16:05:07 but let me kno wif you need more cotext 16:05:12 *context 16:09:37 rosmaita: the description, in just the context of itself, makes sense 16:10:04 ok 16:10:29 also, i should introduce tsymanczyk who is here, he is the author of the spec 16:10:55 o/ hi again 16:11:11 I'd go for the new workflow, but I'm generally not a good person for questions that involve issues of backwards compatibility because a) I'm not a hugely active user/deploy of glance (or other openstack apis), b) I'm a cruel person who thinks it is okay that upgrades change things, c) Glance has a history of people being easily upset about API changes :( 16:11:50 yes, (c) is a real problem 16:12:24 it's only a slight backward incompatability 16:12:42 what do you think etoews , elmiko ? 16:12:57 i'm leaning towards new workflow. 16:13:07 * elmiko looking at etherpad 16:13:19 let me ask you this, do you know exactly who the users are who rely on old sharing workflow? 16:13:28 to-be-old... 16:13:51 what percentage of total users do they make up? 16:14:04 hard to say 16:14:16 one user is the rackspace cloud control panel 16:15:12 rosmaita: is there much PATCH deployed in Glance already? 16:15:15 * rosmaita is thinking how to break the news to them (i work in the same office) 16:15:19 the new workflow seems like an improvement, imo, but yeah the backward compat issue. i'm not sure about that 16:15:34 cdent: yes, it is the only way to update an image record in v2 16:15:41 there may be some in other public clouds but don't expect too many 16:16:42 * nikhil apologizes for making a theatrical appearance in the meeting 16:17:00 cdent: in v2, you change visibility using PATCH now (it's just that there are only 2 values) 16:18:23 rosmaita: is that well received. I don't mean PATCH itself, but the use of JSONPatch. This isn't really directly related, I'm just curious if that itself has gone well, because some people are not keen. 16:18:59 i guess that's a good question for nikhil, i haven't heard any complaints about it 16:19:09 yes and no 16:19:15 nikhil: It's only theatrical if it has a musical cue 16:19:17 a lot of the sdk people i know are not fond of it 16:19:34 dan-dan-dan 16:19:35 lol 16:19:38 people are usually quite about it unless someone wants to write a client 16:19:58 yeah, what etoews said (I tried to generalize it) 16:20:09 sdk, osc folks are usually not happy 16:20:34 we also had something called as a warlock lib that does schema validation-- this is very painful for clients 16:21:00 s/had/have/ 16:21:28 * nikhil stops giving feedback that's not asked for 16:22:24 rosmaita: the semantics of the described stuff sound good, the social (?) issues are harder to contemplate and comment upon... 16:22:36 where "sound good": consistent with reality 16:23:09 does glance dance the microversion? 16:23:17 no 16:23:19 not yet 16:23:25 it'd have been so much easier 16:23:29 ya... 16:23:48 * nikhil plans to find a weekend for that work :) 16:24:04 but i'm definitely *not* suggesting "do microversions before doing this" 16:24:06 if microversions make versioning easier, does that mean that nanoversions make it ever easier? 16:24:15 s/ever/even/ 16:24:15 lol 16:24:19 lol 16:24:25 naturally :) 16:24:34 cdent: I for some reason have been feeling the same thing 16:24:34 with picoversions we wouldn't have to do anything at all 16:24:45 femto? 16:25:03 i thnkn femtoversions write themselves 16:25:12 rosmaita++ 16:25:16 * nikhil rofl 16:25:35 our job here is done 16:26:01 wow... femtoversions lol 16:26:47 ok, so to summarize : going to the new workflow isn't opposed by the API WG,but they point out that some glance consumers may be outraged, and glance will have to deal with the fallout 16:27:01 that's a reasonble summary 16:27:03 +1 16:27:36 ok, thank you 16:27:43 i think glance operators can mitigate the outrage in some cases so that's a big plus 16:27:43 rosmaita: I think we can reduce that pain and get some scoped feedback separately from those stakeholders. 16:27:57 nikhil: +1 16:28:23 it might be worthwhile to mention a strategy for outrage mitigation in the spec 16:28:31 :) 16:29:03 all specs probably should have that, at least in the template 16:29:12 tsymanczyk: ^^ 16:29:22 enraged? 1 bourbon 1 scotch 1 beer. 16:29:40 on that note, i also have the next agenda item 16:29:45 still enraged? goto step 1 16:29:51 :) 16:30:14 well said :) 16:30:29 rosmaita: glare? 16:30:34 yep 16:30:35 lol 16:30:44 oh wow, interesting 16:30:46 the image glare 16:30:55 mfedosin asked me to bring the latest patch of the glare API to your attention 16:31:01 #topic updated Glare API spec available for review 16:31:07 #link https://review.openstack.org/#/c/283136/ 16:31:10 I remember we looked at this back in february 16:31:31 * nikhil remembers 16:31:45 i'm not sure how much has changed, mostly clarifications in the spec, i think 16:32:14 but we'd appreciate a lookover ov the latest version if you have time 16:32:27 that's all from me 16:32:28 need to go commute. thanks for the feedback everyone. 16:34:53 the api section is here for reference: 16:34:57 #link http://docs-draft.openstack.org/36/283136/6/check/gate-glance-specs-docs/ec6fccb//doc/build/html/specs/newton/glare-api.html#rest-api-impact 16:35:03 if glare was microversioned, would it still need the /v1 in the URL? 16:35:07 can an artifact change type while still effectivey being the same thing? 16:35:09 i think not 16:36:14 my "i think not" applies to my own comment about microversion 16:36:53 cdent: can you please elaborate? 16:38:03 nikhil: not really, it was sort of a question to toss out to see if I could get a better idea of what "artifact type" means. Back when we first looked at this there was some confusion (especially from me). 16:38:56 cdent: artifacts being a generic way to store data assets -- some that may vary in their definition like heat templates and murano packages 16:39:12 cdent: so, the type is 'heat_template' or 'murano-package' 16:39:24 * cdent nods 16:39:41 cdent: defined in the source tree and having such limited capacity of fields on them 16:39:52 can their only be one blob per artifact? 16:40:06 cdent: so for heat templates, there will be property H1, H2, H3 and for murano package it will be M1, M2, M3 16:40:08 (I'm skimming the spec instead of reading, I suspect some of this is in there) 16:40:22 yeah 16:40:35 okay, thanks 16:40:59 I don't have exact answer on what blobs are: but generic answer is yes 16:41:15 it's a part of the artifact definitions 16:42:24 yeah, I'd like to roll back to what etoews asked: is /v1 a requirement if microversions are going to be used? And: If there is any plan to ever use microversions, then they need to be built in from the start. (I say this as someone who is not really a fan of microversions, but see their utility). 16:42:51 i was just about to bring that up again myself ;) thx 16:43:15 imo, glare should microversion from the start and drop the /v1 16:43:58 Thanks for that feedback, really useful to know. 16:44:20 we will pass that along to mfedosin and see what he thinks (about the microversions) 16:44:39 +1 on what cdent and etoews have said 16:44:55 though it's probably worth putting that comment on the spec for posterity 16:45:06 rosmaita: yep. i'll comment right now. 16:45:12 cool, ty 16:45:35 anything else on this topic? 16:45:42 not from me 16:45:44 none from me 16:45:58 I'll be given another review later when I have a bit more ability to read with focus 16:46:04 giving 16:46:05 sigh 16:46:13 cdent: elmiko: are we skipping the newsletter this week or hammer it out now? 16:46:20 * cdent needs femtoversions to fix his brain 16:46:32 well, i think as a rule we should not skip it 16:46:54 but, i say that as someone who's already maxed on bandwidth... so, grain of salt 16:46:59 etoews: we can probably make one now, I don't think anything has changed so we can push it out and not skip 16:47:08 okay. 16:47:08 * nikhil thanks API WG for the feedback, leaves meeting. 16:47:18 thanks nikhil rosmaita ! 16:47:21 elmiko: I'll launch today's 16:47:25 #topic send the weekly newsletter 16:47:25 #link https://wiki.openstack.org/wiki/API_Working_Group_weekly_email_template 16:47:25 #link https://etherpad.openstack.org/p/api-wg-newsletter 16:47:26 * rosmaita waves bye 16:47:27 thanks cdent ! 16:47:34 thanks cdent ! 16:47:49 if i don't comment on the glare api now, it'll never happen. 16:48:08 the new stuff i'm working on is eating more and more of time, and sadly openstack is getting the short end of the stick =( 16:49:25 a common (and sad) story 16:49:44 yeah... 16:49:51 i just want to be honest about it 16:51:50 elmiko: have you found anyone that might be able to take your place? 16:52:06 sadly no, the folks i asked were all also too busy lol 16:54:55 writing in the newsletter makes me think: do need a policy on when/how to abandon guidelines whose authors are not reacting to feedback? 16:55:45 hmm, not a bad idea. but it does add more process 16:56:11 I've made some small edits (mostly just putting in a different, chatty, intro paragraph. 16:56:13 i am guilty of that 16:56:30 If you both can give it a once over, I'll make it go 16:56:32 have not worked on the "versions" guideline in like 6 months 16:57:59 lgtm, i like the note about the glance conversation. keeps it very topical 16:58:51 etoews: review on https://etherpad.openstack.org/p/api-wg-newsletter ? 16:59:32 ship it 16:59:41 #endmeeting