14:00:52 #startmeeting glance 14:00:52 Meeting started Thu Jun 30 14:00:52 2016 UTC and is due to finish in 60 minutes. The chair is rosmaita. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:00:53 #topic agenda 14:00:53 #link https://etherpad.openstack.org/p/glance-team-meeting-agenda 14:00:53 hello everyone 14:00:53 hope you are having/have had a pleasant day in your time zone 14:00:54 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:56 The meeting name has been set to 'glance' 14:01:13 o/ 14:01:20 hello everyone 14:01:21 hope you are having/have had a pleasant day in your time zone 14:01:23 o/ 14:01:26 o/ 14:01:50 nikhil is on a much deserved vacation 14:01:59 o/ 14:02:03 :-) 14:02:05 not a lot on the agenda for today 14:02:09 o/ 14:02:10 is he? :) 14:02:14 apparently not! 14:02:15 o/ 14:02:35 let's talk about Glare 14:02:39 cool 14:02:41 o/ 14:02:45 o/ 14:02:50 Im sorta in a conf/mtg. Listening on irc on phone for next 3min. 14:02:50 #topic glare update 14:03:00 mfedosin: what do you have for us? 14:03:40 rosmaita: thanks for your comments in spec commit 14:03:49 I'll try to address it today 14:03:55 excellent 14:04:24 I developed sqlalchemy backend 14:04:36 * nikhil goes afk 14:04:47 and rewrote artifact sorting and filtering 14:04:56 you have been busy 14:05:11 kairat made a titanic work on artifact lock 14:05:22 go kairat! 14:05:30 it's a thing to prevent race conditions :) 14:05:55 also we have new team member Serg Skripnick 14:06:08 welcome Serg 14:06:24 he'll start working on Glance/Glare next Monday 14:07:05 i've noticed a lot of patches for glare, most marked WIP 14:07:05 so, if you have something to say about Glare api - it's the best time to do it in the spec 14:07:21 * rosmaita should shut up and let mfedosin talk 14:07:25 rosmaita: yeah, we continue developing of glare 14:07:41 but also there is a set of patches that are not wip 14:07:50 and we consider them as stable 14:07:53 ok, cores, please review the glare API spec 14:08:05 rosmaita: thanks Brian 14:08:25 ok, so any glare patches not specifically marked WIP are ready for review 14:08:30 we better get started! 14:08:33 yes 14:08:35 it's a lot of stuff to look at 14:08:50 (but high quality, and not much in the way of race conditions!) 14:08:59 #link https://review.openstack.org/#/c/330458/ 14:09:15 it's a top commit in the series 14:09:30 I think I'll update it tomorrow 14:10:00 the latest glare code we have is located here 14:10:02 #link https://review.openstack.org/#/c/292327/ 14:10:41 it's a development branch :) 14:11:03 one thing I want to add 14:11:20 now we consider Glare code is stable 14:11:44 and that's why we are going to start implementing artifact types for openstack services 14:12:03 tomorrow we begin with Murano artifact type 14:12:39 our plans are to seat with Alex Tivelkov and Kirill Zaitsev and implement some POC 14:13:01 and next week we want to do the same with Heat team 14:13:22 Heat AT is much easier than Murano one 14:13:55 implementing those should help shake out any corner cases 14:14:01 I'll make a big update next week, when these artifact types are implemented 14:14:39 I think that's all for today 14:14:42 sounds good 14:14:47 yeah 14:14:52 i just want to repeat: the glare code is ready for reviews 14:14:59 we have a huge progress 14:15:16 also, if you haven't seen the API spec, please look now or forever hold your peace! 14:15:39 thanks mike! 14:15:46 welcome :) 14:15:51 moving along 14:15:54 #topic v2 adoption across services 14:16:07 there are two items to discuss, here are the links 14:16:07 #link https://bugs.launchpad.net/glance/+bug/1595335 14:16:08 Launchpad bug 1595335 in Glance "Add image location fails when show_multiple_locations = false" [Undecided,Confirmed] 14:16:08 #link https://review.openstack.org/#/c/320039/ 14:16:21 bpokorny: you have the floor 14:16:28 Thanks 14:16:51 So tsufiev and I have been working on the Horizon changes to fully support Glance v2. 14:17:08 We have most things implemented at this point. 14:17:45 But the latest thing I ran into is the bug just linked above (159535). 14:18:49 it's a big inconsistency in glance, imho 14:18:58 So I was wondering if people here have thoughts on whether we're doing something wrong in Horizon, or if there's a glance bug that needs fixing. 14:19:58 bpokorny: afaik glance v2 developers wanted to make adding custom locations admin only operation 14:20:18 and there is a reason for this 14:20:46 v2 supports multiple locations for an image 14:21:15 and it may break promised image immutability - user may change image locations after activation 14:21:45 I think about this issue for a long time 14:22:17 currently we have two options how to fix it: easy and right :) 14:22:34 :) 14:22:53 1. easy - deprecate show_multiple_locations and make it True by default 14:23:14 limit max locations size to 1 14:23:31 it brings behavior we have in glance v1 14:24:08 but it completely breaks multiple locations feature 14:24:30 and I think people who use it will be unhappy 14:24:51 2. right - deprecate show_multiple_locations and make it True by default 14:25:23 set policies that only admin can add custom locations to images 14:26:01 send related requests from Horizon user directly 14:26:34 Horizon user has admin privileges 14:27:02 so, in short: create image with user context, add location with Horizon context 14:27:38 Now I want to hear what community thinks about it :) 14:27:40 i guess that would give horizon the opportunity to somehow "screen" the location? 14:27:43 that means anyone can add image locations 14:27:49 what hemanthm said 14:28:12 with v1 anyone can add image location 14:28:36 Also, all operations from Horizon are made with the credentials of the user, so there's currently no concept of a Horizon service user. 14:28:51 ok, well that's good to know 14:28:59 yeah, but that won't solve the problems that forced us turn or multiplie locations, right? or am I missing anything here? 14:29:14 *turn off 14:29:37 bpokorny: the same story for Nova - currently on some deployments we have to enable show_multiple_locations to make it work 14:30:15 i think we need a multiple-image-locations task force 14:30:16 Ah, good to know. 14:30:29 i don't understand the feature and the related use cases 14:30:43 it's obviously used by some people 14:30:48 but it's also kind of dangerous 14:31:09 ++ rosmaita 14:31:29 it would be good to have some solid use cases before we redesign/deprecate it 14:31:53 or, if anyone here already knows, please point them out to us 14:32:23 bpokorny: not sure how heplful this discussion has been? 14:33:12 rosmaita: Actually, very helpful. I understand now there's some discussion on how to handle multiple locations. 14:33:28 Does anyone know how Nova is dealing with the issue? 14:33:40 I know :) 14:33:46 tell us! 14:33:47 because I wrote it 14:33:53 :) 14:34:00 Yay! 14:34:08 nohow :) 14:34:23 we just enabled show_multiple_locations and that's all 14:34:48 and now I'm afraid that some deployments may be in danger after this change 14:34:59 Yeah. when an operator installs nova for the first time and uses Glance v2.. 14:35:04 i guess if you have multiple glance nodes, you can enable it for the ones nova talks to and not for the public ones 14:35:38 They need to know to enable multiple locations. 14:36:11 So is the plan to document that somewhere, or ?? 14:36:41 i guess it is action item time 14:37:13 #action someone figure out something about showing multiple locations 14:37:22 guess that's not very helpful 14:37:33 :) 14:37:36 what solution do we have for Horizon - send requests to private glances? 14:37:37 haha 14:38:00 the best action item I have seen 14:38:09 It makes sense for the situation we have now :) 14:38:20 we can continue this talk in mailing list 14:38:35 is it a "solution' to say that horizon should not expose this, you must use the api? 14:38:38 maybe people would suggest somithing useful for us 14:38:42 * rosmaita ducks 14:38:56 mfedosin: ++ 14:38:57 Haha 14:39:45 For Horizon, we're targeting Newton to merge the v2 changes. 14:39:56 so you need some action on this quick 14:40:21 any volunteers to kick off the ML discussion? 14:40:27 For now, we could just document as a limitation that people need to set multiple locations = True for it to work. 14:40:36 I'll try to help 14:41:04 Cool. Thanks, mfedosin and rosmaita. 14:41:06 mfedosin: let's work together on a draft of an email ... i am worried about where the discussion might go if it's not carefully constrained 14:41:26 I'll let the other Horizon guys know to watch for the email too. 14:41:30 rosmaita: okay, I'll send you a draft 14:41:52 #action mfedosin rosmaita nikhil will work on getting the multiple image locations discussion started on the ML 14:42:04 bpokorny: thank you! 14:42:11 Also, just an FYI if anyone wants to start reviewing the Horizon patch: https://review.openstack.org/#/c/320039/ 14:42:16 btw, Heat has the same issue 14:42:21 great 14:42:29 any other comments on this topic? 14:42:38 The Jenkins failure you see in that review is due to the issue we just talked about, so you can ignore that failure for now. 14:42:56 That's all I had. Thanks, all! 14:43:15 #link https://review.openstack.org/#/c/320039/ 14:43:26 (horizon patch ^^) 14:43:32 ok, moving along 14:43:43 #topic clarifications to glance contributors' guide 14:43:49 thank bpokorny! 14:43:59 (this one is me) 14:44:02 this is a follow up on an action item i had from last week's meeting 14:44:17 (Policy concerning changes to "old" db migration scripts) 14:44:30 i put up a patch for your perusal, especially cores 14:44:32 #link https://review.openstack.org/335688 14:44:46 i also added a statement about non-type-safe changes to tests, which follows the policy we've had on a series of reviews over the past few cycles, i figured we might as well have it written down somewhere 14:44:59 i don't think it's controversial, but please review 14:45:08 ok, that's all from me 14:45:22 #topic 500 error if member_id > 255 chars 14:45:27 #link https://bugs.launchpad.net/glance/+bug/1585917/comments/2 14:45:27 Launchpad bug 1585917 in Glance "member-create will raise 500 error if member-id is greater than 255 characters" [Undecided,Confirmed] - Assigned to Abhishek Kekane (abhishek-kekane) 14:45:37 abhishekk: this is your item 14:45:38 hi 14:45:52 I have added my comment on the bug 14:46:02 and need inputs from the team 14:46:34 there is a problem with input and output for member-create api 14:46:55 it accepts member as a request body and gives member-id as a response 14:47:18 i wonder whether we should have a specific schema for the member-create request 14:47:18 because of this its difficult to add schema validation for member-create api 14:48:31 i guess another option would be to do a "oneOf" in the schema 14:48:56 rosmita: I need to check about "oneOf" 14:49:10 abhishekk: me too, i am talking out of my hat here 14:49:29 but it think we can say only one of those is accepted, not both 14:49:46 i don't like having both in the schema in your example 14:49:52 right, me too 14:50:00 if we can do oneOf, then the response can always have member_id 14:50:11 and the request could accept one or the other but not both 14:50:26 another one is to do a string validation for greater length in controller itself 14:50:31 I thought 'OneOf' is for specifying types? not completely sure though :P 14:50:52 hemanthm: you may be right 14:51:04 i am having some wishful thinking here 14:52:01 thats it, please add your suggestions on the bug 14:52:14 ok, thank you abhishekk 14:52:24 thank you :) 14:52:49 #action please comment on https://bugs.launchpad.net/glance/+bug/1585917/ 14:52:49 Launchpad bug 1585917 in Glance "member-create will raise 500 error if member-id is greater than 255 characters" [Undecided,Confirmed] - Assigned to Abhishek Kekane (abhishek-kekane) 14:53:01 #topic open discussion 14:53:10 anyone? 14:53:36 I have nothing to say... 14:53:36 I do 14:53:47 hemanthm: go for it! 14:53:59 Just want to introduce Dharini to all the folks here 14:54:12 welcome Dharini! 14:54:20 Hello all. :) 14:54:26 welcome Dharini :) 14:54:39 Dharini is a new member of the Openstack Innovation Center 14:54:59 I haven't heard about it 14:55:06 what's is it? 14:55:07 I won't blame you :) 14:55:25 https://osic.org/ 14:55:34 Thank you. :) I will be working in Glance from Castle. I recently joined the OSIC team. 14:55:42 #link https://osic.org/ 14:56:01 "Castle" is the name of the Rackspace office in San Antonio, Texas, USA 14:56:09 well, nickname 14:56:28 That's all I've got. 14:56:35 we are happy to have new people working on glance! 14:57:12 anything else? 14:57:12 Very happy to be working in Glance. :) 14:57:38 dharinic_: look at Glare as well ;) 14:57:41 reminder: please look at Glare API spec 14:57:43 #link https://review.openstack.org/#/c/283136/ 14:58:40 I'll be very happy 14:58:57 :) 14:59:10 looks like that's all for today 14:59:14 thanks everyone 14:59:20 seems so 14:59:25 thanks 14:59:45 #endmeeting