17:30:40 #startmeeting glare 17:30:41 Meeting started Mon Mar 28 17:30:40 2016 UTC and is due to finish in 60 minutes. The chair is mfedosin. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:30:42 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 17:30:44 The meeting name has been set to 'glare' 17:30:54 #topic agenda 17:31:10 #link https://etherpad.openstack.org/p/glance-artifacts-sub-team-meeting-agenda 17:31:27 #topic Updates 17:31:53 there are a lot of updates in last week... 17:32:12 first of all, here is the link 17:32:17 #link https://review.openstack.org/#/c/292327/9 17:33:02 first, now Glare has FaultWrapper middleware 17:33:25 it catches all exceptions from Glare and maps them to webob exceptions 17:33:32 \o/ 17:33:38 so, no more 500s :) 17:33:44 amazing work! 17:34:00 Darja did it :) 17:34:19 I will tell her 17:34:46 :) 17:34:52 then, we put blob uploading/downloading in engine 17:35:22 so, artifact type works only with dicts, that describe blob 17:36:02 as you may know engine is a thing that represents glance Domain model in Glare 17:36:42 it does the same things: policies, notifications, sharing, and work with storage 17:36:56 but does it in one place 17:37:24 and the code is not distracted among the project 17:37:45 #link https://review.openstack.org/#/c/292327/9/glance/glare/engine.py 17:38:32 also, I finished listing for Glare, but it's not merged yet 17:38:38 I still don't get it 17:38:54 nikhil: what? 17:38:58 so, does this mean it won't have the proxy and unproxy objects? 17:39:02 this == engine? 17:39:31 what's not spread over the project is what I'm mostly curious about 17:40:06 currently we have code of Domain model separated in glance 17:40:21 policy.py, location.py etc 17:40:49 and there it uses composition to combine them in one 17:40:58 yep 17:40:58 engine is a flat structure 17:41:03 yes, it does chaining 17:41:04 that's much simplier 17:41:15 ok, there are tradeoffs to both approaches 17:41:29 the flat code has tendency to bloat 17:41:40 but it's okay if we want to take this route 17:41:53 we will keep it slim :) 17:41:59 v1 has flat structure (and may be you like it may be you don;t :) ) 17:42:39 v1 doesn't have oslo vo 17:42:50 I think size of method matters 17:43:05 if you have one method in 200 lines - it's bad 17:43:32 we just try to use the base practice - method should fit in one screen 17:43:44 cool 17:43:56 we can chat more on your concerns at the summit 17:43:56 so, all methods there are really small 17:44:04 just trying to make sure everyone is on the same page here 17:44:29 okay, I don't mind 17:44:38 I'm not opposed to the approach, let's make sure all the new and old devs are aware of this. 17:44:50 ah, ok, 17:44:50 I always like to chat at the summit :) 17:44:58 maybe worth mention this in spec also 17:45:06 :) 17:45:09 kairat: good idea 17:45:14 developer impact 17:45:50 #action Describe developer impact in the spec 17:46:02 I also can't see big troubles to move to layers 17:46:08 if they really needed 17:46:18 kairat: ++ 17:46:25 cool 17:46:31 because splitting is always easier than merging 17:46:36 okay, let's move to the next topic 17:46:47 #topic Listing of all artifacts. Do we need it? 17:46:59 we had a meeting today 17:47:21 where they say that we need to support listing of all artifacts 17:47:48 nikhil: what do you think about this use case? 17:48:04 mfedosin: who are they :) ? 17:48:04 it's primarily app-catalog feature 17:48:07 that's required for app-catalog 17:48:15 ah 17:48:29 I would say app-catalog guys and murano guys 17:48:34 yup, they == Mirantis members of app-catalog 17:48:44 ah cool 17:48:49 quick question on that then: 17:48:53 do we have a final verdict on how we are going to implement glance.objects? 17:49:07 as we plan, I suppose 17:49:19 some of them will be in glance repo 17:49:21 I mean are we okay on keeping a separate repo openstack/glare.objects ? 17:49:30 ah 17:49:35 or whatever glare_objects? 17:49:36 others may be placed in separate lib 17:50:08 if we can ensure that the Glance API will expose certain specific Artifacts always.. 17:50:17 I'd say, that listing of all the artifacts is desired on the app-catalog side of things 17:50:26 for exxample, 'image' is a part of Glare and must be in Glance repo 17:50:29 meaning there's nothing optional here and only they can be listed as a part of the _all_ call 17:50:59 if there is no such API — the only way to do it would be to issue n requests for each art type 17:51:00 sure, I think to pass DefCore we need something that everyone is okay to expose as a part of the public api 17:51:19 kzaitsev_mb: my feeling is that we implement this call in the glare_client 17:51:26 and it would be really nice to have the api call that abstracts it away 17:51:27 like the n requests thing you mention 17:51:49 yep, I understand, that in any case it would be a slow call 17:51:52 keeping in the client would ensure that we don't expect all services to implement this separately 17:51:55 I wanted to create new read-only artifact type 'all' 17:52:10 so - listing all artifacts will be like 17:52:16 /v1/artifacts/all 17:52:18 GET 17:52:46 that's the exact item that was pushed back last cycle, no? 17:53:10 then it takes all artifacts without their type-specific properties 17:53:14 kind off 17:53:28 but it will be optional 17:53:49 Let's keep DefCore and API_WG in loop for such calls. It would be worse if we don't get approved for one call! 17:54:09 so if operator wants this feature he can enable it in his config 17:54:13 nikhil: agree 17:54:15 vs. keeping in client would ensure we don't have to worry about performance in the API 17:54:28 the pagination and sorting logic can be kept int he client too 17:54:29 but Alex told me that it was main defcore request 17:54:38 to have these requests 17:54:55 oh, I see. 17:55:08 ok, let's get in touch with them this week if possible. 17:55:26 do they have any irc meeting? 17:56:12 yes 17:56:23 http://eavesdrop.openstack.org/#DefCore_Committee_Meeting 17:56:56 I don't see agenda there 17:57:07 I will ping separately, you guys can continue this meeting until then 17:57:17 I'll be there 17:57:40 but we planned to organize kinda interview at this time 17:57:52 Okay, now we have 5 minutes, and I'm going to tell you what should be done this week: 17:58:14 #topic Future work 17:58:41 1. Separate base properties from custom properties in image artifact type 17:58:49 2. Implement tags support 17:58:59 3. Add coercing for blobs 17:59:18 4. Start working on new Context middleware 18:00:03 I think if there are no question we can finish here 18:00:09 =1 18:00:12 +1 18:00:17 thanks all, see you next week! 18:00:25 #endmeeting