13:01:47 #startmeeting 13:01:47 Meeting started Wed Oct 9 13:01:47 2013 UTC. The chair is aglitke. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:01:47 Useful Commands: #action #agreed #help #info #idea #link #topic. 13:01:53 #meetingname scrum 13:01:53 The meeting name has been set to 'scrum' 13:02:32 #info Agenda: 1) Testing and release status 2) Set storage pool for a template 3) ISO Streaming 13:02:36 anything else? 13:03:02 4) welcome back to all 13:03:03 Looks good to me. 13:03:23 Look forward to next release. 13:03:32 Good for me, seems, maybe zhoumeina and shaohe want to discuss exception 13:03:36 AdamKingIT: Yes, I was going to start with that. Hopefully everyone had an enjoyable holiday 13:04:10 #info 4) 1.1 Planning 5) Open Discussion 13:04:18 lots to cover so let's get started. 13:04:29 #topic Testing and release status 13:04:37 #link https://github.com/kimchi-project/kimchi/issues?labels=bug&milestone=1&page=1&state=open 13:04:51 #link https://github.com/kimchi-project/kimchi/wiki/Testing-1.0 13:05:00 We have three release bugs 13:05:27 All have patches and discussions floating on the list now 13:05:34 https://github.com/kimchi-project/kimchi/issues?labels=bug&milestone=none&page=1&state=open 13:05:41 How about those floating ones? 13:05:54 They won' 13:06:03 They won't be fixed for this release probably. 13:06:20 For "UI: Some template information are not displayed in pt_BR when creating a VM" 13:06:30 Maybe we should mark those as mile stone 1.1. 13:06:30 I think we need some UI expertise on this one. 13:06:52 ming: maybe... I periodically review and tag them 13:07:07 zhoumeina / hlwanghl: Do you have any advice? 13:07:29 the current size of the box cannot contain the pt_BR text 13:07:45 I'll take a look at it tomorrow 13:07:46 But expanding the size of the normal box makes it seem too big 13:08:05 I was working on some patches today 13:08:10 I was thinking we could expand the box on mouse over and click or something 13:08:23 we have to make sure it works for tablets 13:08:32 Is the box size fixed now? 13:08:35 yes 13:08:57 aglitke, I faced other problem in that template box 13:09:03 It's fixed so large text breaks it 13:09:30 yeah. It's a major drawback with fixed size UIs 13:09:30 We want the user to be able to read the 'expected text' in their native lang w/out having to take an explicit action... like mouse over 13:09:47 when the template name is longer than the box width it will be broken in 2 lines BUT the box height is not enough to display the second line 13:10:01 ahh... Yeah, it 13:10:08 if the problem w/ the name, or the translatable text? 13:10:13 so the second line is not displayed in all height 13:10:16 I think the box should be extensible based on the text length. 13:10:20 the text appears in the middle 13:10:20 it's disappointing that I cannot ever see the whole template name 13:10:49 yes and the second appears in part 13:10:55 *second line 13:11:15 ok... So hlwanghl, anything you can do to help would be great. 13:11:22 AdamKingIT , maybe we can make it larger or just replace it with list view 13:11:30 I have assigned it to you hlwanghl 13:11:40 Ok 13:11:47 hi all 13:11:54 Hi 13:11:58 hlwwanghl: I can chat w. you after. 13:12:03 Ok 13:12:27 The rest of the issues don't require much discussion here. 13:12:49 Has anyone encountered issues that they feel should block the 1.0 release? 13:13:10 We need to resolve the translation issues. 13:13:24 I am going to apply the zh_CN patch after the meeting. 13:13:32 ok, 13:13:41 then alinefm, you can base your patch on upstream? 13:13:48 I found an issue with login window 13:14:05 I think it should be fixed before 1.0 release 13:14:08 zhoumeina: I saw your patch 13:14:26 I will review after the meeting. 13:14:41 I think she meant other issue 13:14:43 if you want it to block the release, please create an issue for it and let me know the # 13:14:49 oh... 13:14:52 what is that? 13:15:00 Did you guys have chance to test on leagacy OS lick FC17, RHEL6.2, Ubuntu 12.03 13:15:07 ? 13:15:12 ming: I have not. 13:15:18 no 13:15:19 aglitke, yes 13:15:21 Only the 4 identified in the matrix 13:15:32 should we support FC17? 13:15:34 Zhoumeina, is it login window height or Seth. Else? 13:15:39 the language selector will not chose the right language when init. 13:15:59 aglitke, 4 indentified in the matrix? 13:16:11 ming: https://github.com/kimchi-project/kimchi/wiki/Testing-1.0 13:16:29 aglitke, did you see the zhoumeina comment about the string in the po file? 13:16:53 will we keep it as it is and change after the release? 13:16:57 Yes I saw it. It's just a message key right? 13:17:15 yes 13:17:22 yeah. Just add the proper translation for the key and don't worry about replacing it with the english phrase now. 13:17:30 that is a common issue about how to deal the long message 13:17:49 aglitke: I have give some proposal about this issue 13:17:57 I think for now a key is ok for really long messages. 13:17:57 aglitke: do you agree? 13:18:12 using python AST is too comples. 13:18:14 complex/ 13:18:31 I'd rather us focus on adding features that users will see and love./ 13:18:45 ok 13:18:49 For, https://github.com/kimchi-project/kimchi/wiki/Testing-1.0, start VM was not tested on RHEL6.4 , ubuntu13.04. And Was it intentional? 13:19:24 ming: I am continuing to rerun tests as part of release prep. A blank means I still need to retest that 13:19:27 aglitke: yes. how about use xgettext instead of python AST 13:19:54 shaohef: because it cannot recognize the native python syntax 13:19:58 aglitke: Thanks. 13:20:37 ok... let's continue 13:20:40 #topic Set storage pool for a template 13:20:57 This is a feature that missed the freeze date 13:21:33 Since we are getting very close to release I want to withhold it until right after release./ 13:21:46 aglitke: I have try to use cheetach-compile to generate html.tmpl to python code. and then let xgettext scan this python code. 13:21:47 Did you have chance to see my rebase, aglitke? 13:21:53 aglitke: it is OK 13:22:01 royce: I saw it, but haven't reviewed it yet. 13:22:14 Today xinding helped to test it 13:22:14 Merging it would be a pretty stark violation of feature freeze. 13:22:26 It would be a big + if we think its stable enough 13:22:52 Honestly I think the only people that will be upset are the PMs. 13:23:13 But the community won't care if it goes out the day after 1.0 13:23:30 :) 13:23:56 Sorry for not catching up with this one... 13:24:29 1000 lashes w/ a wet noodle? (hope that translates ok) 13:24:30 I agree it's an important feature, but life will continue if it goes on next Monday after I cut. 13:24:35 Is this one [project-kimchi][PATCHv3 0/8] Template storage customization? 13:24:47 Royce? 13:24:47 ming: Yes, plus one UI patch 13:24:47 Just because I had two more days vacation:(, right, ming 13:25:08 I wouldn't frown about vacation... 13:25:13 It just hasn't received review beyond AdamKingIT and I 13:25:26 royce: Don't worry too much about it. 13:25:35 Maybe this is the segui to what & when is the next release... 13:25:53 This isn't a proprietary product release. It's Open Source. Things are ready when they are ready. 13:25:56 *segue 13:26:02 thanks, aglitke 13:26:25 AdamKingIT: yes... 13:26:33 #topic ISO Streaming 13:26:48 We promised a strong start to open development for 1.1 13:27:02 I want to see ISO streaming merged early (next week if possible) 13:27:10 I would love to demo it in Edinburgh 13:27:36 do you have a meeting there:D 13:27:43 Yes, KVM Forum 13:27:44 aglitke, but we should have a repository for the latest libvirt update to test the ISO streaming? 13:28:05 I think out early items for next release would be the template/storage pool feature, ISO streaming, networking 13:28:13 I think we should maintain several repos for the updating packages. 13:28:28 ming: We are going to add the workaround support so you can test with and without the latest libvirt. 13:28:38 AdamKingIT: refactor exception? 13:28:43 What I want to do for iso streaming is enumerate the patch series that are needed. 13:28:54 guys, let's talk about the other items next... 13:28:59 AdamKingIt, host debug information paused for while. 13:29:08 AdamKingIT: https://github.com/kimchi-project/kimchi/wiki/refactor-exception-%5Brelease-1.1%5D 13:29:24 On refactoring, I think we want to look at a number of items... 13:29:30 aglitke, I've already resumed the work on that 13:29:58 so, streaming patches. 13:30:06 1) libvirt workaround : aline 13:30:12 aglitke, for iso streaming, I want this patch merge for it:issue #166: Destroy storage when vm define fails 13:30:19 2) Distros enumeration: shaohef 13:30:38 royce: ok. We can probably merge that this week 13:30:53 3) Backend support for streaming? alinefm? 13:30:59 what is needed for 3? 13:31:19 aglitke, with libvirt support the backend is already done 13:31:20 4) UI enablement: zhoumeina? 13:31:25 ok 13:31:29 just need to added support for libvirt workaround 13:31:34 3, qemu support? 13:31:43 ming: it already supports it 13:31:50 alinefm, are bugs reported previously fixed? 13:31:52 oh and the patch [PATCH 0/3 V3] isoinfo: Probe information from remote ISO file 13:32:07 aglitke, but it is in the upstream. 13:32:08 alinefm: ok 13:32:23 royce, I am resuming the iso streaming work now 13:32:23 ming: It has supported it for ages. 13:32:29 I will investigate them 13:32:49 and with the libvirt workaround the problems may come out 13:32:51 aglitke: How about RHEL 6.4? 13:32:57 So if folks could work on getting these patches ready to go for early next week we can have a strong start to our development for 1.1 13:33:11 ming: not sure... You can check. 13:33:16 I think I ran into different problems when testing on different distros, I'll help you look into them too 13:33:26 ok, gream 13:33:26 alinefm^ 13:33:28 great 13:33:52 Do we want to cut another release with some of these feature, then tackle some of our structural ideas? YuXin has some thoughts on making more use of jQueryUI, and I have some on using some design patterns in the backend 13:34:05 zhoumeina: how close is the UI for streaming? 13:34:09 royce, thanks 13:34:25 AdamKingIT: We can do all of that concurrently 13:34:34 I agree with all of it. 13:34:44 1.1 does have a lot of feature development too 13:34:45 About storage managenment. 13:34:50 It's going to be busy. 13:35:05 I think we may provide basic snapshots functions for Kimchi in 1.1 13:35:07 I am going to get the list together of things we are committing to work on. 13:35:17 We've already done quite a bit of work in this area. 13:35:32 I'll put up an initial planning page for 1.1 in the next day or two 13:36:13 aglitke: I'm sorry, I think the xinding is working at the streaming. 13:36:21 mi 13:36:23 ahh, right... My mistake 13:36:23 ming: https://github.com/kimchi-project/kimchi/wiki/snapshot 13:36:54 aglitke: https://github.com/kimchi-project/kimchi/wiki/snapshot 13:37:11 shaohef: thanks. 13:37:45 snapshots are complex 13:38:15 AdamKingIT: I will pull the info out of the spreadsheet I've been working with Frank on. 13:38:30 That has a pretty nice list of 1.1 features. 13:38:33 We have quite a bit on the wiki 13:38:35 as well 13:38:44 yep... Lots of work to do 13:38:59 aglitke: a new developer maybe join Kimchi. 13:39:07 aglitke: zhengsheng. :) 13:39:12 shaohef: when? 13:39:33 aglitke: he can help on some important feature 13:39:43 Yes, that will be great! Also markwu will be helping on Networking configuration 13:40:33 aglitke: Yes. I have send out a Network patch on backend. and help yuxing on his UI patch. 13:40:44 aglitke: but no one review it. 13:40:46 ok, great 13:40:50 not great 13:41:11 I haven't seen as broad of review activity as I would like. 13:41:20 especially on the more complex patch sets. 13:41:23 shaohef: I think you can resend it after 1.0 release, I can help to review 13:41:34 yes, exactly 13:41:38 zhoumeina: yes. 13:41:47 zhoumeina: thank you. 13:41:58 ok... I think we have covered 1.1 planning well enough for today... 13:42:07 #topic Open Discussion 13:42:13 exception 13:42:37 I'll review it iff we are going to accept Network patches 13:42:38 Yes. This will allow us to present localized detailed error reasons to the end user. 13:43:09 aglitke: yes, it is important to USER. 13:43:20 Are there questions about design or implementation? 13:43:33 first, we need to define which kind of error should let user know, not all the backend error should be shown to users 13:43:34 I spent some time with shaohef to explain my thinking on it. 13:43:45 aglitke: https://github.com/kimchi-project/kimchi/wiki/refactor-exception-%5Brelease-1.1%5D 13:43:54 aglitke: I file a wiki about it 13:44:12 aglitke: include most of our discussion 13:44:52 two kind of error: error caused by user operation. another is for code error. 13:45:11 shaohef: Great wiki page! 13:46:22 For unexpected code errors, we will have a default key that will be 'An unexpected error has occurred' 13:47:06 So basically, if a KimchiError is raised and the reason key is not set, we will use the above default. 13:47:06 aglitke: but zhoumeina does not like this proposal. 13:47:11 we use this method implement the exception just like the wiki, but we found that we have to put the map of key and message both in UI and exception .py 13:47:39 That can be solved with a build step. 13:48:10 the keys have to be defined in the backend because the backend needs to know the set of available keys 13:48:16 we dont we do the translation at the backend ,aglitke? 13:48:20 but the UI needs to translate them 13:48:43 because how can the backend know the desired language? We are not bleeding the session info into the rest api 13:49:03 The rest api is always english plus a translation key 13:49:42 so we can add a build step to the code that takes keys from exception.py and writes a javascript file in the UI 13:50:44 It's a little bit complex for my taste, but I don't see a way around it. 13:51:38 aglitke: The key---> UI translate it to messages--->translate it to localized message? 13:51:41 aglitke: do you means a extra script to copy the keys to i18n.html.tmpl? 13:51:46 if the full message catalog is preloaded in the UI, we can be sure we have something to show the user 13:52:23 sorry, do I miss something? 13:52:40 poor network 13:52:52 shaohef: Yes 13:53:14 aglitke: got it. 13:53:15 So the i18n.html.tmpl will be partially auto-generated. 13:53:34 aglitke: I will add it to the wiki. 13:53:36 maybe we need 2 js files and the ui will combine the two lists at runtime 13:53:51 what would be in the 2 files? 13:53:53 quite complex. 13:53:53 i18n.html.tmpl is manually created translation strings 13:54:26 aglitke: yes. it is bothersome to write the i18n.html.tmpl manually 13:54:27 errors.html.tmpl is dynamically generated from backend exception.py 13:54:43 then some utility function in the js 13:54:56 function i18ntable() { 13:55:01 aglitke: put it in errors.html.tmpl instead of i18n.html.tmpl 13:55:15 when it comes to JS files, more is usually worse for performance. If we are generating the JS on the server, we can roll in into .min.js at build time 13:55:22 return i18n.html + errors.html; 13:55:23 } 13:55:31 obviously it's bad psuedocode,. 13:55:36 err, no need to combine the messages 13:55:46 AdamKingIT: Yes 13:55:55 but not roll it in w./ the functional js 13:56:03 it can all be rolled in at build timne 13:56:08 aglitke: what is psuedocode? 13:56:29 shaohef: It's code written in plain english 13:56:54 almost code 13:57:00 shaohef: you said that backend can do the translation. any method about this? 13:57:15 zhoumeina: yes. backend can do the translation. 13:57:46 aglitke: maybe you should explain why we not let backend do the translation to zhoumeina 13:58:59 yes, I want to know that, since the backend can get the language from session, why we don't want to do the translation at the back end? 13:59:00 We are trying to decouple the REST API from user session data 13:59:16 REST APIs are supposed to be session-less by definition. 13:59:22 Each request is independent 13:59:28 and stateless 14:00:06 the REST API is a machine interface. not a human one. 14:00:18 So translation in an API does not make sense. 14:00:44 Translation is the responsibility of the presentation layer (the UI) 14:00:51 but if anyone who want to use the rest api, but only can get the key and value, how can he know what happens 14:01:17 We may want the API keys to be numerical, like HTTP response codes 14:01:20 The API will return the key and the expanded message in English 14:01:36 UI can use the #s to choose a msg to display 14:01:41 AdamKingIT: Numerical reason codes are terrible to understand in the code. 14:01:56 so I am suggesting a short string word 14:02:02 constant definitions are awesome for that 14:02:08 AdamKingIT, alinefm is out because her connection has some trouble 14:02:31 you propose the API return both the code AND an English string? 14:02:32 let me think about it. 14:03:11 AdamKingIT: Yes. 14:03:23 it makes it the most useful 14:03:41 hmm, we generally don't like to show preference for a particular language 14:03:53 The keys in the api are already in english 14:04:02 'name': 'template-1' 14:04:04 etc 14:04:10 seems there are no better method than what we do now 14:04:10 The uris are english words 14:04:33 the code is written in english. Python uses english keywords 14:05:01 but I still think it would be not a better code. 14:05:51 I am going to end here but will stick around to continue discussing this. 14:05:53 #endmeeting