14:00:52 #startmeeting glance 14:00:52 Meeting started Thu Jun 9 14:00:52 2016 UTC and is due to finish in 60 minutes. The chair is nikhil. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:00:53 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:54 o/ 14:00:56 The meeting name has been set to 'glance' 14:01:01 o/ 14:01:02 o/ 14:01:03 o/ 14:01:21 welcome 14:01:26 #topic agenda 14:01:33 #link https://etherpad.openstack.org/p/glance-team-meeting-agenda 14:01:44 hmm-m should add o/ recognition to meetbot and make it adding summary of attendees based on that ;) 14:01:56 o/ 14:02:07 thanks for populating the agenda with interesting items 14:02:16 o/ 14:02:23 nikhil: my pleasure 14:02:34 0/ 14:02:44 We'd have a full meeting today, so may be small time for open discussion. But the items looks new and good. 14:02:55 Let's get started 14:03:00 #topic Updates 14:03:11 #info Glare updates ( mfedosin ) 14:03:18 so... 14:03:36 last two days we have been focused on several items 14:03:47 1. updating the spec, based on ppl comments 14:04:08 we added several new descriptions there and fixed typos 14:04:23 the last version is on review 14:04:33 #link https://review.openstack.org/#/c/283136/ Glare API spec 14:04:40 nikhil: thanks 14:04:55 2. we started prepare our code for review 14:05:14 we found several things that we want to fix before 14:05:17 mfedosin: the latest you mean :P 14:05:28 )) 14:05:35 jokke_: I hope 14:05:38 :) 14:06:14 yep, glare API is to reach stable state by newton-3 14:06:15 so, code updates are more code refactoring 14:06:18 then evolve slowly 14:06:46 and also we defined the set of patch sets for review 14:06:57 there will be 7 commits 14:07:07 o/ (made it!) 14:07:09 mfedosin: ref 2. Please lets start reviewing those patches even if you have known bug you're going to fix ... time is flying and if we postpone the reviews until you think it's perfect, we are releasing Ocata before the reviews are done ;) 14:07:25 Lets all get used to that we need to start reviewing Glare code as well 14:07:41 mfedosin, doc is here 14:07:43 https://docs.google.com/document/d/1u2qNFHycEAP-pgkbPTm2mFLrhhSSkyRtIrFVfssZ1WY/edit 14:08:09 sorry, wrong link 14:08:12 kairat: it's inner document 14:08:16 Simple DB 14:08:16 Objects infrastructure 14:08:16 Base AT + store_api 14:08:16 Engine + Engine infra 14:08:16 API 14:08:17 Middlewares 14:08:19 Test AT + functional tests 14:08:33 jokke_: well said. indeed the point I keep making, let's iterative develop upstream. 14:08:50 nikhil: jokke_ absolutely agree 14:09:06 I think I need to sync with interested parties soon 14:09:10 next week they will be published 100% 14:09:30 I have taken the time to think thoroughly , all the problems that we may face. (that doesn't include code reviews.) 14:09:59 also, we got some feedback from Heat team - they promised to review the spec 14:10:08 mfedosin: nice! 14:10:15 murano as well 14:10:59 so, next week we'll start developing in upstream 14:11:08 sorry for delay 14:11:46 Good work mfedosin & co. 14:11:53 mfedosin: I think it's more problem for you than for most of us 14:11:55 == sigmavirus24 14:12:06 thanks :) 14:12:22 mfedosin: should we move to nova updates? 14:12:41 also we're working hard on tests 14:12:54 big update will be able tomorrow 14:13:07 woohoo! 14:13:12 thanks Ilya Menkov and Darja Shakray :) 14:13:19 yeah, let's go to Nova 14:13:25 #info Nova v1, v2 updates ( mfedosin ) 14:13:25 there are good news ;) 14:13:34 indeed 14:13:46 this happened! 14:13:47 I think there is the best news of Glance history! 14:14:08 +100500 14:14:10 xen is still on review 14:14:21 but sudipto is working on it 14:14:32 and I believe it will be merged soon 14:14:47 all tests pass 14:15:20 And Jay Pipes rejoiced yesterday 14:15:55 #link https://review.openstack.org/321551 default to using glance v2 14:16:10 I want to discuss next steps in this adoption 14:16:23 but it's better to do it in next topics 14:16:32 and based on the mailing list discussion the expectation is that Images API v1 is deprecated ... We can finally do it!!! 14:17:26 mfedosin: want to move on to next topic ? 14:17:30 nikhil let's move on :) 14:17:39 #topic Announcements 14:17:41 we have a lot to discuss today 14:17:55 So, only one announcement today 14:18:08 #info Glance virtual midcycle is next week 14:18:25 #link http://lists.openstack.org/pipermail/openstack-dev/2016-May/096180.html for more info 14:18:38 etherpad will be out soon 14:18:56 I have been given some time preferences already 14:19:36 so as per FIFO protocol, I will give them a preference for the topic they want to discuss earlier, later, etc. 14:20:02 #info and next week's meeting is cancelled. 14:20:20 So, please reach out to me or on ML for any questions that come up. 14:20:29 moving on. 14:20:38 #topic At what stage should we make the glance_store tests. Un-experimental/voting. (Bunting) 14:20:42 Its me 14:20:55 bunting: please go ahead 14:21:10 So the glance_store functional tests are nearly ready, once the infra thing lands I can test them 14:21:38 I was just wondering what the process of moving from experimental non voting is 14:22:12 I thought only the plumbing of the tests was done? 14:22:15 bunting: effectively when the jobs have been running for a while and are deemed stable, it's ok to turn them voting 14:23:02 nikhil: I don't understand what you mean 14:23:06 bunting: if there is tests suites for them, they should not be experimental for too long but lets not rush it 14:23:07 for example, I saw test only for swift store. are there plans for single vs. multi tenant separation? 14:23:15 jokke_: So we should make them non-expermiental in that case 14:23:48 bunting: what's current test coverage we have there? 14:24:12 bunting: I am asking along the same lines of what jokke_ said above 14:24:31 converage, separation of test cases (single tenant vs multi -- swift backend) 14:24:39 then let's think of other stores 14:24:49 Pretty small, thats why I was wondering do we want to run them on every job as we grow them? Or just when someone uses "check experimenal" 14:25:17 bunting: in that case we should not take up infra resources to run them on every commit, yet 14:25:30 we should have decent coverage before we start doing that 14:25:55 Okay, works for me, just didn't really know how this stuff works out 14:26:05 I also want to add that we need to have separate tests for each driver type. (some will be experimental and some won't) 14:26:34 nikhil: I may disagree 14:26:57 jokke_: on what particularly? 14:27:12 nikhil: we should need the 3rd party CI set up when the base suite is working, but infra will never be able to accommodate functional or integration tests for all the drivers 14:27:50 sure 14:28:40 so lets take one step at the time and worry about the driver suites after the base lib is covered and we can start gating on it ;) 14:29:02 jokke_: I am saying that if we've test for say swift single tenant (non-experimental), multi (experimental), ceph (non-experimental), filesystem (non-experimental), then we can run the expriemental one on case by case basis. 14:29:22 nikhil: ah ... that makes sense 14:29:27 cool 14:29:32 Also it means if you only have a certain store to test loacally you could just use that 14:29:41 Rather than having to run the all 14:29:44 ++ 14:30:15 I think you can probably move on now 14:30:20 cool 14:30:23 #topic Glance v2 integration in Horizon (robcresswell, tsufiev, mfedosin) 14:30:41 robcresswell: hello 14:30:42 o/ 14:30:49 and hello again :) 14:30:54 :) 14:30:55 tsufiev wanted to talk this one through I think 14:30:56 and hi 14:31:04 okay 14:31:06 * nikhil not sure who's supposed to talk, and picked the first nick 14:31:34 !ping 14:31:34 pong 14:31:36 yesterday on a horizon meeting we discussed the Horizon's transition to Glance V2 14:31:55 :o 14:32:03 * nikhil guesses copy-from 14:32:14 and a famous copy-from feature that Horizon users are very, very fond of 14:32:19 seriously 14:32:28 * jokke_ haz been told for ~year that horizon is supporting Images API v2 already 14:32:40 ah 14:32:47 jokke_, who has been telling you that? 14:33:19 also I heard from kairat that technically speaking, copy-from is not big problem implementing in Glance V2 14:33:39 glanceclient 14:33:43 yep 14:33:44 tsufiev: can't quote anyone by name ... pretty much as long as the Nova move have been on the table for our priority, the consensus has been that Nova is the absolute last depending on v1 14:33:46 tsufiev: yeah, on client side 14:34:24 jokke_: we discussed on the summit - also we have Heat and Horizon 14:34:25 implementing it on clientside is marginally better than Horizon doing the same thing on server-side, but still is better 14:34:30 tsufiev: I've been proposing that every now and then for quite a while and got pushback for it every single time 14:34:35 mfedosin: kairat tsufiev : let me voice this proposal (and not issue) with a concerning tone 14:34:48 and it turned out that Murano as well - and they need copy-from to comlete v2 adoption 14:35:05 I would encourage all those who think this is even a remotely good idea to join us for a DefCore sync/session sometime. 14:35:38 hm, how it is related to defcore? 14:35:45 nikhil, even if it's done inside glanceclient? 14:35:49 it affects end users 14:35:52 nikhil: if it's done in glance client 14:35:54 tsufiev: yep 14:36:17 nikhil: defcore really does not care about the end user 14:36:18 whatever happens for the end-users define adoption of an API 14:36:25 jokke_: let me finish 14:37:23 if a particular way is supported by official project then it creates a contract to not break the API (CLI is to be maintained for at least 2 years after deprecation) 14:37:39 so, if we implement copy-from the new import refactored API 14:37:59 the 'old way' and the 'new way' of copy-from will need to be maintained 14:38:00 nikhil, why do we need to change api to support that feature? 14:38:14 it can be done in shell, iiuc 14:38:27 kairat: that's why I am asking you to join the DefCore sessions 14:38:46 'why' is not a irc conversations to be done in 10 mins :) 14:38:52 nikhil: since when defcore has had anything to say about the client? Only thing what is their concern is the API interoperability between the clouds and their tests are based on tempest that does not use native clients 14:40:20 if there is client X that does Y and Z offline and then upload image via Images API without needing any special tweaks to that API, that should not be defcores business by the slightest 14:40:36 jokke_: DefCore is tied to endusers, and client side development that include OSC is tied to these conversations as well. Overall, this is focussed around getting a single maintainable API for end users and client that hides all the details for the user and that needs to be OSC. However, osc is not the only client when defcore thinks of adoption. 14:41:16 so, we need to be consistent in our development, approach, documentation and support for features. 14:41:28 nikhil: we changed glance api interface countless times and there were no concerns from defcore 14:41:53 because we don't have a API for defcore 14:42:43 the API and development around it needs to be here http://specs.openstack.org/openstack/glance-specs/specs/mitaka/approved/image-import/image-import-refactor.html 14:43:05 people are more than welcome to join the conversations and give their input 14:43:08 tsufiev, mfedosin, nikhil: lets solve this issue ... after the meeting I fork python-glanceclient, we can put the functionality in there and who sees it filling their need, can feel free to use it ;) 14:43:17 heh 14:43:39 yes, you are free to create a wrapper on top of glaceclient to implement copy-from 14:43:39 nikhil, it will be synchronous copy-from 14:43:45 it is a new feature 14:43:46 jokke_: :D +1 14:44:04 not replacement of image import 14:44:23 kairat: that sort of copy-from has a different small use case 14:44:29 does every new feature should be approved with defcore? 14:44:32 IMO, Horizon is not supposed to be do heavy lifting ops like copy-from (even if that's implemented on the client). 14:44:36 kairat: pass-thru copy-from ;) 14:44:46 sabari they fixed it 14:44:52 jokke_, I like the proposal :) 14:45:07 if it will be enough for horizon to move to v2 14:45:11 let's do it 14:45:15 robcresswell, seems not everything is lost here 14:45:40 tsufiev: let add add, this will break large scale clouds 14:45:44 It seems we are yet to get a blessing from nikhil :) 14:45:54 kairat: copy-from is actually useful for asynchronous data transfer for large scale public clouds. that's why it's very important to be part of glance import call. 14:46:00 mfedosin i am saying even if glanceclient has this feature, I wouldn't recommend horizon using it 14:46:00 robcresswell: beauty of opensource :P 14:46:02 robcresswell: no, that's not what I meant 14:46:36 If we must follow the defcore route, when would be the next opportunity to discuss this? 14:46:40 sabari: I do agree ... I think it would be even better if it was implemented in js, so that the web client would do it ;) 14:46:55 robcresswell: you are on your own, I may come screaming for not using standard way of implementation. I am not encouraing you to do this, just letting you know that this approach is equivalent to implementing on horizon side. 14:47:06 jokke_, that's not that simple 14:47:21 sabari now it's okay to upload big images with Horizon, because it doesn't store the data on controller (thanks CORS and tsufiev) 14:47:27 jokke_, we would need NodeJS runtime to do that kind of stuff - piping streams 14:47:33 the same story with copy-from 14:47:44 so we can create a spec for this feature 14:48:01 and let users decide if they need syncronous copy-from 14:48:09 nikhil: Right, thats why I'm asking how you'd like us to proceed addressing it in a standard way 14:48:21 mfedosin: that's different from copy-from because the Horizon has to spawn a thread to keep uploading 14:48:21 mfedosin, but, according to people who are actually using Horizon on large scale clouds, local image upload is almost never used there 14:48:36 robcresswell: let me re-emphasize the importance of scale here. If a large scale public cloud provider comes screaming as copy-from is doing streaming behind the scenes, then we've a issue in glance. 14:49:12 sabari, Horizon server isn't involved at all whey you're using CORS 14:49:14 robcresswell: the very fact the import conversation is happening is because it involves, defcore, large ops, end users and developers who represent sub set of these domins. 14:49:21 it's the browser which does all the job 14:49:56 tsufiev: right, but for that you don't need this funtionality on the glanceclient right, you are free to do even now, righ ? 14:49:58 still you need to download the image iso to the workstation with browser, which isn't quite convenient as using an image url 14:49:58 nikhil: I'm really confused by what argument you're attempting to have with me here. I've asked twice how you'd like us to proceed with working with defcore, and when would be a suitable time to discuss doing this in a standard way :) 14:50:07 robcresswell: the right way would be to push for copy-from support in glance import refactor in newton and use that starting ocata. I can add your name to the list for notification for the next sync. 14:50:26 robcresswell: sorry, that was added input . not argument. 14:50:49 robcresswell: mostly because I see a lot of chatter and messages could get lost. 14:50:50 sabari, for CORS? no, we don't, it's already there 14:51:21 nikhil: Right, that would be very useful, then we can join the discussion from there 14:51:32 but again, CORS is not a solution suitable for everyone 14:51:43 tsufiev: ++ 14:52:02 tsufiev: but at least it is current workaround for those who needs the functionality 14:52:12 tsufiev: i believe it's for local file upload. But not for copy-from..right ? 14:52:12 yes, kind of 14:52:20 then it's matter of priorisation and deciding which is more important 14:52:21 sabari, exactly 14:52:30 robcresswell: on a side-note, we do want to start deprecating glanceclient soon after osc support is complete. but that's a separate conversations. so, we can discuss all these things further with wider audience. 14:53:19 nikhil: so osc has nothing to do with horizon use. AFAIK horizon does not call the python-glanceclient over the shell cli interface 14:53:25 or does it? 14:53:27 :o 14:53:27 nikhil: I'm okay to move forward without this option, but if we get people knocking on Horizons door asking for it, they will only end up being directed here, which is why we wanted to discuss before that happens :) 14:53:30 ++ to jokke_ 14:53:36 untill openstack sdk is not ready 14:53:53 does it worth to create a spec about that 14:53:58 to start a discussion? 14:54:00 jokke_: sure, I am talking general things about not adding support to glanceclient. 14:54:03 kairat: and the bikeshedding done, so I'd say earliest arouns 2020 14:54:04 WDYT? 14:54:07 kairat: I think we can 14:54:25 and get feddback from DefCore if it's required 14:54:37 robcresswell: you are welcome to direct them here 14:55:03 nikhil: as said multiple times, we need to provide the support to access our API because osc consumes the functionality to their cli implementation vial our python client 14:55:10 robcresswell: as a part of defcore conversations (which are complex, involve lots of teams/stakeholders) I have attempted to gather feedback on what are the requirements. 14:55:38 jokke_: OSC will likely soon work through openstacksdk, fyi 14:55:42 jokke_: that approach is planned to go away 14:55:47 (specifically for glance, i mean) 14:55:49 == briancurtin 14:56:19 through openstacksdk and implement some other logic that may not exist in sdk (say for import) 14:56:21 briancurtin: oh cool, so soon enough we don't need to worry about the client at all? 14:56:30 jokke_: exactly 14:56:52 I thought the sdk is not even close to up to speed with our API yet, but nice if that's the case 14:57:08 is there any code on review? 14:57:17 we've exhausted the meeting time on this 14:57:22 nikhil: Fair enough. If you could add my name to the notifications for the next sync on this, that would be great 14:57:22 oops 14:57:36 so sorry for not going to other mfedosin 's topics :) 14:57:47 nikhil: np 14:57:58 next time 14:58:10 robcresswell: absolutely, I am trying to huddle as many people as possibly practical :) 14:58:16 sorry for taking your time mfedosin :) 14:58:22 I just wanted to say, that we need some kind of docs 14:58:37 that describe transition from v1 to v2 14:58:44 #topic open discussion 14:58:52 mfedosin, +++ 14:58:53 I may start doing this, but I need support 14:59:00 maybe from rosmaita 14:59:02 that's exaclty what I've been asking for :) 14:59:08 mfedosin: iirc that has been discussed since the release of p-gc 1.0.0 ... no-one has just written them ;) 14:59:20 mfedosin: that's what the api-ref docs are for 14:59:36 mfedosin: what you are asking looks more like of user story to me 14:59:46 they don't expose some hidden v1 features 14:59:50 user story, operator story, etc 14:59:56 mfedosin: let's sync later today 15:00:11 Brian is alive! :) 15:00:14 rosmaita: great! thanks 15:00:21 mfedosin: yep, let's sync later today. 15:00:28 We're officially out of time. 15:00:32 Thanks all for joining. 15:00:37 yup, thanks all! 15:00:37 #endmeeting