Tuesday, 2016-03-29

TravTwhich would explain the test failure00:00
TravThttps://github.com/openstack/searchlight-ui/blob/master/searchlight_ui/karma.conf.js#L3700:00
TravTi copied this from the lbaas plugin00:00
TravTso thought it would work...00:00
* krotscheck sighs.00:01
TravT(pictures krotscheck dreaming of a world where only npm and bower exist)00:01
* krotscheck grumbles something about python and javascript not being good bedfellos.00:01
krotscheckOh, forget bower. I'm more or less done with them.00:02
TravTorly? i haven't been keeping up with the latest on that front.00:02
TravToh, i think i see the problem...00:03
krotscheckI'm pretty certain that everyhting that bower provides can be provided via npm's dependencies.00:03
krotscheckIt's just that bower exists, and therefore few people are willing to put their noggins to work.00:03
krotscheckAnyway....00:04
TravTokay, i think i'll chase down this karma thing tomorrow.00:04
TravTi have to run for tonight00:04
krotscheckThe one change I made wsa to modify the ../coverage-karma to ../cover. I'm also working on getting HTML test reports.00:04
krotscheckI'll get those two up and ready for ya.00:04
TravTi did put that ../coverage-karma in the patch above.00:05
TravThttps://review.openstack.org/#/c/298440/4/searchlight_ui/karma.conf.js00:05
TravTis that what you think it should be?00:05
krotscheckYep00:06
TravTif there is more, then please feel free to amend that patch00:06
krotscheckHuhn, this plugin assumes it's running in a directory adjacent to the horizon directory.00:06
TravTyeah00:06
krotscheckThat's all kind of gate fail.00:06
TravTthat's what I was seeing as the problem00:06
TravTbut i can't for the life of me understand why this config works on the lbaas dashboard00:07
krotscheckI'll amend the patch, see if removing it blows everything up.00:07
TravThttps://github.com/openstack/neutron-lbaas-dashboard/blob/master/neutron_lbaas_dashboard/karma.conf.js#L2500:07
TravTok, cool. today is my wife's birthday and i need to head out for the moment.00:07
TravTthanks for helping out!00:08
krotscheckYeah, that's puzzling00:09
krotscheckI'll keep yammering on here in the channel00:09
krotscheckUrmm....http://logs.openstack.org/15/296615/1/check/gate-neutron-lbaas-dashboard-npm-run-test/724279b/console.html.gz#_2016-03-23_18_20_04_40400:14
krotscheckIt doesn't actually work for them.00:14
TravToh geez, you are right. they have it set up as a non-voting job00:18
krotscheckNo worries, I think I know what to do.00:30
krotscheckSooooocloooose00:31
openstackgerritMichael Krotscheck proposed openstack/searchlight-ui: Fix Zuul errors.  https://review.openstack.org/29844000:37
krotscheckOk, so ^^ makes the tests pass, but I had to do a few things I don't recommend actually doing.00:38
*** yingjun has joined #openstack-searchlight00:39
krotscheckAnd of course, it times out on clone.00:46
krotscheckOh, nevermind.00:46
* krotscheck was impatient00:46
*** yingjun has quit IRC00:56
krotscheck2016-03-29 00:59:12.431 | Finished: SUCCESS00:59
krotscheckAll green!01:00
*** yingjun has joined #openstack-searchlight01:10
*** lakshmiS_ has quit IRC01:19
openstackgerritMichael Krotscheck proposed openstack/searchlight-ui: Fix Zuul errors.  https://review.openstack.org/29844001:20
krotscheckok, lets try that01:20
krotscheckWe just had a build timeout during bindep.03:08
krotscheckhttp://logs.openstack.org/40/298440/6/check/gate-searchlight-ui-npm-run-test/40d2bd0/console.html03:08
krotscheckIt _might_ be the mirror?03:08
*** bpokorny has joined #openstack-searchlight03:29
krotscheckOk, so I guess removing the xstatic test was still necessary.03:32
* krotscheck sighs03:32
krotscheckIt probably needs to have its logic adjusted somehow.03:33
*** bpokorny has quit IRC04:45
*** pcaruana has quit IRC05:09
*** GB21 has joined #openstack-searchlight05:39
*** GB21 has quit IRC07:05
openstackgerritLi Yingjun proposed openstack/searchlight: Use delete_index instead of alias_listener_update  https://review.openstack.org/29857007:12
*** GB21 has joined #openstack-searchlight07:17
*** pcaruana has joined #openstack-searchlight07:48
*** TravT has quit IRC08:23
*** TravT has joined #openstack-searchlight08:24
*** GB21 has quit IRC08:54
*** yingjun has quit IRC09:32
*** yingjun has joined #openstack-searchlight11:27
*** sigmavirus24_awa is now known as sigmavirus2413:57
*** yingjun has quit IRC14:06
*** yingjun has joined #openstack-searchlight14:06
*** yingjun has quit IRC14:11
*** GB21 has joined #openstack-searchlight14:50
*** openstackgerrit has quit IRC15:06
*** openstackgerrit has joined #openstack-searchlight15:07
openstackgerritTravis Tripp proposed openstack/searchlight-ui: Improve install instructions  https://review.openstack.org/29843315:11
openstackgerritTravis Tripp proposed openstack/searchlight: Add missing zero-downtime indexing documentation  https://review.openstack.org/29831515:14
openstackgerritMerged openstack/searchlight: Add missing mitaka release notes  https://review.openstack.org/29726715:24
sjmc7how dare you touch my red!15:26
TravTit deserved it15:26
sjmc7i need to put my editor in the corner to think about what it’s done15:26
TravTyes, shaming is always the best choice15:27
openstackgerritSteve McLellan proposed openstack/searchlight: Disable oslo_config file discovery in tests  https://review.openstack.org/29883015:37
TravTsjmc7 yingjun (not on).  thierry wants us to push a 0.3 for python-searchlightclient so they can create a stable mitaka branch15:39
sjmc7ok. did we have any changes to make?15:39
sjmc7i can’t think of any15:40
TravTthere's one open bug out there potentially worth considering fixing, but i don't have time to look at it further at the moment.15:40
TravThttps://bugs.launchpad.net/python-searchlightclient15:40
sjmc7i can look at it, but i guess they want to do the branch asap?15:41
TravTif that is an easy fix (today) probably would be find15:41
TravTfind15:41
TravTfine15:41
TravTbleh15:41
sjmc7hahaha15:43
sjmc7ok, will take a quick look15:43
sjmc7at my old job a guy who hated the entire idea of non-ascii characters would occasionally scream ‘UNICODE’, indicating he had encountered an encoding issue15:44
TravTi'm now trying to see the magic krotscheck was working on late last night for searchlight-ui15:45
TravTalso need to get that tagged for mitaka15:45
*** lakshmiS has joined #openstack-searchlight15:53
krotscheckTravT: the xstatic test is the only stickler,but you can see where my thoughts were.15:55
TravTyeah, i do see that.15:55
krotscheckI've got a meeting in 5, can help after.15:55
TravTactually adding what you did now made it so that i can set my pycharms interpretter to the .tox env and the horizon libs show up properly now15:55
krotscheckAh, neat.15:56
krotscheckWins all around!15:56
TravTi tried commenting out that path check and it doesn't help the karma though...15:56
TravTi'll try tinkering with that a bit15:56
openstackgerritRick Aulino proposed openstack/searchlight: Re-indexing optimization for doc_type  https://review.openstack.org/29553816:09
openstackgerritTravis Tripp proposed openstack/searchlight-ui: Fix searchlight-ui Zuul errors.  https://review.openstack.org/29844016:29
openstackgerritTravis Tripp proposed openstack/searchlight-ui: Fix searchlight-ui Zuul errors.  https://review.openstack.org/29844016:44
openstackgerritTravis Tripp proposed openstack/searchlight-ui: Improve install instructions  https://review.openstack.org/29843316:44
TravTkrotscheck: got it working! just a minor path change on top of your changes last night16:45
*** robcresswell is now known as grand-poobah-of-16:47
*** grand-poobah-of- is now known as robcresswell16:47
*** pcaruana has quit IRC16:48
sjmc7TravT: added a note to the sl client bug https://bugs.launchpad.net/python-searchlightclient/+bug/1558757 - TL;DR is check your terminal LANG setting16:48
openstackLaunchpad bug 1558757 in python-searchlightclient "search query * -> 'ascii' codec can't encode character u'\xae' in position 3739: ordinal not in range(128)" [Undecided,New]16:48
openstackgerritTravis Tripp proposed openstack/searchlight-ui: Fix searchlight-ui Zuul errors.  https://review.openstack.org/29844016:59
*** briancline has quit IRC17:07
*** sigmavirus24 has quit IRC17:07
*** _sigmavirus24 has joined #openstack-searchlight17:07
*** briancli1e has joined #openstack-searchlight17:07
*** _sigmavirus24 is now known as sigmavirus2417:14
*** sigmavirus24 has joined #openstack-searchlight17:14
openstackgerritTravis Tripp proposed openstack/searchlight-ui: Fix searchlight-ui Zuul errors.  https://review.openstack.org/29844017:27
openstackgerritTravis Tripp proposed openstack/searchlight-ui: Fix searchlight-ui Zuul errors.  https://review.openstack.org/29844017:36
TravTsjmc7: just added a comment on that bug17:43
sjmc7haha17:46
sjmc7that’s fun!17:46
sjmc7it does in fact unset LANG17:47
sjmc7in stackrc17:47
TravTwell, yay for that17:47
sjmc7:)17:47
sjmc7does the bug go away if you set LANG?17:47
sjmc7if so, i’ll close it17:48
TravTso, then i knew you'd ask that next...17:48
TravTi have to reset my keystone endpoints to actually test17:48
TravTgimme a second.17:49
sjmc7k17:49
sjmc7also be interesting to see if nova client chokes on the same issue17:49
sjmc7hmm, doesn’t look like it. so maybe sl-client should be explicitly encoding17:50
sjmc7i’ll take a quick look, need to eat first17:50
TravTok17:50
TravTi think i'm done with the zuul errors patch on sl ui17:50
TravTjust waiting for gate to pass17:50
TravTbut if so, i really need to get that in today17:50
*** bpokorny has joined #openstack-searchlight17:52
sjmc7splendid17:52
*** bpokorny has quit IRC17:52
*** bpokorny has joined #openstack-searchlight17:53
sjmc7TravT: looks like it’s an openstackclient bug17:54
sjmc7or ‘condition’, i guess17:54
sjmc7now i really am getting food17:57
TravTokay, just tested and I actually am not seeing that now17:57
TravTeven with $LANG not set17:58
TravTmaybe it got fixed elsewhere?17:58
sjmc7check LC_ALL, too17:58
sjmc7devstack seems to set LC_ALL=C17:58
sjmc7which will break it17:58
TravTttripp@ubuntu:~$ echo $LANG17:58
TravTttripp@ubuntu:~$ echo $LC_ALL17:58
TravTC17:58
TravTttripp@ubuntu:~$17:58
sjmc7you’re sure it’s trying to print non-ascii results?17:59
TravTno... let me add the copyright symbol17:59
sjmc7cos i can reliably reproduce it by setting LC_ALL=C17:59
TravT(switching which listeners I have running)18:01
TravTand increasing limit18:02
*** pcaruana has joined #openstack-searchlight18:02
TravTthere it is18:02
TravTso, sjmc7 are you proposing we close this as a SL bug then?18:03
TravTand call it an opentackclient bug?18:03
sjmc7yes18:03
sjmc7it’s not really an openstackclient bug, either18:03
sjmc7but it’s certainly not a SL one18:04
TravTthey could catch it and give a nicer error message with guidance at least.18:04
sjmc7yeah, true18:04
sjmc7i’ll file one later18:04
sjmc7gonna close this bug18:04
TravTokay, then i'm going to go ahead and put up a patch for releasing 0.3.0 python-searchlightclient18:04
sjmc7yay18:04
sjmc7ok, i really AM going to eat now18:05
TravTgo eat!18:05
lakshmiSdesignate plugin doesnt listen for server create/delete events. was there a reason for it or just left out18:05
sjmc7?18:06
lakshmiSwhen you create/delete server's in designate it sends a dns.pool.update event18:06
lakshmiSdesignate server-create --name ns2.foo.com.18:07
sjmc7umm.. i don’t know18:07
sjmc7i’ve not used the command before :(18:08
lakshmiSi will create a bug18:08
sjmc7could ask endre or graham but they’re both out for the day18:08
TravTmaybe ekarlso- would know18:08
sjmc7i really really AM getting some food now18:08
lakshmiSi will put another comment and you will be back :)18:09
ekarlso-what ? :P18:13
ekarlso-im on vacation actually :o18:13
lakshmiSekarlso-: do you know if we need to index data from dns.pool.update events?18:16
ekarlso-lakshmiS: unsure atm, try hitting the guys up in the designate chat :)18:17
lakshmiSno problem. will checkout there...18:17
openstackgerritGB21 proposed openstack/searchlight: Adds Nova Functional Tests  https://review.openstack.org/28983718:18
mugsiesjmc7: you called?18:23
mugsieoh, yeah. do we listen for any pool events currently? I didnt think we did18:26
mugsieyeap, searchlight only listens for zones/domain + recordsets events18:28
lakshmiSmugsie: we currently dont index nameservers. i think it good to index and update it on notifications18:34
mugsieyeah. we should index the whole pool object and its updates if possible in my opinion18:35
lakshmiSyes18:35
mugsieespecially with mitaka actually allowing multiple pools18:35
*** GB21 has quit IRC18:35
lakshmiSthe only issue i see is that it sends information for all nameservers in notification instead of the nameserver being created. i guess there can only be a handfull of nameservers18:39
mugsieyeah, 99% will have less then 3, and only a few people will ever have more than 618:45
*** david-lyle has quit IRC18:45
*** david-lyle has joined #openstack-searchlight18:46
lakshmiSthat makes sense18:48
sjmc7TravT: I’m happy to give my blessing to the ui patch https://review.openstack.org/#/c/298440/ although i’ll take your word that it fixes the issues i’ll also take your word about :)18:55
TravTwell, it does turn 4 out of 5 tests from red to green. :)18:55
TravT(the other one was already green)18:55
sjmc7looks like mostly linting18:55
TravTyes18:56
TravTand then actually making horizon javascript available to karma for JS testing18:56
TravTi went through the whole zuul layout18:56
sjmc7https://review.openstack.org/#/c/298440/11/searchlight_ui/static/dashboard/project/search/filters/keystone-project-name.filter.js line 33 comment looks funky18:56
TravTturns out we are the first angular plugin to horizon to actually run tests.18:56
sjmc7but it all looks fine18:56
sjmc7ha, yeah :)18:56
sjmc7though someone else was asking about it the other day18:57
sjmc7or maybe it was you18:57
TravTi'll probably go put up a fix to neutron lbaas plugin to get their karma to run now.18:57
sjmc7ok. this looks fine; i’m guessing you don’t want minor comment nits at this stage18:58
TravTyou can leave them and i can maybe fix later on.18:59
TravTwe're just crunched for mitaka18:59
TravTthere are a couple actual bugs i want to work on.18:59
sjmc7ok. once gerrit stops misbehaving will +218:59
TravTok, i'm gonna step away for lunch19:00
*** krotscheck is now known as krotscheck_dcm19:07
openstackgerritSteve McLellan proposed openstack/searchlight: Fix _is_multiple_alias_exception signature  https://review.openstack.org/29894719:28
sjmc7lakshmiS: TravT: need review on https://review.openstack.org/298947 please19:29
TravTsjmc7, looking... but looking at the optimization patch first.19:38
sjmc7sure, long as it gets into rc219:39
lakshmiSsjmc7: middle of some testing. will do it today19:52
openstackgerritMerged openstack/searchlight: Re-indexing optimization for doc_type  https://review.openstack.org/29553820:18
openstackgerritMerged openstack/searchlight-ui: Fix searchlight-ui Zuul errors.  https://review.openstack.org/29844020:22
openstackgerritTravis Tripp proposed openstack/searchlight-ui: Improve install instructions  https://review.openstack.org/29843320:23
openstackgerritTravis Tripp proposed openstack/searchlight-ui: Removing oslo-incubator config file  https://review.openstack.org/29846820:23
*** sigmavirus24 is now known as sigmavirus24_awa20:37
*** sigmavirus24_awa is now known as sigmavirus2420:37
openstackgerritTravis Tripp proposed openstack/searchlight: Add Link to client and ui  https://review.openstack.org/29897220:39
openstackgerritMerged openstack/searchlight-ui: Removing oslo-incubator config file  https://review.openstack.org/29846821:07
TravTlakshmiS: Awesome job getting the functional tests into zuul!21:17
TravThttps://review.openstack.org/#/c/29422421:17
lakshmiSthats half the patch though. but good that its working21:17
lakshmiShave another patch https://review.openstack.org/#/c/298360/ which changes experimental to real21:18
sjmc7nice. and you got infra onboard with it?21:18
lakshmiSyes21:18
TravTwell, they'll run each time as experimental right?21:19
sjmc7it’s a shame it needs a seperate job definition. zuul macros are a pain21:19
lakshmiSonly if you add "check experimental" in the comment21:20
TravTahh21:20
TravTthat's pretty tricky21:20
lakshmiSyeah, not much in documentation21:20
TravTi guess until infra approves we may as well add that to all our commits21:20
lakshmiSnot sure if it reads in the commit message(worth trying). I added as a review comment21:21
sjmc7lakshmiS: what’s zuul-swift-test-results-with-console ?21:21
lakshmiSinfra asked me to copy py27 job and just change stuff for elasticsearch. so not sure21:22
lakshmiShttps://review.openstack.org/#/c/298339/ has the experimental run21:24
TravTyeah, i saw that... just added those comments to one Steve's patches as well21:27
*** lakshmiS has quit IRC21:33
*** sigmavirus24 is now known as sigmavirus24_awa21:47
openstackgerritMerged openstack/searchlight-ui: Improve install instructions  https://review.openstack.org/29843322:02
sjmc7gotta go, will check in later22:33

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