Thursday, 2015-06-04

* r1chardj0n3s is testing david-lyle's tox env patch00:00
krotscheckWell, an alternate proposal might be to add a venv_only switch to run_tests, invoke that before npm takes over so the environment has all its dependencies.00:00
TravTso, in gate, krotscheck: does your method need a virtual env?00:01
krotscheckTravT: That mostly depends on how the karma file is set up. If it is smart enough to check either the .venv or the globally installed dependencies, then it _shouldn't_00:02
david-lyleI the reusable job makes sense, I'm all for it. If we have to make a kludgy mess to make it work, it may be a task for when we are more javascripty00:02
david-lylenot making a judgement call on the kludge factor yet00:02
*** alexpilotti has quit IRC00:03
krotscheck.... I somewhat feel that it will require some kind of invocation of run_tests.sh00:03
TravTit is looking in venv00:03
r1chardj0n3s... and the chicken blood. don't forget the chicken00:04
david-lyleIll supply the chickens00:04
TravTgood call r1chardj0n3s00:04
krotscheckBut we can't do run_tests.sh, because it would invoke npm run, which would invoke run tests, which would invoke npm run which would recursion00:04
* TravT looks for an open window to jump through00:04
openstackgerritShaoquan Chen proposed openstack/horizon: Fix bug where WEBROOT is not respected  https://review.openstack.org/18109500:04
* david-lyle casually opens the window00:04
david-lyle:P00:04
krotscheckSorry, that was supposed to say 'run_tests.sh -k100:04
TravTlol... it is definitely feeling like beer:3000:05
*** yamamoto has quit IRC00:05
r1chardj0n3swow, this tox thing takes aaaaages00:05
r1chardj0n3soh. IT IS INSTALLING NODE00:05
r1chardj0n3swheeeeeee :)00:05
hurgleburgleryay!00:06
r1chardj0n3sI forgot nodeenv was in there00:06
krotscheckohai :)00:06
r1chardj0n3sit does take a while ;)00:07
krotscheckThe more I think about it, the more I feel y'all should do the venv thing00:07
TravThttps://github.com/openstack/horizon/blob/master/openstack_dashboard/karma.conf.js#L400:07
r1chardj0n3sIT IS RUNNING TESTS \o/00:07
krotscheckBut hey, there's an npm-install macro that will install node from the distro :)00:07
r1chardj0n3sno, spoke too soon. now it's npm-installing00:07
krotscheckTravT: Yep, that looks hardcoded.00:07
*** jingjing_ren has quit IRC00:08
* krotscheck just had an idea and will reappear shortly00:08
krotscheckOh. Hrm. Tox doesn't let me specify a directory00:10
*** yamamoto has joined #openstack-horizon00:11
krotscheckNevermind00:11
r1chardj0n3s"ReferenceError: Can't find variable: angular" running your tox env david-lyle00:11
r1chardj0n3sso yeah00:11
krotscheckLooks like run_scripts does something that tox doesn't know about00:12
david-lyleoh sure blame my env00:12
*** vahidh has quit IRC00:12
r1chardj0n3sdavid-lyle: it's looking in .venv for the js, which doesn't exist00:12
david-lyleTravT: saw that earlier without my env00:12
david-lyler1chardj0n3s: because the karma conf is hard coded?00:12
david-lyleyep00:13
david-lyleline 400:13
r1chardj0n3sdavid-lyle: actually, I am confused, since it's using xstatic packages, so I don't see why00:13
r1chardj0n3sok, poo00:13
*** jbell8 has quit IRC00:13
r1chardj0n3syeah, that's not good00:13
david-lyleno hard coding paths is never good00:14
krotscheckOk, I have a hack00:14
* krotscheck waits for everyone to put on their hack goggles.00:14
* r1chardj0n3s doesn't take them off00:14
krotscheck`tox -epy27 --notest; ln -s ./.tox/py27 ./.venv; npm run test;`00:15
openstackgerritShaoquan Chen proposed openstack/horizon: Fix bug where WEBROOT is not respected  https://review.openstack.org/18109500:15
krotscheckThat worked for me.00:15
r1chardj0n3skrotscheck: lol00:15
r1chardj0n3skrotscheck: that's some hack :)00:15
krotscheckFolder don't exist? FINE! HERE IT IS! *fireball*00:16
r1chardj0n3s:)00:16
r1chardj0n3sso I've added that symlink hack to david's thing, and am testing that00:16
r1chardj0n3shm, no dice00:16
TravTi've still never seen that variable error.00:17
TravTi just get can't find the files.00:17
r1chardj0n3sTravT: the one I mentioned?00:17
TravTyeah00:17
r1chardj0n3syeah, it's at the bottom of "all the files are missing"00:17
r1chardj0n3s(for me)00:17
david-lyleit's hard coded path00:17
TravTthere it is...  too many years of scrolling up to find the issue.00:18
david-lylehttp://git.openstack.org/cgit/openstack/horizon/tree/horizon/karma.conf.js#n400:18
r1chardj0n3syeah, I don't know how to work around that, to be honest00:18
david-lyleis bad bad bad bad00:18
r1chardj0n3skrotscheck might have an idea ...00:18
krotscheckIiiiiit's hacky!00:19
krotscheckhacky mchackypants00:19
krotscheckWait, no, this is a big hack. That means it's Hack MacHackypants.00:19
r1chardj0n3skrotscheck: if we can figure out how to dynamically get the correct venv path into the karma conf, we can have the tox env working00:19
krotscheck(Because all the big hacks are scottish)00:19
r1chardj0n3sorly?00:19
david-lylelol00:19
*** yamamoto has quit IRC00:21
krotscheckI'm doing one last pass on this particular hack, and then I will propose all the hackyness.00:21
david-lylecompound hacks, excellent00:21
krotscheckWell, at least in this case I'm _not_ using run_tests, so there isn't any additional wacky chain that might cause dependency issues.00:22
krotscheckAnd makes deprecating that script easier.00:22
krotscheckOne question though: Is setting up the venv more of an "npm install" thing, or more of a "npm run test" thing?00:22
krotscheck(this matters for semantics only)00:22
r1chardj0n3sthat has to rate as one of the most bizarre questions I've read here recently :)00:23
krotscheckr1chardj0n3s: Hey, we control npm from tox, why not control tox from npm?00:23
*** gyee has quit IRC00:23
TravTi'd vote run test00:23
r1chardj0n3ssure, so venv is an install thing00:23
r1chardj0n3slol00:23
r1chardj0n3sdavid-lyle: tie breaker!00:23
david-lyleinstall?00:24
r1chardj0n3sgiven that we don't "npm install" in horizon except to install npm tools00:24
TravTmy arm is easily twisted on this question00:24
r1chardj0n3shmm00:24
krotscheckOne comment though.00:24
r1chardj0n3s.. but now we find the npm tools need the venv. we just have to be careful not to go in circles :/00:24
krotscheckSo if I do a run_tests.sh, what it will do is set up its own venv, invoke npm install, which will then invoke tox and blow away the run_tests venv with a symlink00:25
r1chardj0n3sI think there's a higher-level question of how we set up the environment(s) that we need, prior to running commands00:25
openstackgerritShaoquan Chen proposed openstack/horizon: Fix bug where WEBROOT is not respected  https://review.openstack.org/18109500:25
krotscheck'cause _that's_ not brittle00:25
r1chardj0n3skrotscheck: yikes00:26
r1chardj0n3skrotscheck: sorry mate, but -1 :(00:26
*** yamamoto has joined #openstack-horizon00:26
r1chardj0n3shmm00:26
krotscheckr1chardj0n3s: Yeah, still trying to figure out how to get around that.00:26
TravTcan we just pass args for the base path at invocation?00:26
r1chardj0n3sdavid-lyle: why is the tox env using the -N? does it *have* to?00:26
r1chardj0n3sif the tox karma env didn't -N it would work00:27
krotscheckTravT: maybe. Lemme check00:27
r1chardj0n3sTravT: I looked, but my fu there is lacking, I hope krotscheck can find something to do that00:27
TravTi was also looking (aka googling)00:27
david-lyleprobably to be more like devstack and real install, but don't know really00:28
krotscheckTravT: It looks like one can custom add client commands00:28
r1chardj0n3syeah, problem is that the general use-case of karma has a much saner configuration with a source tree that doesn't move about00:28
*** iamjarvo has joined #openstack-horizon00:28
*** iamjarvo has quit IRC00:28
r1chardj0n3swe're being very weird moving it about :(00:28
david-lyle:q00:28
r1chardj0n3sif the karma conf could shell out to a python program to determine the correct venv for the xstatic ... OMG00:28
r1chardj0n3sactually, tox will set an env var, won't it?00:29
*** iamjarvo has joined #openstack-horizon00:29
*** iamjarvo has quit IRC00:29
*** iamjarvo has joined #openstack-horizon00:29
*** iamjarvo has quit IRC00:30
r1chardj0n3scertainly we can *set* one for it00:30
r1chardj0n3ser, *in* it00:30
r1chardj0n3sif JS can use the env var00:30
krotscheckHow about we just tell the karma configuration to look for its own dependencies?00:30
david-lylecan we specify a different package.json?00:31
krotscheckit _is_ a functional language00:31
david-lylekrotscheck: my concern was using a completely different dependency chain to test isn't a really valid way to test00:31
*** iamjarvo has joined #openstack-horizon00:31
david-lylewe want to test horizon based on what it will be shipped with00:31
*** iamjarvo has quit IRC00:31
r1chardj0n3skrotscheck: lol, you imply javascript is a function language? :)00:31
krotscheckdavid-lyle: I'm proposing that karma.conf.js checks to see whether the xstaticPath should point at .venv or at .tox00:32
r1chardj0n3skrotscheck: yes, that would be good00:32
david-lyleah, ok00:32
david-lylethat's good00:32
krotscheckGimme a few minutes, I think I can test that.00:32
TravTyeah, that's what I was implying as well.00:32
r1chardj0n3swe'd probably have to hard-code the tox env name, but that's not too horrid00:32
*** iamjarvo has joined #openstack-horizon00:32
krotscheckr1chardj0n3s: We wouldn't have to, py27 has everything we need.00:32
r1chardj0n3swhich is why I was saying we could set an env var in tox which is passed into karma, if karma conf can use the env var00:33
TravTokay, i have to go for now...00:33
r1chardj0n3sok00:33
*** yamamoto has quit IRC00:38
openstackgerritCindy Lu proposed openstack/horizon: JSCS Cleanup - Legacy JS files  https://review.openstack.org/18692100:40
openstackgerritCindy Lu proposed openstack/horizon: JSCS Cleanup - Legacy JS files  https://review.openstack.org/18692100:43
*** gary-smith has quit IRC00:43
*** Sukhdev has quit IRC00:59
openstackgerritMichael Krotscheck proposed openstack/horizon: Trigger tox from package.json, if necessary.  https://review.openstack.org/18822501:00
r1chardj0n3skrotscheck: not to be a nit, but is there no way to handle an environment var passed in rather than hard-code py27?01:01
r1chardj0n3sactually, s/"not to be"/"being" :)01:01
krotscheckr1chardj0n3s: process.env.VARNAME01:01
r1chardj0n3slemme just check - I'm pretty sure tox defines the tox env as an env var01:01
krotscheckr1chardj0n3s: You're assuming we're running the tests from inside of a venv.01:02
krotscheckWhich I don't think we can do.01:02
r1chardj0n3soh, I getcha01:02
openstackgerritMichael Krotscheck proposed openstack/horizon: Trigger tox from package.json, if necessary.  https://review.openstack.org/18822501:02
krotscheckOk, I think that'll work01:02
krotschecknpm install will now selectively create a venv, if .venv is not found (so that run_tests.sh -k will still work sanely)01:03
r1chardj0n3skrotscheck: so you're looking to not use david-lyle's patch setting up the karma tox env?01:03
krotscheckWe can use that too :)01:03
r1chardj0n3sif we can just launch karma from tox that keeps things simpler, yeah01:03
krotscheckI'm still advocating for the JS only tooling ;D01:03
r1chardj0n3ser, maybe not "simpler" but at least consistent ;)01:03
krotscheckRather than launching tox from karma?01:03
krotscheck:D01:03
r1chardj0n3syeah, I know, and I'm with ya :/01:03
r1chardj0n3syeah01:03
krotscheckWell, we can argue it out on gerrit. At least now the big hurdle, which is the hardcoded paths, is overcome.01:04
r1chardj0n3shm, I don't think tox sets any env vars by default :/01:04
r1chardj0n3syep!01:04
krotscheckAnd now, I go do anniversary things.01:05
krotscheckToodles!01:05
r1chardj0n3soh! go! :)01:05
r1chardj0n3sthanks krotscheck!01:05
krotscheckr1chardj0n3s: btw, you need to look at this: https://etherpad.openstack.org/p/modern-javascript-roadmap01:05
r1chardj0n3skrotscheck: yep01:05
krotscheckIt's all still freeform and duplicalicious01:06
krotscheckAnyway, I'm off.01:06
krotscheckToodles!01:06
r1chardj0n3s"duplicalicious" love it :)01:06
*** jtriley has quit IRC01:06
*** openstack has joined #openstack-horizon01:22
*** jwy has joined #openstack-horizon01:22
*** eroussel has joined #openstack-horizon01:23
*** openstack has joined #openstack-horizon01:37
*** iamjarvo has quit IRC01:42
*** tyr_ has quit IRC01:46
*** jtriley has joined #openstack-horizon01:48
openstackgerritMerged openstack/horizon: Bootstrap variables should derive from a known theme.  https://review.openstack.org/18779701:49
*** jbell8 has joined #openstack-horizon01:49
*** openstack has quit IRC01:52
*** openstack has joined #openstack-horizon01:54
openstackgerritWonChon proposed openstack/horizon: Support flavor-id uuid format at trove.  https://review.openstack.org/18165701:58
*** iamjarvo has joined #openstack-horizon02:00
*** iamjarvo has quit IRC02:00
*** jbell8 has quit IRC02:00
*** iamjarvo has joined #openstack-horizon02:00
*** doug-fish has left #openstack-horizon02:00
*** iamjarvo has quit IRC02:00
*** packet has quit IRC02:01
*** iamjarvo has joined #openstack-horizon02:01
*** clu_ has joined #openstack-horizon02:01
*** radez is now known as radez_g0n302:04
*** clu_ has quit IRC02:04
*** packet has joined #openstack-horizon02:05
openstackgerritRichard Jones proposed openstack/horizon: ngReorg - move utils from dashboad-app  https://review.openstack.org/18514002:06
*** jtriley has quit IRC02:08
*** KunalGan_ has joined #openstack-horizon02:33
*** KunalGandhi has quit IRC02:37
*** iamjarvo_ has joined #openstack-horizon02:37
*** iamjarvo_ has quit IRC02:37
*** iamjarvo_ has joined #openstack-horizon02:37
*** mwhagedorn has quit IRC02:37
*** KunalGan_ has quit IRC02:38
*** tqtran has quit IRC02:39
*** iamjarvo has quit IRC02:40
*** jtriley has joined #openstack-horizon02:44
*** jingliuqing has joined #openstack-horizon02:44
*** iamjarvo_ has quit IRC02:46
*** julim has quit IRC02:47
*** jtriley has quit IRC02:56
*** stevemar has joined #openstack-horizon02:58
*** jwy has quit IRC03:01
*** alanf-mc has quit IRC03:04
*** lhcheng has quit IRC03:08
*** jingjing_ren has joined #openstack-horizon03:09
*** lhcheng has joined #openstack-horizon03:32
*** alanf-mc has joined #openstack-horizon03:34
*** eroussel has quit IRC03:35
*** hurgleburgler1 has quit IRC03:42
*** sumanth has quit IRC03:45
*** sumanth has joined #openstack-horizon03:48
*** sumanth has quit IRC03:53
*** sumanth has joined #openstack-horizon03:53
*** EmilienM|off has quit IRC03:55
*** sumanth has quit IRC03:58
*** EmilienM has joined #openstack-horizon04:00
*** jingliuqing has quit IRC04:01
*** andrew019 has joined #openstack-horizon04:01
andrew019hi, i put a pdb debugger before cinder.service_list is called. is there a way to print in human readable format of what the service_list actually is?04:02
*** jingjing_ren has quit IRC04:12
*** sumanth has joined #openstack-horizon04:12
*** masco has joined #openstack-horizon04:13
*** Longgeek has joined #openstack-horizon04:14
*** ongk has joined #openstack-horizon04:17
*** ongk has quit IRC04:17
*** krotscheck has quit IRC04:19
*** mordred has quit IRC04:21
*** mordred has joined #openstack-horizon04:25
*** krotscheck has joined #openstack-horizon04:25
*** neelabh has joined #openstack-horizon04:29
*** andrew019 has quit IRC04:32
*** Longgeek has quit IRC04:39
*** rushiagr_away is now known as rushiagr04:42
*** dsneddon has quit IRC04:42
*** clu_ has joined #openstack-horizon04:51
*** Longgeek has joined #openstack-horizon04:53
*** clu_ has quit IRC04:53
*** Longgeek_ has joined #openstack-horizon04:57
*** kiran-r has joined #openstack-horizon05:00
*** sumanth has quit IRC05:00
*** Longgeek has quit IRC05:00
*** stevemar has quit IRC05:04
*** sumanth has joined #openstack-horizon05:08
*** alanf-mc has quit IRC05:19
*** alanf-mc has joined #openstack-horizon05:20
*** pkarikh has quit IRC05:41
*** alanf-mc has quit IRC05:51
*** yingjun has joined #openstack-horizon05:54
*** belmoreira has joined #openstack-horizon05:56
*** lhcheng has quit IRC05:56
*** josecastroleon has joined #openstack-horizon05:57
*** nikunj2512 has joined #openstack-horizon06:13
*** mrunge has joined #openstack-horizon06:17
*** mrunge has quit IRC06:17
openstackgerritOpenStack Proposal Bot proposed openstack/horizon: Imported Translations from Transifex  https://review.openstack.org/18827406:18
*** jtriley has joined #openstack-horizon06:23
*** mrunge has joined #openstack-horizon06:26
*** jtriley has quit IRC06:27
*** yingjun has quit IRC06:34
*** Kunal has joined #openstack-horizon06:36
*** KunalGandhi has joined #openstack-horizon06:36
*** nikunj2512_ has joined #openstack-horizon06:39
*** clu_ has joined #openstack-horizon06:40
*** oro_ has joined #openstack-horizon06:40
*** nikunj2512 has quit IRC06:41
*** jtomasek has quit IRC06:41
*** jtomasek has joined #openstack-horizon06:42
*** clu_ has quit IRC06:42
*** jtomasek has quit IRC06:43
*** jtomasek has joined #openstack-horizon06:44
*** amotoki has joined #openstack-horizon06:52
*** amotoki has quit IRC07:03
*** robcresswell has quit IRC07:04
*** oro_ has quit IRC07:10
*** yingjun has joined #openstack-horizon07:21
*** Ala has joined #openstack-horizon07:21
*** mrunge has quit IRC07:23
*** mrunge has joined #openstack-horizon07:23
*** mrunge_ has joined #openstack-horizon07:25
*** ygbo has joined #openstack-horizon07:26
*** mrunge_ has quit IRC07:26
*** amotoki has joined #openstack-horizon07:27
*** mrunge has quit IRC07:29
*** mrunge has joined #openstack-horizon07:30
*** zz_ttrifonov is now known as ttrifonov07:30
*** KunalGandhi has quit IRC07:32
*** sqchen has quit IRC07:33
*** Kunal has quit IRC07:35
*** sqchen has joined #openstack-horizon07:37
*** chlong has quit IRC07:44
*** dguerri`away is now known as dguerri07:49
*** sqchen has quit IRC07:52
*** JeanBriceCombebi has joined #openstack-horizon07:55
*** romainh has joined #openstack-horizon07:57
*** aix has joined #openstack-horizon08:03
*** pkarikh has joined #openstack-horizon08:05
*** yingjun has quit IRC08:17
openstackgerritMerged openstack/horizon: Imported Translations from Transifex  https://review.openstack.org/18827408:18
*** yingjun has joined #openstack-horizon08:19
*** amotoki has quit IRC08:20
*** amotoki has joined #openstack-horizon08:20
*** ZZelle has quit IRC08:28
*** ZZelle has joined #openstack-horizon08:29
*** clu_ has joined #openstack-horizon08:29
*** clu_ has quit IRC08:31
*** lhcheng has joined #openstack-horizon08:31
*** JeanBriceCombebi has quit IRC08:39
*** oro_ has joined #openstack-horizon08:45
*** JeanBriceCombebi has joined #openstack-horizon08:48
*** akrivoka has joined #openstack-horizon08:59
*** amotoki has quit IRC09:08
*** yamamoto has quit IRC09:11
*** yamamoto has joined #openstack-horizon09:12
*** Mzoorikh has quit IRC09:13
openstackgerritRob Cresswell proposed openstack/horizon: JSCS Cleanup - dashboard-app  https://review.openstack.org/18831609:17
*** svasheka has joined #openstack-horizon09:22
*** yamamoto has quit IRC09:32
*** amotoki has joined #openstack-horizon09:38
*** yingjun has quit IRC09:41
*** amotoki has quit IRC09:42
*** e0ne has joined #openstack-horizon09:44
*** lhcheng has quit IRC09:45
*** romainh has quit IRC09:51
*** svasheka has quit IRC09:52
*** JeanBriceCombebi has quit IRC10:08
*** clu_ has joined #openstack-horizon10:17
*** clu_ has quit IRC10:19
*** JeanBriceCombebi has joined #openstack-horizon10:21
*** svasheka has joined #openstack-horizon10:24
*** yamamoto has joined #openstack-horizon10:24
*** yamamoto has quit IRC10:30
*** yamamoto has joined #openstack-horizon10:46
*** Longgeek_ has quit IRC10:53
*** Longgeek has joined #openstack-horizon10:54
*** romainh has joined #openstack-horizon10:57
mrungeHey Horizoners, just a heads up: we were thinking about a mid cycle meetup (dirty details in yesterdays meeting logs and on https://docs.google.com/spreadsheets/d/1w0eI6SPCA2IrOyHiEYC2uDO3fbYGzahZRUQSva0UD3Y/edit?pli=1#gid=010:58
mrungethree places, two dates proposed. If you're interested, please vote in the google docs spreadsheet10:59
*** JeanBriceCombebi has quit IRC10:59
*** robcresswell has joined #openstack-horizon11:00
*** sumanth has quit IRC11:22
openstackgerritRob Cresswell proposed openstack/horizon: JSCS cleanup - openstack_dashboard/static/  https://review.openstack.org/18797111:29
openstackgerritZhenguo Niu proposed openstack/horizon: Delete period from select option in LiveMigrateForm  https://review.openstack.org/18834911:29
*** aix has quit IRC11:30
*** nikunj2512_ has quit IRC11:35
*** e0ne is now known as e0ne_11:39
openstackgerritZhenguo Niu proposed openstack/horizon: Exclude current volume_type from Volume retype list  https://review.openstack.org/18835411:43
*** masco has quit IRC11:44
*** jj__ has joined #openstack-horizon11:47
*** e0ne_ has quit IRC11:49
jj__if I am adding a new django module should I include url template of module in "horizon/horizon/site_urls" file?11:49
*** kiran-r has quit IRC11:49
mrungejj__, you should probably hook it in the same way as e.g the router dashboard is added11:55
mrungejj__, it's in openstack_dashboard/enabled/...11:56
openstackgerritAna Krivokapic proposed openstack/tuskar-ui: Add "capabilities: boot_option:local" to flavor creation  https://review.openstack.org/18835812:01
*** svasheka has quit IRC12:02
*** clu_ has joined #openstack-horizon12:06
*** jj__ has quit IRC12:06
*** yamamoto has quit IRC12:08
*** clu_ has quit IRC12:08
*** yamamoto has joined #openstack-horizon12:09
*** e0ne has joined #openstack-horizon12:13
openstackgerritAna Krivokapic proposed openstack/tuskar-ui: Add "capabilities: boot_option:local" to flavor creation  https://review.openstack.org/18835812:15
*** mpavlase has joined #openstack-horizon12:17
*** chlong has joined #openstack-horizon12:20
*** JeanBriceCombebi has joined #openstack-horizon12:21
*** jtriley has joined #openstack-horizon12:22
*** unixlike has quit IRC12:23
*** aix has joined #openstack-horizon12:30
openstackgerritChristian Berendt proposed openstack/horizon: Remove first newline from generated OpenSTack RC file  https://review.openstack.org/18837612:35
*** rushiagr is now known as rushiagr_away12:36
*** rwsu has joined #openstack-horizon12:36
*** JeanBriceCombebi has quit IRC12:36
*** yamamoto has quit IRC12:38
*** JeanBriceCombebi has joined #openstack-horizon12:38
*** svasheka has joined #openstack-horizon12:39
*** yamamoto has joined #openstack-horizon12:39
*** stevemar has joined #openstack-horizon12:41
*** masco has joined #openstack-horizon12:42
*** svasheka__ has joined #openstack-horizon12:44
*** svasheka has quit IRC12:44
*** DaveJ__ has joined #openstack-horizon12:46
*** mwhagedorn has joined #openstack-horizon12:52
*** JeanBriceCombebi has quit IRC12:53
*** JeanBriceCombebi has joined #openstack-horizon12:53
*** peristeri has joined #openstack-horizon12:54
*** mrunge has quit IRC12:55
*** kiran-r has joined #openstack-horizon12:58
*** zhenguo has quit IRC12:58
*** jtriley has quit IRC12:59
*** e0ne is now known as e0ne_13:01
*** yamamoto has quit IRC13:01
openstackgerritMerged openstack/horizon: added description column in firewall tables  https://review.openstack.org/18753613:01
*** yamamoto has joined #openstack-horizon13:02
*** julim has joined #openstack-horizon13:04
*** e0ne_ is now known as e0ne13:04
*** iamjarvo has joined #openstack-horizon13:08
*** Miouge_ has joined #openstack-horizon13:09
*** Miouge has quit IRC13:12
*** Miouge_ is now known as Miouge13:12
*** yamamoto has quit IRC13:12
*** oro_ has quit IRC13:13
*** petertr7_away is now known as petertr713:15
*** tosky has joined #openstack-horizon13:16
openstackgerritRob Cresswell proposed openstack/horizon: JSCS Cleanup - dashboard-app  https://review.openstack.org/18831613:20
*** pkarikh has quit IRC13:24
*** iamjarvo has quit IRC13:27
*** rushiagr_away is now known as rushiagr13:28
*** lblanchard has joined #openstack-horizon13:28
openstackgerritMatt Borland proposed openstack/horizon: Angular API Unit Tests  https://review.openstack.org/17822713:28
*** doug-fish has joined #openstack-horizon13:28
*** matt-borland has joined #openstack-horizon13:29
*** yamamoto has joined #openstack-horizon13:30
*** iamjarvo has joined #openstack-horizon13:32
openstackgerritVlad Okhrimenko proposed openstack/horizon: Drop QUnit JS tests in favor of Jasmine  https://review.openstack.org/15657213:32
*** kiran-r has quit IRC13:41
*** TravT has quit IRC13:44
*** thiagop has joined #openstack-horizon13:45
*** cardeois________ has quit IRC13:48
*** cardeois________ has joined #openstack-horizon13:48
*** clu_ has joined #openstack-horizon13:55
*** yamamoto has quit IRC13:56
*** TravT has joined #openstack-horizon13:56
*** clu_ has quit IRC13:57
*** oro_ has joined #openstack-horizon13:58
*** e0ne is now known as e0ne_13:59
*** jtriley has joined #openstack-horizon14:02
*** e0ne_ has quit IRC14:04
*** jprovazn has joined #openstack-horizon14:05
*** e0ne has joined #openstack-horizon14:06
*** masco has quit IRC14:07
*** neelabh has quit IRC14:08
*** iamjarvo has quit IRC14:08
matt-borlandTravT: tqtran: FYI, that API Test patch had a small merge conflict with the other test patch that went in (one line I think).  I fixed the patch and re-uploaded.14:08
matt-borlandhttps://review.openstack.org/#/c/178227/14:08
*** thiagop has left #openstack-horizon14:08
*** radez_g0n3 is now known as radez14:09
TravTmatt-borland, thanks! Waiting for jenkins to finish re-checking it.14:09
matt-borlandgood plan14:09
matt-borlandThanks for supporting those test efforts14:10
*** iamjarvo has joined #openstack-horizon14:13
*** peristeri has quit IRC14:15
*** peristeri has joined #openstack-horizon14:15
*** tyr_ has joined #openstack-horizon14:17
openstackgerritZhenguo Niu proposed openstack/horizon: Exclude current volume_type from Volume retype list  https://review.openstack.org/18835414:17
*** iamjarvo has quit IRC14:20
*** Ala has quit IRC14:28
*** dboik has joined #openstack-horizon14:28
*** julim has quit IRC14:29
*** JeanBriceCombebi has quit IRC14:32
*** JeanBriceCombebi has joined #openstack-horizon14:33
matt-borlandHey TravT: out of morbid curiosity what is the npm test error?  I don't see it when I check out the code.14:38
matt-borlandre: api test patch14:38
TravTlook at the tests on the patch itself14:39
TravTthere is a new non-voting job14:39
TravTit runs npm test (karma)14:39
matt-borlandOh!  sorry, I see what you mean14:39
matt-borland in the gate job14:39
TravTif you are able to get the horizon room logs from last night, you'll see a rather enjoyable 2 hour conversation about this yesterday late afternoon14:40
matt-borlandlordy!14:40
matt-borlandIt's like watching the replay of a baseball game14:40
*** iamjarvo has joined #openstack-horizon14:40
*** tyr__ has joined #openstack-horizon14:42
*** tyr_ has quit IRC14:42
*** vijendar has joined #openstack-horizon14:43
*** jtriley has quit IRC14:44
*** chlong has quit IRC14:47
krotscheckmatt-borland, TravT: Yeah, and in the meantime that npm-run job landed on infra.14:48
* krotscheck should have marked that as WIP14:48
matt-borlandI like it. )14:49
TravTkrotscheck: i should have removed the +1 at the end of the discussion14:51
*** ducttape_ has joined #openstack-horizon14:52
*** ducttape_ has quit IRC14:53
*** tyr__ has quit IRC14:53
krotscheckTravT: Well, we can decide to revert it.14:53
*** tyr_ has joined #openstack-horizon14:54
TravTit isn't hurting anything really at the moment i guess.  we could test it with your other patch though right if we landed it in horizon?14:56
TravTwe could work through it further when r1chardj0nes: david-lyle: are available.14:56
*** yamamoto has joined #openstack-horizon14:56
TravTi have to go at the moment... need to run the weekly searchlight meeting14:56
*** alexvictorchan has quit IRC14:57
krotscheckTravT: Oooh, what channel is that in?14:57
* krotscheck will lurk14:58
TravT#openstack-meeting-414:58
krotscheckSeems like the only question we have on the karma update patch of mine is r1chardj0n3s's "Hey I wanna merge this" and mrunge's desire to never use venv's. I get both of them, I'll noodle through how the latter might work on my drive in to work.14:59
*** yamamoto has quit IRC15:02
*** belmoreira has quit IRC15:05
*** JeanBriceCombebi has quit IRC15:06
*** julim has joined #openstack-horizon15:08
*** Drago has joined #openstack-horizon15:08
*** JeanBriceCombebi has joined #openstack-horizon15:08
krotscheckLeft some comments for mrunge15:09
*** Drago has quit IRC15:10
*** romainh has left #openstack-horizon15:10
*** Drago has joined #openstack-horizon15:10
krotscheckAnd now, I commute!15:10
*** tyr__ has joined #openstack-horizon15:11
*** tyr_ has quit IRC15:11
*** alexpilotti has joined #openstack-horizon15:11
*** jtriley has joined #openstack-horizon15:13
*** cardeois________ has quit IRC15:14
*** cardeois________ has joined #openstack-horizon15:14
*** ducttape_ has joined #openstack-horizon15:14
*** bpokorny has joined #openstack-horizon15:15
*** tyr_ has joined #openstack-horizon15:16
*** tyr__ has quit IRC15:16
openstackgerritDan Nguyen proposed openstack/horizon: Retrieve domain scoped token  https://review.openstack.org/14808215:18
*** mpavlase has quit IRC15:19
espbtully ^15:19
*** DaveJ__ has quit IRC15:21
btullyheya15:22
openstackgerritRyan Peters proposed openstack/horizon: ngReorg - move dashboard-app/login out  https://review.openstack.org/18513315:22
openstackgerritRyan Peters proposed openstack/horizon: ngReorg - move dashboard controllers from horizon  https://review.openstack.org/18513215:22
openstackgerritRyan Peters proposed openstack/horizon: ngReorg - Move API files to openstack_dashboard  https://review.openstack.org/18454315:22
openstackgerritRyan Peters proposed openstack/horizon: ngReorg - move core HTML from framework to dashboard  https://review.openstack.org/18629515:22
openstackgerritRyan Peters proposed openstack/horizon: ngReorg - move utils from dashboad-app  https://review.openstack.org/18514015:22
*** notmars has joined #openstack-horizon15:23
btullythanks esp i’ll take a look15:26
espyou will also need this15:26
esphttps://review.openstack.org/#/c/188184/15:26
espbpokorny you may care about these too ^15:27
*** sjmc7 has joined #openstack-horizon15:28
*** ongk has joined #openstack-horizon15:30
bpokornyesp: What's the issue with the subtree that 188184 fixes?15:30
*** tosky has quit IRC15:31
espbpokorny: fixes the list_role_assignments in secure way15:31
esphttps://review.openstack.org/#/c/148082/69..70/openstack_dashboard/api/keystone.py15:32
esp^ also cleans up the code here significantly15:33
*** gyee has joined #openstack-horizon15:33
bpokornySo for a domain admin to list role assignments, you needed https://review.openstack.org/#/c/180846/ as well as 188184?15:33
*** jbell8 has joined #openstack-horizon15:33
espbpokorny: yeah dude, you will need the patch start by priti with gyee’s changes15:34
*** tosky has joined #openstack-horizon15:34
espand then you will need our patch for v3 domain support15:34
espand finally… a small change to python keystone client15:34
*** jtriley has quit IRC15:34
bpokornyesp: Thanks, that makes sense.15:34
espnp, brb15:35
openstackgerritMerged openstack/horizon: Angular API Unit Tests  https://review.openstack.org/17822715:41
btullyesp so i’m assuming one should handle the python-keystoneclient patch like the django-openstack-auth patch? i.e., clone repo and patch it and then symlink to the patched client from within our local horizon env?15:41
*** clu_ has joined #openstack-horizon15:44
*** clu_ has quit IRC15:46
*** jtriley has joined #openstack-horizon15:49
*** JeanBriceCombebi has quit IRC15:50
*** jbell8 has quit IRC15:51
*** JeanBriceCombebi has joined #openstack-horizon15:56
*** nlahouti has joined #openstack-horizon15:57
openstackgerritEric Peterson proposed openstack/horizon: Add fip to lbaas vip info  https://review.openstack.org/18067616:00
*** tyr__ has joined #openstack-horizon16:02
*** tyr_ has quit IRC16:02
*** julim has quit IRC16:03
*** mattfarina has joined #openstack-horizon16:04
openstackgerritKelly Domico proposed openstack/horizon: Fix project name error when creating project (Keystone v3)  https://review.openstack.org/18811616:05
*** julim has joined #openstack-horizon16:05
*** iamjarvo has quit IRC16:05
*** jbell8 has joined #openstack-horizon16:05
*** ygbo has quit IRC16:06
*** cardeois________ has quit IRC16:07
*** cardeois________ has joined #openstack-horizon16:08
*** alexvictorchan has joined #openstack-horizon16:10
openstackgerritBrian Tully proposed openstack/horizon: WIP - Hide Quota/Usage table actions re Domains  https://review.openstack.org/18778316:10
openstackgerritMatt Borland proposed openstack/horizon: [Launch Instance Fix] Add Flavor Step Unit Tests  https://review.openstack.org/16732616:11
matt-borlandtyr: modified the flavor patch as you suggest, should be much happier.  Easier to understand too.16:11
*** hurgleburgler has joined #openstack-horizon16:14
hurgleburglerSo, a patch went in yesterday that might require a small bit of reorganization of SCSS if you were making use of a custom theme before, but not providing your own bootstrap variables (which means relying on the standard bootstrap shipped variables)16:16
ducttape_more info pls hurgleburgler - I had some custom themes, and only over-wrote a few variables16:17
hurgleburglerIf this broke you, due to some customizations that already exist, I highly recommend the following directory structure for your theme16:17
openstackgerritOpenStack Proposal Bot proposed openstack/django_openstack_auth: Updated from global requirements  https://review.openstack.org/18812016:17
hurgleburgleropenstack_dashboard/static/themes/{your custom theme}/16:17
hurgleburglerIs required to have two files in it: _styles.scss and _variables.scss16:17
* ducttape_ commits to review this ^ when he rebases w upstream16:18
openstackgerritOpenStack Proposal Bot proposed openstack/horizon: Updated from global requirements  https://review.openstack.org/18847416:18
hurgleburglerI recommend that this base directory contain two subdirectories16:18
hurgleburgler'bootstrap' and 'horizon'16:18
hurgleburglerand then, each import from there:16:18
hurgleburglerhurgleburgler$ cat _styles.scss16:18
hurgleburgler@import "bootstrap/styles";16:18
hurgleburgler@import "horizon/styles";16:18
hurgleburglerhurgleburgler$ cat _variables.scss16:19
hurgleburgler@import "bootstrap/variables";16:19
hurgleburgler@import "horizon/variables";16:19
hurgleburglerso … all of your customizations that existed at the base level, should just be moved into a 'horizon' subdirectory and imported from the top directory16:19
*** JeanBriceCombebi has quit IRC16:20
hurgleburglerI recommend keeping ALL bootstrap specific changes (to bootstrap variables and to bootstrap elements) completely separate from all Horizon customizations … that will keep your app easier to skin in the future :)16:20
hurgleburglerYou will want to COPY the _variables.scss from the default theme into your new bootstrap/_variables.scss file if you have no already provided a custom bootstrap variable file16:21
*** jtriley has quit IRC16:21
hurgleburglerBe sure that you copy the openstack_dashboard/static/themes/default/_variables.scss … and NOT the default bootstrap one, as they are now going to diverge with Horizon have its own custom Bootstrap skin16:22
openstackgerritBrian Tully proposed openstack/horizon: Hide Quota/Usage table actions for non Cloud-Admin  https://review.openstack.org/18778316:22
hurgleburglerIf anyone hits any bumps with this, just shoot me a message and I can help out16:22
*** sqchen has joined #openstack-horizon16:25
*** sqchen has quit IRC16:26
*** jbell8 has quit IRC16:26
*** sqchen has joined #openstack-horizon16:27
*** svasheka__ has quit IRC16:29
*** iamjarvo has joined #openstack-horizon16:31
*** iamjarvo has quit IRC16:31
*** aix has quit IRC16:33
*** petertr7 is now known as petertr7_away16:33
*** matt-borland has quit IRC16:35
krotscheckooookay I'm back.16:38
*** SimonChung has quit IRC16:39
*** amotoki has joined #openstack-horizon16:39
*** iamjarvo has joined #openstack-horizon16:41
*** iamjarvo has quit IRC16:41
*** iamjarvo has joined #openstack-horizon16:41
*** amotoki has quit IRC16:45
*** jbell8 has joined #openstack-horizon16:48
*** jbell8 has quit IRC16:49
*** iamjarvo has quit IRC16:49
*** bpokorny has quit IRC16:49
*** bpokorny has joined #openstack-horizon16:50
*** clu_ has joined #openstack-horizon16:50
*** jbell8 has joined #openstack-horizon16:52
*** KunalGandhi has joined #openstack-horizon16:52
openstackgerritKahou Lei proposed openstack/horizon: Port should not be detached when changing name  https://review.openstack.org/18579616:53
*** alanf-mc has joined #openstack-horizon16:59
*** tosky has quit IRC17:00
*** svasheka__ has joined #openstack-horizon17:01
*** matt-borland has joined #openstack-horizon17:04
*** mwhagedorn has quit IRC17:05
*** jingjing_ren has joined #openstack-horizon17:06
*** mwhagedorn has joined #openstack-horizon17:07
*** jingjing_ren has quit IRC17:08
*** jingjing_ren has joined #openstack-horizon17:09
*** alanf-mc has quit IRC17:10
*** alanf-mc has joined #openstack-horizon17:12
*** mark-os has joined #openstack-horizon17:13
mark-osAnyone here having issues with keystone?17:14
*** jwy has joined #openstack-horizon17:15
*** hurgleburgler has quit IRC17:15
*** hurgleburgler has joined #openstack-horizon17:16
*** svasheka__ has quit IRC17:16
*** bradjones is now known as bradjones_away17:19
*** notmars has quit IRC17:19
*** dscottsf has joined #openstack-horizon17:20
*** dscottsf has quit IRC17:21
*** mark-os has quit IRC17:21
*** oro_ has quit IRC17:21
*** dsneddon has joined #openstack-horizon17:21
*** e0ne has quit IRC17:22
*** dguerri is now known as dguerri`away17:24
*** dguerri`away is now known as dguerri17:24
*** dguerri is now known as dguerri`away17:24
*** Viswanath has joined #openstack-horizon17:25
*** petertr7_away is now known as petertr717:26
*** josecastroleon has quit IRC17:28
*** Viswanath has quit IRC17:30
*** Glass_saga has quit IRC17:34
*** sqchen has quit IRC17:37
*** notmars has joined #openstack-horizon17:38
*** sqchen has joined #openstack-horizon17:40
*** bpokorny_ has joined #openstack-horizon17:42
*** jbell8 has quit IRC17:42
*** bpokorny has quit IRC17:43
*** jbell8 has joined #openstack-horizon17:45
*** dontalton has joined #openstack-horizon17:47
*** gyee has quit IRC17:49
david-lylerobcresswell: ping17:49
*** lhcheng has joined #openstack-horizon17:50
*** lhcheng_ has joined #openstack-horizon17:51
*** lhcheng has quit IRC17:55
*** jbell8 has quit IRC17:56
*** rushiagr is now known as rushiagr_away17:57
*** jprovazn has quit IRC18:01
*** Viswanath has joined #openstack-horizon18:01
*** jtriley has joined #openstack-horizon18:03
*** Viswanath has quit IRC18:04
*** lhcheng has joined #openstack-horizon18:07
*** lhcheng_ has quit IRC18:07
*** jbell8 has joined #openstack-horizon18:07
*** jtriley has quit IRC18:13
*** notmars has quit IRC18:14
*** packet has quit IRC18:15
*** iamjarvo has joined #openstack-horizon18:15
*** dguerri`away is now known as dguerri18:17
*** ybathia has joined #openstack-horizon18:17
*** jbell8 has quit IRC18:18
*** lhcheng_ has joined #openstack-horizon18:20
*** iamjarvo has quit IRC18:21
*** Sukhdev has joined #openstack-horizon18:22
*** tqtran has joined #openstack-horizon18:23
*** lhcheng has quit IRC18:23
*** mpavlase has joined #openstack-horizon18:24
*** iamjarvo has joined #openstack-horizon18:25
*** jtriley has joined #openstack-horizon18:26
*** notmars has joined #openstack-horizon18:26
*** jbell8 has joined #openstack-horizon18:26
*** lhcheng_ has quit IRC18:27
*** amotoki has joined #openstack-horizon18:28
*** bradjones_away is now known as bradjones18:29
*** iamjarvo has quit IRC18:32
*** tosky has joined #openstack-horizon18:33
*** amotoki has quit IRC18:33
*** sjmc7 has quit IRC18:36
*** openstackstatus has joined #openstack-horizon18:39
*** ChanServ sets mode: +v openstackstatus18:39
*** bradjones is now known as bradjones_away18:40
-openstackstatus- NOTICE: Gerrit has been restarted to clear an issue with its event stream. Any change events between 17:25 and 18:38 UTC should be rechecked or have their approvals reapplied to initiate testing.18:42
tyr__tqtran: I've been looking at the flavor patch. I like your suggestion of triggering the watch code. I also wanted to share with you a technique to search for named functions in the spy.18:44
tyr__See https://review.openstack.org/#/c/18854418:44
tqtranyeah i just saw that too18:44
tqtrani also think that is a good idea18:45
tqtranlets have matt do both :)18:45
tyr__LOL18:45
matt-borlandlol18:45
matt-borland!!18:45
tqtran:D18:45
openstackmatt-borland: Error: "!" is not a valid command.18:45
tqtranhi matt-borland!!!18:45
tqtrantyr__ and I really appreciate your effort18:45
matt-borlandI kinda asked tyr to follow up with you Thai, since he's been looking at solving the same problem.18:46
tyr__I going to start a 3rd version of dependent patch with the rootscope idea (which is probably the cleanest option). If that looks nice, I'll merge it into flavors test.18:46
tqtransee? even openstack is chewing matt-borland out18:46
matt-borlandBURN!!!18:46
tqtranhahaha18:46
tqtranyeah, if we're using rootscope, the name doesn't matter as much but still nice to have since it adheres to JP's guidelines18:47
tyr__ah! He suggests using named functions also?18:47
tqtranyep18:47
tqtraneasier to debug18:47
tyr__great!18:47
tyr__Interesting. JPs example is a standalone function definition, but it seems valid to me to name functions in-line too. In things like $watch the brevity is nice.18:50
*** packet has joined #openstack-horizon18:50
*** tyr__ is now known as tyr_18:50
tyr_Sheesh...is there really another "Tyr" ?18:51
*** packet has quit IRC18:51
*** vahidh has joined #openstack-horizon18:51
*** dguerri is now known as dguerri`away18:51
*** sjmc7 has joined #openstack-horizon18:53
*** jwy has quit IRC18:54
*** sqchen has quit IRC18:55
openstackgerritTyr Johanson proposed openstack/horizon: [Launch Instance Fix] Add Flavor Step Unit Tests  https://review.openstack.org/16732618:56
*** jbell8 has quit IRC18:57
*** sqchen has joined #openstack-horizon18:58
*** jbell8 has joined #openstack-horizon18:59
*** vishwana_ has joined #openstack-horizon19:04
*** lhcheng has joined #openstack-horizon19:04
*** clu_ has quit IRC19:06
*** vishwanathj has quit IRC19:06
*** Longgeek has quit IRC19:12
*** cardeois________ has quit IRC19:12
*** petertr7 is now known as petertr7_away19:16
*** jtriley has quit IRC19:16
*** cardeois________ has joined #openstack-horizon19:16
openstackgerritMerged openstack/horizon: [Launch Instance Fix] Clean up Wizard scope  https://review.openstack.org/16997619:17
*** Viswanath has joined #openstack-horizon19:18
*** jbell8 has quit IRC19:20
*** petertr7_away is now known as petertr719:21
*** Viswanath has quit IRC19:21
*** ybathia has quit IRC19:22
*** alanf-mc has quit IRC19:24
TravTtqtran: are you there?19:25
*** jtriley has joined #openstack-horizon19:29
*** iamjarvo has joined #openstack-horizon19:37
ekarlsoheya guys, what stuff is possible to do with angular atm ?19:40
*** jtriley has quit IRC19:46
tqtranTravT: just got back fom lunvh, wasup?19:47
*** clu_ has joined #openstack-horizon19:48
openstackgerritShaoquan Chen proposed openstack/horizon: Fix bug where WEBROOT is not respected  https://review.openstack.org/18109519:50
*** jbell8 has joined #openstack-horizon19:51
*** TravT has quit IRC19:53
*** TravT has joined #openstack-horizon19:54
TravTtqtran: my connection dropped right after I messaged you a few ago.19:54
tqtrannp, i just back from luch19:55
tqtranso wasup?19:55
*** e0ne has joined #openstack-horizon19:55
tqtran*lunch19:55
*** Viswanath has joined #openstack-horizon19:55
*** tyr__ has joined #openstack-horizon19:57
*** tyr_ has quit IRC19:57
*** tyr_ has joined #openstack-horizon19:58
*** tyr__ has quit IRC19:58
*** TravT_ has joined #openstack-horizon19:58
openstackgerritOpenStack Proposal Bot proposed openstack/horizon: Updated from global requirements  https://review.openstack.org/18847419:58
*** iamjarvo has quit IRC19:59
*** TravT__ has joined #openstack-horizon19:59
*** TravT__ has quit IRC19:59
openstackgerritShaoquan Chen proposed openstack/horizon: Fix bug where WEBROOT is not respected  https://review.openstack.org/18109519:59
*** TravT has quit IRC19:59
*** TravT has joined #openstack-horizon19:59
TravTgeez... comcast keeps dropping my internet19:59
*** TravT_ has quit IRC20:00
*** Viswanath has quit IRC20:00
TravTtqtran: trying again. re: https://review.openstack.org/#/c/185725/  i think we could just push it through, but wanted to know why you were blocking it20:00
tqtranis JSCS rules a non-voting job atm?20:02
TravTi don't think it has any job atm20:02
*** TravT_ has joined #openstack-horizon20:02
tqtranreally? let me double check, if its not a job, then yeah, we can push it through20:02
david-lylehaha20:02
david-lylefunny story20:02
david-lyleby funny I mean sad20:03
david-lyleI'm not exactly what mixed up state we are in for npm based tests20:03
tqtranhow do i check if it is a gate job or not?20:03
david-lylejust listed in the output20:04
david-lyleor you can look at openstack-infra/project-config20:04
*** iamjarvo has joined #openstack-horizon20:04
*** iamjarvo has quit IRC20:04
*** iamjarvo has joined #openstack-horizon20:05
*** iamjarvo has quit IRC20:05
david-lylebut no, it's not running20:05
*** iamjarvo has joined #openstack-horizon20:05
tqtranhttps://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/horizon.yaml20:05
tqtranis this the file?20:05
david-lyletqtran: that file defines the jobs20:06
*** radez is now known as radez_g0n320:06
*** TravT__ has joined #openstack-horizon20:06
TravT_Yeah we need to finish off yesterdays fun with karma first20:06
david-lyleTravT_: I agree, but that's a slightly different beast20:07
*** Viswanath has joined #openstack-horizon20:07
TravT_Unless I missed that this morning.20:07
tqtranTravT: ok, lets get it merge then20:07
tqtrani removed the -220:07
david-lylebecause it won't have venv HARD-CODED into the freaking path20:07
tqtranit should help others who need to run the JSCS checks20:07
*** TravT has quit IRC20:08
tqtranlol20:08
TravT__so, i'm tag-teaming between irc on my phone and on my computer now...20:08
tqtranthats his way of saying "I disagree"20:08
tqtranhahahaha20:08
david-lylekarma's a bitch, #truestory20:08
matt-borlandlol20:08
TravT__i think i have to pack it up and go into the offie or a coffee shop...20:08
openstackgerritMerged openstack/horizon: Improve unittests for angular charts  https://review.openstack.org/17925120:08
tqtrango +2 it first20:08
TravT__already did20:08
david-lyle+2 what20:08
tqtranBAM! got told20:09
TravT__david-lyle: all the things20:09
tqtranhttps://review.openstack.org/#/c/185725/20:09
*** radez_g0n3 is now known as radez20:09
openstackgerritMerged openstack/horizon: Delete period from select option in LiveMigrateForm  https://review.openstack.org/18834920:09
david-lyle^^^ that last one made horizon complete, we can go home now20:10
*** Viswanath has quit IRC20:10
matt-borlandlol20:10
TravT__awesome!20:10
TravT__don't tell our bosses20:10
tqtrantime to retired20:10
tqtranbeer time20:10
TravT__next meetup is in tahiti, right?20:10
tqtranso do we know when the midcycle is going to take place?20:11
matt-borlandd'oh! now richard's patch is in merge conflict20:11
tqtranor still needing more feedback20:11
ekarlsoany idea guys on when the angular stuffs will stabilize ?20:11
david-lyleekarlso: 201920:11
tqtranekarlso: tototally stable right now20:11
tqtranlol20:11
TravT__matt-borland, i think his will be until we get the last couple tests through.20:11
ekarlsowhy always the sad jokes :p20:12
*** TravT_ has quit IRC20:12
tqtranekarlso: hopefully at the end of this cycle20:12
ekarlsoL1 ?20:12
tqtranas in end of liberty i think lol20:12
TravT__ekarlso: taking care of technical debt on angular is a top priority at the moment.20:12
*** TravT_ has joined #openstack-horizon20:12
tqtranwe have a modal example via launch instance, but still lacking a panel example20:12
ekarlsook then, so not something to bet on for non-in-tree projects then..20:13
TravT__what is your timeline?20:13
ekarlsoTravT__: just wondered what to use for a demo20:13
TravT__david-lyle: we should circle back with nikhil and go over that mid-cycle meetup.20:13
TravT__ekarlso: ongk put that together based on the work from kilo.20:14
TravT__but we are trying to get tqtran's identity panel patch as the example for others to use20:14
ekarlsoTravT__: k20:14
ekarlsoTravT__: any link to that ?20:14
TravT__https://review.openstack.org/#/c/133767/20:15
tqtranbut dont depend on it too much, it may go under some changes as soon as the translation stuff land20:16
tqtranbasically, its a good starting point, but things are still in flux20:16
ekarlsoomg, that's a big one !20:16
*** Viswanath has joined #openstack-horizon20:16
tqtranyes, but most of it are comments20:16
*** jwy has joined #openstack-horizon20:16
openstackgerritMerged openstack/horizon: Hidden HOST in instance overview page for normal user  https://review.openstack.org/15276320:17
tqtrani would say 60+% are comments20:17
TravT__ideally, we'd get most the technical debt hammered out from kilo in a few weeks and then that panel soon after.20:17
*** alanf-mc has joined #openstack-horizon20:17
*** amotoki has joined #openstack-horizon20:17
ekarlsoTravT__: alot of leftovers or ?20:17
TravT__https://etherpad.openstack.org/p/YVR-horizon-liberty-priorities20:17
*** stevemar has quit IRC20:18
TravT__so, right around march of 2019...20:18
ekarlsothat much huh..20:18
TravT__no20:18
david-lylethere tqtran, I hope you're happy20:18
david-lyle:P20:18
TravT__tqtran has some pretty sweet job security20:19
tqtranlol20:19
tqtranjob security woooot20:19
tqtranlet me go tell my boss20:19
TravT__i wonder how long one could make a career of a single horizon panel20:20
*** Viswanath has quit IRC20:20
tqtranmarch 201920:20
tqtranthen i need to start a new gig20:20
TravT__that was a very much needed laugh...20:21
*** tyr_ has quit IRC20:21
openstackgerritShaoquan Chen proposed openstack/horizon: Fix bug where WEBROOT is not respected  https://review.openstack.org/18109520:22
*** amotoki has quit IRC20:22
*** cardeois________ has quit IRC20:22
*** Sukhdev has quit IRC20:22
*** cardeois has joined #openstack-horizon20:25
*** dguerri`away is now known as dguerri20:26
*** bradjones_away has quit IRC20:26
*** dguerri is now known as dguerri`20:29
*** bradjones has joined #openstack-horizon20:32
*** julim has quit IRC20:32
*** jbell8 has quit IRC20:33
*** jbell8 has joined #openstack-horizon20:33
*** cardeois_ has joined #openstack-horizon20:34
openstackgerritMerged openstack/horizon: Prevent multiple form submission on table row actions  https://review.openstack.org/18760420:35
*** ybathia has joined #openstack-horizon20:36
*** cardeois has quit IRC20:37
*** lblanchard has quit IRC20:37
openstackgerritShaoquan Chen proposed openstack/horizon: Fix bug where WEBROOT is not respected  https://review.openstack.org/18109520:38
*** peristeri has quit IRC20:42
*** Viswanath has joined #openstack-horizon20:44
openstackgerritTyr Johanson proposed openstack/horizon: [WIP] Flavor tests - use a digest cycle to test watches  https://review.openstack.org/18858720:45
*** tyr_ has joined #openstack-horizon20:45
*** Viswanath has quit IRC20:47
*** tyr__ has joined #openstack-horizon20:56
*** tyr_ has quit IRC20:56
openstackgerritMerged openstack/horizon: Fixing up how job configs are handled  https://review.openstack.org/18728020:59
*** matt-borland has quit IRC20:59
espdavid-lyle lhcheng doug-fish if you have time Presenter: https://www.myroom.hp.com/attend/MEH4M23AQQA21:00
espor anyone else interest in domain support21:00
*** iamjarvo has quit IRC21:01
*** raildo has quit IRC21:01
*** operator99 is now known as gyee21:02
*** nlahouti has quit IRC21:02
*** crobertsrh is now known as _crobertsrh21:03
*** e0ne has quit IRC21:05
openstackgerritMerged openstack/horizon: Adding John Papa style guide to JSCS  https://review.openstack.org/18572521:05
TravT__^ woot!21:06
*** nlahouti has joined #openstack-horizon21:06
david-lylewoot!,21:06
*** svasheka has joined #openstack-horizon21:06
* david-lyle makes subtle joke of defiance21:07
TravT__took me a second21:07
TravT__"disallowTrailingComma": true,21:07
* david-lyle just happy to help21:08
*** notmars has quit IRC21:09
*** petertr7 is now known as petertr7_away21:09
*** notmars has joined #openstack-horizon21:10
*** vahidh_ has joined #openstack-horizon21:10
*** vahidh has quit IRC21:11
*** vahidh_ is now known as vahidh21:11
tqtranhaha yeah, not exactly clear21:14
tqtrangosh, these test patches are soooo exciting21:16
tqtransqchen, TravT_: https://review.openstack.org/#/c/167738/29/openstack_dashboard/static/dashboard/launch-instance/launch-instance.model.spec.js21:19
tqtranI understand the need to provide a reusable mocked hz.api.x21:20
tqtranshould we move those $provide.value out into a hz.api.mock or something?21:21
sqchenYes, I am planning to create such a mock, but haven’t started yet.21:21
tqtrancan you quickly ask around hp if there are other places where we are mocking hz.api.x?21:22
tqtrani haven't look at all of the test patches yet, but if its getting mocked in various test files, might be best to introduce a mock api now21:23
*** kztsv_mbp has joined #openstack-horizon21:23
sqchenok. I think most Matt Borland is creating some ‘local mock’, I can confirm.21:23
sqchenYes, I agree.21:23
*** kztsv_mbp has left #openstack-horizon21:24
tqtranok yeah, please confirm, if that is the case, lets get that patch in asap21:24
*** nlahouti has quit IRC21:24
TravT__tqtran i did talk with Matt about that a few weeks ago.21:25
sqchenk. Matt is offline now. I will ask once he get back.21:25
TravT__he wanted to just push this through now.21:25
*** notmars has quit IRC21:25
TravT__i like having some common mock21:26
TravT__he did talk about having some preference to having the data inline with the tests21:26
*** jbell8 has quit IRC21:27
tqtrani prefer to see a common mock first21:27
*** Raildo has joined #openstack-horizon21:27
*** nlahouti has joined #openstack-horizon21:27
tqtranalmost 200 lines of the launch-instance.modal.spec.js is on mocking common api21:27
tqtranthats almost half of the file21:27
sqchenI talked to David, he want a common mick as well.21:27
TravT__which would be nice to reuse21:28
tqtranright21:28
tqtranit shouldnt be too bad, just copy/paste that code over and create a mock module21:28
sqchenAgree. TravT21:28
tqtranlets make that a focus, i'll try and review other patches with less mock in it21:28
sqchensure.21:29
*** Raildo_ has joined #openstack-horizon21:29
TravT__in thinking about this.21:29
*** Raildo__ has joined #openstack-horizon21:29
TravT__it would actually be nice to not have A common mock21:29
*** Raildo__ has quit IRC21:30
TravT__but rather each API has a mock sitting next to it21:30
TravT__just like the spec file21:30
tqtranyeah, like hz.api.keystone.mock.js21:30
tqtrannot hz.api.mock.js21:30
TravT__yes21:30
TravT__although21:31
TravT__i'm not sure i'd do it just like this21:32
TravT__he and i had a discussion about this patch vs injecting $httpBacken21:32
*** Raildo has quit IRC21:33
*** asahlin is now known as asahlin_away21:33
tqtrancouldnt you use httpbacakend in the hz.api.keystone.mock.js?21:33
*** mpavlase has quit IRC21:33
*** Raildo_ has quit IRC21:34
TravT__yes, but I'm comparing this particular patch (model test)21:34
TravT__the mocks in this one are just value mocks21:34
tqtranyeah basically21:34
TravT__vs injecting $httpBackend and setting the returned data based on the inputs.21:35
TravT__a mock library that sits next to each API shouldn't just be writing its own version of the functions.21:36
tqtranlet me take a look at httpbackend, need to know more before i can give feedback21:36
TravT__here, i have some usage in my features patch21:36
TravT__maybe not as pretty looking21:37
TravT__https://review.openstack.org/#/c/179545/14/horizon/static/horizon/js/angular/services/hz.api.features.spec.js21:37
TravT__but see line 4121:37
*** mattfarina has quit IRC21:37
*** mattfarina has joined #openstack-horizon21:38
tqtranlet me get back to you in like 30m, on a call21:38
TravT__what that one does is inject the real API.21:39
*** notmars has joined #openstack-horizon21:41
*** TravT has joined #openstack-horizon21:41
*** TravT__ has quit IRC21:43
r1chardj0n3smorning21:45
TravTmorning21:45
*** nlahouti has quit IRC21:45
* r1chardj0n3s catches up on so many patches :)21:46
*** nlahouti has joined #openstack-horizon21:46
openstackgerritTravis Tripp proposed openstack/horizon: [Launch Instance Fix] Add Model Unit Tests  https://review.openstack.org/16773821:47
*** doug-fish has left #openstack-horizon21:49
*** tyr__ has quit IRC21:49
*** tyr_ has joined #openstack-horizon21:50
*** tyr__ has joined #openstack-horizon21:51
*** tyr_ has quit IRC21:51
*** tyr_ has joined #openstack-horizon21:53
*** tyr__ has quit IRC21:53
*** mattfarina has quit IRC21:54
openstackgerritShaoquan Chen proposed openstack/horizon: Fix bug where WEBROOT is not respected  https://review.openstack.org/18109521:55
r1chardj0n3skrotscheck: https://review.openstack.org/#/c/188225 so ... having npm's package.json run some Python code to potentially import xstatic (or use hard-coded system packager info) to discover the JS library locations ... \o/21:56
r1chardj0n3skrotscheck: this is not going to end well :)21:56
krotscheckr1chardj0n3s: Iiiiiiii know.21:56
r1chardj0n3sbut I can see the need to run the test suite when in the system-packaged environment21:56
*** svasheka has quit IRC21:56
r1chardj0n3skrotscheck: srsly, you might want to run away screaming for a Real Web Application any time now ;)21:57
krotscheckr1chardj0n3s: I don't understand. I'm advocating Real Web Applications ;)21:57
r1chardj0n3syeah, but we aren't one21:57
krotscheckr1chardj0n3s: What are _you_ advocating. Django?21:57
krotscheckOh.21:57
r1chardj0n3snope21:57
r1chardj0n3sbut21:57
krotscheckBut we can dream!21:57
*** iamjarvo has joined #openstack-horizon21:58
*** iamjarvo has quit IRC21:58
r1chardj0n3sin our application the location of the js libs is so variable, and defined in one case (hai xstatic!) in Python code21:58
r1chardj0n3swe can hack to work around that (you have, by hard-coding the different venv locations)21:58
krotscheckr1chardj0n3s: Want to come work for HP on Real Web Applications full time? :D21:58
*** iamjarvo has joined #openstack-horizon21:58
r1chardj0n3sbut if that location changes to a system location, then it's also configued in Python code :/21:58
*** iamjarvo has quit IRC21:58
krotscheckYes, and it's all configured in a script that is deprecated.21:59
r1chardj0n3skrotscheck: haha, thanks but for now this is an interesting challenge :)21:59
r1chardj0n3syou talking about run_tests? no, I was talking about django settings.py21:59
*** iamjarvo has joined #openstack-horizon21:59
r1chardj0n3s(well, static_settings.py)21:59
krotscheckAh, gotcha.21:59
r1chardj0n3sso21:59
r1chardj0n3swacky ideas time21:59
r1chardj0n3show about we configure the paths in a Jason file that knows about how to say "oh, this is actually an xstatic package name, you should __import__ it" or "this is actually a real, bonafide directory name" or "hey, look, we *finally got there* just look in bower" :)22:00
openstackgerritShaoquan Chen proposed openstack/horizon: Fix bug where WEBROOT is not respected  https://review.openstack.org/18109522:00
* jrist grumbles at json vs. jason22:00
r1chardj0n3sso then static_settings et. al can load up that Jason and ask him where to find the files22:00
r1chardj0n3sand so can packages Jason22:00
r1chardj0n3sjrist: ;)22:01
TravTkrotscheck r1chardj0n3s FYI that I just found a commit earlier today broke our karma tests22:01
r1chardj0n3sTravT: ya>?22:01
TravThttps://review.openstack.org/#/c/169976/22:01
TravTit got in22:01
TravTand since selenium isn't working right and we don't have karma working and voting22:02
r1chardj0n3swe so need karma in the gate :/22:02
openstackgerritMerged openstack/horizon: Updated from global requirements  https://review.openstack.org/18847422:02
r1chardj0n3spity mrunge isn't here22:02
r1chardj0n3scould we push for the solution krotscheck has proposed with a tech debt fixup to get it working elsewhere22:02
TravTit would prevent other tech debt.22:02
r1chardj0n3syeah22:02
r1chardj0n3sprecisely22:03
krotscheckr1chardj0n3s: We should definitely package jason.22:03
jristgonna have to be a big box, I'm 6'5"22:03
krotscheckAs long as he's OSI compliant.22:03
r1chardj0n3swe'll find a smaller Jason. they're all over these days22:03
jristcrikey22:03
krotscheckjrist, are all your dependencies available in upstream distros?22:03
jristmroe or less :(22:04
* krotscheck checks to see if debian packages coffee22:04
krotscheck:D22:04
*** svasheka has joined #openstack-horizon22:04
* r1chardj0n3s grabs some breakfast22:04
*** cardeois_ has quit IRC22:04
jrist:)22:04
jristr1chardj0n3s: breakfast?22:04
jristmust be a kiwi or an aussie22:04
*** dboik has quit IRC22:05
*** stevemar has joined #openstack-horizon22:05
*** amotoki has joined #openstack-horizon22:06
r1chardj0n3sohai jrist22:07
r1chardj0n3ser22:07
r1chardj0n3sg'day jason maaaaaaate22:07
TravTkrotscheck: r1chardj0n3s: mrunge: just read the comments from mrunge.  They make sense. but seem like could be followed on, especially since run tests.sh -k is still available.22:07
*** svasheka has quit IRC22:08
TravTkrotschek22:08
*** svasheka has joined #openstack-horizon22:08
TravTkrotscheck: since the gate job is now in22:09
krotscheckHrm, I wonder if I recheck my patch, will the job pass?22:09
TravTif you could "touch" that patch to make it run22:09
* krotscheck goes off to test that.22:09
krotscheckOk, rechecking. Let's see what happens.22:10
TravTah, i though zuul would ignore recheck if everything already passed (which I guess it didn't anyway due to that test we all ignore)22:11
*** amotoki has quit IRC22:11
krotscheckI'm ok landing the patch, as long as there's an aggreed-upon followup and someone who accepts responsibility to implement it.22:11
r1chardj0n3syou touched it last :)22:12
krotscheck:-P22:12
krotscheckYeah, but I'm totally content letting the packagers complain :D22:12
TravTyou could at least add the /usr that mrunge asked for22:12
krotscheckRight, so it'd create a venv, but then not use it.22:12
krotscheckI can see that.22:13
krotscheckr1chardj0n3s: Any disagreements with my comments on the karma-cli patch?22:13
r1chardj0n3snope!22:13
r1chardj0n3sI thought I'd already +1'd - lemme check22:13
*** notmars has quit IRC22:14
krotscheckr1chardj0n3s: You -1'd it :)22:14
r1chardj0n3syeah, that was so yesterday though22:14
*** vijendar has quit IRC22:15
krotscheckSo, before I add this /usr patch, is taht actually going to work? Does centos install these things in /usr/lib/python2.7/site-packages/xstatic/pkg/ ?22:15
krotscheckAnd where does debian put those things?22:15
*** clu_ has quit IRC22:16
r1chardj0n3sum, they don't use xstatic22:16
krotscheckYet more things I don't know!22:16
r1chardj0n3sthe js libs are in their own packages under /usr/share/something IIRC22:16
krotscheck...so why again does xstatic exist? If the packagers don't use it....22:17
r1chardj0n3szigo might be able to enlighten here22:17
*** flwang has joined #openstack-horizon22:17
r1chardj0n3skrotscheck: I KNOW RIGHT22:17
*** sjmc7 has quit IRC22:17
zigor1chardj0n3s: I'm around, how may I help?22:17
flwanghi guys, anybody know a good way to profile horizon?22:17
r1chardj0n3sI'm pretty sure the #1 reason for xstatic is to discourage us from using 3rd party libs22:17
krotscheckr1chardj0n3s: Look at all the special snowflakes!22:17
flwangnow we're running into a performance problem on the instance panel22:18
r1chardj0n3szigo: krotscheck has some questions about deb packaging of js libs22:18
krotscheckzigo: Well sortof.22:18
r1chardj0n3sscrollback about 10 lines22:18
zigokrotscheck: Go ahead !22:18
*** iamjarvo has quit IRC22:18
flwangbut seems the cli works fine22:18
krotscheckzigo: Right now, the karma.conf file has the path to the libraries it includes hardcoded to the .venv path.22:18
krotscheckWe want to fix this.22:18
zigoGood idea ! :)22:18
flwangso i'm wondering if there is any other hidden api call in instance panel cause any problem22:18
flwangneed help, thanks22:19
krotscheckzigo: Right! And we can autodetect where things for karma are installed.22:19
krotscheckzigo: The question is: Where are they installed?22:19
zigokrotscheck: All the libjs files?22:19
zigokrotscheck: Unfortunately, I can only say "somewhere in /usr/share/javascript".22:19
krotscheckzigo: The relevant code patch is here: https://review.openstack.org/#/c/188225/2/horizon/karma.conf.js22:19
krotscheckzigo: And that was built from the original code, which as you can see goes directly to the venv.22:20
zigokrotscheck: What is karma?22:20
zigoI think I miss some context here.22:20
krotscheckSo, any advice you have on how I can teach those unit tests on where to look is good.22:20
openstackgerritShaoquan Chen proposed openstack/horizon: Fix failed wizard tests  https://review.openstack.org/18861222:20
krotscheckzigo: Test runner for javascript things. Not required for packaging, but useful for making sure the JS things don't break with debian libraries.22:21
krotscheckIt's loosely grouped under "dev tools"22:21
krotscheckBut frankly, if we can make it pull in debian deps instead of bower deps, that's _awesome_, because it gets us closer to what you were asking for at the summit.22:21
zigokrotscheck: Well, we do run unit tests when building packages, so I may need it too.22:21
zigokrotscheck: Normally, each and every python-xstatic has the path to the javascrpit files.22:22
krotscheckzigo: Right. Baby steps :)22:22
zigokrotscheck: We're still talking about xstatic stuff, right?22:23
openstackgerritShaoquan Chen proposed openstack/horizon: Fix failed wizard tests  https://review.openstack.org/18861222:23
krotscheckzigo: yes.22:23
krotscheckzigo: If you expand the common lines at the end of that review, you can see all the dependencies being explicitly included.22:23
zigokrotscheck: Then nearly all python-xstatic-* packages in Debian include some patches for the BASE_DIR directive.22:23
zigokrotscheck: So that it gets the libjs-* files instead of what is normally embedded in the xstatic package.22:24
zigoSo just use that ...22:24
openstackgerritShaoquan Chen proposed openstack/horizon: Fix failed wizard tests  https://review.openstack.org/18861222:25
zigokrotscheck: For example: BASE_DIR = '/usr/share/javascript/d3' (in python-xstatic-d3)22:25
krotscheckI think I'm missing quite a bit of domain specific knowledge, because what you just said makes very little sense to me. Would you mind going into more detail?22:25
zigoThen the data folder of the xstatic packages are just removed.22:25
krotscheckOr, helping me teach this config file on how to discover the existence of its packages?22:25
*** jrist has quit IRC22:26
* krotscheck is very goal oriented.22:26
*** radez has quit IRC22:26
zigokrotscheck: Read this patch: http://anonscm.debian.org/cgit/openstack/python-xstatic-spin.git/tree/debian/patches/debianize.patch22:26
*** svasheka has quit IRC22:26
zigokrotscheck: What you should use is the BASE_DIR variable within xstatic/pkg/spin/__init__.py22:27
*** tyr_ has quit IRC22:27
*** tyr_ has joined #openstack-horizon22:27
sqchenTravT: I like your idea about mock. we can have x.mock.js for each  x.js which need a mock. and have them sit in the same folder.22:28
krotscheckzigo: Assume I am not allowed to invoke anything python22:28
krotscheckI get where you're going with this though.22:28
TravTsqchen, i was just going to try that out with an API here.22:28
*** ducttape_ has quit IRC22:28
TravTsqchen: i think it should be $httpbackend based and not some value mock though22:28
TravTthe value mock seems like it bypasses too much.22:29
*** Sukhdev has joined #openstack-horizon22:29
TravTand makes the tests less valuable.22:29
sqchenOk, I was thinking to start. will leave it to you. :)22:29
TravTwell, we could work together on one.  I was just going to put up an example of what I mean.22:29
zigokrotscheck: If you're not able to do anything python when running your .js stuff, then prepare a .js with the path using Python.22:30
*** radez has joined #openstack-horizon22:30
*** rwsu has quit IRC22:30
zigokrotscheck: Are you using node.js?22:31
zigoKarma is a node thing, right?22:31
krotscheckzigo: Yep.22:31
sqchenTravT: Cool, I will wait and have patch on it.22:31
flwangany body know who should I to talk about the performance issue about horizon?22:31
flwangthanks in advance22:31
zigokrotscheck: Then yeah, before running karma, write a tiny Python script that will extract the BASE_DIR stuff for every xstatic package, and build a .js file to give karma to eat.22:31
r1chardj0n3sah, so the xstatic packages are retained, they just point to a different place. sorry for that red herring krotscheck!22:32
krotscheckRIghto.22:33
r1chardj0n3sif that's the same in rpm land then we're good to go with zigo's approach22:33
flwangor any suggestion how to debug the performance issue for specific page of horizon? thanks22:33
krotscheckr1chardj0n3s: Right, if we can invoke that in a pretest hook, that may even remove the need for that venv build.22:33
*** jrist has joined #openstack-horizon22:34
r1chardj0n3skrotscheck: with the tweak that you can look to see if they're installed, and if the xstatic import fails you'll need to do the venv bootstrapping via tox22:34
TravTflwang: a guy mattfarina has looked into that a bit22:34
r1chardj0n3skrotscheck: yeah, avoiding the build *in that situation* :)22:34
TravTbut he's not around22:34
krotscheckGood lord what a hack.22:34
r1chardj0n3s\o/22:34
*** csd has quit IRC22:34
TravTflwang: what perf issues are you talking about?22:34
flwangTravT: thanks, i even think i'm in a wrong channel without any horizon guy22:34
*** tyr_ has quit IRC22:34
*** dontalton has quit IRC22:35
*** tyr_ has joined #openstack-horizon22:35
*** tyr_ has quit IRC22:35
*** csd has joined #openstack-horizon22:35
flwangTravT: yesterday, we found the instance panel of Project is very slow, but seems the cli works fine22:35
*** tyr_ has joined #openstack-horizon22:35
flwangso i'm wondering how you guys debug the similar thing22:35
TravTwell, i know we've put timers in various function calls with LOGGING.22:36
krotscheckflwang: I normally start with chrome's debugging tools, specifically the network panel. I've found that at least 1/2 of the load time for any page in horizon is because of poor caching of static assets.22:36
krotscheckFor instance, HP's public cloud horizon downloads 1.5MB of javascript on every page load.22:37
TravTkrotscheck: agreed... i show some of that in the searchlight video22:37
david-lyleflwang: it makes a ton of API calls22:37
david-lylethe instances panel22:37
david-lyle6 API calls22:37
*** iamjarvo has joined #openstack-horizon22:37
david-lyleto piece together all that information22:37
TravTthey are also seqential22:37
*** iamjarvo has quit IRC22:38
TravTsequential.22:38
david-lylethe server list on the CLI will be much more effiicient22:38
david-lyle1 vs 622:38
*** iamjarvo has joined #openstack-horizon22:38
flwangyep, i guess it maybe the cause, any workaournd?22:39
TravTdon't use it... :P22:39
flwangTravT: you're so smart22:39
david-lyleif you don't care about names instead of IDs, you can get rid of those calls22:40
*** mwhagedorn has quit IRC22:40
flwangactually, we're running public cloud :(22:41
TravThttps://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/instances/views.py#L6422:41
flwangTravT: yep, i think it deserves a refactor22:43
TravTso flwang: we are hoping to angularize that table during liberty22:43
david-lyleflwang: well if we can get our house keeping done, we actually have a plan to address that22:43
david-lylebut we like to bicker about tests and other things more22:44
TravTyeah, we enjoy that22:44
TravTflwang: see this: https://youtu.be/eGnGr48E5_422:44
TravTthis is what i demo'd at the summit22:44
openstackgerritRichard Jones proposed openstack/horizon: ngReorg - move utils from dashboad-app  https://review.openstack.org/18514022:44
david-lylewe're about to regain our focus though22:45
TravTdavid-lyle: we're only a couple tests away22:45
flwangTravT: yep, I even remembered your great work in glance image search in Paris summit :)22:45
TravT:)22:46
david-lyleTravT: does demo nicely22:46
TravThelps when I have people like ongk and sjmc722:46
*** iamjarvo has quit IRC22:47
flwangso22:47
flwangdo we have a plan for the performance improving? especially for the instance page22:47
*** iamjarvo has joined #openstack-horizon22:47
TravT1) technical debt of kilo for angular22:48
TravT2) get indentity user's table fully angular to set example22:48
TravT3) replicate that work on other tables22:49
TravTwe also did a summit presentation main summit, where we talk about that.22:49
TravTlet me dig that up22:49
TravThttps://www.openstack.org/summit/vancouver-2015/summit-videos/presentation/beyond-the-horizon-innovating-and-customizing-horizon-using-angularjs22:50
*** mwhagedorn has joined #openstack-horizon22:52
flwangcool, so we don't think the problem is about those api calls, but the way to handle those tables?22:52
TravTi think there is a combination of problems22:53
david-lyleflwang: oh, the API calls are slow, but we can make them async with the new design22:53
openstackgerritTyr Johanson proposed openstack/horizon: [WIP] Flavor tests - use a digest cycle to test watches  https://review.openstack.org/18858722:53
david-lyleplus django has a bad habit of reloading all of it if it sees its own shadow22:53
flwangdavid-lyle: yep22:53
flwangso, so let me ask if we found each api call works fine, then how to work around current problem on the Icehouse release?22:54
david-lyleso async data loading, with a larger client side cache of data, and less reloads once there22:54
*** clu_ has joined #openstack-horizon22:54
TravToptimize that function i gave you a link to22:56
TravTcompress22:56
*** tyr_ has quit IRC22:56
TravTdelete data from your database22:57
flwangTravT: you mean this link https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/instances/views.py#L64 ?22:57
TravT^ joke22:57
flwangdoes it need a bp or i can just create a enhancement bug to address that if i can figure out a way to improve it?22:57
TravTyeah, you could try parallelize within there and sub calls22:57
*** ongk has quit IRC22:58
TravTto backport all the way to iceshouse?22:58
*** clu_ has quit IRC22:59
TravTthis is a david-lyle kind of question i think...22:59
flwangdavid-lyle: is this kind of backport workable in Horizon?22:59
flwangTravT: right :)22:59
TravTi know he had somewhere to go, so he might have had to leave23:00
TravTi also have to drop in a seocnd23:00
TravTsqchen: i've got company coming over shortly.  will be tomorrow before i start on that api mock.  if you want to start.  all i was thinking is this23:01
TravTi'd rather that our mocks don't redefine the API functions23:01
TravTif we do that, we have less chance to catch dependency issues if we change the API23:02
TravTmatt-borland was thinking that the value mocks gave more isolation to the unit test...23:02
*** packet has joined #openstack-horizon23:02
flwangTravT: ok, thanks23:02
TravTflwang, sure23:03
flwangI will catch up with him later23:03
TravThope it helped23:03
flwangTravT: thanks a lot23:03
*** TravT_ has quit IRC23:06
openstackgerritKahou Lei proposed openstack/horizon: Admin network form should enable port_security_enabled flag  https://review.openstack.org/18862523:08
*** TravT_ has joined #openstack-horizon23:16
*** TravT has quit IRC23:18
*** packet has quit IRC23:19
openstackgerritRichard Jones proposed openstack/horizon: ngReorg - move dashboard-app/login out  https://review.openstack.org/18513323:24
openstackgerritRichard Jones proposed openstack/horizon: ngReorg - move dashboard controllers from horizon  https://review.openstack.org/18513223:26
*** chlong has joined #openstack-horizon23:27
openstackgerritRichard Jones proposed openstack/horizon: ngReorg - move core HTML from framework to dashboard  https://review.openstack.org/18629523:27
*** yamamoto has joined #openstack-horizon23:28
*** Desh_Shukla has joined #openstack-horizon23:30
r1chardj0n3shm, my IRC disconnected for a while there :/23:30
*** zhenguo has joined #openstack-horizon23:30
r1chardj0n3sthat's the reorg patch chain back in non-merge-conflict :)23:30
r1chardj0n3skrotscheck: are you all good on the karma conf thing?23:31
r1chardj0n3sfor a value of "all good" which means "have a path forward"? :)23:31
*** lhcheng has quit IRC23:32
*** lhcheng has joined #openstack-horizon23:36
*** bradjones has quit IRC23:36
krotscheckr1chardj0n3s: There is a path forward, however it has not been vetted by everyone, and we don't have anyone who's volunteered to do the necessary work.23:37
r1chardj0n3sI know someone I could volunteer... ;)23:37
krotscheckr1chardj0n3s: Yourself? Awesome!23:38
krotscheckIn that case, yes, we have a path forward, and a volunteer! :D23:38
r1chardj0n3smaybe an email, just to capture the thoughts, nut out the details before I volunteer you? :)23:38
*** bradjones has joined #openstack-horizon23:39
krotscheckTravT_, r1chardj0n3s: So, looks like thta first patch of mine failed, but it failed by actually bootstrapping successfully and having one of the karma unit tests fail. So I call that a win.23:40
*** bpokorny has joined #openstack-horizon23:41
*** bpokorny_ has quit IRC23:41
*** jingjing_ren has quit IRC23:44
*** tqtran has quit IRC23:45
*** yamamoto has quit IRC23:51
*** yamamoto has joined #openstack-horizon23:53
r1chardj0n3skrotscheck: \o/ (was it the wizard fail?)23:56
krotscheckr1chardj0n3s: Yep23:56
krotscheckwizard directive Broadcast Functions sets beforeSubmit to broadcast BEFORE_SUBMIT FAILED23:56
r1chardj0n3syep, that should be fixed asap23:56
krotscheckHey look, karma running in the gate!23:56
krotscheckCRAZYPANTS23:56
openstackgerritRichard Jones proposed openstack/horizon: ngReorg - move dashboard-app to dashboard  https://review.openstack.org/18519123:57
r1chardj0n3s\o/23:57

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