Monday, 2015-07-13

*** logan2 has quit IRC00:01
*** amotoki has joined #openstack-horizon00:03
*** logan2 has joined #openstack-horizon00:08
*** lhcheng has quit IRC00:11
*** geoffarnold has joined #openstack-horizon00:16
*** jcoufal has quit IRC00:22
*** esp_ has quit IRC00:24
*** kzaitsev_mb has joined #openstack-horizon00:25
*** cody-somerville has quit IRC00:40
*** raildo_ has joined #openstack-horizon00:44
*** zhenguo has joined #openstack-horizon00:49
*** ducttape_ has joined #openstack-horizon00:50
*** kzaitsev_mb has quit IRC00:50
*** openstackgerrit has quit IRC00:51
*** openstackgerrit has joined #openstack-horizon00:52
*** raildo_ has quit IRC01:08
*** ericksonsantos has quit IRC01:09
*** pauloewerton has quit IRC01:09
*** raildo has quit IRC01:10
*** nzeplowi has joined #openstack-horizon01:13
*** lucas__ has joined #openstack-horizon01:22
*** ducttape_ has quit IRC01:26
*** lucas__ has quit IRC01:28
*** yingjun has joined #openstack-horizon01:28
*** geoffarnold has quit IRC01:34
*** geoffarnold has joined #openstack-horizon01:38
*** geoffarnold has quit IRC01:42
*** nzeplowi has quit IRC01:47
*** lucas__ has joined #openstack-horizon01:48
*** yamamoto has joined #openstack-horizon01:49
*** lucas__ has quit IRC01:50
openstackgerritZhenguo Niu proposed openstack/horizon: Use form field errors on volume Extend form  https://review.openstack.org/20015801:56
*** lhcheng has joined #openstack-horizon01:59
*** lhcheng has quit IRC02:04
openstackgerritJasonPan proposed openstack/horizon: Fix CSS GET None when mouse over the table cell  https://review.openstack.org/19992302:05
*** DCWilliams_VA has joined #openstack-horizon02:08
*** DCWilliams_VA has quit IRC02:08
*** esp has joined #openstack-horizon02:22
*** pamo has joined #openstack-horizon02:22
*** btully has joined #openstack-horizon02:25
*** btully has quit IRC02:30
*** kzaitsev_mb has joined #openstack-horizon02:43
*** kzaitsev_mb has quit IRC02:48
*** nzeplowi has joined #openstack-horizon03:03
*** r1chardj0n3s has quit IRC03:09
*** r1chardj0n3s has joined #openstack-horizon03:10
*** pamo has quit IRC03:17
*** pamo has joined #openstack-horizon03:18
*** lucas__ has joined #openstack-horizon03:21
*** lyanchih has joined #openstack-horizon03:28
lyanchihguys plz help me to review this https://review.openstack.org/#/c/199457/03:29
*** kevinbenton has quit IRC03:35
openstackgerritAlbert Tu proposed openstack/horizon: Add i18n support to Angular humanizeNumbers helper  https://review.openstack.org/19999703:37
*** lhcheng has joined #openstack-horizon03:48
*** lhcheng has quit IRC03:53
*** yamamoto has quit IRC03:54
*** yingjun has quit IRC03:55
*** lucas__ has quit IRC03:59
*** lyanchih has quit IRC04:05
*** btully has joined #openstack-horizon04:08
*** nzeplowi has quit IRC04:12
*** lhcheng has joined #openstack-horizon04:13
*** kevinbenton has joined #openstack-horizon04:14
*** nzeplowi has joined #openstack-horizon04:14
*** neelashah has joined #openstack-horizon04:15
*** lhcheng has quit IRC04:17
*** liangbo has joined #openstack-horizon04:20
*** yamamoto has joined #openstack-horizon04:22
*** liangbo has quit IRC04:26
*** liangbo has joined #openstack-horizon04:27
*** neelashah has quit IRC04:32
*** yingjun has joined #openstack-horizon04:46
*** kevinbenton has quit IRC04:53
*** amotoki_ has joined #openstack-horizon04:53
*** kevinbenton has joined #openstack-horizon04:59
*** tqtran-bot has joined #openstack-horizon05:01
*** tqtran-bot has quit IRC05:03
*** pamo has quit IRC05:06
*** pcaruana has quit IRC05:08
*** masco__ has joined #openstack-horizon05:10
*** tjones1 has joined #openstack-horizon05:13
*** tjones1 has left #openstack-horizon05:13
*** pamo has joined #openstack-horizon05:18
*** Longgeek has quit IRC05:18
*** Longgeek has joined #openstack-horizon05:20
*** nzeplowi has quit IRC05:23
*** amotoki_ has quit IRC05:39
*** lyanchih has joined #openstack-horizon05:55
*** juggler_ has joined #openstack-horizon06:09
*** mrunge has joined #openstack-horizon06:10
openstackgerritOpenStack Proposal Bot proposed openstack/horizon: Imported Translations from Transifex  https://review.openstack.org/20079306:10
*** juggler has quit IRC06:12
*** rwsu has joined #openstack-horizon06:14
*** rwsu has quit IRC06:16
*** pamo has quit IRC06:19
*** btully has quit IRC06:32
*** psanchez_ has joined #openstack-horizon06:41
*** lhcheng has joined #openstack-horizon06:41
*** pcaruana has joined #openstack-horizon06:42
*** amotoki_ has joined #openstack-horizon06:43
*** yingjun has quit IRC06:45
*** yamamoto has quit IRC06:57
*** yamamoto has joined #openstack-horizon06:59
*** markus_z has joined #openstack-horizon07:09
*** rdopiera has joined #openstack-horizon07:10
*** masco__ has quit IRC07:10
*** Ala has joined #openstack-horizon07:11
*** psanchez_ has quit IRC07:12
*** lyanchih has quit IRC07:20
*** lyanchih has joined #openstack-horizon07:23
*** masco__ has joined #openstack-horizon07:24
*** markus_z has quit IRC07:30
*** chlong-weekend is now known as chlong-afk07:33
*** markus_z has joined #openstack-horizon07:33
*** btully has joined #openstack-horizon07:34
*** btully has quit IRC07:38
openstackgerritRajat Vig proposed openstack/horizon: JSCS Cleanup - Include angular rules in eslint  https://review.openstack.org/20102707:39
*** rajatvig has joined #openstack-horizon07:42
openstackgerritRajat Vig proposed openstack/horizon: JSCS Cleanup - Include angular rules in eslint  https://review.openstack.org/20102707:52
*** JeanBriceCombebi has joined #openstack-horizon07:52
openstackgerritRajat Vig proposed openstack/horizon: JSCS Cleanup - Include angular plugin for auth js  https://review.openstack.org/20102707:56
*** katyafervent_awa is now known as katyafervent07:57
openstackgerritRajat Vig proposed openstack/horizon: JSCS Cleanup - Include angular plugin for auth js  https://review.openstack.org/20102707:59
openstackgerritRajat Vig proposed openstack/horizon: JSCS Cleanup - Include angular plugin for auth js  https://review.openstack.org/20102708:03
openstackgerritRajat Vig proposed openstack/horizon: JSCS Cleanup - rename vm as ctrl for login controller  https://review.openstack.org/20103208:03
*** rajatvig has quit IRC08:04
*** rajatvig has joined #openstack-horizon08:04
*** rajatvig has quit IRC08:09
*** pamo has joined #openstack-horizon08:15
*** zz_ttrifonov is now known as ttrifonov08:18
*** ygbo has joined #openstack-horizon08:19
*** pamo has quit IRC08:20
*** nzeplowi has joined #openstack-horizon08:24
*** DaveJ__ has joined #openstack-horizon08:24
*** kzaitsev_mb has joined #openstack-horizon08:26
*** nzeplowi has quit IRC08:28
*** JeanBriceCombebi has quit IRC08:34
openstackgerritziyu032 proposed openstack/horizon: make cancel button a unified style  https://review.openstack.org/15068608:35
*** JeanBriceCombebi has joined #openstack-horizon08:35
*** robcresswell has joined #openstack-horizon08:41
*** amotoki_ has quit IRC08:46
*** jamielennox has quit IRC08:46
*** masco__ has quit IRC08:48
*** kzaitsev_mb has quit IRC08:50
*** JeanBriceCombebi has quit IRC08:55
*** lhcheng has quit IRC08:55
*** bfic has joined #openstack-horizon08:55
*** masco__ has joined #openstack-horizon09:00
*** KingKhan has joined #openstack-horizon09:02
*** yingjun has joined #openstack-horizon09:03
*** JeanBriceCombebi has joined #openstack-horizon09:06
*** sambetts_ is now known as sambetts09:07
*** aix has joined #openstack-horizon09:08
*** tosky has joined #openstack-horizon09:14
*** e0ne has joined #openstack-horizon09:19
robcresswellsambetts: o/09:24
sambettsrobcresswell: o/09:26
*** lhcheng has joined #openstack-horizon09:32
*** pkarikh has joined #openstack-horizon09:34
*** yingjun has quit IRC09:35
*** e0ne is now known as e0ne_09:36
*** liangbo has quit IRC09:39
*** haypo has joined #openstack-horizon09:40
openstackgerritJasonPan proposed openstack/horizon: Fix the loading block wouldn't disappear in Mac OS X  https://review.openstack.org/20105709:40
haypohi. does anyone know the status of python 3 in swift?09:41
haypodjango now works well on python 3 ;)09:41
haypohorizon is the latest major openstack application with no py34 gate: https://wiki.openstack.org/wiki/Python3#OpenStack_applications09:41
mrungehaypo, we usually don't test horizon with py309:41
mrungebut I heard it is working09:42
haypo"but I heard it is working" i read "it doesn't work" :)09:42
haypoif it's not tested and not widely used on python 3, there are probably many subtle issues with python 3, no?09:42
mrungesure09:43
mrungeyou're right and I agree09:43
haypo(especially if it's not automatically tested on python3)09:43
* mrunge asks himself, what about all those xstatic packages09:44
mrungeI would expect a bit work at that front09:44
*** jamielennox has joined #openstack-horizon09:46
*** oro has joined #openstack-horizon09:46
* haypo runs tox -e py3409:49
haypomrunge: nice. tox -e py34 fails with SyntaxError in mox :)09:51
mrungeI'd say: feel free to fix it :P09:52
haypomrunge: FIY i'm porting python 3 stuff in openstack since 12 months or more, so yes i can try to help09:53
mrungehaypo, I saw your mails on dev list. this is really appreciated09:54
mrungehaypo, and I really didn't try to offend you. If you felt that way, I apologize09:55
haypohum? i don't feel offended09:55
haypodon't worry09:55
*** akrivoka has joined #openstack-horizon10:00
*** alexpilotti has joined #openstack-horizon10:00
*** rdopiera has quit IRC10:03
*** e0ne_ is now known as e0ne10:05
*** marzif has joined #openstack-horizon10:07
*** lhcheng has quit IRC10:08
*** kjelly has quit IRC10:11
*** kzaitsev_mb has joined #openstack-horizon10:15
robcresswellmrunge: Nice work on the mock fixes. Are there any other issues thus far?10:16
haypomrunge: "83 files changed, 128 insertions(+), 124 deletions(-)" later, "tox -e py34" pass. so i'm sure that horizon doesn't work fully on python 3 in its current state ;)10:16
robcresswellhaypo: Huh, interesting that it's so many files but such a small line count. Tiny tweaks?10:17
*** pamo has joined #openstack-horizon10:17
mrungerobcresswell, I didn't fix mock stuff. That was lhcheng10:17
hayporobcresswell: many small changes. i'm now splitting this stuff into reviewable patches10:17
openstackgerritMatthias Runge proposed openstack/horizon: remove django<1.7 from tests  https://review.openstack.org/20106610:17
robcresswellmrunge: Oh, my bad, I just saw the backport and assumed.10:18
openstackgerritJasonPan proposed openstack/horizon: Fix the loading block wouldn't disappear in Mac OS X  https://review.openstack.org/20105710:18
mrungerobcresswell, sure. I just don't want to take credit for things I didn't do10:18
mrungeI'm trying to keep kilo in a shape, where we could do backports10:19
robcresswellmrunge: Yeah, I've seen them going through. Nice work.10:19
openstackgerritJasonPan proposed openstack/horizon: Fix CSS GET None when mouse over the table cell  https://review.openstack.org/19992310:21
toskymrunge: do you think that the fix for this bug https://bugs.launchpad.net/horizon/+bug/1456171 could be accepted as kilo backport?  (https://review.openstack.org/#/c/184033/)10:21
openstackLaunchpad bug 1456171 in OpenStack Dashboard (Horizon) "[sahara] relaunch job fail if job is created by saharaclient and no input args" [Low,Fix released] - Assigned to Ken Chen (ken-chen-i)10:21
*** pamo has quit IRC10:21
mrungetosky, /me clicks10:22
mrungetosky, sure10:22
mrungetosky, makes sense to me, it's end user visible, no string change included10:23
toskymrunge: I personally hit it10:23
mrungetosky, are you going to propose a backport?10:24
mrungeor shall I?10:24
toskymrunge: I was rechecking the condition (funny because I did it); I guess it's just "cherry-pick the patch to stable/kilo and push", right?10:24
mrungegit checkout origin/stable/kilo && git cherry-pick -x (hash...) && git review10:25
mrungeyou might want to name the branch too10:25
mrungegit checkout -b bugs/foo or whatever10:26
toskyisn't the topic called automagically from the bug number?10:26
mrungeuhm, it is?10:26
toskybut yeah, easier to add the topic10:26
toskynot sure, I thought I have seen it but I could have just misread it10:27
toskylet's try10:27
toskyin the worst case I can change the topic later10:27
mrungesure10:27
toskymrunge: yep, I didn't set the topic, but it's the correct one (bug/<num>): https://review.openstack.org/#/c/201074/10:31
*** mpavlase has joined #openstack-horizon10:32
mrungecool, goo to know then tosky10:33
*** kzaitsev_mb has quit IRC10:34
*** e0ne is now known as e0ne_10:43
*** e0ne_ is now known as e0ne10:43
*** aix has quit IRC10:44
*** yamamoto has quit IRC10:44
*** sayan has joined #openstack-horizon10:46
*** sayan_ has joined #openstack-horizon10:46
*** DaveJ__ has quit IRC10:51
*** kzaitsev_mb has joined #openstack-horizon10:51
*** e0ne is now known as e0ne_11:01
*** belmoreira has joined #openstack-horizon11:06
*** aix has joined #openstack-horizon11:11
*** vijendar has joined #openstack-horizon11:14
*** e0ne_ is now known as e0ne11:14
*** _crobertsrh is now known as crobertsrh11:18
*** bfic has quit IRC11:27
*** yamamoto has joined #openstack-horizon11:28
*** vijendar has quit IRC11:29
*** vijendar has joined #openstack-horizon11:29
*** yamamoto has quit IRC11:29
*** yamamoto_ has joined #openstack-horizon11:30
*** yamamoto has joined #openstack-horizon11:30
*** yamamoto has quit IRC11:33
*** yamamoto_ has quit IRC11:34
*** bfic has joined #openstack-horizon11:36
*** yamamoto has joined #openstack-horizon11:37
*** lyanchih has quit IRC11:37
openstackgerritTimur Sufiev proposed openstack/horizon: Refactor network topology graph as an Angular directive  https://review.openstack.org/19906311:40
toskymrunge: you proposed it, it has a +2, so do we need another +2 from the 3rd stable maintainer? https://review.openstack.org/#/c/201012/ :)11:50
*** sayan has quit IRC11:52
*** sayan_ has quit IRC11:53
*** bfic has quit IRC11:56
mrungetosky, yes11:56
mrungethere are not so many stable maintainers in horizon11:57
*** bfic has joined #openstack-horizon12:02
openstackgerritVictor Stinner proposed openstack/horizon: Replace mox with mox3  https://review.openstack.org/20109512:03
openstackgerritVictor Stinner proposed openstack/horizon: Fix Python 3 issues in base modules  https://review.openstack.org/20109612:03
openstackgerritVictor Stinner proposed openstack/horizon: Replace dict.iteritems() with six.iteritems(dict)  https://review.openstack.org/20109712:03
openstackgerritVictor Stinner proposed openstack/horizon: Fix Python 3 issues on dictionaries  https://review.openstack.org/20109812:03
openstackgerritVictor Stinner proposed openstack/horizon: Use relative imports  https://review.openstack.org/20109912:03
openstackgerritVictor Stinner proposed openstack/horizon: Get izip from six.moves  https://review.openstack.org/20110012:03
openstackgerritVictor Stinner proposed openstack/horizon: Replace filter() with a list-comprehension  https://review.openstack.org/20110112:03
haypomrunge, robcresswell : ok, here you have my patches to fix tox -e py34 ^^12:03
mrungeawesome haypo12:04
haypomrunge: i hope that i splitted my changes enough to have patches easy to review12:04
mrungehaypo, do you know out of your head, if we already have mox3 in fedora?12:04
haypoit's probably not enough to port horizon to python 3, tox -e py34 says: "Ran 0 tests in 0.000s" and then "Ran 1 test in 0.007s"12:04
haypowhereas tox -e py27 runs +100 tests!?12:04
mrungeit's probably a matter of missing dependencies for those tests12:05
*** sayan_ has joined #openstack-horizon12:05
*** sayan has joined #openstack-horizon12:06
mrungehaypo, just found the bug report rhbz#117497412:06
haypomrunge: hum, https://bugzilla.redhat.com/show_bug.cgi?id=1174974 is a request to add a package for mock3 in Fedora12:07
openstackbugzilla.redhat.com bug 1174974 in Package Review "Review Request: python-mox3 - Mock object framework for Python" [Medium,New] - Assigned to apevec12:07
haypomrunge: mock3 is still heavily used in openstack, as i wrote in my commit message12:07
haypoit would be surprised that Ubuntu, Fedora, RHEL don't have a package for it in their OpenStack repositories12:08
haypoi* would12:10
mrungeare we talking about mox3 or about mock3?12:10
haypomrunge: sorry, mox3. there is no mock3 project :)12:11
mrunge:D just to be clear12:11
haypo(but the way, mock got a new maintainer, there was a release last friday which broke all gates in openstack. funny release.)12:11
mrungeyupp, I know about it12:12
haypo(mock is the backport of unittest.mock, it's now in the python standard library)12:12
*** pamo has joined #openstack-horizon12:19
*** lyanchih has joined #openstack-horizon12:21
*** pamo has quit IRC12:23
*** rdopiera has joined #openstack-horizon12:25
*** rdopiera_ has joined #openstack-horizon12:26
*** ducttape_ has joined #openstack-horizon12:28
*** yamamoto has quit IRC12:30
*** e0ne is now known as e0ne_12:33
robcresswellhaypo: Right, just starting to look over. Thanks for doing this work!12:33
hayporobcresswell, mrunge : i plan to write an article on the progress of the openstack port to python 3. i would be a shame that there is still an application without anyone working on it12:34
haypoeven swift started to review my patches for python 3, even swift! :-D12:34
mrungeI thought, swift moved to go12:34
mrunge*jokingÜ12:34
haypomrunge: well, dropping immediatly python 2 was discussion during the latest swift meeting, but they didn't pick this option12:35
haypowas discussed*12:35
haypo( i'm serious: https://wiki.openstack.org/wiki/Meetings/Swift )12:35
*** sayan_ has quit IRC12:35
mrungeoh! I didn't knew that12:36
robcresswellhaypo: Why mox 0.7.0 as base, btw?12:37
robcresswelland not just use 0.812:37
*** mtecer has joined #openstack-horizon12:39
*** haypo has quit IRC12:40
*** haypo has joined #openstack-horizon12:40
*** e0ne_ is now known as e0ne12:46
*** ttrifonov is now known as zz_ttrifonov12:49
*** absubram has quit IRC12:50
*** ducttape_ has quit IRC12:50
*** mtecer has quit IRC12:52
hayporobcresswell: i found https://blueprints.launchpad.net/horizon/+spec/porting-python312:55
hayporobcresswell: can i reuse this blueprint?12:56
*** btully has joined #openstack-horizon12:58
*** bfic has quit IRC13:01
robcresswellhaypo: Yeah, that looks like a good one to link to13:01
*** yingjun has joined #openstack-horizon13:01
*** julim has joined #openstack-horizon13:01
robcresswellhaypo: May also be worth reaching out to the owner to let him know13:01
*** ZZelle has quit IRC13:02
*** btully has quit IRC13:02
*** ZZelle has joined #openstack-horizon13:02
*** julim_ has joined #openstack-horizon13:04
hayporobcresswell: George Peristerakis is a colleague, i will try to find him :)13:04
hayporobcresswell: this morning, i asked if anyone was working on python 3, but i got no reply13:04
haypocool if the work already started!13:04
hayporobcresswell: i also found https://review.openstack.org/#/c/178342/ which combines some of my patches, but it fixes some issues differently13:05
*** neelashah has joined #openstack-horizon13:06
*** doug-fish has joined #openstack-horizon13:06
*** julim has quit IRC13:07
openstackgerritVictor Stinner proposed openstack/horizon: Replace dict.iteritems() with six.iteritems(dict)  https://review.openstack.org/20109713:09
openstackgerritVictor Stinner proposed openstack/horizon: Fix Python 3 issues in base modules  https://review.openstack.org/20109613:09
openstackgerritVictor Stinner proposed openstack/horizon: Use relative imports  https://review.openstack.org/20109913:09
openstackgerritVictor Stinner proposed openstack/horizon: Fix Python 3 issues on dictionaries  https://review.openstack.org/20109813:09
openstackgerritVictor Stinner proposed openstack/horizon: Replace filter() with a list-comprehension  https://review.openstack.org/20110113:09
openstackgerritVictor Stinner proposed openstack/horizon: Get izip from six.moves  https://review.openstack.org/20110013:09
openstackgerritVictor Stinner proposed openstack/horizon: Replace mox with mox3  https://review.openstack.org/20109513:09
*** bfic has joined #openstack-horizon13:09
hayporobcresswell: would it make sense to accept https://blueprints.launchpad.net/horizon/+spec/porting-python3 for this cycle?13:13
*** dboik has joined #openstack-horizon13:14
*** belmoreira has quit IRC13:20
*** peristeri has joined #openstack-horizon13:25
*** ^Gal^ has quit IRC13:26
*** vishwana_ has quit IRC13:28
*** lyanchih has quit IRC13:30
*** dboik_ has joined #openstack-horizon13:30
*** yamamoto has joined #openstack-horizon13:31
*** jtriley has joined #openstack-horizon13:33
*** ericksonsantos has joined #openstack-horizon13:33
*** raildo has joined #openstack-horizon13:33
*** dboik has quit IRC13:33
*** masco__ has quit IRC13:34
*** tvanderwiel has joined #openstack-horizon13:35
*** andrewbogott_afk is now known as andrewbogott13:35
*** yamamoto has quit IRC13:36
*** vijendar1 has joined #openstack-horizon13:38
*** vijendar has quit IRC13:39
*** vijendar1 has quit IRC13:39
*** vijendar has joined #openstack-horizon13:39
*** raildo has quit IRC13:40
*** raildo has joined #openstack-horizon13:44
*** rdopiera_ has quit IRC13:44
*** rdopiera has quit IRC13:44
*** vijendar has quit IRC13:45
*** vijendar has joined #openstack-horizon13:45
*** lyanchih has joined #openstack-horizon13:49
*** jpomero has joined #openstack-horizon13:49
*** andrewbogott is now known as andrewbogott_afk13:51
*** JeanBriceCombebi has quit IRC13:52
*** pauloewerton has joined #openstack-horizon13:53
*** mrunge has quit IRC13:55
*** rdopiera has joined #openstack-horizon13:55
*** JeanBriceCombebi has joined #openstack-horizon13:56
*** KingKhan has quit IRC13:58
*** haypo has quit IRC14:00
*** lblanchard has joined #openstack-horizon14:00
*** haypo has joined #openstack-horizon14:01
*** petertr7_away is now known as petertr714:05
*** absubram has joined #openstack-horizon14:06
*** andrewbogott_afk is now known as andrewbogott14:06
*** bfic has quit IRC14:07
*** drupalmonkey has joined #openstack-horizon14:15
*** btully has joined #openstack-horizon14:16
*** Piet has quit IRC14:17
*** Alister has joined #openstack-horizon14:20
AlisterHello guys,14:20
*** pamo has joined #openstack-horizon14:20
AlisterI am customizing horizon and I would like to retrieve the curent tenant_id, how can I do?14:20
*** pamo has quit IRC14:25
*** JeanBriceCombebi has quit IRC14:26
sjmc7morning, david-lyle. i asked this on friday but everyone had disappeared; when we were deploying juno (from upstream tripleo), we were overriding STATIC_ROOT in local_settings.py to serve it from apache from /var/www/horizon/static14:31
sjmc7as of https://github.com/openstack/horizon/commit/18dddd97da19af894a0974e3560197036ea8969a, that no longer works14:31
sjmc7since it wasn't really documented, i suspect we shouldn't have been doing that, and changing ROOT_PATH has some strange side effects14:32
sjmc7is there any support for doing this or is it best to serve it from horizon/static, as the defaults suggest?14:32
*** ^Gal^ has joined #openstack-horizon14:33
*** julim_ has quit IRC14:33
*** julim has joined #openstack-horizon14:34
*** echozdog has joined #openstack-horizon14:34
lyanchihHi folks, would you please review our patch? https://review.openstack.org/#/c/199457/14:34
*** stevemar has joined #openstack-horizon14:36
*** jtriley has quit IRC14:36
*** rhagarty_ has quit IRC14:39
*** rhagarty has quit IRC14:39
*** petertr7 is now known as petertr7_away14:40
*** oro has quit IRC14:41
*** Alister has quit IRC14:42
*** JeanBriceCombebi has joined #openstack-horizon14:43
*** petertr7_away is now known as petertr714:46
*** htruta has joined #openstack-horizon14:49
*** alexpilotti has quit IRC14:54
*** Piet has joined #openstack-horizon14:55
*** alexpilotti has joined #openstack-horizon14:55
*** alexpilotti has quit IRC14:56
*** alexpilotti has joined #openstack-horizon14:57
*** ygbo has quit IRC14:57
*** akrivoka has quit IRC14:57
*** rhagarty has joined #openstack-horizon14:58
*** rhagarty_ has joined #openstack-horizon14:58
*** akrivoka has joined #openstack-horizon14:59
*** Ala has quit IRC14:59
*** cbader has joined #openstack-horizon14:59
*** alexpilotti has quit IRC14:59
*** JeanBriceCombebi has quit IRC15:01
*** yingjun has quit IRC15:01
*** alexpilotti has joined #openstack-horizon15:01
*** alexpilotti has quit IRC15:03
*** alexpilotti has joined #openstack-horizon15:05
*** cody-somerville has joined #openstack-horizon15:06
*** jbell8 has joined #openstack-horizon15:06
*** cbader has quit IRC15:10
*** alexpilotti has quit IRC15:11
*** jtriley has joined #openstack-horizon15:11
david-lylesjmc7: I curious why a commit on kilo master would affect Juno deploys15:16
david-lyledid you mean Kilo?15:16
sjmc7sorry, i wasn't clear - we moved from juno to kilo last week15:16
david-lyleok15:16
david-lylemaking more sense15:16
sjmc7yeah. for juno, the tripleo config overrode STATIC_ROOT explicitly15:17
*** matt-borland has joined #openstack-horizon15:17
sjmc7right now, the defaults put 'static' in site-packages/static15:17
david-lylewhere are you wanting to serve horizon from / or /something/15:18
sjmc7yeah, /var/www/horizon15:18
sjmc7i guess we can symlink or something15:19
david-lylesjmc7: I meant the url15:19
*** rwsu has joined #openstack-horizon15:19
sjmc7ah - we don't change the url, so i think the default's /static15:19
david-lyleok15:19
david-lyleso the problem is, you were setting static_root and now that's now working?15:20
sjmc7so this isn't WEBROOT related (and i have no wish to get involved in that)15:20
sjmc7yeah - and it may be it was never officially supported, which is fine15:20
david-lylesjmc7: if you want to still do the same thing you'll likely just have to set static_root in settings.py15:21
david-lylehttps://github.com/openstack/horizon/blob/master/openstack_dashboard/settings.py#L28115:21
sjmc7yeah, looks like it15:21
sjmc7ok15:21
*** pamo has joined #openstack-horizon15:21
david-lylejust change that15:21
*** SimonChung1 has quit IRC15:22
david-lylebut there may be room for improvement there, but that would only be on master15:22
david-lyleonce done :)15:22
sjmc7yep, understood. ok, i'll maybe file a bug and make the change15:23
david-lylethat could be cherry-pickable15:23
david-lylesmall and localized change15:23
sjmc7yeah.. it doesn't look like it needs to be tangled up in the WEBROOT stuff15:24
*** sayan has quit IRC15:24
david-lylesjmc7: change could be as simple as checking that STATIC_ROOT wasn't already set in local_settings.py15:25
david-lyleand only set it if it wasn't15:25
david-lylelike LOGIN_URL is handled15:25
*** Sukhdev has joined #openstack-horizon15:25
*** pamo has quit IRC15:26
sjmc7yep, that's a good point15:26
openstackgerritRadomir Dopieralski proposed openstack/horizon: Add a OPENSTACK_SIMPLE_TENANT_USAGE_ENABLED settings option  https://review.openstack.org/20122115:26
*** garthb has joined #openstack-horizon15:31
*** garthb_ has joined #openstack-horizon15:31
*** notmars has joined #openstack-horizon15:36
*** radez_g0n3 has quit IRC15:36
*** ramishra has quit IRC15:36
*** mitz_ has quit IRC15:36
*** tsufiev has quit IRC15:36
*** crobertsrh has quit IRC15:36
*** petertr7 has quit IRC15:36
*** tristanC has quit IRC15:36
*** SlickNik has quit IRC15:36
*** DuncanT has quit IRC15:36
*** pcarver has quit IRC15:36
*** pcarver has joined #openstack-horizon15:37
*** tristanC has joined #openstack-horizon15:37
*** SlickNik has joined #openstack-horizon15:37
*** radez_g0n3 has joined #openstack-horizon15:37
*** radez_g0n3 has quit IRC15:37
*** radez_g0n3 has joined #openstack-horizon15:37
*** mitz has joined #openstack-horizon15:37
*** petertr7 has joined #openstack-horizon15:37
*** crobertsrh has joined #openstack-horizon15:38
*** pcaruana has quit IRC15:38
*** tsufiev has joined #openstack-horizon15:39
*** ghundal_tw has joined #openstack-horizon15:43
openstackgerritPaulo Ewerton Gomes Fragoso proposed openstack/horizon: Adding Identity Projects Table  https://review.openstack.org/19956715:47
openstackgerritPaulo Ewerton Gomes Fragoso proposed openstack/horizon: Adding Identity NGProjects Panel  https://review.openstack.org/19913915:47
*** nlahouti has joined #openstack-horizon15:49
krotscheckrobcresswell: I agree with your assessment on the ng_on_watch rule, especially in light of the thing I found in the Papa guides. Revert?15:50
*** ramishra has joined #openstack-horizon15:50
*** morganfainberg has quit IRC15:51
*** morganfainberg has joined #openstack-horizon15:52
*** Piet has quit IRC15:54
*** garthb_ has quit IRC15:55
*** garthb has quit IRC15:55
*** DuncanT has joined #openstack-horizon15:57
robcresswellkrotscheck: Wait until Thai is around so we can ask why it was pushed through. I would prefer its explicity cleaned up (and so the rule is turned on) but I want to understand the reasoning.15:57
robcresswellkrotscheck: Just to save time on pushing up a revert patch which may not be needed.15:58
openstackgerritMichael Krotscheck proposed openstack/horizon: Revert "Ignore the ng_on_watch error from eslint"  https://review.openstack.org/20123515:58
robcresswellhaha15:58
robcresswellor not :p15:58
krotscheckrobcresswell: Too late ;)15:58
krotscheckrobcresswell: I dunno, I guess my own eingeering background goes back to C++'s "Always clean up your pointers", and relying on framework/language magic to do that for me always makes me leery.15:59
krotscheckI mean yeah, it's one thing to have nice garbage collection _in_ the runtime, but even that requires pointer dereferencing.15:59
krotscheckBut it's another entirely to assume someone elses's code will do it for you.16:00
robcresswellkrotscheck: Yeah, I'm inclined to agree. Especially because that angular discussion seemed to imply it was only needed in *some* situations, I'd rather we just did it every time, than risk missing tricky bugs.16:00
krotscheck(Someone else's code in your library)16:00
*** garthb has joined #openstack-horizon16:00
*** TravT has joined #openstack-horizon16:00
*** Drago has joined #openstack-horizon16:02
*** gyee has joined #openstack-horizon16:03
*** sayan has joined #openstack-horizon16:10
*** notmars_ has joined #openstack-horizon16:12
*** nzeplowi has joined #openstack-horizon16:13
*** SimonChung has joined #openstack-horizon16:13
*** sayan has quit IRC16:13
*** zhenguo has quit IRC16:13
*** notmars has quit IRC16:14
*** notmars_ is now known as notmars16:14
openstackgerritNathan Zeplowitz proposed openstack/horizon: Fix eslint for the metadata-tree widgets.  https://review.openstack.org/20075216:18
openstackgerritRadomir Dopieralski proposed openstack/horizon: Add an OPENSTACK_SIMPLE_TENANT_USAGE_ENABLED settings option  https://review.openstack.org/20122116:19
*** oro has joined #openstack-horizon16:20
*** jrist has quit IRC16:20
openstackgerritNathan Zeplowitz proposed openstack/horizon: JSCS Cleanup - horizon/ tech-debt  https://review.openstack.org/19934516:21
*** e0ne has quit IRC16:21
*** mgarza_ has joined #openstack-horizon16:22
*** pamo has joined #openstack-horizon16:22
*** dboik_ has quit IRC16:22
*** dboik has joined #openstack-horizon16:23
*** Drago has quit IRC16:24
*** petertr7 is now known as petertr7_away16:24
*** tyr has joined #openstack-horizon16:25
*** jrist has joined #openstack-horizon16:26
*** lyanchih has quit IRC16:26
*** clu_ has joined #openstack-horizon16:26
*** pamo has quit IRC16:27
*** pamo has joined #openstack-horizon16:27
openstackgerritNathan Zeplowitz proposed openstack/horizon: JSCS Cleanup - Fix eslint metadata-tree widgets.  https://review.openstack.org/20075216:28
*** clu__ has joined #openstack-horizon16:28
*** clu_ has quit IRC16:28
*** lyanchih has joined #openstack-horizon16:28
*** rajatvig has joined #openstack-horizon16:31
*** ghundal_tw has quit IRC16:34
*** TravT_ has joined #openstack-horizon16:34
*** kiran-r has joined #openstack-horizon16:35
*** TravT has quit IRC16:37
*** rajatvig has quit IRC16:37
*** rajatvig has joined #openstack-horizon16:37
*** Drago has joined #openstack-horizon16:38
*** raildo has quit IRC16:38
*** ghundal_TW has joined #openstack-horizon16:39
*** Drago has quit IRC16:41
*** Drago has joined #openstack-horizon16:41
*** TravT has joined #openstack-horizon16:42
*** TravT_ has quit IRC16:42
*** ducttape_ has joined #openstack-horizon16:45
*** lyanchih has quit IRC16:49
*** kbrown has joined #openstack-horizon16:50
*** alexpilotti has joined #openstack-horizon16:51
*** Drago has quit IRC16:53
*** Drago has joined #openstack-horizon16:53
*** Drago has quit IRC16:53
*** dscottsf has joined #openstack-horizon16:53
*** dscottsf has quit IRC16:53
*** Drago has joined #openstack-horizon16:54
ducttape_mrunge - let me know if I am wrong about https://review.openstack.org/#/c/201066/116:55
*** notmars has quit IRC16:55
ducttape_maybe that change was also meant to roll tox too, but I don't think so16:55
*** annashen has joined #openstack-horizon17:01
*** alexpilotti has quit IRC17:02
openstackgerritTravis Tripp proposed openstack/horizon: Adding Angular Project Images Table  https://review.openstack.org/20038517:03
*** juggler_ is now known as juggler17:04
*** tqtran-afk has joined #openstack-horizon17:05
*** tqtran-afk is now known as tqtran17:05
openstackgerritTravis Tripp proposed openstack/horizon: Adding Angular Images Project Panel  https://review.openstack.org/20032417:06
openstackgerritTravis Tripp proposed openstack/horizon: Adding Angular Project Images Table  https://review.openstack.org/20038517:06
*** skylerberg has joined #openstack-horizon17:06
openstackgerritTravis Tripp proposed openstack/horizon: Adding Angular Project Images Table  https://review.openstack.org/20038517:07
*** neelashah has quit IRC17:07
*** alexpilotti has joined #openstack-horizon17:08
ducttape_TravT and tqtran - I subscribe you guys to this bug https://bugs.launchpad.net/horizon/+bug/1473978    Maybe its some new required setup for deployment of horizon, not sure17:08
openstackLaunchpad bug 1473978 in OpenStack Dashboard (Horizon) "static url path does not work consistently" [Undecided,New]17:08
ducttape_I tried to deploy the new launch instance thing, then I found pain, suffering, and failure17:09
TravTducttape_: is this related to this: https://review.openstack.org/#/c/181095/17:10
matt-borlandduccttape_: also, please note the documentation for WEBROOT in the settings docs17:10
tqtranducttape_: hm... why is the dashboard path /dashboard or /horizon?17:10
matt-borlandhttp://docs.openstack.org/developer/horizon/topics/settings.html#webroot17:10
ducttape_I think WEBROOT might have been /17:10
tqtranby path, we're referring to URL path right?17:11
*** oro has quit IRC17:11
tqtrannot file path is it?17:11
matt-borlandThere's a note in the settings regarding setting $webroot in _variables.scss17:11
matt-borlandbetween the patch and the documentation, everything should work17:12
*** annashen has quit IRC17:12
ducttape_not sure, but I have the setup to get the old launch instance working correctly it seems and was probably pre-2015.1   (even though I have deployed code from within the last month)17:13
openstackgerritDavid Lyle proposed openstack/horizon: remove django<1.7 from tests  https://review.openstack.org/20106617:13
ducttape_I am probably missing the correct config, but it's wierd that what I have right now works fine with old launch instance.... try to use the new and (boom) no dice17:13
ducttape_so it seems like now if you run out of the path /dashboard/  -> that you must have static to be served out of /dashboard/static ..... is that correct?17:15
tqtranyes that is correct, assuming you setup webroot correctly17:15
*** petertr7_away is now known as petertr717:15
tqtranok now hold, let us append url path or file path to the wording17:16
ducttape_ok, thats new to me, thanks17:16
*** notmars has joined #openstack-horizon17:16
*** TravT has quit IRC17:16
tqtranwhen you say, if you run of the path /dashboard/, you mean file path? or is that the webroot you are referring to?17:16
ducttape_the url / uri path17:16
tqtranok, then yes, the static should be /dashboard/static/17:16
ducttape_so like http://foo/horizon   or http://foo/dashboard17:16
ducttape_puppet module from a few months ago did not setup horizon this way17:17
tqtranthere shouldn't be a horizon or dashboard folder at all17:18
ducttape_why not?17:18
tqtranif you need to access static resources, it will be foo/static/......**17:18
tqtranif you need to access panels, it will be foo/dashboard/panel17:18
ducttape_so now you require deployments to be setup on root url path?17:19
tqtrancorrection, it will be foo/<dashboard>/<panel>17:19
tqtranno, it will be relative to whatever your webroot is17:19
*** TravT has joined #openstack-horizon17:19
tqtranthis is how it has always been, we havent change the behavior17:19
*** annashen has joined #openstack-horizon17:20
ducttape_no, it certainly is not tqtran17:20
ducttape_that much I am certain of17:20
tqtranall we have done is give the JS side access to the webroot path17:20
matt-borlandducttape_: does your question have anything to do with the use of STATIC_ROOT in your local_settings.py?  Which is a different issue?17:20
ducttape_the js stuff previously ran out of a folder that was not within the webroot, at least for 20014.2 and before17:21
tqtranso you're saying static resources are served as foo/static, so what is foo/horizon use for?17:21
ducttape_http://foo/horizon/auth/login/?next=/horizon/17:21
ducttape_then http://foo/horizon/project/17:22
ducttape_and all your static stuff would be in http://foo/static/17:22
tqtranok, so /foo/horizon/ would be your webroot right? and you're saying that statics can be access as /foo/static?17:22
tqtranok didn't know you can do that17:22
ducttape_that has been behavior, for at least a little bit17:22
tqtranso why would a deployer set it up this way?17:22
tqtranwouldn't you end up with collision?17:23
ducttape_that was puppet module, and I thought default deb package from canonical17:23
*** ybathia has joined #openstack-horizon17:23
ducttape_I would say the new way is likely for collision, and ask why the new way17:23
ducttape_if you separate all that static stuff out, then you wsgi app can have any path it needs17:24
ducttape_with the new way, the wsgi app can never use the path static/17:24
ducttape_because that is needed for static content serving17:24
tqtranhold on.... that doesn't quite make sense to me.17:25
ducttape_it's fine to have it either way / whatever.... this is new config / change in path that caught me napping17:25
tqtranso lets say you have 2 applications, app A and app B, with foo/A/ and foo/B/ url17:25
*** petertr7 is now known as petertr7_away17:25
*** Sukhdev has quit IRC17:25
tqtranand to access their static resources, it would be foo/static/, this would essentially give app A and app B access to this universal static folder17:26
*** Sukhdev has joined #openstack-horizon17:26
tqtranand if you have an app named static, what happens then? foo/static/?17:26
matt-borlandducttape_: you might want to check out https://github.com/openstack/horizon/commit/18dddd97da19af894a0974e3560197036ea8969a17:26
ducttape_you can configure static to be any path you want -> that was the previous setup.    So you could have foo/A/static if you wanted, or you could do foo/static17:27
tqtranhaving it as foo/A/static and foo/B/static is much safer no?17:27
matt-borlandIn that commit, certain vars like STATIC_URL stopped being respected if placed in local_settings.py17:27
*** rdopiera has quit IRC17:27
ducttape_tqtran - giving flexibility is safer, I would say17:27
tqtrani just don't think having that much flexibility make sense here. the static contents of your app should live under your app17:28
*** neelashah has joined #openstack-horizon17:28
tqtranand hence, a sub url of it, aka (foo/<app>/static/)17:28
*** Longgeek has quit IRC17:29
tqtranunless you plan on sharing static contents between multiple apps, but thats a weird use, i dont think i have seen any webapp like taht before17:29
ducttape_thats fine if thats the decision, just trying to give feedback of someone who is actually deploying and using this stuff17:29
tqtranno, this is a good discussion, i didnt know that you can configure your static outside of your app's webroot17:30
*** vijendar has quit IRC17:30
tqtranwe'll have to think about that a bit....17:31
*** iamjarvo has joined #openstack-horizon17:31
tqtraneither document that extremely well on what we expect or have support for it (which could be a bit challenging)17:32
ducttape_I know what I need to do to adjust for now, thanks  ;)17:32
*** vijendar has joined #openstack-horizon17:32
*** kzaitsev_mb has quit IRC17:33
tqtranmatt-borland or TravT, do you guys have some time today? need some help setting up the test for webroot, i still havent gotten it to work17:33
*** jingjing_ren has joined #openstack-horizon17:33
tqtrani tried everything.. not sure what is going on17:33
*** geoffarnold has joined #openstack-horizon17:34
tqtranor i can code it up and you guys can test it, that will work as well17:34
david-lyleI don't think STATIC_ROOT should have to be tied to WEB_ROOT17:34
tqtranwhatever is easier17:34
david-lyleerr, WEBROOT17:34
david-lylethat was just a convenience17:34
david-lylesjmc7:  had the same issue17:35
david-lylea simple fix to honoring local_settings.py override of the value is all that's required17:35
david-lylesjmc7: did you file a bug?17:35
david-lyleis that the concern ducttape_ STATIC_ROOT ?17:36
ducttape_yeah, there is new code changes that require static to be nested within the app url path17:37
david-lyleI'll post a patch, just a sec17:37
*** geoffarnold has quit IRC17:37
*** alexpilotti has quit IRC17:37
*** chlong-afk has quit IRC17:38
tqtranwhich patch was this?17:38
ducttape_tqtran - I just verified that ubuntu's horizon package from 2014.2 had /horizon and /static as different paths17:38
tqtraninteresting....17:38
tqtranso the STATIC_ROOT override happens in local_settings?17:39
tqtranthats fine, so what we're referring to as WEBROOT in matt's patch is actually STATIC_ROOT, it should still all work17:40
ducttape_now, WEBROOT would be /horizon17:40
ducttape_err no I mean17:40
*** geoffarnold has joined #openstack-horizon17:40
ducttape_I'd say you need an app path (i.e. WEBROOT) -> this is where wsgi and python get to play17:40
*** akrivoka has quit IRC17:41
tqtrando you know if STATIC_ROOT is a django reserved setting? or is that something horizon made up?17:41
ducttape_and then there is STATIC -> this is where python and wsgi don't do anything, and the webserver serves this17:41
*** akrivoka has joined #openstack-horizon17:41
ducttape_https://docs.djangoproject.com/en/1.8/howto/static-files/#configuring-static-files  tqtran17:41
tqtranyeah just saw it17:42
*** lhcheng has joined #openstack-horizon17:42
tqtrancool! that makes it even easier :)17:42
tqtranno need to pass in context at all17:42
*** petertr7_away is now known as petertr717:42
tqtranhttps://github.com/openstack/horizon/blob/master/openstack_dashboard/settings.py#L28217:43
*** markus_z has quit IRC17:44
*** tyr has quit IRC17:44
*** alexpilotti has joined #openstack-horizon17:44
*** Piet has joined #openstack-horizon17:45
tqtranit looks like static_root is a folder path?17:45
openstackgerritDavid Lyle proposed openstack/horizon: Allow STATIC_ROOT override  https://review.openstack.org/20127017:45
*** nzeplowi has quit IRC17:46
*** kiran-r has quit IRC17:46
tqtrandavid-lyle: help me understand something, do we currently support having a different URL path for static and app?17:49
tqtranor are we expecting that the static be a sub URL of the app? we're not talking about file paths here17:49
*** nzeplowi has joined #openstack-horizon17:49
david-lyletqtran: django would support static being anywhere, we've forced it to be local17:49
david-lylebut there are two things here17:50
david-lyleSTATIC_URL which is where the static content is served from, that should honor WEBROOT17:50
ducttape_tqtran - I think I have already said - historically static has been outside of the django url path17:50
david-lyleand STATIC_ROOT which is just where the application should find the static content in the filesystem17:50
tqtranok, and WEBROOT is the app's starting url? or the server?17:52
david-lyleyes17:52
*** oro has joined #openstack-horizon17:52
david-lylethe url17:52
tqtranfor the app or server?17:52
david-lylethe url that I access Horizon at17:52
tqtranso url for the app?17:53
david-lylein devstack that would be /17:53
david-lylein the future is may be /dashboard17:53
david-lylethe server address is prepended on that when making requests17:53
tqtranand you're saying then that STATIC_URL should honor this17:53
david-lyleyes17:53
tqtranok, im saying the same thing :)17:54
david-lyleducttape_ is asking about static_root17:54
david-lylewhere the files are accessed from17:54
*** alexpilotti has quit IRC17:54
tqtranok, if thats the case, then i misunderstood him. but that has no relation to what matt's patch is trying to do17:54
tqtranall matt's patch is doing is saying, whatever the webroot is, let me expose that to the client-side17:55
ducttape_I think I have -1 one of matt's patches already, bringing up this point17:56
*** tosky has quit IRC17:56
ducttape_it seems to be lost on people17:56
ducttape_but if you want to make a rule to move STATIC_URL to reside within the wsgi path, then lets do that.   I think that's wrong, but I just need a clear decision on "do this, not that" or whatever17:57
david-lyleducttape_: so you want STATIC_URL at an arbitrary location as well?17:58
david-lyleor did I just miss the boat?17:58
tqtranyes, thats what eric is saying/want17:58
ducttape_btw - don't take me as an enemy here, I think I am one of the first larger deployments getting the launch instance changes in front of real users17:58
tqtrani sort of disagree with it, but im not a deployer and i dont quite understand the rationale for it17:59
david-lylejust trying to figure out what the request is17:59
david-lyleI think I wrapped it into another coversation17:59
tqtranlol yes you did17:59
david-lyle*conversation17:59
david-lylewell you were referring to STATIC_ROOT17:59
ducttape_in the past, STATIC_URL has been = "/static"  and the wsgi path has been "/horizon"  or "/dashboard"17:59
david-lyleducttape_: for your installation?18:00
ducttape_you *could* also set the wsgi path to be "/"18:00
ducttape_david-lyle - for mine, for older puppet modules, for ubuntus horizon package18:00
ducttape_I am speaking from common debian package background on what has been deployed / used18:01
david-lyleducttape_: so was horizon aliased in the apache conf for horizon or did you access it at https://server/horizon ?18:01
david-lylerather than https://server/18:02
ducttape_yep, it had the /horizon path18:02
ducttape_the big change now is that I need to move the /static  STATIC_URL path to be something like /horizon/static  to get stuff to work18:02
ducttape_it's not really a big change per se, but it's broken if you don't see this comming18:03
ducttape_and again, this is less flexible because now part of the url paths that previously were flexible - are no longer flexible18:03
ducttape_you have to nest the static url to be within the wsgi path18:03
tqtranducttape_: im not sure we changed that recently though, we didnt even touch it until matt's patch18:04
david-lyleI suppose as long at STATIC_URL is configurable that should work18:04
openstackgerritBrian Tully proposed openstack/horizon: WIP - Project Admin support for Domains  https://review.openstack.org/20127718:04
ducttape_it's now configurable -> but you have one correct choice18:05
*** garthb has quit IRC18:05
tqtrancan django be configured to allow users to access a url one level up from the application?18:05
ducttape_previously it was configurable (end of statement)18:05
ducttape_thats really an apache or wsgi host question, but the answer is yes18:06
david-lylecurrently /static is the only path that would work18:06
tqtranthat can get a bit tricky now that we have static resources with pathing requirement18:06
david-lyleby currently I mean for 2014.218:07
david-lyleit's a false option to set that to something else18:07
david-lyletqtran: it's just a URL18:07
*** kbrown has quit IRC18:08
*** cody-somerville has quit IRC18:09
tqtranbut that would mean we have 2 static_urls in settings (one is a django reserved, and the other an apache url where you can get static resources)18:09
david-lyledjango reserved?18:09
tqtranor are they one and the same?18:09
tqtranright now, STATIC_URL = WEBROOT + 'static/'18:09
tqtranare you saying that we can just replace that and things will work smoothly?18:10
david-lyleand to support that you have to add the alias in horizon.conf in your apache confi18:10
david-lyleg18:10
ducttape_STATIC_URL = WEBROOT + 'static/'   -> I would say this is wrong18:10
ducttape_and should probably look for instances of that, and change it18:11
*** aix has quit IRC18:11
david-lyletqtran: it should if all the webroot honoring fixes were done correctly18:11
tqtransounds really messy18:11
david-lylewhy?18:11
david-lylewhich part?18:12
tqtranso right now, we are passing STATIC_URL to the client18:12
david-lyleyup18:12
tqtranand if STATIC_URL is one level up, i'm not sure it will be possible for client to reach it?18:12
ducttape_why not?18:13
david-lyleapache controls that18:13
david-lyleif I tell apache to server /var/www/horizon/static at /static, it will18:13
david-lylethe access limitation in horizon are application induced18:14
tqtranright... i get that18:14
* ducttape_ wonders if anyone tells apache anything, always the last to know18:14
openstackgerritColeman Beasley proposed openstack/horizon: JSCS Cleanup-style guide cleanup for filters.js  https://review.openstack.org/19978918:15
*** mpavlase has quit IRC18:15
*** jwy has joined #openstack-horizon18:17
*** geoffarnold has quit IRC18:17
openstackgerritColeman Beasley proposed openstack/horizon: JSCS Cleanup-style guide cleanup for filters.js  https://review.openstack.org/19978918:20
david-lylewill post a patch to sit indefinitely18:20
david-lylethen try to work on better documentation18:20
tqtranok so let me bring up a scenario18:21
tqtranassume that static resources reside in localhost/static/*.**18:21
tqtranand horizon app at localhost/horizon/18:21
tqtranso my webroot would be /horizon/18:22
tqtranand my static_url would be?18:22
david-lylestatic/18:22
*** notmars has quit IRC18:23
tqtranok, so how does clientside know that static doesn't reside within webroot?18:23
tqtranwould it have to be '../static/'?18:23
tqtran*wouldn't it18:23
david-lylebecause they should be using the value for STATIC_URL and not some hard-coded url18:23
ducttape_tqtran - the templates from django would use src="{{ STATIC_URL }}/my_jacked_up.js"18:24
ducttape_or something like that18:24
david-lyleso, to take a step back18:24
*** bpokorny has joined #openstack-horizon18:24
tqtranbut from the clientside, when you're making a request, you're making the request relatively to where you are right?18:24
david-lyletqtran: you're passing in the URL18:24
ducttape_no, the client makes a complete request18:24
david-lyleyou can have it be whatever you want18:24
tqtranok i see18:25
tqtranright, it can also be relative18:25
david-lylethe current situation likely is because we couldn't put /static under a different WEBROOT in the past18:25
david-lyleit just didn't work18:25
tqtranok got it, so what changes (if any) do we need to make? seems like it should all work the way things are now?18:26
david-lylebut making it work both ways is probably the best path forward18:26
*** sqchen has joined #openstack-horizon18:26
david-lylewith Django, I could host my static content on another server if I wanted18:26
david-lyleso hardcoding that behavior is not ideal18:26
tqtransure, basically kind of like cdn18:26
david-lyleexactly like a cdn18:27
*** kbrown has joined #openstack-horizon18:28
david-lylewe can make the solution flexible so we don't break all downstream consumers in one fell swoop18:28
david-lyleat least not by that change18:28
david-lylethere will be others :(18:29
*** rwsu has quit IRC18:29
*** geoffarnold has joined #openstack-horizon18:29
*** pamo has quit IRC18:29
tqtranok, so the conversation we just had is all prior to matt's change. is there anything else we need to do at this point to get it working? it seems like it is all a config thing right?18:30
tqtranset static_url to whatever, then config apache to point to static resources correctly18:30
tqtranand it should all work w/o further code change right?18:30
david-lyleyeah, I can post a change for honoring static_url setting18:30
david-lylebut I need to look at Matt's change18:30
david-lylewhich change is that?18:31
tqtranhttps://review.openstack.org/#/c/181095/4118:31
tqtranhis change can come afterward18:31
tqtranand instead of relying on WEBROOT, it will rely on both WEBROOT for apis and STATIC_URL for static resources18:31
david-lylethat should be fine, but I will look more closely18:32
*** oro has quit IRC18:32
tqtranok, i'll update code accordingly18:32
david-lyleactually that patch looks like it's hardcoding the use of webroot on static resources18:34
david-lylewhich I assume was ducttape_'s issue with it18:34
tqtranyeah, thats what im changing18:34
tqtranwe were assumingn that statics came out of webroot, but thats no longer the case18:34
david-lylethat's the concern yes18:37
*** pamo has joined #openstack-horizon18:39
openstackgerritKyle Olivo proposed openstack/horizon: JSCS Cleanup - use $apply instead of $digest for action-list.spec  https://review.openstack.org/20128918:40
robcresswelltqtran: https://review.openstack.org/#/c/201235/18:41
*** kyleolivo has joined #openstack-horizon18:41
*** sayan has joined #openstack-horizon18:41
robcresswellThoughts? I don't think the original patch should've been pushed through with a -118:42
*** kyleolivo has left #openstack-horizon18:43
*** kyleolivo has joined #openstack-horizon18:43
tqtranreading18:43
tqtrani understand the need to do it in the directive, i have done that myself on several occasions18:44
tqtranbut its not necessary all the time in other cases18:45
*** kbrown has quit IRC18:45
* ducttape_ returns to read scrollback with a sammie18:45
tqtransure, having an assignment there does make it less fragile, but why assign if you're not going to use?18:46
robcresswellMy thinking atm is that its better to just explicitly do it. I would hate to be chasing down a bug in the tests to do with cleanup, that stuff becomes a pita very very fast18:46
*** kbrown has joined #openstack-horizon18:46
tqtranits an extra linting rule that doesn't have to be there 100% of the time. if you're writing a directive, then yes, have it there, but for other scenarios, i dont see the benefit18:46
tqtranlets say you're watching the scope in a controller, that gets automatically recycled for you. doesn't hurt to have an extra assignment, but you'll violate another linting rule if you dont use it18:47
*** Piet has quit IRC18:48
tqtranjust my personal take, if another core feels strongly about it, they can revert it, i dont have a strongly opinion on it18:49
openstackgerritShaoquan Chen proposed openstack/horizon: Identity dashboard's style should be customizable  https://review.openstack.org/20071818:49
robcresswellYeah maybe I'm being petty. IMO it just seems sensible to leave the rules on unless there is a very good reason not to. They only exist to help prevent issues.18:49
robcresswellAnd if this helps us catch more issues at the cost of a couple more lines of code, I'm okay with that18:50
robcresswellsqchen, any thoughts?18:50
tqtranagreed, most of those rules make sense. but we can't all agree on the same thing :)18:50
sqchenreading the conversation…18:51
*** ekarlso has quit IRC18:56
tqtrancould use some +1s on this patch when you guys have time, https://review.openstack.org/#/c/199349/18:57
*** ekarlso has joined #openstack-horizon18:58
*** Sukhdev has quit IRC18:59
robcresswelltqtran: That reqs lists 2.1.0.1 but https://pypi.python.org/pypi/XStatic-Angular-Gettext/ is 2.1.0.2?18:59
*** deuce has joined #openstack-horizon19:01
tqtranoh, hm... maybe openstackci uploaded a new version19:01
sqchenrobcresswell: tqtran: I prefer not force to unwatch in controllers, unnecessary boilerplate code. If we ad a watch in other scope (root scope for example), we should clean it up, other wise, we are doing it twice to try to clean-up in the same scope object.19:01
*** ongk has joined #openstack-horizon19:02
*** e0ne has joined #openstack-horizon19:02
*** julim has quit IRC19:03
tqtransqchen: so is that a vote to revert or no?19:03
robcresswellThat's a vote for no revert19:03
sqchennot revert.19:03
tqtranok, just wanted to confirm19:04
robcresswelltqtran: Looks like lhcheng got you with the "track your changes" stick19:05
tqtranhaha what?19:05
*** pamo_ has joined #openstack-horizon19:06
*** jingjing_ren has quit IRC19:06
*** julim has joined #openstack-horizon19:06
*** pamo has quit IRC19:07
tqtranhm...trying to figure out if i uploaded v2.1.0.2 or did openstackci did that19:08
robcresswelltqtran: on your global reqs patch19:08
*** e0ne is now known as e0ne_19:08
*** kzaitsev_mb has joined #openstack-horizon19:08
tqtranah... lol yeah19:09
tqtranlhcheng: i didnt really follow the discussion you had with randy, but is the license file suppose to be included in the tar ball?19:09
*** sayan has quit IRC19:11
tqtranok nvm, its not suppose to be included19:11
lhchengtqtran: yup. we only need to upload the sdist tar ball instead of the whole repo.19:12
sjmc7afternoon. i'm getting some errors with kilo's policy checks - a "NoSuchOptError: no such option: config_dir" error from openstack/common/policy (which has since been replaced by oslo_policy in liberty)19:15
sjmc7looks somewhat similar to https://bugs.launchpad.net/horizon/+bug/141651619:16
openstackLaunchpad bug 1416516 in OpenStack Dashboard (Horizon) "use of oslo config in code uses two different versions" [Medium,In progress] - Assigned to Nikunj Aggarwal (nikunj2512)19:16
sjmc7which was never resolved19:16
*** skylerberg has quit IRC19:17
*** deuce1 has joined #openstack-horizon19:18
robcresswelllhcheng: Just went to remove nikunj; you are fast!19:19
lhchengsjmc7: I removed the assignee, you can fix it if you like :)19:19
lhchengrobcresswell: hah19:19
sjmc7lhcheng :)  it looks like this was resolved in master by using oslo.policy (the whole openstack/common module is gone now)19:20
lhchengrobcresswell: I wonder if this should be fixed now..19:20
lhchengsjmc7: cool19:20
*** julim has quit IRC19:20
*** annashen has quit IRC19:20
sjmc7well, except that's not an option for a backport to kilo19:20
robcresswelllhcheng: Sorry, wonder if what should be fixed?19:21
*** annashen has joined #openstack-horizon19:21
*** deuce has quit IRC19:21
*** e0ne_ is now known as e0ne19:22
robcresswellsjmc7: I imagine if there is reason, you can propose a bugfix to kilo in this circumstance? Depends on risk.19:22
*** nlahouti has quit IRC19:22
lhchengrobcresswell: I think resync of the oslo code in kilo needs to happen19:22
*** nzeplowi has quit IRC19:23
sjmc7ok. i'm not totally clear, looking at oslo.config, what's causing the problem, but i guess i can have a go at it19:23
lhchengyeah, it have to be submitted directly to stable/kilo19:23
*** julim has joined #openstack-horizon19:23
robcresswelllhcheng: Big change though, right? Potential for breakages.19:23
sjmc7not sure how much risk there'll be19:23
*** annashen has quit IRC19:23
sjmc7it seems like a big change, yes. and a new dependency19:23
*** annashen has joined #openstack-horizon19:23
robcresswellsjmc7: Talk it over with lhcheng and the other kilo stable cores first19:23
lhchengI mean sync it with kilo version of oslo19:24
sjmc7ok. i'm not sure we're on the same page :)19:24
sjmc7the fix on master was to bring in oslo.policy, which seems like a big change to backport to kilo19:25
*** kyleolivo has quit IRC19:25
lhchengsjmc7: no, we're not backporting that19:25
sjmc7ok19:25
*** TravT has quit IRC19:25
*** kzaitsev_mb has quit IRC19:26
*** tyr has joined #openstack-horizon19:26
lhchengsjmc7: did you errors or just warning?19:27
lhcheng*you see19:27
sjmc7"Error while checking action permissions."19:27
openstackgerritRajat Vig proposed openstack/horizon: JSCS Cleanup - horizon/ tech-debt  https://review.openstack.org/19934519:27
sjmc7errors19:27
*** kzaitsev_mb has joined #openstack-horizon19:28
*** iamjarvo has quit IRC19:29
matt-borlandtqtran: I read your reply in comments on https://review.openstack.org/#/c/181095/19:29
tqtranand i replied to yours :)19:29
tqtranworking on the solution atm19:30
matt-borlandI'm talking about your very last reply19:30
tqtranah19:30
matt-borlandok, just want to know if you're addressing the configuration problem in another patch, or expecting this patch to deal with it19:30
tqtranno, the config is something david will address19:30
matt-borlandOK.19:30
openstackgerritChad Roberts proposed openstack/horizon: Adding option for Java jobs to be adapted to Oozie  https://review.openstack.org/18853919:31
matt-borlandSo it's a matter of splitting out the WEBROOT vs. STATIC_URL uses in this patch.19:31
*** Sukhdev has joined #openstack-horizon19:31
matt-borlandthat works for me19:31
*** kyleolivo has joined #openstack-horizon19:32
tqtranand the python fix for the launch instance button19:32
robcresswellI'm off, night all o/19:33
tqtrangnite robcresswell19:33
echozdoggit gui19:34
openstackgerritThai Tran proposed openstack/horizon: WIP Fix bug where WEBROOT is not respected  https://review.openstack.org/18109519:34
echozdogoops wrong window :/19:34
*** robcresswell has quit IRC19:34
matt-borlandtqtran: thanks for working on this19:35
matt-borlanddo you have your test env working?19:35
tqtranyep np, still need to add a few more things, WIP atm19:35
*** rajatvig has quit IRC19:41
*** jwy has quit IRC19:43
*** TravT has joined #openstack-horizon19:44
*** sqchen has quit IRC19:44
*** ybathia has quit IRC19:45
*** sqchen has joined #openstack-horizon19:45
*** rajatvig has joined #openstack-horizon19:47
annashendoes horizon support configurable external url in template?19:50
openstackgerritMerged openstack/horizon: Adding identity users table  https://review.openstack.org/19737319:50
*** kbrown has quit IRC19:51
*** ghundal_TW has quit IRC19:52
david-lyletqtran: how are policy and ldap config settings handled in https://review.openstack.org/#/c/197373/22 ?19:54
david-lyleI see a policy check for list users, but none for edit19:54
david-lyleand I see no check to disable the edit based on https://github.com/openstack/horizon/blob/master/openstack_dashboard/local/local_settings.py.example#L18519:55
*** rwsu has joined #openstack-horizon19:55
tqtranedit isn't in yet19:55
tqtranthe actions are coming in subsequent patches19:56
tqtranright now, if you click on the actions, nothing will happen19:56
tqtranthis patch introduces only the table19:56
david-lylehttps://review.openstack.org/#/c/197373/22/openstack_dashboard/dashboards/identity/static/dashboard/identity/users/table/table-row-actions.html line 8?19:56
tqtranyeah, action buttons are there, but it doesn't do anything19:57
*** jingjing_ren has joined #openstack-horizon19:57
tqtranthe callback isn't bound, so it resolves to null19:57
openstackgerritMerged openstack/horizon: Fix eslint error on framework.module.  https://review.openstack.org/20072519:57
david-lyleso we show actions that don't do anything?19:58
tqtranfor now yes19:58
tqtrani could include it all in one shot, but then the patch will sit there forever19:59
david-lylejust seems like an action should come in all at once20:01
*** echozdog1 has joined #openstack-horizon20:02
tqtranideally, yes, that should happen. but it would bloat the patch. this is easier to review imo. the dashboard is disabled by default, so i think it should be ok?20:02
tqtranright now, you only enable for testing, when we're done, we can enable it by default and remove the old one, it will be almost seamless20:03
*** cody-somerville has joined #openstack-horizon20:03
tqtran"almost"20:03
*** cody-somerville has quit IRC20:03
*** cody-somerville has joined #openstack-horizon20:03
*** e0ne is now known as e0ne_20:04
*** e0ne_ is now known as e0ne20:04
david-lyletqtran: I meant do the table patch first, add action view and handling in the next20:04
*** echozdog has quit IRC20:05
tqtranok, i can add another patch to remove all of the actions, but that is rather pointless considering that im about to add the action patches, which i would then have to re-include20:05
*** nzeplowi has joined #openstack-horizon20:05
tqtranplus, im planning on adding one action at a time, so having multiple patches that include html snippet would conflict20:06
tqtranand make it a bit harder, i would have to resolve merge conflict for each action patch i upload20:06
tqtranif i do it this way, i dont have to modify the html at all. just add the action to the controller and im set20:07
david-lylethat's what dependency chains are for, but I'm giving up20:07
david-lyleat this point it's pointless to revert, but when adding features we should think about how we're doing it20:07
david-lylewe're getting more debt than feature in general these days, so future promises don't mean much right now20:08
*** matt-borland has quit IRC20:08
david-lylewe're going to stop the debt train and fill in the gaps20:08
ducttape_https://review.openstack.org/#/c/197373/  tqtran - will each new rewrite require 400 lines of html / js code ???20:08
lhchengducttape_: that's just table20:09
ducttape_yeah, you are not helping lhcheng :p20:09
ducttape_it seems like we need the first example version of a table to really flush out "this is how you should do things, and this is reusable"20:10
*** deuce1 has quit IRC20:11
ducttape_if it means copy and paste 400 lines of whatever, it's going to get bananas quickly20:11
*** jwy has joined #openstack-horizon20:14
*** kyleolivo has quit IRC20:16
*** rwsu has quit IRC20:16
*** geoffarnold has quit IRC20:18
*** kyleolivo has joined #openstack-horizon20:18
*** lifeless has quit IRC20:20
*** lifeless has joined #openstack-horizon20:21
*** geoffarnold has joined #openstack-horizon20:21
*** garthb has joined #openstack-horizon20:25
*** dguerri` is now known as dguerri20:27
lhchengducttape_: I think we need to write high-level directives to reduce the boilerplate code20:27
lhchengthis is what horizon does for the django code20:27
ducttape_yeah, thats what I was looking for20:28
ducttape_on the ML I saw someone saying "should we stop python and really focus on angular 100%?"  - we need our first examples to be a bit more reusable / generally applicable in my mind20:29
lhchengideally, developers can write table/panel more easily without deep-diving into the details of django/angular20:29
*** rwsu has joined #openstack-horizon20:29
*** tyr_ has joined #openstack-horizon20:30
*** tyr has quit IRC20:30
lhchengand make it easy for other projects to develop panels on their own20:31
tqtranthat is in progress, we have plans for it20:31
tqtranwe're just taking baby steps atm20:31
*** geoffarn_ has joined #openstack-horizon20:31
ducttape_yep. if I was to work on designate rewrite of stuff for this angular stuff, I have no idea where I would start.  and it would not end up very pretty*    *to be fair, most of my code is not pretty20:32
ducttape_;)20:32
*** pamo_ has quit IRC20:32
david-lyle*true story20:33
*** geoffarnold has quit IRC20:33
*** nlahouti has joined #openstack-horizon20:36
david-lyleThe goal is a reference implementation, we are fighting two things20:37
david-lyle1) we're starting from scratch and making many mis-steps20:37
david-lylethis is to be expected20:37
david-lyle2) understanding of this existing framework is spotty and that's creating problems20:38
david-lyleand the bonus item20:38
david-lyle3) we're racing so fast, we're leaving things half done20:38
david-lylewhich in the end just slows us down more20:39
david-lylebecause people are busy trying to put out the fires from all this creation20:39
ducttape_4) PROFIT20:39
* ducttape_ is the reason david-lyle can't have nice things20:40
TravTI wouldn't exactly call taking 2 years to get anything real in angular "racing"  :P20:40
david-lyleI'm on an opportunity based compensation system20:40
david-lylenot throughout the whole process, but we have this illusion that we're going to make up for lost time20:41
*** annashen has quit IRC20:41
tqtranto be fair, i have a huge patch with all of the contents already there, and it sat there for quite some time. all i really have to do is move that logic into small patches. so the work is already there, its just a matter of patch presentation for easier review.20:42
david-lyletqtran: the table patch has been there for a long time. the underlying framework to make it reality has been lacking20:43
david-lylewe're getting much closer on that front20:44
david-lyleI agree20:44
david-lyleand we'll continue to build the example20:44
TravTso, i got the images table done base on the user's patch, but the next thing i'm starting to look at is making it into a directive.20:44
TravTbecause we need that to share between dashboards without copy paste20:44
david-lylebut as with the first on anything, we figure out what we don't know and what we need that's not there20:45
TravTbut I for one was happy to see the patches get broken down.20:45
TravTand it is often difficult to create a pattern from a single concrete instance20:45
*** sqchen has quit IRC20:45
TravTfor example identity users, doesn't have the admin / project need that images and instance have20:45
david-lyleyou're welcome20:46
david-lyle:P20:46
*** geoffarnold has joined #openstack-horizon20:46
openstackgerritTravis Tripp proposed openstack/horizon: Adding Angular Images Project Panel  https://review.openstack.org/20032420:47
*** geoffarn_ has quit IRC20:48
david-lyleFor me, the problem comes in the form that we're building an example. Absorbing a ton of tech debt and reorganizing the entire code tree, as well as changing the name of anything to conform to a style guide.  Individually all are great, together it becomes very chaotic.20:49
david-lylein it what actually works about the existing application is getting lost20:50
openstackgerritTravis Tripp proposed openstack/horizon: Adding Angular Project Images Panel  https://review.openstack.org/20032420:51
ducttape_david-lyle - so like TravT's review above, is very much partial20:51
ducttape_even says so in the checkin comments pretty much20:52
openstackgerritTravis Tripp proposed openstack/horizon: Adding Angular Project Images Table  https://review.openstack.org/20038520:52
ducttape_it seems like it is inappropriate to merge half-done stuff20:52
*** tyr_ has quit IRC20:52
*** tyr has joined #openstack-horizon20:53
ducttape_what if I like TravT's checkin above, but the follow on is something I detest?  We are stuck at that point20:53
*** Piet has joined #openstack-horizon20:54
PietUX Project proposal: https://review.openstack.org/#/c/199768/20:54
*** notmars has joined #openstack-horizon20:54
ducttape_I know this is trying to do complex stuff, and we are fining our way here, but just exploring what is ok / not so ok20:54
*** nzeplowi has quit IRC20:54
*** tyr has quit IRC20:54
*** tyr has joined #openstack-horizon20:54
TravThad we followed that approach, nothing in launch instance would have made it in.20:58
*** deuce has joined #openstack-horizon20:59
*** dguerri is now known as dguerri`21:00
ducttape_I would have said launch instance could have used more of that, after trying to deploy it21:00
*** annashen has joined #openstack-horizon21:01
*** echozdog has joined #openstack-horizon21:01
*** Piet has quit IRC21:02
*** geoffarn_ has joined #openstack-horizon21:03
*** sqchen has joined #openstack-horizon21:03
*** geoffarnold has quit IRC21:04
*** echozdog1 has quit IRC21:04
openstackgerritTravis Tripp proposed openstack/horizon: Adding Angular Project Images Panel  https://review.openstack.org/20032421:04
openstackgerritKyle Olivo proposed openstack/horizon: JSCS Cleanup - Fix ng-di errors on cloud-services  https://review.openstack.org/19884021:05
*** ybathia has joined #openstack-horizon21:05
TravTbecause you had issues with deploying in different env.21:05
TravTwhich you couldn't have even tried if there was no code to deploy21:05
* TravT starts thinking angboard was a good idea21:05
ducttape_TravT - would you recomend I try helion then?21:05
ducttape_everyone is in "a different environment"21:06
TravTmy point21:06
TravTexactly21:06
TravTmaybe we should revert to python mixins.21:07
*** crobertsrh is now known as _crobertsrh21:07
r1chardj0n3smorning all21:07
TravTr1chardj0n3s: morning21:07
ducttape_not sure I get it, but ok.  I'm not pushing back on angular, I am pushing back on code that is halfway complete21:07
r1chardj0n3sthis sounds like an interesting discussion I've stumbled into ;)21:07
*** mwhagedorn has joined #openstack-horizon21:08
ducttape_stuff that is missing docs / communication on how stuff needs to be configured / followed as an example etc21:08
*** Berezin has quit IRC21:08
TravThere's the recap: it is hared to move a code base forward.  and apparently if you can't completely rewrite the app in one big patch so that it is ready for the world to consume, you shouldn't do it.21:09
*** absubram has quit IRC21:09
r1chardj0n3souch, yeah21:09
ducttape_part of that I agree with TravT ;)21:10
openstackgerritTravis Tripp proposed openstack/horizon: Adding Angular Project Images Panel  https://review.openstack.org/20032421:10
*** Berezin has joined #openstack-horizon21:10
*** geoffarn_ has quit IRC21:10
r1chardj0n3sso yeah, it's hard, but you gotta address all that tech debt or it becomes impossible to get anything done21:11
TravTyeah, not an easy task any way you look at it.21:11
*** doug-fish has left #openstack-horizon21:11
openstackgerritTravis Tripp proposed openstack/horizon: Adding Angular Project Images Table  https://review.openstack.org/20038521:12
david-lyleTravT: I don't think any one is arguing the difficulty, but some of the debt got swept and newer shiny things are taking their place21:12
*** Berezin has quit IRC21:12
r1chardj0n3sand rewrites from scratch are almost never a good idea21:12
david-lylewe added missing tests to launch, so that part got addressed +121:13
david-lylewe're addressing localization, also +121:13
david-lyleextensibility and documentation are not21:14
david-lyleand those are key hurdles for deployers21:14
ducttape_I think TravT and tqtran, maybe r1chardj0n3s too, has enough insight to write docs on "this is how others should extend horizon in the new world"   Having some vision of this would help me21:14
tqtranextensibility right now follows the old way, we havent change that21:15
TravTdavid-lyle: we made docs and getting the patches for LI done a top priority21:15
tqtranits part of the plugin architecture that we have had for some time now21:15
TravTand that has been what we spent most our time on to this point in Liberty21:16
TravTagreed whole heartedly on extensiblity21:16
david-lyleorly?21:16
tqtranthe only "new" thing is how you can extend angular, but that cant be documented if the patch for it is still going in21:16
ducttape_tqtran - the plugin stuff is pretty thin right now, and eventually you are doing a lot of python stuff21:16
*** clu__ has quit IRC21:16
*** matt-borland has joined #openstack-horizon21:16
*** jingjing_ren has quit IRC21:18
*** lblanchard has quit IRC21:19
openstackgerritTravis Tripp proposed openstack/horizon: Adding Angular Project Images Table  https://review.openstack.org/20038521:20
openstackgerritThai Tran proposed openstack/horizon: WIP Fix bug where WEBROOT is not respected  https://review.openstack.org/18109521:21
*** neelashah has quit IRC21:21
*** bpokorny has quit IRC21:23
*** jbell8 has quit IRC21:26
TravTso, i think we should work on the shareable directives next, like lhcheng mentioned.21:26
TravTtqtran^21:26
TravTbut, we can't do it at the expense of customization21:27
*** matt-borland has quit IRC21:28
*** Sukhdev has quit IRC21:31
*** dboik_ has joined #openstack-horizon21:31
*** neelashah has joined #openstack-horizon21:34
*** e0ne has quit IRC21:35
*** dboik has quit IRC21:35
openstackgerritTyr Johanson proposed openstack/horizon: Dashboard ReOrg - Move tech-debt into app/  https://review.openstack.org/19735321:35
*** dboik_ has quit IRC21:36
openstackgerritColeman Beasley proposed openstack/horizon: JSCS Cleanup-style guide cleanup for filters.js  https://review.openstack.org/19978921:40
*** nzeplowi has joined #openstack-horizon21:41
*** nzeplowi has quit IRC21:42
*** jingjing_ren has joined #openstack-horizon21:42
*** cody-somerville has quit IRC21:44
*** Sukhdev has joined #openstack-horizon21:44
*** Piet has joined #openstack-horizon21:45
*** julim has quit IRC21:46
openstackgerritTyr Johanson proposed openstack/horizon: Dashboard ReOrg - Move workflow into app/core  https://review.openstack.org/19734721:48
openstackgerritDan Nguyen proposed openstack/horizon: Makes policy.check aware of domain scoped token  https://review.openstack.org/19606821:49
openstackgerritTyr Johanson proposed openstack/horizon: Dashboard ReOrg - Move cloud-services into app/core  https://review.openstack.org/19733421:50
*** jtriley has quit IRC21:51
openstackgerritTyr Johanson proposed openstack/horizon: Dashboard ReOrg - Move APIs into app/core  https://review.openstack.org/19733021:52
*** albertom has quit IRC21:58
*** cody-somerville has joined #openstack-horizon21:58
krotscheckr1chardj0n3s: I guess we disagree on best practices, eh?22:00
r1chardj0n3skrotscheck: in this single instance, yes22:00
krotscheckr1chardj0n3s: That's ok, you're allowed to be wrong. :)22:00
r1chardj0n3sit's like asking Python developers to manually invoke __del__ all over22:00
krotscheckr1chardj0n3s: It's really not. __del__ is a language construct. on($destroy) is a framework construct.22:01
r1chardj0n3s... and on($destroy) will be called *because the framework is cleaning up*22:01
* r1chardj0n3s shakes head22:01
tqtranI'll have to side with r1chardj0n3s  on this22:02
krotscheckr1chardj0n3s: At no point does the framework actually guarantee that. There's no specification, as there is with python, that does that. Furthermore, it _never_ guards against an engineer not dereferencing properly and having the scope destruction not catch the event listener anyway.22:02
*** rajatvig has quit IRC22:02
*** jcoufal has joined #openstack-horizon22:02
*** tjones1 has joined #openstack-horizon22:02
*** kyleolivo has quit IRC22:03
*** petertr7 is now known as petertr7_away22:03
krotscheckr1chardj0n3s, tqtran: Tell ya what. Show me a framework specification that _explicitly guarantees it_ and makes sure that every version of angular out there will do this, or be ejected from their packaging, and I'll side with you.22:04
openstackgerritTravis Tripp proposed openstack/horizon: Adding Angular Project Images Table  https://review.openstack.org/20038522:04
krotscheckBut you can't. Because there isn't.22:04
*** albertom has joined #openstack-horizon22:04
krotscheckBut hey, if you want horizon to leave dangling listeners all over the place, that's your prerogative as core.22:04
*** jcoufal_ has joined #openstack-horizon22:04
tqtranI agree that for directives, an explicit removal of it might be needed, but im just not sure we want a blanket approach22:05
krotschecktqtran: Engineers are creatures of habit, we like to do things one way. If we set a rule in place that is "Do this thing, except in case X Y and Z", then you're muddying the water.22:06
krotscheckIt assumes that everyone who reads that rule has enough expert understanding to know why X, Y, and Z.22:06
*** tvanderwiel has quit IRC22:07
*** ydixon has joined #openstack-horizon22:07
*** jcoufal has quit IRC22:07
*** rajatvig has joined #openstack-horizon22:08
*** kyleolivo has joined #openstack-horizon22:08
*** ybathia has quit IRC22:08
PietPlease +1 the UX Project proposal? https://review.openstack.org/#/c/199768/  That is assuming that you are comfortable with it!  If not, then please let me know why.22:09
openstackgerritKyle Olivo proposed openstack/horizon: JSCS Cleanup - Fix ng-di errors on cloud-services  https://review.openstack.org/19884022:09
*** peristeri has quit IRC22:11
*** deuce has quit IRC22:13
*** jcoufal_ has quit IRC22:15
*** pauloewerton has quit IRC22:18
openstackgerritThai Tran proposed openstack/horizon: WIP Fix bug where WEBROOT is not respected  https://review.openstack.org/18109522:18
*** alexpilotti has joined #openstack-horizon22:19
*** tyr has quit IRC22:25
openstackgerritKyle Olivo proposed openstack/horizon: JSCS Cleanup - Fix ng-di errors on cloud-services  https://review.openstack.org/19884022:26
*** rajatvig has quit IRC22:26
*** pamo has joined #openstack-horizon22:27
*** rajatvig has joined #openstack-horizon22:28
*** mpavlase has joined #openstack-horizon22:30
*** nzeplowi has joined #openstack-horizon22:30
*** bradjones has quit IRC22:33
r1chardj0n3skrotscheck: creatures of habit, indeed22:36
*** ybathia has joined #openstack-horizon22:39
*** mpavlase has quit IRC22:40
openstackgerritKyle Olivo proposed openstack/horizon: Disable angular/ng_window_service on the service-api specs  https://review.openstack.org/19933322:44
TravTdavid-lyle: are you around?22:45
david-lyleTravT: for a minute, just about to leave22:46
david-lylewhat's up?22:46
TravTbetween dashboards today22:47
TravTe.g. admin and project22:47
openstackgerritKBrown proposed openstack/horizon: JSCS Cleanup - Fix eslint errors in flavor  https://review.openstack.org/20135922:47
*** jtriley has joined #openstack-horizon22:47
TravTi can disable project and admin can still function, because the python packages are server side22:48
pamoTravT: where does _100_project_images_panel.py live?22:49
pamore: https://review.openstack.org/#/c/200385/12//COMMIT_MSG22:49
TravTpamo: will update that commit message22:49
tqtranpamo its 103_22:49
*** stevemar has quit IRC22:50
TravTdavid-lyle: sorry, three people talking to me22:50
david-lyleI was trying to stake out _100 - _110 for data_processing, but shrug22:50
david-lyleeasy to rename22:51
TravTdavid-lyle: can change that22:51
TravTanyway, on the js side,22:51
TravTif we disable project22:51
TravTnone of the js come to client side22:51
*** stevemar has joined #openstack-horizon22:51
TravTright?22:51
TravTor am i missing something?22:51
TravTjust starting to look at sharing images table js from project to admin22:51
*** notmars has quit IRC22:51
openstackgerritLin Hua Cheng proposed openstack/django_openstack_auth: Configurable token hashing  https://review.openstack.org/20136022:52
*** rwsu has quit IRC22:52
david-lylemy original intent was to use RBAC to combine the project and admin dash22:53
TravTyeah, i was wondering about that as well...22:53
david-lylesince there are more than two roles we should be worrying about22:53
david-lylethe problem is, it does provide a nice contextual split between operating on one thing I own and any of a number of things in a larger collection22:54
david-lyleso I backed off on that a bit22:54
david-lylebut even if the JS goes to the client side, the RBAC in the services will block the call22:54
david-lylefor some common items like usage, we have openstack_dashboard/usage today22:55
TravTso we could put all of images in the openstack_dashboard/static/images22:55
*** rajatvig has quit IRC22:55
TravTnot quite that.. but just not under project22:56
david-lyleif we want to share static content across dashboards I would think we just need to move it to a common level22:56
*** stevemar has quit IRC22:56
david-lyleright22:56
TravTand then within project we still have html, we just pull in that stuff22:56
TravTsince it is part of core app22:56
TravTvia directive perhaps22:56
david-lylemakes sense to me22:56
david-lyleeven iIFwe address the funky UX of project/admin dashes, we would still need what you're suggesting in the interim22:57
openstackgerritKyle Olivo proposed openstack/horizon: Use an explict __globalTestHelpers__ instead of window in service-api specs  https://review.openstack.org/19933322:57
david-lyle*even IF22:57
david-lyleso I'd go with that22:58
*** cody-somerville has quit IRC22:58
openstackgerritKyle Olivo proposed openstack/horizon: JSCS Cleanup - Use explict __globalTestHelpers__ in service-api specs  https://review.openstack.org/19933322:58
TravTwell, i'll play with that a bit22:58
openstackgerritDan Nguyen proposed openstack/horizon: Multidomain false and project admin support  https://review.openstack.org/19925122:58
david-lyleTravT: have fun :)22:58
TravTwheee!!!22:59
*** rajatvig has joined #openstack-horizon22:59
david-lyleI have a board to hit your head with if that doesn't prove sufficiently enjoyable :P22:59
TravTlol22:59
tqtrani have a sign that says "bang your head here"22:59
david-lyleI'm thinking about reinforcing my walls in my office23:00
david-lyletoo many dents23:00
tqtranlol23:00
openstackgerritKyle Olivo proposed openstack/horizon: JSCS Cleanup - Fix eslint metadata-tree widgets.  https://review.openstack.org/20075223:00
david-lylehave to run, later23:01
TravTttyl23:01
openstackgerritKBrown proposed openstack/horizon: JSCS Cleanup - Fix eslint errors in source spec file  https://review.openstack.org/20136323:01
*** Drago has quit IRC23:02
*** tjones1 has quit IRC23:05
*** jingjing_ren has quit IRC23:09
openstackgerritDan Nguyen proposed openstack/horizon: Multidomain false and project admin support  https://review.openstack.org/19925123:10
*** nzeplowi has quit IRC23:11
openstackgerritDan Nguyen proposed openstack/horizon: WIP - Project Admin support for Domains  https://review.openstack.org/20127723:12
*** mgarza_ has quit IRC23:12
*** nzeplowi has joined #openstack-horizon23:13
*** ducttape_ has quit IRC23:16
*** deuce has joined #openstack-horizon23:17
*** jtriley has quit IRC23:18
*** chlong-afk has joined #openstack-horizon23:18
*** darrenc is now known as darrenc_afk23:19
openstackgerritDan Nguyen proposed openstack/django_openstack_auth: Makes policy.check aware of domain scoped token  https://review.openstack.org/19632823:21
*** jtriley has joined #openstack-horizon23:22
*** yamamoto has joined #openstack-horizon23:23
*** yamamoto has quit IRC23:23
*** deuce has quit IRC23:25
*** nzeplowi has quit IRC23:26
openstackgerritKyle Olivo proposed openstack/horizon: JSCS Cleanup - Fix eslint metadata-tree widgets.  https://review.openstack.org/20075223:33
*** chlong-afk has quit IRC23:36
kzaitsev_mbfolks, I've had a conversation with dims from oslo today, and he suggested I volounteer as a OSLO CPL (https://wiki.openstack.org/wiki/CrossProjectLiaisons) for horizon. I would gladly do so, but I feel, that this should be approved by horizon community, since I'm not (at least not yet =)) a well known top contributor to horizon. What do you think?23:37
*** nzeplowi has joined #openstack-horizon23:38
kzaitsev_mbShould I ask about this during the next meeting this Wednesday, for example?23:38
lhchengkzaitsev_mb: that sounds good23:40
lhchengadd it to the next meeting agenda: https://wiki.openstack.org/wiki/Meetings/Horizon23:40
*** kyleolivo has quit IRC23:42
lhchengkzaitsev_mb: we also have something for you that we need help with :)23:42
lhchenghttps://bugs.launchpad.net/horizon/+bug/141651623:42
openstackLaunchpad bug 1416516 in OpenStack Dashboard (Horizon) "use of oslo config in code uses two different versions" [Medium,Confirmed]23:42
*** kyleolivo has joined #openstack-horizon23:42
*** darrenc_afk is now known as darrenc23:42
*** ducttape_ has joined #openstack-horizon23:44
*** jwy1 has joined #openstack-horizon23:44
*** Sukhdev has quit IRC23:44
*** nzeplowi has quit IRC23:45
*** jwy has quit IRC23:47
*** ducttape_ has quit IRC23:48
*** kyleolivo has quit IRC23:52
*** yamamoto has joined #openstack-horizon23:52
*** kyleolivo has joined #openstack-horizon23:52
*** stevemar has joined #openstack-horizon23:53
*** annashen has quit IRC23:54
*** kyleolivo has quit IRC23:54
*** kyleolivo has joined #openstack-horizon23:55
*** ydixon has quit IRC23:56
*** nzeplowi has joined #openstack-horizon23:57
*** stevemar has quit IRC23:57
*** bradjones has joined #openstack-horizon23:58
*** bradjones has quit IRC23:58
*** bradjones has joined #openstack-horizon23:58
openstackgerritKBrown proposed openstack/horizon: JSCS Cleanup - Fix eslint errors in workflow file  https://review.openstack.org/20137423:59

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