14:02:18 #startmeeting glance 14:02:19 Meeting started Thu Jul 16 14:02:18 2015 UTC and is due to finish in 60 minutes. The chair is nikhil_k. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:02:20 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:02:22 The meeting name has been set to 'glance' 14:02:26 o/ 14:02:27 o/ 14:02:29 o/ 14:02:39 o/ 14:02:51 #info Agenda: https://etherpad.openstack.org/p/glance-team-meeting-agenda 14:03:15 o/ 14:03:18 o/ 14:03:45 #topic Updates 14:04:04 #info Mid-cycles 14:04:13 #info Glance mid-cycle: https://etherpad.openstack.org/p/liberty-glance-mid-cycle-meetup 14:04:46 #info Other mid-cycles: https://wiki.openstack.org/wiki/Sprints 14:05:25 Nova and Horizon are next week, those who plan to attend (or virtually attend) 14:05:38 #info Artifacts Sub-team meeting updates 14:05:48 o/ 14:06:03 oslo.version_objects commits on review 14:06:21 client's too 14:06:25 https://review.openstack.org/196041, https://review.openstack.org/196819 14:06:44 commit adopting o.vo in glance - as well: https://review.openstack.org/198798 14:07:25 jokke_, you said about experimental branch for the client 14:07:30 created a doc on V3 open issues: https://etherpad.openstack.org/p/glance-v3-open-issues 14:07:36 can you do that? 14:07:39 (still in progress of populating) 14:08:13 jokke_: will you or will someone from rel-mgrs will be able to create the feature branch? 14:08:19 There is a good suggestion on refactong V3 code so it's images plugin may run kind-of-on-top-of Images v2 api, thus reusing the existing code 14:08:47 ++ 14:08:48 I'll summarize that suggestion in a separate message to the ML 14:08:55 I think it just needs to be proposed to the projects where our branches are defined ... I'll figure it out 14:09:07 thanks jokke_ 14:09:31 sounds like a plan, ativelkov 14:09:37 jokke_, thanks 14:09:52 #info Drivers' team meeting updates 14:09:53 #action jokke_ propose feature branch for python-glanceclient artifacts work 14:10:01 ouch sorry ;) 14:10:14 jokke_: sorry :) 14:10:28 This week we prioritized the specs 14:10:54 A few of them look good and I was waiting to see if someone wants to give last minute feedback after today's meeting 14:11:03 else we will merge them today 14:11:21 whoaa :) 14:11:50 nikhil_k: which specs do you hope to merge? 14:11:57 #link http://eavesdrop.openstack.org/meetings/glance_drivers/2015/glance_drivers.2015-07-14-14.01.html 14:12:07 mclaren: point # c 14:12:31 k, thanks 14:13:27 good morning! 14:13:28 And this one has code ready and almost agreed upon. The lastest changes from wayne can help it merge #link https://review.openstack.org/#/c/179674/ 14:15:01 I hope no one expects a pre-midcycle virtual meetup this time 14:15:40 This one is over 3 days so we can plan to schedule sessions to include people from various timezones over video conferencing 14:15:46 can we open parallel bug with that spec, stating that glanclient does not support the tag metadefs? :P 14:16:09 For the rest of the day, we will host whiteboardig and informal discussions (face to face time, basically) 14:16:40 preferably high priority 14:16:58 so we cab backport that to kilo glanceclient 14:17:06 /cab/can/ 14:17:07 jokke_: Please feel free to and ask it to be added/amended to the spec. It makes sense 14:17:17 umm, that I doubt 14:17:51 I know, I wish it was that easy :( 14:18:06 :/ 14:18:25 Moving on 14:18:41 #topic Should all API changes require a spec ? 14:18:56 Who proposed that? 14:19:08 looks like it was me 14:19:09 Not me, but that kind of grooves with the three reviews I added to today's agenda 14:19:19 but we have been talking about this a bit around 14:19:56 too many specs spoil the broth :) 14:20:17 so if we streamline our specs process that would aid the documentation and release work when we have clear indication that we have merged something that has changed our APIs 14:20:50 As someone now to glance, more specs would help very much, when trying to understand what is going on. 14:21:34 I think that should be very much lite version of spec 14:22:16 Yeah, a even a lite version would make understanding come much quicker 14:22:18 and relating to that juis FYI how much I love specs I proposed talk to Tokyo summit with topic "Specs - Taking agility out of agile development" ;) 14:22:27 It may soon become a must have very soon the way I see it 14:22:40 * nikhil_k back after irc conn timed out 14:23:30 can we add release cycles to that agility discussion? 14:23:55 nikhil_k: the deadline was last night ;) 14:24:07 pun intented (irc can be hard) 14:25:03 API is gettig a very close attention from those who are pushing the interop capacities to OpenStack APIs 14:25:24 Having specs is only going to help 14:25:59 Agreed 14:26:10 yep ... I think changing the v2 api probably becomes next to impossible after nova starts consuming it 14:26:11 There are legitimate bugs in the behaviour of our API that we now can't fix because we're afraid of backwards incompatibility 14:26:12 so 14:26:23 Anyways, I had a very interesting discussion with John Garbutt on this topic yesterday. The way Nova specs is evolving seems to make sense from that(Nova) perspective. 14:26:25 we need specs, or we need v3 tomorrow =P 14:26:37 nikhil_k: can you link to how they're evolving? 14:27:06 so can we agree lite spec required for API changes regardless if it is "bug" fix or not? 14:27:17 #info Nova specs evolution: https://wiki.openstack.org/wiki/Nova/Liberty_Release_Schedule 14:27:31 Lite specs works! Hate to interrupt, but our lite spec, discussed back in Vancouver is starving for some review: https://review.openstack.org/#/c/194868/ 14:28:02 #startvote do we require lite spec for API changes regardless if it is "bug" fix or not ? 14:28:03 Begin voting on: do we require lite spec for API changes regardless if it is "bug" fix or not ? Valid vote options are Yes, No. 14:28:04 Vote using '#vote OPTION'. Only your last vote counts. 14:28:12 #vote yes 14:28:25 #vote yes 14:28:29 #vote yes 14:28:33 #vote yes 14:28:48 #vote yes 14:28:52 #vote yes 14:28:58 what is a lite spec? 14:29:04 #vote no 14:29:43 specs make the most sense for API changes, but we'd need to make sure these specs actually move forward 14:29:44 #action nikhil_k : define `light spec` in specs evolution documentation 14:29:44 #vote no 14:29:44 jokke_: do you have a spec up for proposing lite specs? :) 14:29:50 #vote yes 14:29:53 mclaren: I was planning to propose a template for it if we pass the vote ;) 14:30:01 hemanthm: almost 14:30:19 #vote yes 14:30:21 why not make our speed of dealing with specs faster before we start mandating them for every api change? 14:30:23 #vote yes 14:30:52 do we need ApiImpact flag then? 14:30:58 kragniz: +1 14:31:01 #endvote 14:31:03 Voted on "do we require lite spec for API changes regardless if it is "bug" fix or not ?" Results are 14:31:16 mfedosin: we do have an ApiImpact flag 14:31:39 That's for the API WG and related parties 14:31:50 mfedosin +1 on APIimpact flag, docimpact 14:32:00 Doesn't mean we can't also use it. Plus having their attention isn't going to hurt 14:32:13 sigmavirus24, maybe just link for 'lite' spec is enough? 14:32:14 Spec would be for everyone to keep track of the API changes and why/how 14:32:15 Unless we don't want their attention at all in which case, why do we keep asking for it? 14:32:33 looks like openstack does not know how to count. Yes: 9 No: 2 14:32:49 nikhil_k: yeah, was good to chat, can I help with any context? 14:32:58 Thanks for the gist jokke_ 14:33:23 FWIW, Neutron is trying out a lite spec kind of thing, it might being a process worth copying? 14:33:26 I want to explain my concern. This patch changes api https://review.openstack.org/#/c/200980/ 14:33:37 do we need a spec for it? 14:33:58 johnthetubaguy: Thanks for the feedback. We are just have a small discussion on when do specs make most sense. Please feel to chime in :) 14:34:55 so I think that question is best answered after you get the code merged, and I am not totally joking... 14:35:26 mfedosin: I'm happy to revert that change if it really changes the behavior of our v1 Images API (which IMHO it does not) 14:35:54 mfedosin: that's a good pointer. I think we need to see if this is being validated at the API level. We can't make a change to v1 at this point 14:36:05 when you have a decision you need to record, mostly to make sure everyone is on the same page, specs work really well, when you need to just see the code to answer a question, you don't want a spec to make that decision 14:36:07 mfedosin: difference being does it change our api code or does it change our public api 14:36:07 jokke_, it does (see my comment), but very slightly 14:36:19 i think spec will make the commiter think about all the things covered in the template specifically for api related changes and also act as document initially 14:37:01 mfedosin: Jenkins agrees, did not merge ;) 14:37:06 lakshmiS: yeah, API changes are the only thing we require a spec for in Nova, be it a bug fix or a feature 14:37:25 mfedosin -- https://review.openstack.org/#/c/200980/ does not change any API, no spec -- am I missing something, 14:37:40 Specs have a reputation for slowing things down, in the case of API changes that actually may not be a bad thing 14:38:01 malini: read the review comments ... there is pretty valid statement it actually changing the v1 API 14:38:02 malini, before if we put is_public='on' it returned None, but with this patch it becomes True. 14:38:27 mclaren: +1 it sounds terrible like that, but you really need to sit back and think about the problems the change can cause 14:38:42 ++ 14:38:57 mfedosin: good catch 14:39:08 I think we have had some issue with the DB migration / schema changes in Glance 14:39:50 Some deployments had corruption of data with changes merged in without much context where a spec would be have been really benefitial 14:41:39 to give a concrete example (a bug fix) https://review.openstack.org/#/c/199104 this is the kind of thing we'd define a mini-spec for? 14:41:52 mclaren: I'd say yes 14:42:02 mclaren: that's the kind of thing that's mildly backwards incompatible 14:42:18 I think 200980 is mildly backwards incompatible too but in a different way 14:43:05 in that context ... and specifically this mentioned change ... could we please stop doing changes like this just "because oslo" for the bits of the code we have agreed that we fix only criticals as we try to deprecate it 14:43:06 the specs would then act as reference for similar future changes, like common law 14:43:14 ' 14:43:58 I think this is good example of doing "totally harmless" change in benefit of using someone elses reinvented wheel and by that causing a change to API we try to deprecate 14:46:08 Ok, we need to move on for now. 14:46:19 #topic Reviews, Bugs and Releases 14:47:06 #link https://review.openstack.org/199378 14:47:30 That was me 14:47:36 This ties in with our micro specs discussion 14:47:46 That's a tiny change that corrects the behaviour of the API 14:48:00 And yes, the behaviour they're suggesting is correct. 14:48:26 That said, it will mean a change in the behaviour which (while again, no one should be relying on it) will be somewhat backwards incompatible 14:48:56 umm, I doubt if this needs to throw a NotFound 14:49:11 the image exists, data doesn' 14:49:40 nikhil_k: this is specifically for download 14:49:46 Does anyone know what other projects do about this kind of change? As far as I know swift are ultra conservative, but I'm not sure about others, or if there are guidelines anywhere 14:50:09 mclaren: the API WG hasn't written guidelines for making changes like this 14:50:33 sigmavirus24: personally I think that should be their top priority then ;) 14:50:38 We've discussed it but frequently punted on it to define actual api behavour instead of development behaviour 14:50:53 sigmavirus24: hmm, I see the file bit is NotFound :/ 14:50:55 jokke_: the wg has different goals that are focused on api behaviour more than development of APIs 14:51:18 nikhil_k: yeah if you can't find the image data to download, 404 is the least objectionable error code here 14:51:30 But it's confusing given we define that a image not in active status doesn't have image data 14:51:46 sigmavirus24: maybe it should be defcores priority then as they are driving ultra concervatism towards stable apis 14:52:09 jokke_: or just an openstack-spec 14:52:31 and current behavior is that we return 204, which IMO is correct. The image exists, it does not have content 14:52:33 perhaps written by defcore members, but put in place for openstack 14:52:59 #link https://review.openstack.org/#/c/199104/ 14:53:12 trying to move faster in the interest of time 14:53:20 that one is a review by bunting 14:53:38 nova have microversions so I guess you can just bump the version if you fix one of these -- a user can still supply the old version in their request header to continue getting unchanged behaviour (in principle) 14:53:55 mclaren: and I seem to agree that people probably aren't relying on this, but we'll need an API version bump 14:54:01 ok, tl;dr will this affect only update? 14:54:03 I'm not sure if we want to do that 14:54:07 But no decision was made on https://review.openstack.org/199378 !! 14:54:26 malini: we don't need to make decisions here 14:54:33 Just bring the reviews to people's attention 14:55:18 I think we have been trying to bump up the v2 versions when we see changes like these 14:55:45 sigmavirus24 -- :-) my first glance IRC meeting, thank you! 14:56:11 #link https://review.openstack.org/#/c/195820/ 14:56:29 I looked at that one last week but forgot to comment :/ (while in the middle of a meeting) 14:56:55 nikhil_k: yes, but my understanding is that in glance the version is just informational, whereas in nova you can send the old version in a header to get 'guaranteed' unchanged behaviour 14:57:32 mclaren: I think we may soon have to move towards that. Once we know more from the DefCore team in the late july. 14:57:45 yes, we just inform that we have different api versions, they do not make it backwards compatible 14:57:58 We just need to agree on a stable API and then establish a pattern for micro=version upgrades for the following years 14:58:11 nikhil_k: ok, interesting. I wonder if that's a big amount of work... 14:58:20 * nikhil_k shrugs 14:58:23 nikhil_k: that last link is more of a "I'd like more people to look at this" 14:58:48 That looks like an important change that wayne__ needs to move through for metadefs to function appropriately and so far, very few people are reviewing it 14:58:53 wayne__: do we have other options than change that? 14:59:01 Thanks sigmavirus24 , it would be nice to get diverse reviews on that on specifically 14:59:30 jokke_: do you have suggestions for how to fix database problems other than with a migration? 14:59:51 I agree that models should have been changes, so shoud have been for images+image-members 14:59:58 so +2 from me on that proposal 15:00:09 changed* 15:00:22 jokke_: change the need for unique constraints? 15:00:22 sigmavirus24: I do not do databases, that's why I asked ... because if we do not have other options, then I'm in favor to do it now rather than later ;) 15:00:27 Ok, we can roll over a couple of mins 15:00:37 As I am chairing the next meeting :P 15:00:48 :) 15:00:50 #info python-glanceclient release 0.17.2 https://review.openstack.org/#/c/202559/ && https://review.openstack.org/202564 15:00:58 jokke_: was that you? 15:01:02 yes 15:01:17 the release management team is working with nifty way to do lib releases 15:01:25 * nikhil_k like 15:01:41 I don't know any other way to do it that would ensure the uniqueness of the data. 15:01:50 kragniz: what's news on glance_store release 0.7.0 ? 15:02:02 there is new repo where the releases are yaml docs, you request a new release by changing the correlated file with new version number and change id you'd like to tag 15:02:10 haypo's been asking for a new release for a while 15:02:27 I guess you and haypo have the answer above 15:02:33 anyone have any problems with releasing what's currently in head? 15:02:34 we're over time 15:02:36 wayne__: fair enough ... as said in that case I'm in favor without understanding the details what's going on at that change ;) 15:02:50 sigmavirus24: thanks for pointing that out. 15:03:01 let's move to #openstack-glance 15:03:08 #openstack-searchlight is supposed to be meeting now 15:03:10 yeah ... thanks all 15:03:15 thanks 15:03:16 Thanks all for joining 15:03:16 thanks 15:03:22 #endmeeting