14:01:08 #startmeeting Glance Drivers 14:01:09 Meeting started Tue Nov 17 14:01:08 2015 UTC and is due to finish in 60 minutes. The chair is flaper87. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:01:11 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:01:14 The meeting name has been set to 'glance_drivers' 14:01:23 o/ 14:01:28 o/ 14:01:36 w000h0000 14:02:16 I just added 1 topic to the agenda as there are some things to discuss. mclaren has raised some concerns that would be great to have a short discussion on 14:02:26 o/ 14:02:30 #topic Glance image import process: https://review.openstack.org/#/c/232371/ (flaper87 / mclaren) 14:02:34 nikhil_k: helloooooooo 14:02:42 i also want to discuss some of doug's comments 14:02:43 yehlooo! 14:02:53 nikhil_k: :P 14:03:00 rosmaita: +1 14:03:04 so, mclaren you've 15 mins 14:03:09 :D 14:03:12 go crazy 14:03:20 heh, ok 14:03:35 I guess I have two things on my mind 14:04:29 1) What we're proposing seems like a like of code/maintenance -- we just need to ensure it's all absolutely required 14:05:21 2) It's unclear to me what will happen to boring old image upload -- which is actually the closest we currently have to a standard way to get your images into clouds 14:06:12 following on from (1) I guess in part I don't want us to write something that doesn't end up being used, is there a risk that folks would just keep using direct upload? 14:06:51 I think 1 and 2 are somewhat related and it'll depend on us to provide a way to move from the old way of doing things to the new one 14:07:04 yes 1 and 2 are related, I agree 14:07:19 In the future, we can even switch the old one to admin only 14:07:22 by default 14:07:24 mclaren: we are not going to use direct upload in the public cloud, for sure 14:07:46 rosmaita: you're also not going to use the import from glance 14:08:01 no, we are going to align with upstream 14:08:08 otherwise i wouldn't be working on this at all! 14:08:11 I would like to think of it as a popular way rather than standard way as there are technical limitations/questions around it (direct upload). 14:08:21 nikhil_k: ++ 14:08:25 I like that 14:08:30 nikhil_k: +1 14:08:39 the question is more around folks who currently allow direct upload -- how happy are they? Are they strongly motivated to switch? Do they want that to be effectively de-emphasissed 14:09:50 I'm not willing to assume things about how they feel and instead, I think we should focus on the current technical issues that have been identified 14:10:10 i have sent requests for comments to product WG, didn't get anything 14:10:13 As far as moving from one to the other goes, I still think providing a smooth way to transition will be the key 14:10:30 i was hoping they could tell us how they see the cloud being used for image import 14:10:58 also, API WG is silent ... i am beginning to get a complex 14:11:11 guess i need to attend a meeting and ask directly 14:11:12 We can't ignore it's what 99% of sites are doing right now, and that means user's have certain expectations. It would be ironic to break users' stuff in the name of interoperability. I'm not saying we can't go there, but I'd feel better if we had clear feedback from operators. 14:11:17 rosmaita: that'd be great 14:11:25 ok, i will do that 14:11:46 I think the # of users/operators who are preferring direct uploads are more as they are smaller deployments, mostly private and are not necessarily exposed to security, scalability and reliability threats. 14:11:52 one of the main points of every discussion has been not breaking existing users, how are we doing that? 14:12:11 If sites switch off direct upload 14:12:19 in favor of a new mechanism 14:12:23 nikhil_k: the numbers we have are all from public clouds 14:12:25 but they will do what their users want 14:12:47 mclaren: but again, that doesn't mean we'd break them 14:13:01 i don't see the problem, stuart ... if the old way works, they can use it, if there's a new/better/safer way, they can work with their end users to adopt it 14:13:04 we've talked about mechanisms to help this transition (Even from a client perspective) 14:13:13 OTOH, we don't really have many larger public clouds coming and giving feedback as to what their issues are. or have they at the summit? (like cisco, walmart, bloomberg, verizon (not public but large) ) ? 14:13:49 nikhil_k: ah, I meant the numbers w.r.t how many folks are using upload as an endpoint 14:13:59 nikhil_k: but yeah, what you said is true as well 14:14:27 rosmaita: Stuart's concern is that adding `/bikeshed` is too much work and that we may end up in a place where no one migrates to it 14:14:31 which means we'd waste time 14:14:42 ok, i misunderstood 14:14:51 sorry, stuart 14:14:57 pretty much, and you have three ways to upload images! 14:14:58 so i kind of agree with him there 14:15:01 My current point is, I don't think there's a way we can use the old `/file` endpoint without breaking the interoperability 14:15:26 We talked about re-using it at the summit but we ended up agreeing it's not a good idea 14:15:49 well, maybe we just say phase 1: import with task processing is via swift only 14:15:51 So I think the potential 'killer app' of the 'new way' is allowing asynchronous processing of the image (to either validate or convert it) 14:16:00 mclaren: ++ 14:16:16 right 14:16:29 one of the things we discussed yday on -glance was to break this into 2 cycles 14:16:34 but it's not clear if that would be sufficient for operators/users to get over the complacency of just using the existing way 14:16:40 because it's getting bigger and we're close to M-1 already 14:16:53 flaper87: ++ 14:17:27 I don't mind holding off the `/bikeshed` work until N as long as we disable this "new way" by default until it's complete 14:17:29 I guess it comes down to "what do operators want"? If there's a real appetite for the 'new way' then we go for it 14:17:33 That's true, can we break this down into baby steps? 14:17:47 mclaren: fwiw, we've asked that already 14:17:56 the spec is part of their feedback 14:18:05 I don't think we're ignoring what operators want 14:18:06 is there any appetite for just using the current tasks framework, maybe with a more specified schema? 14:18:56 wait, wait, wait. I still think we should do this work, we can start with things we've agreed on already 14:18:57 flaper87: hmm, really? Can you be more specific? Do you mean the vancouver summit feedback? 14:19:03 because basically, that's what we're doing anyway, just with a fancier front end 14:19:55 mclaren: not just vancouver. IIRC, the etherpad and the spec had some OPs chiming in. The summit session had OPs as well. Some of the complains/requests are being considered (automatic task trigger) 14:20:46 flaper87: some indication that operators in the real world would actulally switch to using the 'new way' once it's been implemented would be great 14:21:02 flaper87: here's my frustration ... when i talk to people individually at the product wg, people either (A) don't want to expose end-user upload at all, or (B) want the ability to validate end-user data before using it 14:21:11 If I can be completely honest, I'm kind of sad we're back to discussing this because I feel like we're going backwards. I think it's healthy to ask ourselves answered questions from time to time but we've been talking about this since ~2 months before the summit 14:21:13 but there is silence on the spec 14:21:32 we're close to M-1 and now we're back to "why ware we doing this?" "Do we have all the info?" 14:22:01 rosmaita: yeah, silence on the spec is sad 14:22:23 but at this point, I believe this has been communicated quite openly 14:22:31 has anyone sent the spec link and review request to the operator and general openstack MLs? 14:22:33 I'll join one of the OPs meetings 14:22:36 nikhil_k: yeah 14:22:43 nikhil_k: i did last week 14:22:43 cool 14:22:46 So let me explain my queries at this point ... I thought we were going to be forced to have a single API that looked the same everywhere. After the summit having different paths for swift and glance seemed to be considered ok 14:23:26 So at this point I'm hitting on 'what does the different glance path look like' 14:23:35 right, because it would still "look the same" with the upload method clearly specified 14:24:08 and tbh, I'd find it hard to spend 6 months writing the code while still wondering that :-) 14:24:19 But the current way is not discoverable 14:24:31 flaper87: that can be fixed easily 14:24:54 add "use import task" to POST /v2/images response header 14:25:37 yes, when I had this conversation with month 8 months back, I proposed a simple discovery mechanism to simplify users experiece 14:25:38 and define the task schema more clearly 14:25:40 I guess but we also wanted to unify things in a single process. For example, the old `/file` endpoint doesn't trigger the task engine 14:25:44 oops, 14:25:47 the discoverability will look the same no matter what the actual calls are. The discoverability just tells us which fork of the path we go down ... glance or swift 14:25:49 with Monty* :) 14:26:35 I see 3 main concerns broken down from mclaren's raise 14:26:46 flaper87: yes, the 'old way' doesn't give asynchronous processing. If there's a clear signal from operators that they want *and will deploy* that, then the debating is done I think 14:27:01 mclaren: there have been several signals 14:27:13 you can read that in my automatic-task-triggering spec 14:27:25 there were at the vancouver summit 14:27:41 ok, more specifically, are they happy to switch off direct upload in order to get async processing 14:28:09 Yes, that's my understanding from their feedback and the feedback from other folks in the community 14:28:46 if we want to go and ask again on the OPs mailing list, then fine 14:28:57 1) we have to maintain 2 old APIs as we have API contract (right?) 2) we need to add a bunch of code to support interop that needs to converge into defcore standards and we don't have a BETA with testing done, so that will involve code writing, testing and improvements 3) the support value and documentation for all 3 APIs would be massive even to the extent that a new operator and user would be a bit taken a 14:28:57 back by the number of ways to upload image and would need bit of handholding 14:29:53 umm, I am not too sure about it 14:30:14 I'd personally feel happier with some direct feedback from ops on this. I'd be happy to send the mail myself. 14:30:16 at least the operators who have openstack deployed in small labs, offices want the easier way 14:30:46 easier == direct upload (or even just ability to set location) 14:30:52 mclaren: please do. As I said, there has been direct feedback from ops some more won't hurt 14:31:29 flaper87: I realized that there is one potential look hole into using location setting even with the new way, I will add that comment on the spec and continue the convo there 14:31:35 loop* 14:31:43 * nikhil_k is quite sleepy 14:31:45 nikhil_k: awesome, thanks 14:31:50 we ran out of time 14:32:00 thanks folks, I guess we need to discuss this more 14:32:07 will disabling direct upload will require two glance clusters? 14:32:09 so action items? rosmaita - product WG mtg, stuart - ops list 14:32:17 rosmaita: yes 14:32:25 rosmaita: also, API wg 14:32:27 :) 14:32:32 ty! 14:32:34 will do 14:32:40 nope, thank YOU 14:32:41 :D 14:32:44 will do 14:32:47 #endmeeting