14:00:59 #startmeeting Glance Artifacts Sub-Team Meeting 14:01:00 Meeting started Mon Jun 22 14:00:59 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:01:01 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:01:03 The meeting name has been set to 'glance_artifacts_sub_team_meeting' 14:01:08 #chair ativelkov 14:01:09 Current chairs: ativelkov nikhil_k 14:01:43 hi :) 14:01:45 o/ 14:01:48 #link https://etherpad.openstack.org/p/glance-artifacts-sub-team-meeting-agenda 14:01:49 thought I'd drop by 14:01:55 welcome :) 14:01:56 o/ 14:02:01 o/ 14:02:01 all are welcome :) 14:02:23 It's a short (30 min) meeting for now 14:02:30 So, let's get started. 14:02:35 #topic General Updates 14:02:55 So, this is a quick update on what we are currently doing. 14:03:31 shifting to oslo.versionedobjects (in brief) 14:03:36 ativelkov: do you have any links? 14:03:55 Based on the summit feedback (thanks to flaper87 for great idea) we've started to move artifact type definitions to oslo.versioned_objects 14:03:56 Like a spec, review or irc/ML conversation? 14:04:33 nikhil_k: not yet. Right now I am working with oslo.versioned_object to add some features which are mandatory for us 14:04:40 ativelkov: w00000000000h0000000000 14:04:53 ativelkov: btw, have you seen my pings w.r.t artifacts? 14:05:01 ativelkov made a couple of commit there 14:05:02 are there patches that need sanity checks from me? 14:05:08 mfedosin: you too ^ 14:05:25 ativelkov: cool, please give us those links (later/offline okay too). 14:05:34 flaper87: nope, didn't see any pings from you. My IRC bouncer is buggy as it turns out 14:05:55 #link https://review.openstack.org/#/c/193077/ 14:06:02 ativelkov: aaah :( 14:06:03 flaper87, yes, but I want ativelkov to review them first 14:06:14 #link https://review.openstack.org/#/c/194104/ 14:06:27 links are in agenda 14:06:27 mfedosin: ok, feel free to ping me on IRC when you guys are ready 14:06:43 flaper87, sure, thank you 14:07:20 So, whet oslo.versioned_object is currently missing the most are the constraints 14:08:00 They have type validation and coercing, but no way to limit the length of the string, min/max value of integer, amount of items in the list etc 14:08:34 ativelkov: would it make sense to put those there? 14:08:42 or are you trying to make them configurable? 14:08:53 cool, that coerce bit seems to be doing a bit extra 14:09:08 Of course this may be done at Glance level (i.e. by inheriting from base classes of oslo), but I want to check if these things are generic enough for reusing them widely 14:09:24 extra == (validation ++) 14:09:38 gotcha 14:10:12 yeah, some fields in glance are/may need to be generic enough 14:10:39 And then there is a concept of "immutable field" (i.e. a field which is editable while the object is in "draft" state but becomes frozen once it is active) - but this is a naarow concept, we should keep it glance-only. I think 14:11:18 make sense 14:11:23 makes* 14:11:37 So, my estimates are to have a working prototype of some oslo-based ArtifactType later this week 14:11:48 that's great news 14:12:04 we may add some extra capabilities later if they are required 14:12:35 So, any other questions on this topic? 14:12:49 ok. should we probably note down a few priorities for this cycle? 14:13:11 So, that they get listed right up in the liberty review list? 14:13:13 That's awesome ativelkov 14:14:04 I guess, first one what I think is we need to move the API from EXPERIMENTAL to a supported state 14:14:13 nikhil_k: my top priority is to improve API and reach agreement on it with API WG and all the interested parties 14:14:36 api wg has many concerns about current state of artifacts api 14:14:43 yeah 14:14:50 so do I :) 14:14:59 +1 :) 14:15:12 should we discuss this around july 10? 14:15:27 and it's really hard to implement cleint if we don't have stable api 14:15:36 with the API_WG or do we need to do that before? 14:15:37 and it's really hard to implement client if we don't have stable api 14:16:05 nikhil_k: I'd prefer to have some preliminary draft of the document with open issues and possible ways of making them better 14:16:30 ativelkov: sure, I am just trying to get a sense of how long we need to wait 14:16:43 We've started working on such a document already 14:16:51 ok 14:16:56 Will try to share it this week 14:17:22 ativelkov: sure, let's give it a few iterations within the team 14:17:53 mfedosin: EXPERIMENTAL API is intended to be frequently changed, so its client should be changing as well 14:18:42 actually yes, but I don't want to change it too often 14:18:52 But we need to have some (may be in the most simple form) before we settle all the open API questions, so we may try it somehow 14:19:29 people are saying that if projects use them, then we need to keep supporting it. So, I think we need to move away from experimental in liberty 14:20:03 let me know when you think would be the best time to collaborate on the doc. I may be out for some travel from june 27-july2 14:20:04 nikhil_k, hard, but possible 14:20:15 yeah 14:20:17 :) 14:20:42 ativelkov: one thing that is concerning atm is we need to mark one images api as supported and keep that in defcore for next decade or so 14:20:51 nikhil_k: no objections from my side :) But are we going to support 3 majors of API at the same time? Otherwise it will depend on v1 deprecation 14:20:59 yeah 14:21:06 just coming to that ^ :) 14:21:26 basically the push from a few people is that we need to wrap v1, v2 on top of v3 14:21:54 that's really chanllenging given so much to do already. but we don't have to do this in liberty 14:22:03 I think v2 can be in def core 14:22:43 all of this is in flux 14:23:05 what about domain in v2 btw? I have some thoughts how to improve it 14:23:32 mfedosin: that's more an implementation detail 14:24:01 I'll put my ideas in related etherpad then 14:24:02 we may drop domain at any moment when we are ready too. API changes are much less flexible, so that is much more important 14:24:26 ativelkov, agree with you 14:24:36 can't find a link: but look for email to openstack-defcore with sub: "Image APIs in Glance and Nova" 14:25:20 we just have 5 mins remaining. 14:25:41 ativelkov: mfedosin : please go ahead with whatever most important thing(s) you wanna discuss now 14:26:02 Yeah, the question is about the client 14:26:21 do we want to use v2's approach with jsonschema and warlock on top of it? 14:26:41 * nikhil_k -1 unless other way is way too complicated 14:27:30 but we may need to if v2 would be on top of v3 (I think) and we may need to support flexible/configurable schema 14:27:42 The other way is to make glance-client work with type-less dicts of values for type-specific properties / blobs/ relations, and let the project-specific plugins interprete them 14:28:32 we were discussing it all morning and have no decision, but I don't like warlock and stuff and want to find a better way to implement dependencies in client 14:29:09 I think that makes sense as long as project plugins don't go haywire. are we discussion to keep them in glance or in project repos? 14:30:24 nikhil_k: in project repos, I guess 14:30:34 cool 14:30:35 Glance will have only Images support as an example 14:30:38 ativelkov, dicts means a little bit more work for users, but give more flexibility and much less work for us :) 14:30:45 ativelkov: I am with you 14:31:08 We are out of time) 14:31:14 yeah 14:31:15 :) 14:31:19 Let's continue in #glance 14:31:29 ativelkov: please run the meeting next week. I am out of town/may not be online 14:31:36 nikhil_k: got it 14:31:42 THanks all! 14:31:43 thanks all :) 14:31:45 #endmeeting