14:00:41 #startmeeting glance-artifacts 14:00:42 o/ 14:00:42 Meeting started Mon Jun 29 14:00:41 2015 UTC and is due to finish in 60 minutes. The chair is ativelkov. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:00:44 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:46 The meeting name has been set to 'glance_artifacts' 14:00:53 Hi folks 14:01:24 hi 14:01:25 Hello everyone 14:01:46 Nikhil is ooo today, So, I'll run this meeting 14:01:56 Sounds good 14:02:20 We don't have much agenda for today, as most of the topics are postponed till nikhil's return: https://etherpad.openstack.org/p/glance-artifacts-sub-team-meeting-agenda 14:02:32 So, just a quick status update on what's going on 14:02:59 * sigmavirus24 listens eagerly as he's been not able to keep up 14:03:09 we are in the middle of migration from our "declarative framework" to oslo_versionedobjects 14:03:47 Most important part - the constraints and validation - has to be ported there as they miss that functionality 14:03:58 I've made that commit last week and it is on review now 14:04:01 #link https://review.openstack.org/#/c/196041/ 14:05:11 It does not include a complete validation of list/dict fields though, so it has to be added a bit later: for now we almost don't use it in Glance anyway 14:06:44 The remaining part - a concept of "immutable" field (i.e. the fields which became read-only based on the state of the owner object) probably has to remain at Glance, as it looks very specific to us 14:07:07 That seems like a fair compromise 14:07:48 what about json schema generation? will it be in glance too? 14:08:27 As soon as this lands, I'll submit a commit which adds oslo-based way of declaring artifact types in parallel with the old ones. We'll have it reviewed (hope flaper87 get some cycles for that) and then we'll drop the old declarative frmwk 14:09:02 mfedosin: it depends. As we've decided to get rid of warlock for the client, we (probably) don't need jsonschema at all 14:10:01 But this may be changed back (if we want to be backwards compatible with v2 we'll have to introduce something similar to v2's property protection,w hich uses schema) 14:10:06 ativelkov, what will replace it? 14:10:25 when did we decide to get rid of warlock on the client? 14:10:40 kragniz: last week on this same meeting 14:10:43 kragniz, on the last meeting 14:10:59 * kragniz must have been asleep 14:11:00 but that's just a temporary solution for now, just to save some time coding the client 14:11:32 So, for now we'll have a "static" client which returns objects with attributes corresponding to generic artifact properties 14:12:07 And all the type-specific attributes placed into "type_specific_proprties" dict of those objects 14:12:13 you can chack how it's done here https://review.openstack.org/#/c/189860/8/glanceclient/v3/__init__.py 14:12:50 ativelkov: mfedosin is it for everything in the client, or just artifacts in the client? 14:13:11 just artifacts 14:13:19 sigmavirus24: well, for now v3 client is going to have only artifacts :) 14:13:46 yep, tasks and metadefs may use schemas 14:14:25 This expects the clients of projects which consume particular artifact types (python-muranoclient, python-heatclient etc) to use glance-client to fetch the artifact information and form their proper objects, given that they know the schema 14:14:29 Right 14:14:38 I think kragniz thought warlock was completely gone =P 14:14:54 I'd prefer it to go, as it is now supported anymore 14:15:09 Or at least it seems so :) 14:15:27 Yep. Anyway that's a separate topic and I don't want to derail the meeting :D 14:15:52 Yup, that sounds like a good topic for mid-cycle meetup 14:16:38 More good news: I participated in last week's IRC meeting of Community App Catalog team 14:16:52 and they want us :) 14:16:52 #link http://eavesdrop.openstack.org/meetings/app_catalog/2015/app_catalog.2015-06-25-17.01.log.html 14:17:12 yup, they are considering Glance V3 to become their backend at some point of time 14:17:43 As you predicted at the summit =P 14:18:04 sigmavirus24, they had concerns actually 14:18:18 So, we'll make some kind of PoC for them to demonstrate how Glance handles their current data 14:18:18 but it's okay now 14:18:37 mfedosin: ah good to know 14:18:49 We need to align their request with our roadmap - and have them help us to work on API improvements 14:19:13 Their primary requests are import/export of artifacts and dynamic artifact references 14:19:39 (i.e. ability to reference artifacts not only by static IDs but also by name and version range) 14:19:48 nothing of that isn't done yet :( 14:20:13 mfedosin: well, dynamic references are relatively easy to do 14:20:32 Unlike import/export 14:20:44 agree, but import/export is a big task 14:21:14 since we still have no decision about format 14:21:18 ivasilevskaya has done some import/export PoC shortly before she left, but it definetely needs much more work 14:22:03 definitely we need a volunteer :) 14:22:35 * ativelkov voluntols mfedosin 14:22:49 I'm working on the client currently 14:23:12 btw, folk,initial commit is ready https://review.openstack.org/#/c/189860/ 14:23:20 Well, we'll see. The client is more important right now, for sure. 14:23:33 YEs, some reviews for the client code would be appreciated 14:23:33 please review it when you can 14:23:53 CRUD part will be done today 14:24:17 and listing on this week too 14:24:41 So, the question is, do you guys think we need a CLI for artifacts now, or this can be postponed a bit till we stabilized the API? 14:25:14 ativelkov: I would postpone until we have a stabilized API 14:25:16 That said 14:25:36 Landing the majority of the work and updating it wouldn't be a terrible thing 14:25:46 sigmavirus24, +1 14:25:50 That means there's a couple large diffs upfront, and then a bunch of small ones 14:25:55 The small ones would be much easier to review 14:25:58 But it's still more work so 14:26:41 sigmavirus24: thanks, sounds reasonable 14:26:44 If we can keep the reviews under 400 LOC that'd be great. 14:26:57 Yup, that's a lesson learned from the last cycle 14:27:00 Cool 14:27:12 I appreciate that personally. My brain shuts off after I get past about 600 lines 14:27:20 400 means I can review something else =P 14:27:44 yeah, we knew that 14:27:47 You can always ignore tests, they are usually boring ) 14:28:10 nah, tests are important too 14:28:58 so after I'm going to concentrate on our architecture and get rid of domain model. and work on stabilize API too. It means that import/export is not my highest priority 14:29:34 Good. And I'll try to prepare a document for API-WG this week, so we may start discussing API-related work 14:29:47 ativelkov, sg! 14:29:52 We are out of time, BTW 14:30:11 So, if there are open questions, let's continue in glance channel 14:30:19 thanks all 14:30:20 thanks, folks! and please review client commit :) 14:30:20 #endmeeting