Friday, 2014-05-30

*** tosky has quit IRC00:04
*** zhiyan_ is now known as zhiyan00:20
*** zhiyan is now known as zhiyan_00:29
*** ViswaV has quit IRC00:31
*** ViswaV has joined #openstack-sahara00:35
*** IlyaE has quit IRC00:41
*** IlyaE has joined #openstack-sahara00:46
*** zhiyan_ is now known as zhiyan00:50
*** zhiyan is now known as zhiyan_00:59
*** IlyaE has quit IRC01:02
*** bradd1 has joined #openstack-sahara01:08
*** bradd1 has quit IRC01:08
*** zhiyan_ is now known as zhiyan01:09
*** alazarev has quit IRC01:22
*** ViswaV has quit IRC01:25
*** bradd1 has joined #openstack-sahara01:57
*** ViswaV has joined #openstack-sahara02:19
*** bradd1 has quit IRC02:34
*** ViswaV has quit IRC02:37
*** ViswaV has joined #openstack-sahara02:41
*** ViswaV_ has joined #openstack-sahara02:47
*** ViswaV has quit IRC02:50
*** shakayumi has quit IRC02:58
*** rhodgin has joined #openstack-sahara03:05
*** akuznetsov has joined #openstack-sahara03:55
*** IlyaE has joined #openstack-sahara04:58
*** zhiyan is now known as zhiyan_05:13
*** zhiyan_ is now known as zhiyan05:35
*** ViswaV_ has quit IRC05:43
*** ghenriks_ has joined #openstack-sahara05:46
*** zhiyan is now known as zhiyan_05:47
*** alazarev has joined #openstack-sahara05:48
*** ghenriks has quit IRC05:49
*** zhiyan_ is now known as zhiyan06:03
*** zhiyan is now known as zhiyan_06:19
*** IlyaE has quit IRC06:20
*** zhiyan_ is now known as zhiyan06:20
*** witlessb has joined #openstack-sahara06:30
*** tnovacik has joined #openstack-sahara06:32
*** alazarev has quit IRC06:36
*** bogdando has quit IRC06:42
*** bogdando has joined #openstack-sahara06:42
*** zhiyan is now known as zhiyan_07:06
*** skolekonov has joined #openstack-sahara07:14
*** zhiyan_ is now known as zhiyan07:17
*** IvanBerezovskiy has joined #openstack-sahara07:27
*** jpich has joined #openstack-sahara07:59
*** tnovacik has quit IRC08:04
*** zhiyan is now known as zhiyan_08:25
*** zhiyan_ is now known as zhiyan08:47
*** zhiyan is now known as zhiyan_08:49
*** liusheng has joined #openstack-sahara08:54
*** zhiyan_ is now known as zhiyan09:49
*** zhiyan is now known as zhiyan_09:59
*** vrovachev has joined #openstack-sahara10:02
*** juice has quit IRC10:49
*** zhiyan_ is now known as zhiyan10:50
*** juice has joined #openstack-sahara10:52
*** zhiyan is now known as zhiyan_10:59
*** akuznetsov has quit IRC11:08
*** akuznetsov has joined #openstack-sahara11:12
*** tosky has joined #openstack-sahara11:12
*** openstackgerrit has joined #openstack-sahara11:18
*** openstackgerrit has quit IRC11:19
*** openstackgerrit has joined #openstack-sahara11:25
*** ylobankov has joined #openstack-sahara11:35
*** zhiyan_ is now known as zhiyan11:51
*** zhiyan is now known as zhiyan_12:00
*** openstackgerrit has quit IRC12:22
*** openstackgerrit has joined #openstack-sahara12:22
openstackgerritSergey Kolekonov proposed a change to stackforge/sahara-ci-config: Add HDP2 job  https://review.openstack.org/9674612:30
*** _elmiko is now known as elmiko12:30
openstackgerritSergey Kolekonov proposed a change to stackforge/sahara-ci-config: Add HDP2 job  https://review.openstack.org/9674612:32
openstackgerritSergey Kolekonov proposed a change to stackforge/sahara-ci-config: Add HDP2 job  https://review.openstack.org/9674612:40
*** zhiyan_ is now known as zhiyan12:51
*** zhiyan is now known as zhiyan_13:03
crobertsrhAnyone have any thoughts on writing unit tests for the dashboard (horizon merge)?  The only tests that I see other projects have are the api tests.  Currently our sahara api only has a "client" method.  Should I go back and rewrite the api so that it exposes all the individual calls and write tests that way, or is there another, less intrusive way I can write the tests?13:21
toskycrobertsrh: https://wiki.openstack.org/wiki/Horizon/Testing/UI13:21
jpichtosky: Note that this link is specific to the integration tests that are still pretty new and being figured out, fwiw13:23
crobertsrhRight.  Those will be coming at some point as well.13:23
toskyjpich: but which will be in a better shape in the not so far future, hopefully13:23
crobertsrhany thoughts on ^^, jpich?13:24
jpichcrobertsrh: Most panels/dashboards would have a set of unit tests included as well that checks things like the page displays and has the data expected, etc - is this what you're talking about?13:24
toskycrobertsrh: oh, I missed the "unit" word in your message :)13:24
crobertsrhjpich:  Oh...maybe I missed those tests.  Do you have a pointer to one?13:25
crobertsrhI might just be having a "slow" morning.13:25
jpichtosky: That's the hope! It'd be of course lovely to have, though I'd recommend waiting a bit while things like "how do we handle test data consistently" are figured out... unless you're interested in helping out of course :-)13:26
jpichcrobertsrh: Sure! /me looks for a nice one13:26
jpichcrobertsrh: https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/instances/tests.py has a bit too much in it nowadays I suppose. https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/images/tests.py may be more human parsable13:27
jpichcrobertsrh: The first test usually simply check the index page renders correctly (status 200) + with the correct templates13:28
crobertsrhAh, great.  Not sure how I missed those :)13:28
jpichSleep deprivation? :)13:29
crobertsrhI do have an 18 month old :)13:29
crobertsrh"Where do I find the tests?"....."um, try the file named "tests.py""13:30
crobertsrhyou were very polite though, thanks13:30
jpichcrobertsrh: FWIW I wrote http://www.jpichon.net/blog/2013/07/testing-in-horizon/ a year ago when I started learning about Horizon, because I found the whole unit testing very confusing. Maybe you'll find a useful tidbit or two in there too13:30
jpichOtherwise the folks at #openstack-horizon are generally happy to help :-)13:30
crobertsrhI bet I will.  Thanks13:31
jpichcrobertsrh: We all have slow days ;)13:31
crobertsrhOff hand, can you tell me if our current api/sahara.py is going to be a problem?  It only contains "client" and the code currently takes care of everything else.  Nobody has mentioned it on a review yet, but it does seem to not be the "horizon" way.13:32
crobertsrhhttps://review.openstack.org/#/c/86648/21/openstack_dashboard/api/sahara.py13:32
jpichcrobertsrh: I'm afraid it's probably going to be brought up yeah13:33
crobertsrhI thought so.  I might as well get that reworked sooner rather than later.  Thanks.13:34
jpichWe use our own thin API layer to protect ourselves (somewhat) from the API evolving and breaking us, it also helps up make "transparent" changes when we know every horizon call will need to adapt the results a little13:34
jpichWell spotted. Good luck :-)13:34
crobertsrhYeah, it totally makes sense.13:35
*** zhiyan_ is now known as zhiyan13:54
*** IlyaE has joined #openstack-sahara14:00
*** zhiyan is now known as zhiyan_14:03
*** skolekonov has quit IRC14:04
*** skolekonov has joined #openstack-sahara14:05
*** skolekonov has quit IRC14:06
*** skolekonov has joined #openstack-sahara14:07
*** tmckay has joined #openstack-sahara14:11
*** ViswaV has joined #openstack-sahara14:18
*** shakamunyi has joined #openstack-sahara14:22
*** alazarev has joined #openstack-sahara14:27
*** skolekonov has quit IRC14:28
*** skolekonov has joined #openstack-sahara14:28
*** ViswaV has quit IRC14:29
*** rhodgin has quit IRC14:31
openstackgerritA change was merged to openstack/sahara: Fixed oozie component name in HDP exception  https://review.openstack.org/9662214:31
*** aboutGod has joined #openstack-sahara14:33
*** openstackgerrit has quit IRC14:36
*** openstackgerrit has joined #openstack-sahara14:37
*** aboutGod has left #openstack-sahara14:38
*** ViswaV has joined #openstack-sahara14:48
*** zhiyan_ is now known as zhiyan14:55
*** skolekonov has quit IRC15:00
*** bradd1 has joined #openstack-sahara15:00
*** ViswaV has quit IRC15:02
*** zhiyan is now known as zhiyan_15:04
*** alazarev has quit IRC15:11
*** rhodgin has joined #openstack-sahara15:14
*** ViswaV has joined #openstack-sahara15:26
*** ViswaV_ has joined #openstack-sahara15:27
*** ViswaV has quit IRC15:30
*** ViswaV has joined #openstack-sahara15:50
*** ViswaV_ has quit IRC15:50
*** alazarev has joined #openstack-sahara15:55
*** zhiyan_ is now known as zhiyan15:56
*** IvanBerezovskiy has left #openstack-sahara16:02
*** mattf is now known as _mattf16:03
*** zhiyan is now known as zhiyan_16:05
*** tmckay has quit IRC16:10
*** vrovachev has quit IRC16:17
*** shakamunyi has quit IRC16:20
openstackgerritAndrew Lazarev proposed a change to openstack/sahara: Sync the latest DB code from oslo-incubator  https://review.openstack.org/9659216:24
*** jpich has quit IRC16:30
*** ylobankov has quit IRC16:30
openstackgerritOpenStack Proposal Bot proposed a change to openstack/python-saharaclient: Updated from global requirements  https://review.openstack.org/9682816:33
openstackgerritOpenStack Proposal Bot proposed a change to openstack/sahara: Updated from global requirements  https://review.openstack.org/9651016:33
*** bradd11 has joined #openstack-sahara16:50
*** bradd1 has quit IRC16:53
*** zhiyan_ is now known as zhiyan16:56
*** tmckay has joined #openstack-sahara17:00
*** alazarev has quit IRC17:02
*** alazarev has joined #openstack-sahara17:05
*** IlyaE has quit IRC17:06
*** zhiyan is now known as zhiyan_17:06
*** ViswaV has quit IRC17:07
*** ViswaV has joined #openstack-sahara17:08
elmikoSergeyLukjanov: i'm noticing many reviews recently have no blueprint or bug associated with them, how strict do we want to be about keeping track of theses?17:09
*** alazarev has quit IRC17:15
*** sreshetnyak has quit IRC17:17
*** alazarev has joined #openstack-sahara17:17
*** miqui has quit IRC17:18
*** IlyaE has joined #openstack-sahara17:24
*** miqui has joined #openstack-sahara17:29
*** sreshetnyak has joined #openstack-sahara17:42
*** sreshetnyak has quit IRC17:44
*** tellesnobrega_ has joined #openstack-sahara17:46
*** bradd1 has joined #openstack-sahara17:49
*** bradd11 has quit IRC17:52
*** zhiyan_ is now known as zhiyan17:57
*** IlyaE has quit IRC18:06
*** zhiyan is now known as zhiyan_18:06
*** akuznetsov has quit IRC18:07
*** bradd1 has quit IRC18:07
*** IlyaE has joined #openstack-sahara18:09
*** akuznetsov has joined #openstack-sahara18:11
*** alazarev has quit IRC18:23
*** alazarev has joined #openstack-sahara18:36
*** bradd1 has joined #openstack-sahara18:42
*** sreshetnyak has joined #openstack-sahara18:45
*** IlyaE has quit IRC18:49
*** tellesnobrega_ has left #openstack-sahara18:57
*** zhiyan_ is now known as zhiyan18:58
*** zhiyan is now known as zhiyan_19:07
*** elmiko has quit IRC19:25
*** bradd1 has quit IRC19:26
*** bradd1 has joined #openstack-sahara19:27
*** elmiko has joined #openstack-sahara19:29
*** akuznetsov has quit IRC19:29
*** alazarev has quit IRC19:30
*** IlyaE has joined #openstack-sahara19:44
*** _mattf is now known as mattf19:46
*** zhiyan_ is now known as zhiyan19:59
*** zhiyan is now known as zhiyan_20:08
SergeyLukjanovelmiko, it's better to always have bp or issue20:15
SergeyLukjanovelmiko, if it's non-trivial it's fair to -120:15
openstackgerritMatthew Farrellee proposed a change to openstack/python-saharaclient: Remove timeutils from openstack-common.conf  https://review.openstack.org/9693120:20
mattfSergeyLukjanov, tmckay, easy ^^20:21
*** alazarev has joined #openstack-sahara20:22
mattfalazarev, https://review.openstack.org/96931 easy one20:22
SergeyLukjanovmattf, lgtm20:23
alazarevmattf: +220:23
tmckayI got there first so gave it +1 :)20:24
elmikoSergeyLukjanov: ok, thanks20:24
elmikomattf: -1, where's the bug report... /s20:26
mattflol20:30
dmitrymeelmiko, others: do we really need bug reports / blueprints for ‘internal’ changes? By internal I mean changes which does not concern users like the one above20:33
openstackgerritMatthew Farrellee proposed a change to openstack/python-saharaclient: Update oslo-incubator strutils (and gettextutils)  https://review.openstack.org/9693420:33
openstackgerritMatthew Farrellee proposed a change to openstack/python-saharaclient: Update oslo-incubator importutils  https://review.openstack.org/9693520:33
mattfSergeyLukjanov, alazarev, tmckay (~elmiko) ^^ another easy one20:33
dmitrymeelmiko: ok, I’ve noticed you’ve set +1 for the CR, so it was a joke :-)20:34
elmikodmitryme: yea20:34
elmikodmitryme: i've been doing some horizon reviews and they seem more strict about bps and bug reports20:35
elmikomy personal feeling is that we should have a bp/br whenever possible, but if it's a one line change maybe not20:36
openstackgerritMatthew Farrellee proposed a change to openstack/python-saharaclient: Update oslo-incubator apiclient.exceptions  https://review.openstack.org/9693620:36
openstackgerritMatthew Farrellee proposed a change to openstack/python-saharaclient: Update oslo-incubator cliutils  https://review.openstack.org/9693720:36
elmikomattf: can't believe you kicked me off those reviews... /cry20:37
mattflol20:37
*** miqui has quit IRC20:38
*** mattf is now known as _mattf20:51
*** crobertsrh is now known as _crobertsrh20:58
*** zhiyan_ is now known as zhiyan20:59
*** openstackgerrit has quit IRC21:01
*** zhiyan is now known as zhiyan_21:09
*** IlyaE has quit IRC21:13
*** elmiko is now known as _elmiko21:26
*** IlyaE has joined #openstack-sahara21:36
*** bradd1 has quit IRC21:42
*** bradd1 has joined #openstack-sahara21:43
*** ViswaV has quit IRC21:49
*** ViswaV has joined #openstack-sahara21:54
*** IlyaE has quit IRC21:55
*** zhiyan_ is now known as zhiyan22:00
*** ViswaV has quit IRC22:02
*** zhiyan is now known as zhiyan_22:09
*** ViswaV has joined #openstack-sahara22:12
*** ViswaV has quit IRC22:17
*** witlessb has quit IRC22:18
*** ViswaV has joined #openstack-sahara22:19
*** ViswaV has quit IRC22:28
*** openstackgerrit has joined #openstack-sahara22:31
*** ViswaV has joined #openstack-sahara22:33
*** openstackgerrit has quit IRC22:35
*** openstackgerrit has joined #openstack-sahara22:35
*** ViswaV has quit IRC22:40
*** ViswaV has joined #openstack-sahara22:41
*** rhodgin has quit IRC22:46
*** zhiyan_ is now known as zhiyan23:01
*** zhiyan is now known as zhiyan_23:10
*** ViswaV has quit IRC23:14
*** _crobertsrh has left #openstack-sahara23:38
openstackgerritAndrew Lazarev proposed a change to openstack/sahara: Migrated unit tests to testtools  https://review.openstack.org/9697923:46

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!