12:00:14 #startmeeting Horizon 12:00:15 Meeting started Wed Jul 22 12:00:14 2015 UTC and is due to finish in 60 minutes. The chair is david-lyle. Information about MeetBot at http://wiki.debian.org/MeetBot. 12:00:16 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 12:00:19 The meeting name has been set to 'horizon' 12:00:34 anyone here for Horizon? 12:00:42 yes 12:01:17 sure 12:01:25 Yep 12:01:29 hi there 12:02:18 A couple of general items to open with 12:02:36 The Horizon midcycle started yesterday 12:02:49 approximately 20 people in attendance 12:03:14 o/ 12:03:16 topics covered were reviewing the liberty priorities 12:03:28 #link https://etherpad.openstack.org/p/YVR-horizon-liberty-priorities 12:03:44 hi 12:03:57 a small discussion on translation status 12:04:26 a small discussion on the code reOrg (related to javascript) 12:04:59 and finally trying to close the webroot bug 12:05:30 david-lyle, there came 2 bugs connected to that yesterday and the day before 12:05:32 in the new launch instance, although the scope had crept to a couple more places 12:05:57 metadata admin ui fails the same way 12:06:19 mrunge: I'll have to test that with the new patch 12:06:25 https://bugs.launchpad.net/horizon/+bug/1476439 12:06:26 Launchpad bug 1476439 in OpenStack Dashboard (Horizon) "update_metadata for flavors and images shows blank. static basePath not set correctly." [Undecided,Confirmed] 12:06:57 and a duplicate of that, javascript callbacks didn't work 12:07:14 ok, I will look today 12:07:49 great 12:08:52 looks like the patch was approved 3 hours ago and got lost in the gate 12:09:31 there was an issue on the gate, they rebooted the whole thing 12:09:35 if I'm right 12:10:01 The other topic covered was ducttape_ demoed how his company uses and deploys horizon 12:10:17 Oh nice 12:10:22 yes! 12:10:29 I'd love to see it 12:10:31 Any recordings? 12:10:50 we have a dialin set up and vidyo feed. I don't believe it was recorded 12:11:12 Ah, I hadn't realised the vidyo was up 12:11:18 Dang. 12:11:34 yupp, same here 12:11:34 linked on the etherpad, which I will find 12:12:20 did the demo give any takeaways / new perspectives from your point of view? 12:12:21 #link https://etherpad.openstack.org/p/horizon-liberty-midcycle 12:13:32 I think it was helpful for the group in general, but it's fairly close to how I did it before 12:13:58 robcresswell, you may be able to talk ducttape_ into a limited repeat 12:14:15 * ducttape_ not sure what I have gotten myself into 12:14:24 your demo yesterday 12:14:30 just detailing what was covered 12:14:39 ah yeah.... only $500 and I can do it again ;) 12:15:04 cough 12:15:10 the rest of the time was spent split into smaller working/discussion groups 12:15:12 I can do it again, no worries.... although $500 doesn't hurt 12:15:13 adding to the 3000 to get there 12:15:46 ducttape_: That would be really helpful. Would definitely help understand your perspective better. 12:16:14 the wireless bandwidth is not great at the midcycle, so it may be better to do it post midcycle 12:16:20 if we can get Sean's change merged for the ordering thing, I can show you deploying the fix 12:16:34 yep. I can do it afterwards 12:16:51 the wifi at the location is not good 12:16:54 yes, I'd be interested as well 12:16:54 screen lag became an issue 12:17:24 that's the report out of the midcycle so far 12:17:32 2 more days 12:18:00 the last general item I wanted to point out is that the UX project was approved by the TC yesterday 12:18:08 Cool, thanks 12:18:33 so our fledgling UX effort that's been ramping for a couple of years now is official 12:18:49 hopefully that will help pull in more UX folks 12:19:29 There were no items on the agenda for today, so I'll open it up 12:19:35 #topic Open Discussion 12:20:03 I got one 12:20:05 https://review.openstack.org/#/c/141078/ 12:20:07 Curvature 12:20:10 yeah, me too 12:20:17 oh, robcresswell great 12:20:22 robcresswell, and the linked commit as well )) 12:20:34 Its now open and has Angular work going on it too 12:20:48 (ack, forgot the link hash) 12:20:58 Would be great to get reviews on that 12:21:32 If the midcycle discussion could fit it in for 5 minutes, that would also be appreciated, but no worries if time doesnt allow. 12:21:38 That is all :) 12:21:39 one question: it is great but do we replace it completely in this cycle? 12:22:03 There were a couple of questions about the status yesterday 12:22:28 amotoki: good question 12:22:52 How widely used is the current topology? I'm afraid I don't have much info on that 12:23:00 I'll admit I haven't tried it in a bit, but the last time I wasn't sure it was ready to be a full replacement 12:23:23 I see bug reports based on current topology 12:23:24 bradjones: ping 12:23:27 so: it is used 12:23:49 robcresswell: as a visualization tool, I believe it's used 12:23:54 yes! 12:23:59 robcresswell: AFAIK the current topology is usually used to check the current status. 12:24:02 whether the launch actions etc, I'm not sure 12:24:32 I remember some buttons (i.e. Terminate Instance) in new topology didn't work for me 12:24:37 most folks I know do create/change/delete from individual panels. 12:24:42 Not sure if Brad is about. A deprecation path could be considered, perhaps with settings similar to the Launch Instance in Kilo? 12:24:51 haven't checked though if it was the same for an old topology 12:24:52 yes, you can use it to launch instances, but it is easier to launch it from launch instance workflow 12:25:02 the current topology page is very helpful / used 12:25:03 robcresswell: +1 12:25:10 Also if you get a moment, add the concerns to the patch 12:25:21 I wouldn't try to implement launch instance from topology map 12:25:23 ducttape_: Thanks! 12:25:53 mrunge, if it's just an overlaying modal, why not? 12:25:55 mrunge: My point was that we could perhaps include a setting called LEGACY_TOPOLOGY etc 12:26:14 tsufiev, for what? 12:26:17 and doc it, so it can be enabled by choice, then remove in M cycle. 12:26:26 something along those lines. 12:26:29 as soon as you have more than a few instances, and certainly when you have more than one network.... current topology is VERY helpful 12:26:39 mrunge, well, I meant that technically it's not that difficult :) 12:26:57 let's get people trying the curvature patch and provide reviews 12:27:06 david-lyle: +1 12:27:09 and we'll have a better idea on the steps forward 12:27:13 if you have docs on how to turn it only, lemme know 12:27:25 ducttape_: just the patch linked above 12:27:29 thanks 12:27:35 it's a full replacement in that patch 12:27:36 tsufiev, I'm speaking about the old one 12:27:42 ducttape_: Good to know. Curvature aims to solve the issue of larger deployments though. It tends to arrange itself better, iirc. Up for debate though, so please review :) 12:27:46 sorry was reading backlog 12:28:10 but still: do we really need to add stuff already integrated in other functionality? 12:28:49 mrunge: I think the aim was convenience, I don't know if that was achieved 12:29:28 david-lyle, I agree 12:30:17 I'll ask for reviews at the midcycle 12:30:29 david-lyle: Thanks 12:30:33 david-lyle: that will be great thanks 12:30:49 mrunge, you had something to discuss? 12:30:50 it would be pretty cool, if one could click on a network to launch an instance in that network 12:31:04 yes, it's about django-1.8 12:31:14 I have a few patches up for review 12:31:20 1.8 seemed pretty much ready, right? 12:31:25 and I'll be away for next 14 days 12:31:28 yes! it is 12:31:42 first patch is horizon for auth stuff, then doa - right? 12:31:58 then back to horizon for final patch 12:32:06 the first thing would be: https://review.openstack.org/201734 12:32:23 then doa 12:32:36 and finally: https://review.openstack.org/201467 12:32:44 to add gating on django-1.8 12:32:54 (non voting first) 12:33:19 doa patch is this one: https://review.openstack.org/167981 12:33:43 and a horizon patch: https://review.openstack.org/#/c/201066/ 12:34:47 ok, I'll test those out again 12:35:01 if there are changes required, please go ahead and change 12:35:06 Nice work 12:35:15 I bumped 1.8 supported up in the priority list yesterday 12:35:19 mrunge: +1, that was going to be my next question 12:35:20 thank you 12:35:44 thanks mrunge 12:35:53 and have a nice 2 weeks 12:35:56 most complicated thing is to coordinate doa horizon and project-config 12:36:00 By end of cycle, will we by testing py34dj18? I've been reviewing alot of the python3 work 12:36:13 uhm in best case: yes 12:36:22 maybe testing py18dj34 perhaps too? ;) 12:36:36 but python3 might be a more bumpy road 12:37:08 I'm not sure about xstatic and python3 12:37:12 or other deps 12:37:56 xstatic-* only contain data, so I don't think we have a problem in them. I don't know for other deps. 12:38:46 I wanted to also bring up https://review.openstack.org/#/c/204197/ I don't want it merged unless it is really ready, but if you guys like it - that bug is a pain point right now. Not sure if mrunge has more to add 12:39:01 sorry for changing subject 12:39:24 ducttape_, I really need to do a review there 12:39:35 I am quite sure, it's a major pita for you 12:39:49 yep that is great / fine. I don't want to rush it, but I also don't want that one to wait too long :D 12:41:04 ducttape_: it also depends on a commit with unittests. 12:41:23 The tests look a bit suspicious though. is it good practice to use assert? 12:41:33 ducttape_, no backport to kilo required, right? 12:41:56 I don't think so, I think this bug occured in the last 6 weeks 12:42:15 mrunge: I think js file discovery was intorduced in liberty, just recently 12:42:42 yes that was a liberty addition 12:42:54 ok, just to clarify 12:43:06 js_files.random() -> new feature ;) 12:43:34 kzaitsev_mb: probably not ideal with the asserts, but that file already has that issue, I think that cleanup would be separate 12:44:26 david-lyle: actually commit with unit tests is also not merged yet. (= 12:44:46 oh, that's from a parent patch? 12:44:59 then we can certainly fix it before it lands 12:45:07 https://review.openstack.org/#/c/201418/6 12:45:24 that's a bit of a missed opportunity, merging without tests 12:45:56 I'm still on the schedule for a rant about process at the midcycle 12:46:01 :) 12:46:04 but yep, the issue does look important enough, to be fixed asap, with cleanup happening later. It was actually me, who asked to add tests to 1st patchset, cause the code looked fragile. 12:46:22 drop the bomb david-lyle. hulk angry 12:46:49 just another topic: i've got news from my colleague who has just returned from keystone midcycle. Seems that they really need some sort of policy editor (with the introduction of dynamic keystone policies) 12:46:55 * david-lyle wonders if he approved that patch 12:46:55 thanks for asking for that kzaitsev_mb, that was the right way 12:47:18 But I guess it could be a commit, that fixes the issue and a separate, dependant, that introduces all the tests. The 1st one would be 1-line and easy to merge. And the 2d one would add all the tests, including the order tests. 12:47:50 Oh actually, do I have time for another point? I drafted an email, but now might work too 12:47:54 switch how the asserts is done is just a replace operation, 2 minutes total 12:47:57 tsufiev - will dynamics polices be done by Oct ? 12:48:14 tsufiev: that would be my question too 12:49:00 ducttape_, david-lyle: I do not know estimates because I wasn't there. I will ask him to start the related email thread 12:49:50 tsufiev: we might check what the Congress team has, I think they've been working on an editor plugin as well 12:49:59 not sure how great the overlap might be 12:50:02 robcresswell - your point to bring up? 12:50:11 bring it 12:50:22 david-lyle, well, the Congress policies seem quite a different beast to me, more complicated 12:50:43 you haven't seen the dynamic policy implementation yet ;) 12:51:04 Congress always seemed simple, easy and efficient.... just like, well.... US Congress ;) 12:51:21 was just a thought to avoid duplication of effort 12:51:29 I'm silly like that 12:51:39 Since Karma generates pretty JS coverage reports, I was wondering if we could enforce 100% test coverage. Karma is far from perfect in its detection anyway; it is very relaxed, so 100% is not *really* 100% and we can ask for more granularity where needed. Any thoughts? Just been writing a mailer post too. Seems like it would be a very easy way to prevent untested code. 12:52:10 On the JS side that is. I've rejected a few patches already because the test coverage was far too low (40%) 12:52:32 robcresswell: my fist question is what are the tests really testing to hit this 100% value? 12:52:40 related to the test coverage, i have one thing to share. 12:52:48 https://bugs.launchpad.net/horizon/+bug/1349841 12:52:50 Launchpad bug 1349841 in OpenStack Dashboard (Horizon) juno ""Error: Unable to connect to Neutron" is displayed when instance table displays many instances over 150" [High,Fix released] - Assigned to Matthias Runge (mrunge) 12:52:55 horizon icehouse reached EOL with a big bug. Please see #10 comment. 12:53:16 david-lyle: It's a mixture of functions being defined etc, branches being tested (if/else) 12:53:32 My thinking is, that this could be a documented "minimum" 12:54:05 And then we could ask for more when required. This at the very least, encourages people to write basic testing for all of their code and functions 12:54:41 It's also very easy to verify; just look at the automated report. Doesn't need a core to block it. 12:55:37 amotoki - I think that is a bug for sure, but the instance page is going to be terribly slow. I think we have found any more than 40 or so, and things go pretty slow. It's not ideal, but there is a workaround to show fewer instances 12:56:49 ducttape_: we're making a check that isn't valid in icehouse 12:56:56 due to backpor 12:56:57 t 12:57:01 ah ok 12:57:07 ducttape_: the bug does not solve the slowness. my point is that icehouse horizon has a bug in launch instance and EOP icehouse has a prblem 12:57:31 the reason I share is it means we need more testing coverage. 12:58:04 I wonder why we could not catch the bug in the tests :-( 12:58:10 amotoki: that would have required an integration test 12:58:31 there was some work on a launch instance integration test but that stalled 12:58:42 david-lyle: agree 12:59:28 I know tosky has been working hard to make sure the integration tests continue to run 13:00:15 we just need to keep them stable and continue to grow the coverage 13:01:10 which goes back to my question to robcresswell, test coverage is nice, but not always a meaningful measure or insurance of correctness 13:01:54 david-lyle: I agree, but it gives reviewers a workable minimum, rather than just relying on perception 13:02:11 If we can clearly say, this is only 40%, go and work on it more... I think that helps. 13:02:32 I would prefer to have 40% coverage where the tests are integration tests at some level (maybe API still mocked) vs 100%, I've mocked everything this method calls and in a vacuum it works perfectly 13:02:44 But this is karma, its just the UTs 13:02:47 not that I think that's what the 40% is testing 13:03:23 oops, over time. Please continue with the mailing post 13:03:29 Will do, thanks 13:03:54 Thanks everyone and have a good week. I will post in the horizon room when someone is presenting at the midcycle 13:03:58 #endmeeting