Thursday, 2015-07-09

tqtrankrotscheck: one last request, commented on patch :P00:03
krotschecktqtran: Is that also an angular component?00:04
tqtranyup, recently written00:04
krotschecktqtran: Dude, you could have added that comment to your first review :-P00:04
tqtranlol well, i thought that you could disable plugins at subdir level00:04
tqtranbut apparently you cant, so i didnt mention it00:04
*** mayurig has quit IRC00:05
*** nzeplowi has quit IRC00:05
openstackgerritMichael Krotscheck proposed openstack/horizon: Add selective ESLint rule activation for Horizon Legacy JS  https://review.openstack.org/19579900:06
krotscheckThere ya go.00:06
tqtranperfect! I'll +2 as soon as it passes gate00:06
*** nzeplowi has joined #openstack-horizon00:08
*** nzeplowi has quit IRC00:09
*** pamo has quit IRC00:13
*** Piet has joined #openstack-horizon00:14
*** darrenc is now known as darrenc_afk00:14
*** jingjing_ren has quit IRC00:18
openstackgerritColeman Beasley proposed openstack/horizon: fix a couple lint errors in filters.js  https://review.openstack.org/19978900:21
openstackgerritThai Tran proposed openstack/horizon: Remove hz dashboard module from enabled  https://review.openstack.org/19979100:24
*** yingjun has joined #openstack-horizon00:24
*** darrenc_afk is now known as darrenc00:26
*** jamielennox is now known as jamielennox|away00:29
openstackgerritThai Tran proposed openstack/horizon: Adding identity users table  https://review.openstack.org/19737300:34
*** jamielennox|away is now known as jamielennox00:39
deuce@krotscheck: I have a question about the eslint rule changes.00:39
deucesince there are so few violations in horizon/static/auth/, would it be worthwhile just to fix them? I'd be willing to do it00:39
*** skylerberg has quit IRC00:45
*** dsneddon is now known as dsneddon_away00:45
*** mwhagedorn has joined #openstack-horizon00:48
*** jingjing_ren has joined #openstack-horizon00:49
*** garthb has quit IRC00:49
*** Piet has quit IRC00:51
*** nzeplowi has joined #openstack-horizon00:51
*** jingjing_ren has quit IRC00:53
openstackgerritThai Tran proposed openstack/horizon: Adding Angular-gettext to requirements  https://review.openstack.org/19724400:56
*** Piet has joined #openstack-horizon00:57
*** nzeplowi has quit IRC00:57
openstackgerritShaoquan Chen proposed openstack/horizon: Dashboard ReOrg - Relocate Launch Instance module  https://review.openstack.org/19723400:57
*** tqtran has quit IRC00:59
*** piyanai has joined #openstack-horizon01:00
*** nlahouti has quit IRC01:00
*** btully has quit IRC01:10
*** amotoki has joined #openstack-horizon01:10
*** davidmichaelkarr has quit IRC01:17
*** yingjun has quit IRC01:19
*** yingjun has joined #openstack-horizon01:19
*** tjones1 has quit IRC01:27
openstackgerritDan Nguyen proposed openstack/horizon: WIP: Multidomain false and project admin support  https://review.openstack.org/19925101:28
*** dguerri` is now known as dguerri01:29
*** saksham_ has quit IRC01:33
*** jasondotstar has joined #openstack-horizon01:35
*** deuce has quit IRC01:39
*** bitblt has quit IRC01:45
*** ybathia has quit IRC01:47
*** davidmichaelkarr has joined #openstack-horizon01:48
*** Sukhdev has quit IRC01:48
*** TravT has joined #openstack-horizon01:51
*** TravT is now known as TravT_away01:51
openstackgerritDan Nguyen proposed openstack/horizon: WIP: Multidomain false and project admin support  https://review.openstack.org/19925101:56
*** sqchen has quit IRC01:57
*** jwy has quit IRC02:06
*** mwhagedorn has quit IRC02:07
*** Sukhdev has joined #openstack-horizon02:11
*** dguerri is now known as dguerri`02:17
*** Sukhdev has quit IRC02:20
*** dguerri` is now known as dguerri02:22
*** dguerri is now known as dguerri`02:25
*** annashen has joined #openstack-horizon02:26
*** gyee has quit IRC02:28
*** dguerri` is now known as dguerri02:30
*** yamamoto has joined #openstack-horizon02:32
*** dguerri is now known as dguerri`02:34
*** lhcheng has quit IRC02:35
*** stevemar has joined #openstack-horizon02:40
*** annashen has quit IRC02:42
*** annashen has joined #openstack-horizon02:42
*** annashen has quit IRC02:43
*** btully has joined #openstack-horizon02:48
*** btully has quit IRC02:53
*** mwhagedorn has joined #openstack-horizon02:57
*** sqchen has joined #openstack-horizon02:59
*** sqchen has quit IRC02:59
*** nzeplowi has joined #openstack-horizon03:04
*** mayurig has joined #openstack-horizon03:06
*** lhcheng has joined #openstack-horizon03:09
*** mayurig has quit IRC03:10
*** andrewbogott is now known as andrewbogott_afk03:14
*** nzeplowi has quit IRC03:14
*** nzeplowi has joined #openstack-horizon03:16
*** annashen has joined #openstack-horizon03:17
*** garthb has joined #openstack-horizon03:20
*** garthb has quit IRC03:20
*** garthb has joined #openstack-horizon03:20
*** garthb_ has joined #openstack-horizon03:20
*** nzeplowi has quit IRC03:22
*** jamielennox is now known as jamielennox|away03:22
*** jamielennox|away is now known as jamielennox03:31
*** piyanai has quit IRC03:34
*** piyanai has joined #openstack-horizon03:34
*** julim has quit IRC03:36
*** julim has joined #openstack-horizon03:37
*** julim has quit IRC03:37
*** amotoki has quit IRC03:37
*** jasondotstar has quit IRC03:37
*** yamamoto has quit IRC03:45
*** piyanai has quit IRC03:47
*** yingjun has quit IRC03:51
*** kiran-r has joined #openstack-horizon03:51
*** yamamoto has joined #openstack-horizon03:51
*** amotoki has joined #openstack-horizon03:51
*** mwhagedorn has quit IRC03:57
*** Drago has quit IRC04:01
*** vishwanathj has quit IRC04:02
*** vishwanathj has joined #openstack-horizon04:03
*** piyanai has joined #openstack-horizon04:05
*** vishwana_ has joined #openstack-horizon04:07
*** vishwanathj has quit IRC04:09
*** yamamoto has quit IRC04:12
*** vijendar has quit IRC04:12
*** vijendar has joined #openstack-horizon04:13
*** amotoki has quit IRC04:17
*** pamo has joined #openstack-horizon04:18
*** amotoki has joined #openstack-horizon04:23
*** kiran-r has quit IRC04:25
*** amotoki has quit IRC04:33
*** piyanai has quit IRC04:37
*** pamo has quit IRC04:40
*** amotoki has joined #openstack-horizon04:43
*** pamo has joined #openstack-horizon04:44
*** davidmichaelkarr has quit IRC04:47
*** pamo has quit IRC04:49
*** annashen has quit IRC04:50
*** pamo has joined #openstack-horizon04:52
*** masco__ has joined #openstack-horizon04:54
*** nzeplowi has joined #openstack-horizon04:58
*** btully has joined #openstack-horizon05:01
*** davidmichaelkarr has joined #openstack-horizon05:05
*** yamamoto has joined #openstack-horizon05:10
*** vijendar1 has joined #openstack-horizon05:14
*** vijendar has quit IRC05:16
*** stevemar has quit IRC05:22
*** Sukhdev has joined #openstack-horizon05:25
*** garthb has quit IRC05:48
*** garthb_ has quit IRC05:48
*** ig0r_ has joined #openstack-horizon05:51
*** ig0r__ has quit IRC05:55
*** pamo has quit IRC06:00
*** yingjun has joined #openstack-horizon06:01
*** yingjun has quit IRC06:03
openstackgerritOpenStack Proposal Bot proposed openstack/horizon: Imported Translations from Transifex  https://review.openstack.org/19988106:06
*** yingjun has joined #openstack-horizon06:08
*** aix has joined #openstack-horizon06:09
openstackgerritOpenStack Proposal Bot proposed openstack/django_openstack_auth: Imported Translations from Transifex  https://review.openstack.org/19988906:10
openstackgerritThai Tran proposed openstack/horizon: Adding identity users table  https://review.openstack.org/19737306:16
*** jtomasek has joined #openstack-horizon06:16
*** kiran-r has joined #openstack-horizon06:19
*** josecastroleon has quit IRC06:22
*** annashen_ has joined #openstack-horizon06:27
*** jbell8 has joined #openstack-horizon06:33
*** nzeplowi has quit IRC06:36
*** dguerri` is now known as dguerri06:40
*** yingjun has quit IRC06:43
*** annashen_ has quit IRC06:45
*** dguerri is now known as dguerri`06:46
*** bfic has joined #openstack-horizon06:46
*** yingjun has joined #openstack-horizon06:46
*** _kiran_ has joined #openstack-horizon06:48
*** kiran-r has quit IRC06:51
*** lhcheng has quit IRC06:52
*** rdopiera has joined #openstack-horizon06:53
*** mpavlase has joined #openstack-horizon06:53
*** sqchen has joined #openstack-horizon06:57
*** ybathia has joined #openstack-horizon07:03
*** ybathia_ has joined #openstack-horizon07:04
*** ybathia has quit IRC07:07
*** ybathia_ is now known as ybathia07:07
*** _kiran_ has quit IRC07:08
*** TravT_away has quit IRC07:08
*** Piet has quit IRC07:10
*** Longgeek has quit IRC07:10
*** belmoreira has joined #openstack-horizon07:15
*** mrunge has joined #openstack-horizon07:16
*** Miouge has joined #openstack-horizon07:20
*** belmoreira has quit IRC07:21
*** Sukhdev has quit IRC07:25
*** krykowski has joined #openstack-horizon07:28
*** belmoreira has joined #openstack-horizon07:28
openstackgerritJasonPan proposed openstack/horizon: Fix CSS GET None when mouse over the table cell  https://review.openstack.org/19992307:29
openstackgerritMasco Kaliyamoorthy proposed openstack/horizon: Support of rescue instance in Horizon  https://review.openstack.org/10737907:35
openstackgerritShaoquan Chen proposed openstack/horizon: [Launch Instance Fix] Show Admin Password  https://review.openstack.org/17145007:36
*** stevemar has joined #openstack-horizon07:37
*** kzaitsev_mb has joined #openstack-horizon07:38
*** stevemar has quit IRC07:40
*** btully has quit IRC07:43
*** lhcheng has joined #openstack-horizon07:44
*** jbell8 has quit IRC07:46
*** Sukhdev has joined #openstack-horizon07:46
*** amotoki_ has joined #openstack-horizon07:47
*** amotoki has quit IRC07:49
*** Longgeek has joined #openstack-horizon07:50
*** yamamoto has quit IRC07:52
*** sayan has joined #openstack-horizon07:53
*** sayan_ has joined #openstack-horizon07:53
*** krykowski has quit IRC07:54
*** krykowski_ has joined #openstack-horizon07:57
*** ^Gal^ has joined #openstack-horizon07:57
*** pamo has joined #openstack-horizon07:58
*** bluex-pl has joined #openstack-horizon07:59
*** sayan has quit IRC07:59
*** bluex-pl has quit IRC08:00
*** sayan_ has quit IRC08:00
*** bluex-pl has joined #openstack-horizon08:00
*** Sukhdev has quit IRC08:02
*** pamo has quit IRC08:02
*** Ala has joined #openstack-horizon08:02
*** krykowski_ has quit IRC08:03
*** kzaitsev_mb has quit IRC08:03
*** jasondotstar has joined #openstack-horizon08:04
*** mrunge has quit IRC08:07
*** yamamoto has joined #openstack-horizon08:07
*** ^Gal^ has quit IRC08:11
*** saksham has joined #openstack-horizon08:12
*** sayan_ has joined #openstack-horizon08:12
*** saksham has quit IRC08:12
*** sayan has joined #openstack-horizon08:14
*** neillc is now known as neillc_away08:14
*** kzaitsev_mb has joined #openstack-horizon08:15
*** MaxV has joined #openstack-horizon08:17
*** ^Gal^ has joined #openstack-horizon08:18
*** kzaitsev_mb has quit IRC08:20
*** sqchen has quit IRC08:22
*** katyafervent_awa is now known as katyafervent08:24
*** Longgeek has quit IRC08:25
*** akrivoka has joined #openstack-horizon08:26
openstackgerritMerged openstack/django_openstack_auth: Imported Translations from Transifex  https://review.openstack.org/19988908:28
*** btully has joined #openstack-horizon08:29
*** jasondotstar has quit IRC08:29
*** sqchen has joined #openstack-horizon08:31
*** JeanBriceCombebi has joined #openstack-horizon08:33
*** Longgeek has joined #openstack-horizon08:34
*** btully has quit IRC08:34
*** JeanBriceCombebi has quit IRC08:37
*** JeanBriceCombebi has joined #openstack-horizon08:37
openstackgerritMerged openstack/horizon: Imported Translations from Transifex  https://review.openstack.org/19988108:44
*** masco__ has quit IRC08:47
*** masco__ has joined #openstack-horizon08:47
*** kiran-r has joined #openstack-horizon08:49
*** ybathia has quit IRC08:50
openstackgerritTimur Sufiev proposed openstack/horizon: Refactor network topology graph as an Angular directive  https://review.openstack.org/19906308:50
*** sayan has quit IRC08:50
*** sayan_ has quit IRC08:50
*** kjelly has joined #openstack-horizon08:50
kjelly#openstack-glance08:51
*** JeanBriceCombebi has quit IRC08:52
*** ygbo has joined #openstack-horizon08:53
*** jasondotstar has joined #openstack-horizon08:53
*** sqchen has quit IRC08:54
*** JeanBriceCombebi has joined #openstack-horizon08:57
*** TravT_away has joined #openstack-horizon09:01
*** amotoki_ has quit IRC09:02
*** akrivoka has quit IRC09:04
*** akrivoka has joined #openstack-horizon09:04
*** JeanBriceCombebi has quit IRC09:06
*** JeanBriceCombebi has joined #openstack-horizon09:06
*** ^Gal^ has quit IRC09:07
*** ^Gal^ has joined #openstack-horizon09:07
*** tosky has joined #openstack-horizon09:07
*** mohankumar has quit IRC09:14
*** kzaitsev_mb has joined #openstack-horizon09:24
*** mpavlase has quit IRC09:25
*** e0ne has joined #openstack-horizon09:28
*** yingjun has quit IRC09:32
*** yamamoto has quit IRC09:32
*** lhcheng has quit IRC09:36
*** JeanBriceCombebi has quit IRC09:38
*** JeanBriceCombebi has joined #openstack-horizon09:57
*** pamo has joined #openstack-horizon09:59
*** pamo has quit IRC10:04
*** mrunge has joined #openstack-horizon10:11
*** mrunge has quit IRC10:12
*** mrunge has joined #openstack-horizon10:12
*** e0ne is now known as e0ne_10:24
openstackgerritAlbert Tu proposed openstack/horizon: Add i18n support to Angular humanizeNumbers helper  https://review.openstack.org/19999710:26
*** e0ne_ is now known as e0ne10:31
openstackgerritMerged openstack/horizon: Remove hz dashboard module from enabled  https://review.openstack.org/19979110:32
*** kzaitsev_mb has quit IRC10:39
*** kzaitsev_mb has joined #openstack-horizon10:41
*** robcresswell has joined #openstack-horizon10:44
*** e0ne is now known as e0ne_10:51
*** eandersson has joined #openstack-horizon10:54
*** sayan has joined #openstack-horizon10:54
eanderssonMorning10:55
*** mpavlase has joined #openstack-horizon10:55
eanderssonAnyone know why I am getting this error only when trying to delete images? "BadStoreUri: Location is missing user:password information."10:55
eanderssonand wrong channel sorry :D10:56
*** JeanBriceCombebi has quit IRC10:58
robcresswellAnyone else got today's master10:59
robcresswellJS seems totally dead10:59
*** Longgeek has quit IRC10:59
*** vijendar1 has quit IRC11:00
*** vijendar has joined #openstack-horizon11:04
*** ^Gal^_ has joined #openstack-horizon11:05
*** piyanai has joined #openstack-horizon11:06
*** ^Gal^_ has quit IRC11:06
*** ^Gal^ has quit IRC11:06
*** ^Gal^ has joined #openstack-horizon11:08
*** MaxV has quit IRC11:10
*** Longgeek has joined #openstack-horizon11:14
*** sayan has quit IRC11:17
*** kzaitsev_mb has quit IRC11:20
*** MaxV has joined #openstack-horizon11:23
*** Miouge_ has joined #openstack-horizon11:32
*** Miouge has quit IRC11:35
*** Miouge_ is now known as Miouge11:35
*** sayan has joined #openstack-horizon11:36
*** ducttape_ has joined #openstack-horizon11:37
*** kzaitsev_mb has joined #openstack-horizon11:40
*** zhenguo has quit IRC11:50
*** e0ne_ is now known as e0ne11:50
*** ducttape_ has quit IRC11:51
*** sayan has quit IRC11:59
*** pamo has joined #openstack-horizon12:00
openstackgerritMatthias Runge proposed openstack/django_openstack_auth: Replace AnonymousUser with AbstractBaseUser  https://review.openstack.org/16798112:01
*** e0ne is now known as e0ne_12:02
*** KingKhan has joined #openstack-horizon12:05
*** pamo has quit IRC12:05
*** btully has joined #openstack-horizon12:05
*** e0ne_ is now known as e0ne12:09
*** btully has quit IRC12:10
KingKhanhi @mrunge I had pinged some days back about reigistering/unregistering dashboards/panels12:13
*** sayan has joined #openstack-horizon12:13
mrungeKingKhan, hey12:13
KingKhani was able to use the customisation module overrides in kilo for unregistering and stuff12:14
KingKhanand for removing dashboards @mrunge I went the enabled folder way jus as u said12:15
KingKhan@mrunge it worked thanks12:15
mrungeKingKhan, thanks for the feedback12:15
KingKhan@mrunge you had asked me if the dashboards were called somewhere which was and hence I faced the issue neways phew.... was able to figure that out thanks again on that front too12:17
mrungeglad you were able to figure it out12:18
mrungehorizon is kind of hard to debug :(12:18
mrungein most cases you need more than just an educated guess12:18
*** Miouge has quit IRC12:20
*** Miouge has joined #openstack-horizon12:21
*** mwhagedorn has joined #openstack-horizon12:26
openstackgerritRob Cresswell proposed openstack/horizon: Angular doc tweaks  https://review.openstack.org/20004312:27
*** yingjun has joined #openstack-horizon12:28
openstackgerritRob Cresswell proposed openstack/horizon: Fix missing Identity JS files  https://review.openstack.org/20004412:28
*** JeanBriceCombebi has joined #openstack-horizon12:29
mrungerobcresswell, you were able to fix your broken JS?12:29
openstackgerritJiri Tomasek proposed openstack/tuskar-ui: Delay introspection between nodes by 5 seconds  https://review.openstack.org/20004512:29
*** sayan has quit IRC12:30
robcresswellmrunge: It is a workaround... I've reverted the inclusion behaviour12:30
robcresswellmrunge: But I am unsure if this is a confirmed bug; do you see the same thing?12:30
mrungerobcresswell, I'm not using latest master right now12:31
mrungewait, I do12:31
mrungewhat do you see?12:31
mrungeor what issues do you see?12:31
*** ducttape_ has joined #openstack-horizon12:31
*** svasheka has quit IRC12:31
robcresswellhttps://bugs.launchpad.net/horizon/+bug/147303012:32
openstackLaunchpad bug 1473030 in OpenStack Dashboard (Horizon) "JS load failing due to Identity" [Undecided,In progress] - Assigned to Rob Cresswell (robcresswell)12:32
*** e0ne has quit IRC12:32
robcresswellmrunge: ^^12:32
*** ducttape_ has quit IRC12:32
* mrunge clicks12:33
robcresswellIt seems to be stopping me doing much of anything12:33
robcresswellOnly found it as of this morning12:33
*** ducttape_ has joined #openstack-horizon12:33
mrungerobcresswell, hmm, I can not reproduce that12:35
robcresswellmrunge: perhaps my env is borken.12:36
mrungerobcresswell, just by coincidence, I ran ./manage.py collectstatic --clear12:37
*** ducttape_ has quit IRC12:37
mrungeI just wanted to be sure, when reporting a new bug it's not my environment, which is broken12:37
*** jasondotstar has quit IRC12:38
*** KingKhan has quit IRC12:38
mrungehmmm, it looks like my environment still uses old identity dashboard12:39
mrungewhich would explain, why it's not broken12:39
robcresswellIt isnt specific to the new one12:39
mrungeah, ok12:39
robcresswellMy JS is breaking regardless12:39
robcresswellMust be a setup issue12:39
mrungerobcresswell, are you using devstack?12:40
robcresswellmrunge: Currently, yes. :(12:41
*** piyanai has quit IRC12:41
*** neelashah has joined #openstack-horizon12:43
mrungerobcresswell, I can only recommend to use a real install to the rest and git checkouts for horizon12:43
*** sayan has joined #openstack-horizon12:43
mrungerobcresswell, pro is, you environment doesn't change, just point your horizon install to your keystone12:44
robcresswellmrunge: It seems to be working now anyway. Thanks12:44
*** julim has joined #openstack-horizon12:44
mrungegood luck12:44
*** yingjun has quit IRC12:45
*** MaxV has quit IRC12:45
*** pserebryakov has joined #openstack-horizon12:48
*** Longgeek has quit IRC12:49
*** sayan has quit IRC12:50
*** amotoki has joined #openstack-horizon12:56
*** sayan has joined #openstack-horizon12:56
*** jasondotstar has joined #openstack-horizon12:58
*** svasheka has joined #openstack-horizon12:59
*** e0ne has joined #openstack-horizon13:00
*** yingjun has joined #openstack-horizon13:00
*** MaxV has joined #openstack-horizon13:01
*** ZZelle has quit IRC13:01
robcresswellmrunge: On a review spree, any code need looking at?13:01
robcresswellActually, that stands for anyone, ping if you've been waiting for reviews for a while.13:02
*** ZZelle has joined #openstack-horizon13:02
mrungerobcresswell, might be a good idea to look at david-lyle s patch to move sahara to contrib13:02
robcresswellmrunge: Good call13:03
*** JeanBriceCombebi has quit IRC13:04
*** sayan has quit IRC13:04
*** JeanBriceCombebi has joined #openstack-horizon13:05
*** stevemar has joined #openstack-horizon13:06
mrungerobcresswell, for reference, that is https://review.openstack.org/#/c/197363/13:07
mrungetook me a bit to find it13:07
*** radez_g0n3 is now known as radez13:08
*** bfic has quit IRC13:08
*** zhenguo has joined #openstack-horizon13:09
*** amotoki has quit IRC13:09
tellesnobregahi, have you guys seen this13:09
tellesnobregaHash of the package https://pypi.python.org/packages/py2.py3/D/Django/Django-1.7.9-py2.py3-none-any.whl#md5=2df76c90453477a9d0bb6a1608f0dfa5 (from https://pypi.python.org/simple/django/) (52358ac5f48fd514d6c4eb9e08830985) doesn't match the expected hash 2df76c90453477a9d0bb6a1608f0dfa5!13:09
*** MaxV has quit IRC13:10
tellesnobregai cloned horizon and tried to run ./run_tests.sh and got this error13:10
*** Miouge has quit IRC13:10
mrungetellesnobrega, try ./run_tests.sh -f13:13
*** peristeri has joined #openstack-horizon13:14
*** Miouge has joined #openstack-horizon13:15
*** ducttape_ has joined #openstack-horizon13:16
*** amotoki has joined #openstack-horizon13:16
*** Longgeek has joined #openstack-horizon13:17
openstackgerritMatthias Runge proposed openstack/django_openstack_auth: Replace AnonymousUser with AbstractBaseUser  https://review.openstack.org/16798113:17
*** Miouge has quit IRC13:17
*** Miouge has joined #openstack-horizon13:18
*** pauloewerton has joined #openstack-horizon13:19
openstackgerritPaulo Ewerton Gomes Fragoso proposed openstack/horizon: Fix 'paginate' and 'admin' GET parameters in Keystone Projects REST API  https://review.openstack.org/19971713:20
*** ducttape_ has quit IRC13:22
*** piyanai has joined #openstack-horizon13:22
*** matt-borland has joined #openstack-horizon13:22
*** stevemar has quit IRC13:26
*** MaxV has joined #openstack-horizon13:26
*** stevemar has joined #openstack-horizon13:26
*** amotoki has quit IRC13:28
*** amotoki_ has joined #openstack-horizon13:28
tellesnobregamrunge, tried it13:28
*** kzaitsev_mb has quit IRC13:29
*** kzaitsev_mb has joined #openstack-horizon13:31
*** piyanai has quit IRC13:33
*** JeanBriceCombebi has quit IRC13:33
*** JeanBriceCombebi has joined #openstack-horizon13:33
*** stevemar has quit IRC13:33
*** dboik_ has quit IRC13:36
*** petertr7_away is now known as petertr713:37
openstackgerritRob Cresswell proposed openstack/horizon: Update example local_conf  https://review.openstack.org/20008013:37
*** lucas__ has joined #openstack-horizon13:39
*** jtriley has joined #openstack-horizon13:39
openstackgerritRob Cresswell proposed openstack/horizon: Update example local_conf  https://review.openstack.org/20008013:41
*** andrewbogott_afk is now known as andrewbogott13:42
tellesnobregaanyone else has an idea on how to work this out?13:44
robcresswelltellesnobrega: Afraid not, I've not seen that before13:45
tellesnobregarobcresswell, was anything from the requirements updated lately?13:46
robcresswelltellesnobrega: We cap Django at <1.8, so perhaps upstream. I'll look.13:47
*** kzaitsev_mb has quit IRC13:48
*** MaxV has quit IRC13:49
*** kzaitsev_mb has joined #openstack-horizon13:49
robcresswelltellesnobrega: It seems that version of django was uploaded yesterday, but I have no issues when running `./run_tests.sh -f`13:49
*** lblanchard has joined #openstack-horizon13:49
*** katyafervent is now known as katyafervent_awa13:50
tellesnobregarobcresswell, hum, weird...i'm gonna try on a different environment13:50
*** ducttape_ has joined #openstack-horizon13:51
tellesnobregarobcresswell, seems like my machine doesnt like horizon tests... tried on a vm and it worked13:51
*** katyafervent_awa is now known as katyafervent13:52
robcresswelltellesnobrega: :D13:53
robcresswelltellesnobrega: Hope you manage to get it resolved13:53
tellesnobregarobcresswell, thanks13:53
*** btully has joined #openstack-horizon13:56
*** dboik has joined #openstack-horizon13:56
*** _crobertsrh is now known as crobertsrh13:57
*** kiran-r has quit IRC13:58
*** amotoki has joined #openstack-horizon13:58
*** pserebryakov has quit IRC14:00
*** TravT_away is now known as TravT14:01
*** amotoki_ has quit IRC14:01
openstackgerritTravis Tripp proposed openstack/horizon: Adding identity users table  https://review.openstack.org/19737314:02
*** pamo has joined #openstack-horizon14:02
*** amotoki has quit IRC14:03
*** JeanBriceCombebi has quit IRC14:05
*** JeanBriceCombebi has joined #openstack-horizon14:05
*** pamo has quit IRC14:06
binBASHHi, how to change ajax polling speed for row_update action?14:09
*** kzaitsev_mb has quit IRC14:10
*** yingjun has quit IRC14:10
echozdogHi asked about this error yesterday but had to run home. I get this when I try to open the dashboard (5:06:13 PM) echozdog: [Wed Jul 08 17:04:57.060450 2015] [:error] [pid 6053] [remote 172.31.23.39:15045] IOError: [Errno 13] Permission denied: '/usr/share/openstack-dashboard/openstack_dashboard/local/_usr_share_openstack-dashboard_openstack_dashboard_local_.secret_key_store.lock' I got a couple replies namely that I can set the SECRET14:14
echozdogBTW thank you for the replies. I'm sorry I had to leave right after posted the question yesterady.14:14
*** kzaitsev_mb has joined #openstack-horizon14:17
*** masco__ has quit IRC14:18
*** piyanai has joined #openstack-horizon14:20
openstackgerritRyan Brady proposed openstack/tuskar-ui: Optimizes API Calls  https://review.openstack.org/20012114:22
mrungeechozdog, for production?14:22
mrungeI mean, in a production environment?14:22
mrungeechozdog, nevermind, I see your issue was solved14:23
*** piyanai has quit IRC14:23
*** ongk has joined #openstack-horizon14:25
*** stevemar has joined #openstack-horizon14:25
*** stevemar has quit IRC14:25
*** stevemar has joined #openstack-horizon14:26
*** lucas__ has quit IRC14:27
*** lucas__ has joined #openstack-horizon14:28
*** amotoki has joined #openstack-horizon14:29
*** piyanai has joined #openstack-horizon14:30
*** Mzoo___ has joined #openstack-horizon14:33
echozdogYes production,  but working twoards alpha. No I didn't get it solved. I have the code that generates the key in but it doesn't generate the key I guess14:36
*** bluex-pl has quit IRC14:39
EmilienMmrunge: thx for your help on https://review.openstack.org/#/c/198119/14:39
*** Mzoo___ has quit IRC14:39
*** bluex-pl has joined #openstack-horizon14:40
mrungeEmilienM, you're welcome14:40
*** petertr7 is now known as petertr7_away14:41
openstackgerritBrianna Poulos proposed openstack/horizon: Add volume type encryption update  https://review.openstack.org/7202414:42
*** Mzoo has joined #openstack-horizon14:42
*** MaxV has joined #openstack-horizon14:42
*** petertr7_away is now known as petertr714:43
MzooHi experts, I don't know why nobody yet wrote test_deleting_tenant unit test, but I want to write it now, becasue its necessary as the other delete action tests(users, ...).14:43
MzooBut i have a problem writting it. responce object is empty in my test: res = self.client.post(INDEX_URL, formData) api.keystone.tenant_delete(IgnoreArg(), project_id). Does anybody know why the responce object is empty?14:44
MzooformData = {'action': 'tenants__delete__%s' % project_id}14:45
MzooI want to assert the horizon success message(Deleted project: test_project) body returns in responce object in the test. But responce body is empty14:47
MzooCan anybody help me?14:48
MzooThe status_code in res is  302(redirection).14:52
*** notmars has joined #openstack-horizon14:53
MzooNo idea?14:59
openstackgerritRyan Brady proposed openstack/tuskar-ui: Optimizes API Calls  https://review.openstack.org/20012114:59
david-lyleMzoo, are you wanting to write a unit test?15:00
Mzoo@david-lyle: Exactly, unit test for delete tenant.15:00
echozdogHi. I'm not sure why I'm getting this error when I try to open the dashboard: [Thu Jul 09 09:50:18.547370 2015] [:error] [pid 6053] [remote 172.31.23.39:192]     self.lockfile = open(self.fname, 'a')15:01
echozdog[Thu Jul 09 09:50:18.547415 2015] [:error] [pid 6053] [remote 172.31.23.39:192] IOError: [Errno 13] Permission denied: '/usr/share/openstack-dashboard/openstack_dashboard/local/_usr_share_openstack-dashboard_openstack_dashboard_local_.secret_key_store.lock'.         The file doesn't exist, but I thought this line in local_settings.py generates it:15:01
echozdogSECRET_KEY = secret_key.generate_or_read_from_file(15:01
echozdog    os.path.join(LOCAL_PATH, '.secret_key_store'))15:01
david-lyleyou will need to mock the api calls, so you're providing the results for the API call15:01
*** JeanBriceCombebi has quit IRC15:02
*** JeanBriceCombebi has joined #openstack-horizon15:02
Mzoo@david-lyle: I know, I wrote these sections, but when I want to send post action to delete tenant using res = self.client.post(INDEX_URL, formData), the res body is empty(becasue it is redirection header(302 status))15:03
*** TravT has quit IRC15:03
Mzooit is redirection to horizon/identity15:03
*** TravT has joined #openstack-horizon15:04
Mzoo@david-lyle: it is redirection to horizon/identity15:04
david-lyleI believe you are still missing a mock15:04
david-lylepossibly to the tenant list call made15:05
david-lyledo you have a stack trace?15:05
binBASHHi david-lyle btw.15:05
*** absubram has joined #openstack-horizon15:05
david-lylehello binBASH15:07
*** Ala has quit IRC15:07
*** neelashah has quit IRC15:08
Mzoo@david-lyle: This is my test unit: http://paste.openstack.org/show/358855/15:08
david-lyleMzoo: you are call delete manually at the end, why?15:09
david-lyleyou mocked it once on line 3 the it should be called on line 615:10
david-lyle7 is not necessary15:10
david-lylealso project_id is not defined yet15:11
david-lyleshould match current_project_id15:11
eanderssonDisabling DEBUG in Horizon was an interesting experience. Getting these > django.request Not Found: /static/dashboard/js/76adef98ad14.js15:11
eanderssonAnything obvious I have missed that would cause that when disabling Debugging?15:12
*** JeanBriceCombebi has quit IRC15:14
*** JeanBriceCombebi has joined #openstack-horizon15:14
Mzoo@david-lyle: To get rid of some error. I got this: 'ExpectedMethodCallsError: Verify: Expected methods never called:' when I comment this line out. (current_project_id was defined. It was typo!)15:15
*** nlahouti has joined #openstack-horizon15:15
*** matt-borland has quit IRC15:15
*** sambetts has quit IRC15:15
Mzoo@david-lyle: ExpectedMethodCallsError: Verify: Expected methods never called:   0.  tenant_delete.__call__(<IgnoreArg>, '1') -> None15:15
david-lyleMzoo: that error indicates the mock is not set up correctly15:16
*** sayan has joined #openstack-horizon15:16
david-lylethere should be a + and - line in your output to indicate what is being passed in15:16
*** rdopiera has quit IRC15:16
*** sambetts has joined #openstack-horizon15:17
*** jbell8 has joined #openstack-horizon15:18
*** yingjun has joined #openstack-horizon15:18
*** yingjun has quit IRC15:18
*** jprovazn has joined #openstack-horizon15:19
*** Drago has joined #openstack-horizon15:20
*** Drago has quit IRC15:20
*** Mzoo has quit IRC15:20
david-lyleMzoo: I'm also wondering if a mock of tenant_list may be necessary15:20
*** Drago has joined #openstack-horizon15:20
david-lylebefore tenant_delete15:20
*** neelashah has joined #openstack-horizon15:20
robcresswelldavid-lyle: Going through your sahara contrib patch, what is this part for? https://review.openstack.org/#/c/197363/4/openstack_dashboard/test/test_plugins/panel_tests.py15:22
*** vishwana_ has quit IRC15:23
*** vishwanathj has joined #openstack-horizon15:23
*** jamielennox is now known as jamielennox|away15:23
david-lylerobcresswell: it's slightly unrelated, but I was playing with that code trying to figure out why the test content setup was incorrect15:26
david-lylebut it's basically throwing out the config content for testing loading a custom panel15:27
david-lyleoriginally I was reusing that15:27
*** ducttape_ has quit IRC15:27
david-lylebut I found the underlying issue elsewhere15:28
*** JeanBriceCombebi has quit IRC15:28
david-lyleI could move that change into a separate patch if desired, but it's something that had been overlooked as all the changes to pluggable content had been made15:28
robcresswelldavid-lyle: No, its fine in there. I was wondering if it was actually a requirement, but running tests without it seems to break them. The other thing was, do we also need to add the 'external_templates' bit to that? I'm not clear how the panel tests work yet, still looking.15:30
*** ducttape_ has joined #openstack-horizon15:30
*** ducttape_ has quit IRC15:30
openstackgerritMerged openstack/tuskar-ui: Optimizes API Calls  https://review.openstack.org/20012115:31
david-lylerobcresswell: most likely15:31
david-lylerobcresswell: it's just a simplification to remove the rest of the content and test that only the specified thing is loaded15:31
*** jamielennox|away is now known as jamielennox15:32
david-lyletheoretically we could just load more content, but that would be a less black/white test15:32
*** e0ne is now known as e0ne_15:32
robcresswelldavid-lyle: Yeah I see. Regardless, rest of patch seems to be fine as far as I can tell. Tests are passing, and everything is rendering as I'd expect.15:32
*** JeanBriceCombebi has joined #openstack-horizon15:32
david-lylerobcresswell: so what is external_templates for exactly, I was looking at that newly merged content and it's not documented at all15:33
robcresswelldavid-lyle: I was also looking through the commit for that after I saw you WTF-ing at it. I think its for pulling in external HTML files in the same way we pull in the SCSS and JS files15:34
david-lyletoo much is falling through the cracks15:34
robcresswellBut probably better to ask sqchen or TravT15:34
robcresswellHa, yes, difficult to keep on top of it all.15:34
david-lylerobcresswell: so we're ignoring the django toolset for loading templates and writing another?15:35
*** Miouge has quit IRC15:35
david-lylewhy?15:35
david-lylesince you conceived and wrote it and all :P15:35
robcresswelldavid-lyle: Lets wait for one of the others to confirm, I may be totally wrong.15:35
robcresswellhaha15:35
robcresswelldavid-lyle: If you want to get really confused by it, this patch lets you override Django templates from the themes folder... https://review.openstack.org/#/c/188162/15:36
robcresswelldavid-lyle: Which I still feel unsure about, hence the comment without review.15:37
*** piyanai has quit IRC15:37
david-lylerobcresswell: at least that patch adds the dir to TEMPLATE_DIRS15:38
david-lylewhy external_templates wouldn't do that, I have no idea15:38
*** garthb_ has joined #openstack-horizon15:38
*** garthb has joined #openstack-horizon15:38
david-lylebasically because people don't understand django15:38
david-lylehurgleburgler at least understands the django implications15:39
david-lyleI think I'll just leave a stand WTF15:41
david-lyleand just assume it applies15:41
david-lyle:P15:41
david-lyle*standing15:41
*** piyanai has joined #openstack-horizon15:42
openstackgerritRajat Vig proposed openstack/horizon: Fix eslint errors on the login controller  https://review.openstack.org/19814815:43
*** jcoufal has quit IRC15:43
robcresswellha, yeah I just wanted to point out it may screw with your plugin testing15:45
robcresswellperhaps one of the angular folk can explain the thinking15:45
*** e0ne_ is now known as e0ne15:48
*** belmoreira has quit IRC15:48
*** MaxV has quit IRC15:49
openstackgerritZhenguo Niu proposed openstack/horizon: Use form field errors on volume Extend form  https://review.openstack.org/20015815:49
*** ducttape_ has joined #openstack-horizon15:51
*** Miouge has joined #openstack-horizon15:52
*** stevemar has quit IRC15:56
*** matt-borland has joined #openstack-horizon15:59
*** SimonChung has quit IRC16:00
*** notmars has quit IRC16:03
*** bitblt has joined #openstack-horizon16:03
*** pamo has joined #openstack-horizon16:03
*** lucas__ has quit IRC16:05
openstackgerritBen Swartzlander proposed openstack/manila-ui: Update version to 1.0.1  https://review.openstack.org/20016616:07
*** mpavlase has quit IRC16:08
*** pamo has quit IRC16:08
*** notmars has joined #openstack-horizon16:08
*** nzeplowi has joined #openstack-horizon16:10
*** notmars_ has joined #openstack-horizon16:11
*** ghundal_TW has joined #openstack-horizon16:12
*** notmars has quit IRC16:13
*** notmars_ is now known as notmars16:13
*** Miouge has quit IRC16:13
*** TravT_ has joined #openstack-horizon16:13
*** sqchen has joined #openstack-horizon16:13
echozdogBTW I fixed my issue by changing the SECRET_KEY to this: SECRET_KEY = secret_key.generate_or_read_from_file('/var/lib/openstack-dashboard/secret_key')16:15
*** JeanBriceCombebi has quit IRC16:16
*** TravT has quit IRC16:16
*** TravT_ is now known as TravT16:16
*** tjones1 has joined #openstack-horizon16:17
*** piyanai has left #openstack-horizon16:18
*** clu_ has joined #openstack-horizon16:19
ghundal_TWRobCresswell you there?16:19
*** clu_ has quit IRC16:20
*** deuce has joined #openstack-horizon16:20
*** jamielennox is now known as jamielennox|away16:21
*** clu_ has joined #openstack-horizon16:22
*** Miouge has joined #openstack-horizon16:22
*** sqchen has quit IRC16:25
*** sqchen has joined #openstack-horizon16:27
*** jbell8 has quit IRC16:28
*** jamielennox|away is now known as jamielennox16:29
TravTrobcresswell: just saw earlier conversation on external templates and saying to ask me.  Looks like my contribution to that patch was a comment post merge asking for documentation.  so, i don't have much to add to the earlier conversation (https://review.openstack.org/#/c/183364/)16:30
*** tqtran has joined #openstack-horizon16:31
TravTdavid-lyle ^16:31
*** notmars has quit IRC16:31
*** garthb_ has quit IRC16:31
*** ygbo has quit IRC16:32
*** rajatvig_ has joined #openstack-horizon16:33
*** kiran-r has joined #openstack-horizon16:33
*** mgarza_ has joined #openstack-horizon16:35
*** pamo has joined #openstack-horizon16:36
*** petertr7 is now known as petertr7_away16:38
*** annashen has joined #openstack-horizon16:38
*** dsneddon_away is now known as dsneddon16:41
*** jingjing_ren has joined #openstack-horizon16:41
*** e0ne has quit IRC16:42
*** SimonChung has joined #openstack-horizon16:42
*** kzaitsev_mb has quit IRC16:43
krotscheckdeuce: Actually, there's a review up right now to more selectively apply the various rules. As you can see, the /auth package is included in the angular style guides, while the legacy code isn't.  https://review.openstack.org/#/c/195799/16:43
*** lucas__ has joined #openstack-horizon16:44
*** varoske has joined #openstack-horizon16:44
*** jingjing_ren has quit IRC16:44
*** jbell8 has joined #openstack-horizon16:45
*** bitblt has quit IRC16:45
*** lucas___ has joined #openstack-horizon16:46
*** lucas___ has quit IRC16:47
*** Miouge has quit IRC16:47
*** lucas___ has joined #openstack-horizon16:47
*** lucas__ has quit IRC16:48
*** kbrown has joined #openstack-horizon16:49
*** lucas___ has quit IRC16:51
*** andrewbogott is now known as andrewbogott_afk16:55
*** pamo has quit IRC16:56
openstackgerritThai Tran proposed openstack/horizon: Adding identity users table  https://review.openstack.org/19737316:56
*** lhcheng has joined #openstack-horizon16:57
*** Miouge has joined #openstack-horizon16:57
*** lucas__ has joined #openstack-horizon16:57
*** lucas__ has quit IRC17:02
david-lyleTravT: I guess my greater concern is we're reinventing django features, wondering why17:03
*** Sukhdev has joined #openstack-horizon17:05
ducttape_thanks tqtran btw17:05
tqtrandavid-lyle, TravT: what are we reinventing? i missed the convo17:06
tqtranducttape_: np :P17:06
*** jpomero has quit IRC17:06
TravTdavid-lyle: tqtran: https://review.openstack.org/#/c/183364/2017:06
*** dscottsf has joined #openstack-horizon17:07
TravTi think.  i don't know if that was the patch under discussion earlier or not17:07
tqtrani think the primary reason for doing it that way is the ordering of static resources by file extension17:08
*** dscottsf has quit IRC17:08
tqtrandjango can collect static resources, but i dont think it knows how to order them17:08
*** tosky has quit IRC17:09
ducttape_I'm w david-lyle.  there is a lot of code around auto discovery and setup of files, and the new code seems no better (or not much better) than the original situation.17:09
tqtranbut i dont know django super well, so there might be ways for us to hook into it and do something similar17:09
david-lyleit's the external_templates I'm concerned with17:09
david-lyleit looks like a hasty after thought17:09
david-lylewasn't part of the bp17:09
david-lyleand looks like it's reinventing django17:10
*** kzaitsev_mb has joined #openstack-horizon17:10
david-lylewhich I don't think we need to do17:10
tqtranlet me take a look what is actually using it, i think i know why its there but let me confirm17:10
david-lyleit's not documented what the purpose even is17:10
david-lylebut it looks like I'm going to manually list HTML files17:11
david-lylethat happen to live in static rather than tempates17:11
tqtrani just did a search for it, looks like we aren't using, but i think i know why its there17:12
tqtranbtw, i might just drop off anytime, in the midst of a presentation so....17:12
david-lylenow that's multitasking17:13
tqtranbasically, the idea behind external_templates is two fold17:13
tqtranwell, im in Q for the next person up17:13
tqtranso just chillin until they call on me17:13
tqtran1. this would allow us to list templates we want to compress in the future17:13
*** TravT_ has joined #openstack-horizon17:13
*** TravT_ has quit IRC17:13
tqtranand yeah, we're talking about static html, not django templates17:14
*** TravT_ has joined #openstack-horizon17:14
ducttape_so https://github.com/openstack/horizon/blob/master/openstack_dashboard/static_settings.py  is about 120 lines of python. and it creates an html snippet that is about 40 lines17:14
ducttape_not sure how that made sense :\17:14
tqtran2. this would allow us to pre-process html that are needed by directives, we need to do this for testing them17:14
*** jprovazn has quit IRC17:15
*** notmars has joined #openstack-horizon17:15
tqtranthere are libraries that converting your HTML into <script> and embedding them into your main test HTML (aka jasmine.html) but its another npm package that we would have to pull in17:15
david-lyleducttape_: that was simpler, but moving webroot made it more complicated17:15
*** lucas__ has joined #openstack-horizon17:16
ducttape_something is certainly making things more complicated, I agree  :P17:16
*** TravT has quit IRC17:16
tqtrananyway, going back to point 1, if we compress css and js, we can similarly do it for static html. this would require less fetches and improve performance in the long run17:17
tqtranbut yeah, those are the 2 points i wanted to raise. on the flip side, we arent there yet, and doesn't look like external templates is getting used anywhere17:17
david-lyletqtran: are we over engineering here for a future goal that may or may not happed?17:17
david-lylehappen*17:17
ducttape_tqtran - I can tell you that compression of static html is not your performance problem to chase17:17
ducttape_there are much bigger fish to catch17:17
tqtranwe might be overengineer17:18
david-lylelet's address the problems as they come up, not preplan17:18
david-lylewe won't get it right17:18
david-lyle:P17:18
david-lylebut you're wanting to compress the HTML how?17:18
tqtranim ok with removing the external_templates, since its not use anywhere. but prefer to keep the auto-discovery part intact, that part is really really nice17:19
tqtrani dont think its something we should focus on this cycle17:19
ducttape_tqtran - the huge problem with horizon and performance is the number of api calls, and how long each takes to run.  this is like 99.99% of the issue with horizon slowness, and part of why searchlight has such appeal17:19
tqtranducttape_: yes, i agree17:19
tqtranin fact, if you dont compress anything, you'll barely notice a difference17:20
david-lyleI think it was slipped in, and not part of the spec17:20
david-lyleI'd prefer to have it removed unless there is a real reason for it17:20
tqtranim fine with that17:20
david-lyleif we don't overcomplicate the patches, they will move faster17:21
david-lyleand not make people wonder what the heck things are for17:21
tqtranok, hold on, let me show an example17:21
tqtranhttps://github.com/openstack/horizon/blob/master/horizon/static/framework/widgets/action-list/action-list.spec.js#L4417:22
tqtranso right now, in order for us to test a directive, we have to inline it17:22
TravT_ducttape_ you'll be happy to know that searchlight now has a designate plugin review up17:22
tqtranit would be far superior to have that as a action-list.test.html or something similar17:22
david-lyleso this is purely for testing?17:23
*** saksham has joined #openstack-horizon17:23
ducttape_TravT_ - thats good, I hope you get more data than the cli provides ;)17:23
TravT_i haven't looked at it yet.  was written by a member of the designate team17:23
TravT_if you want to comment on it, i'll shoot you the review id17:23
tqtranas i understand it, it can be use for testing17:23
tqtranbut again, we're not using it atm17:23
*** geoffarnold has quit IRC17:24
tqtranbut i have a feeling that it will be needed very soon17:24
tqtrani'll leave the decision up to you dave, :P just thought you should have as much info about it as possible before you make the decision17:24
david-lyleI just really don't like the trojan aspect of it17:24
tqtrani agree17:25
tqtranthat wasnt clearly detailed anywhere17:25
david-lylenor documented, nor added to settings properly17:25
tqtrani sneak in easter-eggs all the time, you guys just dont know it :P17:25
*** TravT_ is now known as TravT17:25
david-lylewe call those bugs :P17:26
tqtranlol17:26
ghundal_TWEaster Eggs or Undocumented Features?17:26
david-lyleand we know it17:26
david-lyle:D17:26
* TravT so tired of my internet flakiness17:26
tqtranhahaha17:26
openstackgerritShaoquan Chen proposed openstack/horizon: Dashboard ReOrg - Create app/core directory  https://review.openstack.org/19731017:26
tqtranso, are we removing then? or keeping?17:26
ducttape_tqtran - your job is to prevent sneaky stuff from coming in.  I know you are joking now, but half the humor is lost on me17:26
tqtranhaha ouchies17:27
david-lylethis merged on june 16, and there is no follow-on patch right, just a bug17:28
david-lylewhich TravT filed 53 minutes ago17:28
david-lyleso, the aim was to sweep it under the rug17:28
TravTwhose aim?17:29
david-lyleno idea, but certainly wasn't addressed17:30
david-lyledocs and tests aren't fun, but we can't remain slack on them17:31
TravTdefinitely agreed on that17:31
*** lucas__ has quit IRC17:32
openstackgerritShaoquan Chen proposed openstack/horizon: Dashboard ReOrg - Create app/core directory  https://review.openstack.org/19731017:32
*** kzaitsev_mb has quit IRC17:35
*** mwhagedorn has quit IRC17:35
*** saksham has quit IRC17:36
*** tosky has joined #openstack-horizon17:36
*** stevemar has joined #openstack-horizon17:36
*** raildo has quit IRC17:37
*** petertr7_away is now known as petertr717:37
*** raildo has joined #openstack-horizon17:37
lhcheng++ david-lyle17:38
lhchengthe quality of reviews has been going down,  we need to do a better job on that.17:39
*** saksham has joined #openstack-horizon17:39
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/horizon: Allow multiple clusters creation  https://review.openstack.org/19884717:40
*** raildo has quit IRC17:40
*** raildo has joined #openstack-horizon17:41
*** mwhagedorn has joined #openstack-horizon17:41
*** pamo has joined #openstack-horizon17:42
openstackgerritNathan Zeplowitz proposed openstack/horizon: Fix eslint errors about ng-di on the cloud-services.  https://review.openstack.org/19884017:42
david-lylelhcheng: ++17:42
*** raildo has quit IRC17:42
openstackgerritKBrown proposed openstack/horizon: Drop QUnit JS tests in favor of Jasmine  https://review.openstack.org/15657217:44
*** lucas__ has joined #openstack-horizon17:44
lhchengdavid-lyle: for impacting changes, we should have more core looks at it before it gets approved instead of the conventional two +2s.17:45
david-lylelhcheng: they all are potentially impacting changes if not done right :)17:46
openstackgerritEric Peterson proposed openstack/horizon: LBAAS VIP floating IP table actions  https://review.openstack.org/19674017:46
ghundal_TWCan someone send me a link on how to undo accidentally clcking rebase on a change in gerrit?17:46
mfischnot sure you can17:47
mfischmaybe by hand17:47
david-lyleghundal_TW: not sure why you wouldn't want to rebase17:48
david-lyleit will have to before merging anyway17:48
ghundal_TWiclicking the button was a mistake.. :)17:48
matt-borlandlhcheng: if the quality of reviews have gone down...what are the ways to improve it rather than just "add more core approvals?"17:48
david-lyleyour patch, or someone else's?17:48
openstackgerritShaoquan Chen proposed openstack/horizon: Dashboard ReOrg - Move cloud-services into app/core  https://review.openstack.org/19733417:48
ghundal_TWsomeone else's17:48
david-lyleno worries17:48
david-lylelike I said, it has to rebase anyway17:49
david-lyleit's appropriate to rebase and see if it works with top of tree17:49
*** raildo_ has joined #openstack-horizon17:49
ghundal_TWthanks David..17:50
david-lylematt-borland: I suppose I need to specify the criteria more clearly17:50
lhchengdavid-lyle: I mean changes that has impact across panels or framework. :P but yeah, all changes can break something :)17:50
*** e0ne has joined #openstack-horizon17:51
*** lucas__ has quit IRC17:51
*** pamo has quit IRC17:52
varoske*are* there criteria for reviews specified somewhere? that'd be helpful17:52
lhchengmatt-borland, varoske: there should be some general guideline somewhere17:53
*** pamo has joined #openstack-horizon17:53
david-lylehttps://wiki.openstack.org/wiki/CodeReviewGuidelines17:53
lhchenglike looking for docs, test and validating that it actually works17:53
lhchengthanks david-lyle17:54
david-lyleare the general guidelines, but I will add more specific Horizon guidelines on https://wiki.openstack.org/wiki/Horizon/Reviews17:54
*** lucas__ has joined #openstack-horizon17:54
varoskethanks17:54
matt-borlanddavid-lyle: sounds like a good topic for *discussion* :)17:55
*** geoffarnold has joined #openstack-horizon17:55
openstackgerritNathan Zeplowitz proposed openstack/horizon: Fix eslint errors about ng-di on the cloud-services.  https://review.openstack.org/19884018:04
*** kiran-r has quit IRC18:09
varoskemaybe the horizon guidelines can include expectations such as, pulling it down and testing locally... what sorts of things to test18:10
*** jpomero has joined #openstack-horizon18:10
*** notmars has quit IRC18:10
*** notmars has joined #openstack-horizon18:10
*** sayan has quit IRC18:11
*** stevemar has quit IRC18:11
ekarlsois there a reason why when I do a associate floating ip from the instance page the ports list is empty ?18:13
*** stevemar has joined #openstack-horizon18:14
*** bluex-pl has quit IRC18:14
*** stevemar has quit IRC18:15
*** stevemar has joined #openstack-horizon18:15
robcresswellghundal_TW: Hullo, how can I help?18:16
*** Sukhdev has quit IRC18:19
*** jingjing_ren has joined #openstack-horizon18:23
*** jwy has joined #openstack-horizon18:24
ducttape_ekarlso  - this is where that starts at:  https://github.com/openstack/horizon/blob/65db6d33aa40a202cd16ad60e08273f715a67745/openstack_dashboard/dashboards/project/access_and_security/floating_ips/workflows.py#L8318:24
ducttape_and floating_ip_target_list() varies by neutron vs nova networking18:25
openstackgerritShaoquan Chen proposed openstack/horizon: Dashboard ReOrg - Move APIs into app/core  https://review.openstack.org/19733018:25
*** esp_ has joined #openstack-horizon18:27
*** jingjing_ren has quit IRC18:28
openstackgerritThai Tran proposed openstack/horizon: Adding identity users table  https://review.openstack.org/19737318:29
ghundal_TWrobcresswell: msg sent18:31
sjmc7ekarlso - your instance's network needs to be attached to a router that's attached to the external gateway18:32
*** jingjing_ren has joined #openstack-horizon18:33
*** kzaitsev_mb has joined #openstack-horizon18:35
*** sqchen has quit IRC18:35
ekarlsoaha sjmc7 !18:39
*** mwhagedorn has quit IRC18:39
*** lucas__ has quit IRC18:40
*** mwhagedorn has joined #openstack-horizon18:40
*** andrewbogott_afk is now known as andrewbogott18:41
*** doug-fish has joined #openstack-horizon18:43
*** geoffarnold has quit IRC18:43
*** jingjing_ren has quit IRC18:45
*** jingjing_ren has joined #openstack-horizon18:46
openstackgerritMatt Borland proposed openstack/horizon: Add New UX CSS for Upcoming Detail Screens  https://review.openstack.org/15888118:48
openstackgerritMatt Borland proposed openstack/horizon: WIP - Image Detail Redesign (Angular/UX)  https://review.openstack.org/17388518:48
openstackgerritMatt Borland proposed openstack/horizon: Detail-page directives (Angular/UX)  https://review.openstack.org/17335918:49
openstackgerritThai Tran proposed openstack/horizon: Dashboard karma is missing framework files  https://review.openstack.org/20020718:49
*** raildo_ has quit IRC18:50
*** Sukhdev has joined #openstack-horizon18:50
openstackgerritThai Tran proposed openstack/horizon: Dashboard karma is missing framework files  https://review.openstack.org/20020718:51
*** lucas__ has joined #openstack-horizon18:51
tqtranwow, my email in the ML shows up a day later18:53
*** sqchen has joined #openstack-horizon18:54
*** geoffarnold has joined #openstack-horizon18:54
*** mpavlase has joined #openstack-horizon18:56
*** ducttape_ has quit IRC18:57
*** ducttape_ has joined #openstack-horizon18:58
*** tosky has quit IRC18:58
*** tosky has joined #openstack-horizon18:59
*** jcoufal has joined #openstack-horizon19:00
*** absubram has quit IRC19:00
*** petertr7 is now known as petertr7_away19:01
*** petertr7_away is now known as petertr719:01
*** TravT is now known as TravT_away19:03
david-lyleI have changed, https://wiki.openstack.org/wiki/Horizon/Reviews this is what I expect from reviews.19:04
david-lylein addition to the overriding ideas around constructive, positive comments19:05
david-lylewhich are true across OpenStack19:06
*** emw has joined #openstack-horizon19:07
mrungegreat, thank you david-lyle19:07
*** neelashah has quit IRC19:08
matt-borlanddavid-lyle: thanks for the writeup19:11
*** annashen has quit IRC19:11
varoskethanks!19:12
*** nzeplowi has quit IRC19:14
*** tqtran has quit IRC19:14
rajatvig_great19:15
*** lucas__ has quit IRC19:15
*** lucas__ has joined #openstack-horizon19:16
*** esp_ has quit IRC19:18
*** jingjing_ren has quit IRC19:19
*** jtomasek has quit IRC19:21
*** tqtran has joined #openstack-horizon19:21
*** jingjing_ren has joined #openstack-horizon19:22
krotscheckdavid-lyle: Need those recommendations for cores on eslint-config-openstack19:22
*** notmars has quit IRC19:24
*** pamo has quit IRC19:25
*** jingjing_ren has quit IRC19:26
david-lylekrotscheck: clu_, r1chardj0n3s?19:28
krotscheckclu_, r1chardj0n3s: Either of you interested in becoming cores on openstack/eslint-config-openstack?19:28
clu_hey krotscheck: sure19:29
david-lylekrotscheck: how many are you wanting? shouldn't need too many is my guess19:29
krotscheckdavid-lyle: We've got mtreinish (head of QA) and myself at this point. I figure one or two more would be nice.19:30
krotscheckBut I have to go do the official nomination thing.19:30
*** notmars has joined #openstack-horizon19:31
david-lylesure19:31
*** varoske has quit IRC19:31
krotscheckEmail out!19:34
*** nlahouti has quit IRC19:34
*** annashen has joined #openstack-horizon19:35
*** emw has quit IRC19:35
*** sambetts has quit IRC19:35
*** emw has joined #openstack-horizon19:35
tqtransqchen: is the table patch failing karma locally for you?19:35
*** sqchen has quit IRC19:36
*** sambetts has joined #openstack-horizon19:38
*** emilyw has joined #openstack-horizon19:38
tqtranthis patch should fix it, https://review.openstack.org/#/c/200207/19:38
tqtranthe problem was that we were missing files from framework19:38
*** mrunge has quit IRC19:39
*** jbell8 has quit IRC19:39
*** deuce has quit IRC19:41
*** rajatvig_ has quit IRC19:41
openstackgerritThai Tran proposed openstack/horizon: Adding identity users table  https://review.openstack.org/19737319:41
*** emw has quit IRC19:42
openstackgerritThai Tran proposed openstack/horizon: Adding identity users table  https://review.openstack.org/19737319:42
*** zhenguo has quit IRC19:43
*** lucas__ has quit IRC19:43
*** TravT_away has quit IRC19:44
*** jbell8 has joined #openstack-horizon19:46
openstackgerritAna Krivokapic proposed openstack/tuskar-ui: Helper script to set up a development environment  https://review.openstack.org/20022819:47
*** jbell8 has quit IRC19:47
*** petertr7 is now known as petertr7_away19:48
*** lucas___ has joined #openstack-horizon19:49
*** rajatvig_ has joined #openstack-horizon19:49
*** Longgeek has quit IRC19:49
*** lucas___ has quit IRC19:50
*** jingjing_ren has joined #openstack-horizon19:50
*** annashen has quit IRC19:51
*** akrivoka has quit IRC19:51
*** jingjing_ren has quit IRC19:51
*** lucas___ has joined #openstack-horizon19:51
*** jingjing_ren has joined #openstack-horizon19:51
*** annashen has joined #openstack-horizon19:51
*** petertr7_away is now known as petertr719:52
openstackgerritBen Swartzlander proposed openstack/manila-ui: Switch to post-versioning  https://review.openstack.org/20023419:52
*** jwy has quit IRC19:54
*** jbell8 has joined #openstack-horizon19:55
*** jwy has joined #openstack-horizon19:55
*** annashen has quit IRC19:56
*** esp_ has joined #openstack-horizon19:57
*** rajatvig_ has quit IRC19:57
*** nzeplowi has joined #openstack-horizon19:59
*** varoske has joined #openstack-horizon19:59
*** kzaitsev_mb has quit IRC20:00
*** TravT_away has joined #openstack-horizon20:00
*** lucas___ has quit IRC20:00
*** tjones1 has quit IRC20:02
pauloewertontqtran, hi20:03
tqtranhi pauloewerton20:04
pauloewertontqtran, I'm wondering whether it would be necessary to check policy rules to individually control access to action links in the new angular tables20:04
pauloewertonsomething like when you set policy_rules in a horizon tables.LinkAction class: https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/identity/users/tables.py#L3020:05
*** lblanchard has quit IRC20:05
david-lylepauloewerton: yes20:05
*** ducttape_ has quit IRC20:05
*** andrewbogott is now known as andrewbogott_afk20:05
tqtranyes that would make sense20:05
*** kzaitsev_mb has joined #openstack-horizon20:06
tqtranwe should use to it control which action links are visible20:06
*** ducttape_ has joined #openstack-horizon20:06
*** sqchen has joined #openstack-horizon20:07
pauloewertonI thought so. I believe it'll be a lot of requests to the policy rest api then, right?20:07
*** ducttape_ has quit IRC20:08
*** ducttape_ has joined #openstack-horizon20:08
*** stevemar has quit IRC20:08
david-lyleyes, a batch call would be preferred, but is not implemented yet20:08
*** robcresswell has quit IRC20:09
sqchentqtran: yes20:10
*** tqtran has quit IRC20:11
*** stevemar has joined #openstack-horizon20:11
pauloewertonok, thanks20:11
sqchentqtran, will try with the latest patch...20:12
*** stevemar has quit IRC20:12
*** stevemar has joined #openstack-horizon20:12
*** tqtran has joined #openstack-horizon20:13
sqchentqtran: Karma test get passed with the latest patch.20:14
tqtranwoot woot!20:14
tqtranyeah, lets get it in then20:14
tqtrandavid-lyle: btw, was a decision reached concerning the external_templates?20:14
tqtrani had to sort of tune out earlier20:14
tqtransqchen: just waiting on the table patch to pass gate, then i'll start bugging folks20:15
sqchenSure, having two karma is a mistake, I’ll corparated them into one. thoguht?20:15
tqtrandavid-lyle: if you want to take a look at it https://review.openstack.org/#/c/197373/20:15
openstackgerritNathan Zeplowitz proposed openstack/horizon: Set 'this' to 'vm' for source/source-help.controller  https://review.openstack.org/19922320:16
tqtranadds the table feature to the users panel20:16
*** packet has joined #openstack-horizon20:16
tqtransqchen: lets keep them separate for now20:16
*** notmars has quit IRC20:17
sqchensure.20:17
tqtrani think matt-borland did a good job explaning why we need to do that in the first place20:17
sqchenhm, ok20:18
*** stevemar has quit IRC20:19
openstackgerritNathan Zeplowitz proposed openstack/horizon: Set 'this' to 'vm' for source/helper.controller  https://review.openstack.org/19922320:20
*** TravT_away is now known as TravT20:21
*** deuce has joined #openstack-horizon20:21
*** stevemar has joined #openstack-horizon20:21
*** pamo has joined #openstack-horizon20:21
matt-borlandsqchen: I don't think that 2 karma runs are necessarily a mistake20:23
ghundal_TWdavid-lyle: I added something to the test section on https://wiki.openstack.org/wiki/Horizon/Reviews20:24
sqchenrunning one karma for all code could prevent regression.20:25
david-lyleghundal_TW: definitely true, but more of a developer criteria, maybe we need one of those :P20:25
david-lyle#1 reviewers are not your QA20:25
david-lyle#2 have run the code20:25
*** stevemar has quit IRC20:25
david-lyle#3 have run the tests20:25
*** jcoufal has quit IRC20:26
TravTdavid-lyle: I'd like to add a section onto there regarding user experience.20:26
ghundal_TWdavid-lyle: Yes, sometime it's taken for granted that the code has been run and that the reviewers are QA.. :)20:26
tqtranmatt-borland: what was the reason for having 2 karma.conf again matt-borland? i remember there was a good reason, just cant remember what :P20:26
*** pamo has quit IRC20:27
ghundal_TWTravT: Totally - how about page or action or request has to return or display or render context in X number of seconds too.. :)20:27
david-lyletqtran: more is mo' better20:27
tqtrangot it, make sense20:27
david-lyleghundal_TW: nothing will pass that20:27
TravTdavid-lyle: we need to say that if approved mockups exist, that the output should follow them20:27
* david-lyle wishes he was kidding20:28
TravTand if not, some explanation20:28
*** gyee has joined #openstack-horizon20:28
david-lyleTravT: maybe something more general about patch actually addressing the bp or bug20:28
david-lyleas the mock should be part of the bp20:28
TravTok, but a simple statement to remind them to look at mocks if they exist on the BP should be good as well.20:29
david-lylesure20:31
*** annashen has joined #openstack-horizon20:31
nzeplowitqtran: The use of the 'vm' instead of 'ctrl' in angular is suggested by JP but enforced by the eslint tool. If we don't think this is a valuable rule we can change the eslint file to not incorporate the rule.20:31
nzeplowithe only reason it is there is to keep a standardization between files. If we keep using 'ctrl' we need to make it known to the community that this is the convention.20:32
ghundal_TWdavid-lyle: there should be some criteria.  At least to help establish a baseline so that during builds, if performance numbers are increasing drastically, it be an issue with the algorithm used.20:32
TravTnzeplowi: i kind of hate the vm...  just because VM is a very often used in the context of cloud.20:33
*** neelashah has joined #openstack-horizon20:33
david-lyleghundal_TW: our biggest performance issue is the API calls made to populate the page20:33
tqtrannzeplowi: sigh.... fine20:33
ghundal_TWdavid-lyle: it could be an issue with the algorithm used.20:33
david-lyledepending on deployment some API calls can take on the order of seconds20:34
tqtrannzeplowi: again, i dont have a strong preference, but when we're dictating how code is written at that level of detail, it becomes code tyranny20:34
nzeplowitqtran: I agree I have traditionally used 'self' in that position. But I think it might be a necessary evil of using eslint to enforce conventions.20:34
david-lyleghundal_TW: with django content, we can't address that very well as the page is rendered server side20:34
david-lylewith angular content we can do better20:34
david-lyledevstack is terrible for predicting actual performance numbers20:35
nzeplowitqtran: Again if this feels like code tyranny we can turn off the rules that don't lint out errors or bad smells and that are too strong.20:35
* david-lyle has to step away for a minute20:35
tqtranTravT, r1chardj0n3s, clu_, david-lyle, lhcheng: what are your take on this? code tyranny or ok with vm?20:36
TravTi have to read up a bit... too many things going on at once20:36
ghundal_TWdavid-lyle:  So lets say for example, right now api FOO takes 10 seconds.  That is a baseline we use, then some after some changeset it goes to 20 seconds.  It could be just a new feature was added and well it's going to take that extra amount of time. But instead, lets say that the api isn't caching data from some backend, so adding caching speeds it up.  If there are tests that radiate the difference in performance fro20:36
*** ongk has quit IRC20:37
ghundal_TWdavid-lyle:  If you want to continue this conversation just shoot me an email, we can wrestle with it, and then come back to present it to the larger community20:37
ghundal_TWanyways, I'm out.. see y'all tomorrow!20:37
tqtranghundal_TW: i dont think its that simple. did the performence decrease come from the api or the new feature? and it really depends on your system's load as well20:37
*** deuce has left #openstack-horizon20:38
tqtranthe best you can do is get an average over a few thousand runs, but that is probably not something we can afford to do20:38
*** gyee has quit IRC20:38
openstackgerritNathan Zeplowitz proposed openstack/horizon: Fix eslint errors about ng-di on the cloud-services.  https://review.openstack.org/19884020:39
ghundal_TWtqtran:  I just used a simple example, but I've been on projects where we have done this and been very useful.. :)20:39
ghundal_TWanyways.. ciao20:39
tqtranghundal_TW catch you later20:40
*** ghundal_TW has quit IRC20:41
*** gyee has joined #openstack-horizon20:41
*** nlahouti has joined #openstack-horizon20:42
TravTtqtran: matt-borland: david-lyle:  We have to resolve the webroot problem.20:42
*** e0ne has quit IRC20:42
TravTas FYI, this is now biting other people20:42
echozdogThat'd be me :)20:42
tqtranyeah, lets get it over with20:42
TravTI've been trying to help out echozdog with his company's stuff on the side for a few days20:42
TravTand we just debugged it down to webroot20:43
matt-borlandTravT: agreed!20:43
TravThttps://review.openstack.org/#/c/181095/20:43
tqtranok, cool i was about to verify that we were talking about the same patch20:43
echozdogDo you have a solution for Liberty? Can it back ported to Kilo?20:43
echozdogah20:43
*** wmlynch has quit IRC20:44
TravTi don't believe that this can be directly backported to Kilo, I think we can apply same pattern to Kilo.20:44
tqtranok, so there are are things discussed there.20:44
tqtranwhat is the main issue?20:45
TravTmain issue is that it doesn't work and this patch fixes it.20:45
tqtranwhether we want to use it vs static_url?20:45
TravT:P20:45
tqtranwell, thats not an issue then right? lol20:45
tqtrani guess whats the reservation?20:46
echozdogthe auser auth on the API calls doesn't work with a webroot other than / as I understand the problem20:46
TravTmain issue that I'm aware of is your interest in this COMPRESS_OFFLINE_CONTEXT thing20:46
tqtrani already stated mine, which is the incorporation of WEBROOT as oppose to hacking the STATIC_URL20:46
TravTbut matt-borland saying you guys couldn't get that to work, but if it did it would take more user configuration and documentation20:47
tqtranlet me try and get it to work, don't see why it doesn't20:47
tqtrani just totally got caught up in other things20:47
TravTdang it... i just had a service person show up at my door to do something.  bbiab20:47
tqtranlet me take another stab at it20:48
*** pamo has joined #openstack-horizon20:48
*** jtriley has quit IRC20:49
*** tjones1 has joined #openstack-horizon20:49
matt-borlandtqtran: go for it, I'd be interested in the results...it just didn't work when we tried it20:49
tqtranhip hip HOORRAY! my table patch finally passed20:50
*** Sukhdev has quit IRC20:50
tqtranok, NOW im going to take a stab at it lol20:50
*** Longgeek has joined #openstack-horizon20:50
*** tjones1 has quit IRC20:54
*** lucas__ has joined #openstack-horizon20:55
*** Longgeek has quit IRC20:55
openstackgerritCindy Lu proposed openstack/horizon: Add keystone version to REST API  https://review.openstack.org/20026120:56
*** jtriley has joined #openstack-horizon20:57
*** pamo has quit IRC20:57
*** julim has quit IRC20:57
*** Miouge has quit IRC20:58
*** tjones1 has joined #openstack-horizon20:59
*** packet has quit IRC21:01
*** pamo has joined #openstack-horizon21:02
*** lucas__ has quit IRC21:03
*** andrewbogott_afk is now known as andrewbogott21:05
pauloewertondoug-fish, hi21:05
doug-fishhi pauloewerton21:05
*** tjones1 has quit IRC21:05
pauloewertonI've been trying to test https://review.openstack.org/#/c/159910/21:05
pauloewertonkind of updating the calls according to https://review.openstack.org/#/c/159910/21:06
*** crobertsrh is now known as _crobertsrh21:06
pauloewertonsorry, wrong link: https://review.openstack.org/#/c/160851/21:06
*** tjones1 has joined #openstack-horizon21:07
pauloewertonI've reached a point where there's two, apparently incompatible, versions of AccessInfo objects21:07
*** ongk has joined #openstack-horizon21:07
doug-fishoh?21:07
doug-fishyou mean like v3.Token/v3.Password objects?21:08
pauloewertonIt seems that we would really have to use the version in keystoneauth1: https://github.com/openstack/django_openstack_auth/blob/master/openstack_auth/user.py#L63 because it includes the sp auth url needed for remote authentication21:08
pauloewertonyes21:08
openstackgerritMerged openstack/horizon: Fix eslint errors on the login controller  https://review.openstack.org/19814821:08
pauloewertonsorry wrong link again21:09
doug-fishI haven't thought all of the way through that, but I think that d_o_a will need to be updated to use the new keystoneauth1 objects21:09
pauloewertonthat is code that breaks if we use the version in keystoneauth121:09
pauloewertondue to references to info that are not properly handled (domain id etc.)21:10
*** lucas__ has joined #openstack-horizon21:10
*** jtriley has quit IRC21:10
doug-fishyeah ... so again, I haven't thought all of the way through it, but I think all of our references should be updated to use the keystoneauth1 objects instead of the python-keystoneclient ones (which are getting deprecated)21:11
tqtrandavid-lyle: how are we passing context to the base.html?21:11
*** lucas___ has joined #openstack-horizon21:11
ducttape_it's part of normal django view / templating stuff21:11
doug-fishpauloewerton: that's probably a good patch to make a prereq for the k2k patch21:11
ducttape_tqtran - you mean in the get_context() methods???  passing variables that templates can muck with?21:12
pauloewertondoug-fish, yeah, I thought so21:12
tqtranducttape_: not really sure what i want exactly, but i want access to the base.html's get_context21:13
tqtranwhich might not exist since each page is a view with its on context21:13
tqtranbasically, trying to find a superclass where i can inject a context that would be globally accessible by all pages that extend base.html21:13
doug-fishpauloewerton: are you going to work that one? I'm taking another day off tomorrow, but I'd be happy to review it on Monday if you have code ready.  :-D21:14
ducttape_tqtran - there is a common super class most classes are extending from.  you could place some common info in there21:14
tqtranright, do you know what this common super class is?21:14
tqtrani did a search and it looks like table has its own, tabs, etc....21:14
*** lucas__ has quit IRC21:14
ducttape_https://github.com/openstack/horizon/blob/master/horizon/views.py21:15
pauloewertondoug-fish, not sure if I can tackle it right now, but I'll try to start it out21:15
doug-fishpauloewerton: part of my concern about updating the auth objects is that I haven't sorted out if it is contained to d_o_a or if it's going to leak into Horizon.21:15
ducttape_the pagetitlemixin would be one spot you could use tqtran, but I'd try HorizonTemplateView first21:15
*** lucas___ has quit IRC21:15
pauloewertondoug-fish, I see21:16
tqtranducttape_: ok while we're at it, let me get to the real meat lol21:16
*** petertr7 is now known as petertr7_away21:17
tqtranSTATIC_URL isn't pass in as a context, it seems like Django internally does this for you21:17
ducttape_yep, some stuff is "just there"  like the request etc21:17
tqtranI'm attempting to do the same with WEBROOT, which is why I asked. Do you know if this is the case or is it via a different mechanism?21:17
*** lucas__ has joined #openstack-horizon21:18
*** cbader has quit IRC21:18
tqtrani guess base answer is to look at the django source via github :P21:18
tqtran*best answer21:18
ducttape_WEBROOT - that I think is a horizon'ism21:18
ducttape_and as such, it's up to us / you to place it into context21:19
doug-fishWEBROOT is certainly a horizon'ism21:19
tqtranoh is it? lol omg... ok21:19
ducttape_just placing all the config variables into the context would be a horrible idea, on django's part21:19
tqtranin THAT case, yeah, it needs to get pass in as context then21:19
tqtranwell, i figured since they had STATIC_URL, WEBROOT would make sense?21:19
doug-fishhttps://github.com/openstack/horizon/blob/master/openstack_dashboard/settings.py#L45 is the origin21:19
tqtranright, but i assumed that webroot was also a "key" setting21:20
tqtranok that makes a lot of sense now, thanks guys21:20
ducttape_https://docs.djangoproject.com/en/1.8/ref/class-based-views/mixins-simple/21:20
*** notmars has joined #openstack-horizon21:21
ducttape_think of it this way - WEBROOT is something we have invented..... and if django placed all our configs into context, then stuff like DB_PASSWORD, DB_URL etc / whatever would also be there21:21
ducttape_and that's a terrible idea21:21
ducttape_so it's up to you / us to place stuff in there we need / want to use21:22
*** lucas__ has quit IRC21:22
tqtranright, i understand that part. i just thought that WEBROOT was a django setting21:23
tqtranwasnt aware that it was a horizon thing21:23
*** annashen has quit IRC21:26
tqtranmatt-borland: got a minute to hangout?21:27
tqtrani got the solution21:27
*** annashen has joined #openstack-horizon21:27
openstackgerritShaoquan Chen proposed openstack/horizon: Dashboard ReOrg - Create app/core directory  https://review.openstack.org/19731021:28
*** dsneddon is now known as dsneddon_away21:29
*** neelashah has quit IRC21:29
openstackgerritShaoquan Chen proposed openstack/horizon: Dashboard ReOrg - Create app/core directory  https://review.openstack.org/19731021:30
*** lucas__ has joined #openstack-horizon21:30
openstackgerritShaoquan Chen proposed openstack/horizon: Dashboard ReOrg - Create app/core directory  https://review.openstack.org/19731021:32
*** gyee has quit IRC21:34
*** kbrown has quit IRC21:35
*** lucas__ has quit IRC21:35
*** jmolo has quit IRC21:36
*** kbrown has joined #openstack-horizon21:36
*** jamielennox is now known as jamielennox|away21:37
*** peristeri has quit IRC21:38
openstackgerritPaulo Ewerton Gomes Fragoso proposed openstack/horizon: Adding Identity Projects Table  https://review.openstack.org/19956721:39
matt-borlandtqtran: sorry, I missed your ping!  I see your review notes and will get that going.21:39
*** fnordahl has quit IRC21:39
tqtranmatt-borland: i can upload the patch for you if you want21:40
tqtranbut up to you21:40
matt-borlandgo for it! :)21:40
tqtranok, doing it right now21:40
matt-borlandthx21:40
matt-borlandya learn something every day21:40
openstackgerritThai Tran proposed openstack/horizon: Fix bug where WEBROOT is not respected  https://review.openstack.org/18109521:41
tqtranok done!21:41
*** gyee has joined #openstack-horizon21:41
*** fnordahl has joined #openstack-horizon21:41
matt-borlandthx again!21:41
tqtrannp21:41
tqtrani think for this patch, we should have more than 2 cores review it21:42
tqtranjust to be on the safe side21:42
*** jmolo has joined #openstack-horizon21:42
tqtranthe more reviewers we can get on it, the better21:42
tqtranducttape_: ^---\21:42
tqtran:)21:42
*** dboik has quit IRC21:43
sqchentqtran, thx for your help on webroon, one question...21:44
tqtransure thing21:44
sqchendo we still need our change in https://review.openstack.org/#/c/181095/40/openstack_dashboard/templates/horizon/_scripts.html21:45
sqchenoh yes, nmd21:45
sqchen:)21:45
*** jbell8 has quit IRC21:45
*** echozdog has quit IRC21:45
tqtrani just did a search for STATIC_URL, apparently only use in one place lol. I'll amend a patch to remove STATIC_URL from client-side21:45
sqchenTravT: ping21:45
*** echozdog has joined #openstack-horizon21:46
sqchentqtran: sure.21:46
*** pauloewerton has quit IRC21:46
david-lyletqtran: static and other built-ins come from context processors21:47
david-lylewas away21:47
*** nlahouti has quit IRC21:47
david-lylehttps://github.com/openstack/horizon/blob/master/openstack_dashboard/settings.py#L11421:47
david-lyleis where those are set up21:47
david-lylehorizon has its own21:48
david-lyleas does openstack_dashboard21:48
*** jamielennox|away is now known as jamielennox21:48
*** lhcheng has quit IRC21:49
*** lhcheng has joined #openstack-horizon21:49
david-lyletqtran, why not just override the static context processor?21:49
david-lylebecause you're worried about JS21:50
david-lyleat least in the patch21:50
david-lylenevermind21:50
david-lylepiecing together scroll back and patch21:50
*** Sukhdev has joined #openstack-horizon21:51
tqtranhm.... that could work as well.....21:51
*** Longgeek has joined #openstack-horizon21:51
tqtraniono, which do you think is the better way to go about this?21:51
david-lyleneed to look more closely at patch21:51
tqtranlooks like both should work, just different point of injection21:52
david-lyleI'm not sure HorizonTemplateView is general enough21:53
david-lylewhat about HorizonFormView for instance?21:53
openstackgerritShaoquan Chen proposed openstack/horizon: Dashboard ReOrg - Move APIs into app/core  https://review.openstack.org/19733021:54
openstackgerritShaoquan Chen proposed openstack/horizon: Dashboard ReOrg - Move APIs into app/core  https://review.openstack.org/19733021:54
openstackgerritShaoquan Chen proposed openstack/horizon: Dashboard ReOrg - Move cloud-services into app/core  https://review.openstack.org/19733421:54
david-lyleI don't think you're using it in the angular views21:54
openstackgerritShaoquan Chen proposed openstack/horizon: Dashboard ReOrg - Move cloud-services into app/core  https://review.openstack.org/19733421:54
*** notmars has quit IRC21:55
tqtranwell, right now the base stuff still inherit from base.html21:55
david-lylebut how would WEBROOT be defined in those cases?21:55
tqtranso there is that reliance on HorizonTemplateView, but that might change21:55
david-lyleforms won't use that21:56
tqtranso the context_processor gets injected into any views that makes a request?21:56
*** dboik has joined #openstack-horizon21:56
tqtranright, form wouldnt21:56
tqtranok, seems like context processor is better way to go21:56
david-lylewell it creates the context for any views requested21:56
*** mpavlase has quit IRC21:56
david-lyletqtran: that's what it's there for21:57
tqtranright, that was my question, poorly worded lol21:57
tqtranok, i'll update the change21:57
*** dboik has quit IRC21:57
david-lyletqtran: so two ways to update21:57
david-lyleeither override the static context processor, which is not really necessary21:58
david-lyleor add it to the openstack_dashboard context_processor.py21:58
tqtrani prefer the openstack_dashboard context_processor21:58
*** nlahouti has joined #openstack-horizon21:58
*** neillc_away is now known as neillc21:58
david-lyleand I guess in the horizon one too21:58
tqtranwe're mainly using this for client-side stuff, pertains to dashboard stuf only atm21:58
tqtrannot sure we need it for horizon21:58
david-lyleso no js on the horizon side with hardcoded links to /static?21:59
tqtransince horizon only provies the widgets, which doesnt need to care about pathing21:59
tqtranyeah, there shouldnt be any lol21:59
david-lyleor just none that we've found?21:59
tqtranif there is one, its sort of wrong and violates the entire library premise21:59
david-lyletqtran: do me a favor22:00
david-lylegot to horizon/horizon/static and type 'rgrep static'22:00
tqtrani just recently did a search for static_url on client-side, there is only one place that uses it horizon.table.js22:00
david-lyleI see 2 or 3 hardcoded constants22:01
matt-borlandsorry, I've been in another conversation22:01
david-lyleusing '/static/framework/22:01
tqtranand that file really belongs in dashboard, not horizon, but its legacy so....... anyway messy22:01
david-lylemake that 422:01
*** amotoki has quit IRC22:02
david-lyledoesn't remove the need to update /static to webroot/static22:02
david-lylewhether it should be there or not, it is22:02
tqtranhm... you're right22:02
tqtranok so it needs to go into static processor then22:02
david-lyletqtran: let me think for a sec22:04
tqtrani'm still not entirely sure why client-side need webroot at all? isn't it just relative?22:04
tqtranall we're really saying is, there is a static folder relatively to whatever url you have right now22:04
matt-borlandtqtran: sadly, it's not relative22:05
tqtranso... why doesnt clientside care>22:05
*** jtriley has joined #openstack-horizon22:07
matt-borlandI guess I'm missing the question...what am I missing?22:07
matt-borlandIt seems there are a few questions: 1) does your patch correctly work for "all" conditions,22:07
*** varoske has quit IRC22:07
matt-borland2) are there conditions that are not met by the general patch for WEBROOT fixing?22:08
david-lyletqtran: I think you are fine just adding it to openstack_dashboard/context_processor.py22:08
david-lyleleaving the change in _scripts.html22:08
matt-borlandcool, we can at least test with that going forward and see if there are any current exceptions/problems22:08
david-lylebut updating the js files in horizon/horizon/static to honor the value22:09
matt-borlandthanks david-lyle for looking into that22:09
*** varoske has joined #openstack-horizon22:09
*** Longgeek has quit IRC22:10
*** pamo has quit IRC22:11
TravTtqtran matt-borland... back now...22:11
TravTso, we should expect another patch from tqtran?22:12
openstackgerritShaoquan Chen proposed openstack/horizon: Dashboard ReOrg - Move workflow into app/core  https://review.openstack.org/19734722:12
david-lyleyes22:14
*** jingjing_ren has quit IRC22:14
david-lyleTravT:22:14
*** jingjin__ has joined #openstack-horizon22:14
david-lyleor someone22:14
TravT?22:14
tqtranyeah22:15
david-lyleabout the new patch22:15
tqtransorry, clu_ stopped by22:15
david-lylesimple update22:15
tqtranwe went to get our free coffee22:15
tqtrani'll update now22:15
tqtranwait one sec, ok, so we're leaving static_url alone? and just adding webroot right?22:15
tqtranand we're adding this to the dashboard context processor22:16
david-lyleyes22:16
david-lylestatic_url is prepended with webroot22:16
david-lylealready22:17
david-lylewait so why not pass static url to js?22:17
david-lyleso confused22:17
david-lylehalf read the patch22:17
david-lylejust got agitated about context processors and their under use22:18
TravTthe static url could be fine on the js for html calls22:18
tqtranbecause js api doesn't reside in static22:18
TravTbut not for the api calls22:18
r1chardj0n3stqtran: I agree with you on that style guide issue (ctrl vs vm) and I think eslint is in the wrong (jscs didn't have this issue /me ducks)22:18
tqtranr1chardj0n3s: yeah, sort of becomes tyranny at that point i think22:19
tqtrani'd hate to get that granular22:19
openstackgerritThai Tran proposed openstack/horizon: Fix bug where WEBROOT is not respected  https://review.openstack.org/18109522:19
r1chardj0n3stqtran: yep22:20
* r1chardj0n3s is sick, taking the day off. "catch y'all next week"22:20
*** r1chardj0n3s is now known as r1chardj0n3s_afk22:20
*** jbell8 has joined #openstack-horizon22:21
openstackgerritShaoquan Chen proposed openstack/horizon: Dashboard ReOrg - Move tech-debt into app/  https://review.openstack.org/19735322:22
openstackgerritThai Tran proposed openstack/horizon: Adding identity users table  https://review.openstack.org/19737322:24
tqtranTravT: table patch is updated as well, let me know if there's anything else. im ready to move onto the actions once the table patch lands22:24
*** jasondotstar has quit IRC22:25
*** jbell8 has quit IRC22:25
tqtranthat should be easy review as well, since i'll be using the launch instance workflows22:25
tqtranwell, widgets...22:25
TravTtqtran: just ran eslint on it...22:25
TravT14 errors22:25
tqtran:O22:26
TravT1 is the vm error22:26
tqtranomg.... damn vm22:26
TravTso, we can ignore that one... i guess...22:26
TravTi don't mind consistent naming22:26
TravTbut i hate vm22:26
tqtranhow do i run eslint on a specific folder?22:26
TravTway too overloaded22:26
TravTi put that in the paste22:26
tqtranyeah, ctrl or self is better22:26
openstackgerritShaoquan Chen proposed openstack/horizon: Dashboard ReOrg - Move tech-debt into app/  https://review.openstack.org/19735322:26
TravThere you go:22:26
TravT npm i -g eslint22:26
matt-borlandtqtran: TravT: my initial pass at testing Thai's WEBROOT changes is good22:27
tqtranah ok, so you have a global independent version22:27
TravTnpm i -g eslint-plugin-angular22:27
tqtrantheres no way to do it via run_script atm22:27
TravTeslint openstack_dashboard/dashboards/identity/static22:27
TravTyeah, i'm doing it independent22:27
nzeplowiyeah, the vm check adds a lot of errors22:27
TravTmaybe there's a better way22:27
matt-borlandI don't like the vm check :)22:27
nzeplowiI don't think anyone does22:28
david-lylemore feedback on webroot patch tqtran22:28
matt-borlandyessir22:28
david-lyleI'm sure you're happy to hear22:28
tqtrandavid-lyle: not sure i understand your comment22:29
tqtranhow do i do a resolve from js?22:29
david-lyleyou don't22:29
david-lylethe call is just made correctly22:29
tqtranah ok22:30
tqtranso basically, no need for window.WEBROOT22:30
*** matt-borland has quit IRC22:30
david-lylehttps://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/instances/tables.py#L359 is wrong22:30
david-lyleand lazy22:30
david-lylenot there, but the calls to the NG launch should do a resolve to set the launchContext22:31
*** deuce has joined #openstack-horizon22:31
david-lylenot lazy, just wrong :P22:31
david-lyledjango is our friend here, it has nice tools to help with much of this22:32
tqtranok, but not within scope of this patch, file it as a bug lol22:32
david-lylewell, if you're fixing webroot, you'll have to fix that22:32
tqtranGAH22:32
david-lyleotherwise the return link is busted22:32
tqtranok22:32
david-lyleerr redirect link22:32
david-lyledashboards/project/images/images/tables.py needs to be fixed too22:34
tqtrani might need to lint this code as well22:34
nzeplowiJust found that we can specify what the variable we check for in eslint. We can change it to check that the var is set to ctrl instead of vm22:34
*** jpomero has quit IRC22:34
tqtrannzeplowi: cool, that would be a good move22:37
openstackgerritTracy Jones proposed openstack/horizon: move favicon, logo and logo-splash to default theme  https://review.openstack.org/19575122:37
david-lyletqtran:  updated with 3 locations to fix22:38
tjones1@david-lyle ^^ i addressed your comments about the docs (i think)22:38
*** pamo has joined #openstack-horizon22:38
tqtranok fixing now22:38
openstackgerritCindy Lu proposed openstack/horizon: Add keystone version to REST API  https://review.openstack.org/20026122:38
openstackgerritTracy Jones proposed openstack/horizon: move favicon, logo and logo-splash to default theme  https://review.openstack.org/19575122:39
tjones1removed whitespace ^^22:39
openstackgerritTravis Tripp proposed openstack/horizon: Ignore the ESLINT controller as VM rule  https://review.openstack.org/20029722:40
nzeplowitqtran: looking into changing it to ctrl and will report back on the results.22:40
TravTtqtran: nzeplowi:22:40
TravTi just disabled it in above patch22:41
TravThttps://review.openstack.org/20029722:41
tqtranim fine with disabling it too lol, maybe we can just disable it and softly enforce it via code review?22:41
tqtranbut im also fine with ctrl as the standard22:41
* david-lyle has to run22:41
TravThasta david-lyle22:42
tqtrandavid-lyle: https://docs.djangoproject.com/en/1.8/ref/urlresolvers/ this is what you mean right?22:42
tqtranwait.. before you go22:42
david-lyletqtran: yeah that's what I meat22:42
tqtranok cool22:42
david-lyle*meant22:42
tqtranjust wanted to confirm22:42
david-lylelike elsewhere in the code base22:43
*** jasondotstar has joined #openstack-horizon22:43
*** annashen has quit IRC22:43
openstackgerritCindy Lu proposed openstack/horizon: Add keystone version to REST API  https://review.openstack.org/20026122:44
*** annashen has joined #openstack-horizon22:44
*** jtriley has quit IRC22:45
*** annashen has quit IRC22:49
*** doug-fish has left #openstack-horizon22:49
*** stevemar has joined #openstack-horizon22:49
tqtrangah, it looks terrible, hopefully once we have a instances panel up, we won't have to do this hackery22:50
openstackgerritTravis Tripp proposed openstack/horizon: Change the ESLINT controller as to ctrl  https://review.openstack.org/20029722:50
nzeplowiTravT: So we can change the linter to check for ctrl instead of vm. Do you want to continue having it ignored22:51
TravTok, so that changes it to look for ctrl22:51
*** annashen has joined #openstack-horizon22:51
TravTand have it warning22:51
TravTnzeplowi22:51
TravTalready put that in updated patch22:51
nzeplowinice just saw it22:51
*** stevemar has quit IRC22:54
openstackgerritTracy Jones proposed openstack/horizon: code cleanup from commits on https://review.openstack.org/#/c/195751/  https://review.openstack.org/20030122:56
tjones1pamo: david-lyle varosky ^^ cleanup code from the comments on https://review.openstack.org/#/c/195751/22:57
varosketjones1: looks good, thanks22:59
tjones1varoske: thanks22:59
*** ducttape_ has quit IRC22:59
*** jpomero has joined #openstack-horizon22:59
*** nlahouti has quit IRC23:00
*** nlahouti has joined #openstack-horizon23:02
*** nlahouti has quit IRC23:02
*** amotoki has joined #openstack-horizon23:02
*** TravT has quit IRC23:05
tjones1varoske: oops - i made a mistake on the logo-location.  fixing it23:06
*** amotoki has quit IRC23:07
*** TravT has joined #openstack-horizon23:08
*** kzaitsev_mb has quit IRC23:09
deuceCan anyone here answer questions about magic-search.js?23:12
deuceI'm in the middle of a refactor, and am unable to make sense of some things23:13
*** ongk has quit IRC23:13
*** mwhagedorn has quit IRC23:13
openstackgerritMerged openstack/horizon: Dashboard karma is missing framework files  https://review.openstack.org/20020723:13
sqchenTravT: ping23:16
TravTpong23:16
sqchenHi TravT, can you take a look at https://review.openstack.org/#/c/197310, it is pretty simple, but can unblock many other things.23:17
openstackgerritTracy Jones proposed openstack/horizon: move favicon, logo and logo-splash to default theme  https://review.openstack.org/19575123:19
*** zhenguo has joined #openstack-horizon23:21
*** nlahouti has joined #openstack-horizon23:25
*** geoffarnold has quit IRC23:28
tjones15FE90047-35A5-45F1-9E85-87A08E003F28-2954-00005A336C97B3E723:29
tjones1oops23:29
tjones1sorry23:29
openstackgerritTracy Jones proposed openstack/horizon: move favicon, logo and logo-splash to default theme  https://review.openstack.org/19575123:33
tjones1ok there i fixed it.  I was hoping to do both of the TODO in 500.html in another patch if that is ok with you varoske23:34
*** annashen has quit IRC23:34
varoskeyeah that's cool with me tjones1 :)23:34
tjones1thanks23:36
*** mgarza_ has quit IRC23:37
*** Longgeek has joined #openstack-horizon23:38
*** openstack has joined #openstack-horizon23:39
-cameron.freenode.net- [freenode-info] channel flooding and no channel staff around to help? Please check with freenode support: http://freenode.net/faq.shtml#gettinghelp23:39
*** tosky has quit IRC23:42
*** emilyw has quit IRC23:45
*** jingjin__ has quit IRC23:47
*** chlong has quit IRC23:49
*** sqchen has quit IRC23:49
*** yamamoto has joined #openstack-horizon23:49
*** yamamoto_ has joined #openstack-horizon23:49
*** SimonChung1 has joined #openstack-horizon23:50
*** SimonChung has quit IRC23:50
*** Sukhdev has quit IRC23:51
*** yamamoto_ has quit IRC23:52
*** Longgeek has quit IRC23:52
*** Sukhdev has joined #openstack-horizon23:52
*** kbrown has quit IRC23:53
*** yamamoto has quit IRC23:53
*** jbell8 has joined #openstack-horizon23:55
*** ongk has joined #openstack-horizon23:57

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