Thursday, 2015-08-27

sqchenauto-collect mechanism doen’t change the way Django use to find static files, it just give a list and file names to _script.html to populate them.00:00
david-lylesqchen: yes, I understand00:01
david-lyleI've put it in openstack_dashboard/contrib/sahara/content/data_processing/static00:02
david-lyleso openstack_dashboard is already an app00:02
openstackgerritRajat Vig proposed openstack/horizon: WIP Adding actions to angular images panel  https://review.openstack.org/21742200:02
david-lyleI also tried adding the subtree as an app00:02
david-lylebut that doesn't make sense00:03
david-lylejust trying things00:03
david-lyleno, it is necessary00:04
david-lylepure plugin model changed that00:04
david-lylebut still doesn't work00:04
*** rajatvig has quit IRC00:05
sqchenA staic folder directly under a Django application module is considered a Djanog static folder.00:05
david-lyleright so it should be collected00:05
david-lylenot so much though00:06
*** ybathia has quit IRC00:06
sqchenbut, you put the static foler somewhere deep in openstack_dashboard/contrib/sahara/content/data_processing/, it is not consider a staic folder any more.00:07
sqchenthough you name it static.00:08
david-lyleI might be an idiot00:08
sqchenonly openstack_dashboard/static/ is the static folder for openstack_dashboard application.00:08
david-lylewell I am00:08
*** jwy has joined #openstack-horizon00:09
david-lyleok it's working00:09
sqchenpackages under openstack_dashboard/dashboards/ are also installed as Django applications, I think.00:10
david-lylesqchen: thanks for your help, I had a mismatched path in my series of changes00:10
david-lyleby the enabled files yes00:10
david-lyleso settings project and admin00:10
david-lyleand now contrib/sahara/content/data_processing00:11
david-lylerolls off the tongue00:11
sqchenhehe00:11
david-lyledare I try autodiscovery?00:11
david-lyleI actually think it's unwarranted in this case00:12
david-lylesince it may move and is one file00:12
david-lyleI appreciate your help sqchen00:12
sqchenI think in you case, you can ignore the new auto-collecting mechanism.00:12
david-lylelong day and easily frustrated00:12
sqchennp. :)00:12
david-lyleme too00:13
david-lyleabout no auto-collect00:13
*** mtanino_ has quit IRC00:13
sqchensorry for so many typo, btw. :)00:14
david-lyleI'm not doing any better ;)00:14
openstackgerritVictor Stinner proposed openstack/horizon: Misc Python 3 fixes in horizon  https://review.openstack.org/21744400:15
*** sqchen has left #openstack-horizon00:18
openstackgerritDavid Lyle proposed openstack/horizon: [Sahara] Add support for event logs  https://review.openstack.org/15871500:24
*** cloudtrainme has joined #openstack-horizon00:29
*** jbell8 has joined #openstack-horizon00:30
*** shivrao has quit IRC00:30
openstackgerritRichard Jones proposed openstack/horizon: Richard messes with Selenium  https://review.openstack.org/21744800:41
*** asd112z has joined #openstack-horizon00:41
r1chardj0n3sdavid-lyle: that change ^^ includes some debugging to dump the environment out to confirm it's what we expect, and also includes an explicit FAIL in one of the selenium tests00:47
david-lyleok, I context-switched to some tasks I've been trying to finish00:48
*** lblanchard has joined #openstack-horizon00:56
*** cloudtrainme has quit IRC01:01
*** saksham has quit IRC01:02
r1chardj0n3sdavid-lyle: yep, no worries, I'll keep banging away at this until something falls out :)01:02
*** liangbo has joined #openstack-horizon01:04
*** zhenguo has joined #openstack-horizon01:05
*** yamamoto has joined #openstack-horizon01:06
*** garthb_ has quit IRC01:07
*** KunalGandhi has quit IRC01:08
*** dsneddon is now known as dsneddon_away01:12
*** jpomeroy has quit IRC01:15
*** ducttape_ has joined #openstack-horizon01:19
*** jtriley has joined #openstack-horizon01:19
openstackgerritDavid Lyle proposed openstack/horizon: Allowing job binaries to be edited  https://review.openstack.org/19720401:21
*** yamamoto has quit IRC01:22
*** ianbrown has joined #openstack-horizon01:23
*** yamamoto has joined #openstack-horizon01:24
*** ducttape_ has quit IRC01:25
*** jcoufal has joined #openstack-horizon01:25
*** yamamoto has quit IRC01:28
*** zhurong has joined #openstack-horizon01:28
*** jcoufal has quit IRC01:29
*** Daisy has joined #openstack-horizon01:29
*** Daisy has quit IRC01:31
*** Daisy has joined #openstack-horizon01:31
david-lylekfox1111: you have your votes from me01:31
* david-lyle is walking away now01:31
*** doug-fish has joined #openstack-horizon01:31
david-lylegood night everyone01:31
tqtrangnite01:32
tqtrantaking off as well, kfox1111 you're good to go01:32
*** jpomeroy has joined #openstack-horizon01:34
*** Daisy has quit IRC01:34
*** Daisy has joined #openstack-horizon01:34
*** tqtran has quit IRC01:35
*** btully has quit IRC01:35
*** kzaitsev_mb has quit IRC01:35
*** doug-fish has quit IRC01:36
r1chardj0n3snight david-lyle & tq01:36
r1chardj0n3shmm01:36
r1chardj0n3sso horizon's setup.cfg sets nosetest verbosity to 2, but when you run tests there's a --verbosity=1 but I can't find where that's coming from...01:36
*** Daisy has quit IRC01:39
r1chardj0n3soh! django/core/management/commands/test.py :/01:39
*** Daisy has joined #openstack-horizon01:40
openstackgerritRichard Jones proposed openstack/horizon: Richard messes with Selenium  https://review.openstack.org/21744801:42
*** kzaitsev_mb has joined #openstack-horizon01:43
*** Daisy has quit IRC01:44
*** lawrance_ has joined #openstack-horizon01:45
*** Daisy has joined #openstack-horizon01:45
*** cloudtrainme has joined #openstack-horizon01:48
*** lblanchard has quit IRC01:50
*** Daisy has quit IRC01:50
*** Daisy has joined #openstack-horizon01:51
*** doug-fish has joined #openstack-horizon01:52
*** lhcheng has quit IRC01:53
*** Daisy has quit IRC01:55
*** doug-fish has quit IRC01:56
*** lhcheng has joined #openstack-horizon01:56
*** kzaitsev_mb has quit IRC01:56
*** lhcheng has quit IRC01:57
*** Daisy has joined #openstack-horizon01:57
*** lhcheng has joined #openstack-horizon01:57
*** cloudtrainme has quit IRC01:58
*** lhcheng has quit IRC01:59
openstackgerritAllen proposed openstack/horizon: Display the project name in user detail page  https://review.openstack.org/20598301:59
*** btully has joined #openstack-horizon02:00
*** Daisy_ has joined #openstack-horizon02:00
*** lawrance_ has quit IRC02:01
*** Daisy_ has quit IRC02:02
*** arxcruz has quit IRC02:02
*** Daisy has quit IRC02:02
*** Daisy_ has joined #openstack-horizon02:02
*** Daisy has joined #openstack-horizon02:03
*** Daisy_ has quit IRC02:03
*** btully has quit IRC02:04
*** Drago has quit IRC02:05
*** cloudtrainme has joined #openstack-horizon02:06
*** Daisy has quit IRC02:06
*** Daisy has joined #openstack-horizon02:06
*** btully has joined #openstack-horizon02:06
*** Daisy has quit IRC02:06
*** Daisy has joined #openstack-horizon02:06
*** zhurong has quit IRC02:07
*** lhcheng has joined #openstack-horizon02:09
*** yamamoto has joined #openstack-horizon02:10
*** zhurong has joined #openstack-horizon02:16
*** lyanchih has joined #openstack-horizon02:16
*** zhurong has quit IRC02:16
openstackgerritRichard Jones proposed openstack/horizon: Richard messes with Selenium  https://review.openstack.org/21744802:18
*** zhurong has joined #openstack-horizon02:20
*** KunalGandhi has joined #openstack-horizon02:28
openstackgerritRichard Jones proposed openstack/horizon: Richard messes with Selenium  https://review.openstack.org/21744802:30
*** KunalGandhi has quit IRC02:33
*** KunalGandhi has joined #openstack-horizon02:34
*** shivrao has joined #openstack-horizon02:39
*** shivrao has quit IRC02:44
*** jtriley has quit IRC02:44
*** jwy has quit IRC02:48
*** asd112z has quit IRC02:50
*** jingjing_ren has quit IRC02:55
*** lawrance_ has joined #openstack-horizon02:59
*** TravT has quit IRC03:10
*** Daisy has quit IRC03:10
*** TravT has joined #openstack-horizon03:10
*** Daisy has joined #openstack-horizon03:11
*** Daisy has quit IRC03:15
*** lhcheng has quit IRC03:17
openstackgerritRichard Jones proposed openstack/horizon: Richard messes with Selenium  https://review.openstack.org/21744803:17
openstackgerritAllen proposed openstack/horizon: Display the project name in user detail page  https://review.openstack.org/20598303:18
*** esp has left #openstack-horizon03:20
*** ianbrown has quit IRC03:20
openstackgerritAllen proposed openstack/horizon: Implementation inline table editing for Networks  https://review.openstack.org/20985003:21
*** esp has joined #openstack-horizon03:22
openstackgerritRichard Jones proposed openstack/horizon: Richard messes with Selenium  https://review.openstack.org/21744803:26
*** Daisy has joined #openstack-horizon03:27
*** SimonChung has joined #openstack-horizon03:30
espnice one r1chardj0n3s :)03:30
*** vgridnev has joined #openstack-horizon03:30
r1chardj0n3sesp: trying out all manner of things to figure out why the selenium tests appear to just be ignored in the gate03:30
espoh man…03:31
*** SimonChung1 has joined #openstack-horizon03:31
espI thought majority of them were disabled on purpose but maybe I got it wrong03:31
*** Daisy has quit IRC03:32
r1chardj0n3snope, not disabled. they just aren't being run, and everyone just assumed someone had disabled them ;)03:32
espgotcha03:32
*** Daisy has joined #openstack-horizon03:33
*** linkedinyou has quit IRC03:33
r1chardj0n3soooh, I might have figured it out, finally03:34
*** SimonChung has quit IRC03:34
r1chardj0n3snext step: git blame ;)03:34
esplol03:35
r1chardj0n3s(that's not really the next step)03:35
espis the version of the firefox plugin?03:35
esp*is it03:35
r1chardj0n3sI think it might be that the tests aren't being run headless03:35
*** lhcheng has joined #openstack-horizon03:35
* esp man my english gets worse by the day03:35
r1chardj0n3s\o/ I got the tests running03:36
*** vgridnev has quit IRC03:36
espthat was fast03:36
r1chardj0n3sso, at some point someone added the --selenium-headless switch, and forgot to tell the gate job03:36
r1chardj0n3sum03:36
r1chardj0n3sI've been trying to crack this nut since 7am :P03:37
*** Daisy has quit IRC03:37
espgood find03:37
r1chardj0n3syep, so mid last year? is about when people thought the selenium tests were "disabled"?03:38
r1chardj0n3shmm03:40
*** lhcheng_ has joined #openstack-horizon03:40
r1chardj0n3sexcept the gate job *appears* to already be configured to use xvfb, but clearly it's not working03:40
*** lhcheng has quit IRC03:42
*** vgridnev has joined #openstack-horizon03:44
*** Daisy has joined #openstack-horizon03:44
*** dsneddon_away has quit IRC03:48
*** Daisy has quit IRC03:48
*** Daisy has joined #openstack-horizon03:50
*** Daisy has quit IRC03:54
*** Daisy has joined #openstack-horizon03:55
*** Daisy has quit IRC04:00
*** dsneddon_away has joined #openstack-horizon04:00
*** Daisy has joined #openstack-horizon04:01
*** jamielennox is now known as jamielennox|away04:04
*** jamielennox|away is now known as jamielennox04:05
*** Daisy has quit IRC04:06
openstackgerritOpenStack Proposal Bot proposed openstack/django_openstack_auth: Updated from global requirements  https://review.openstack.org/21714604:13
openstackgerritOpenStack Proposal Bot proposed openstack/horizon: Updated from global requirements  https://review.openstack.org/21714904:14
*** Daisy has joined #openstack-horizon04:17
openstackgerritVitaly Gridnev proposed openstack/horizon: [Sahara] Add support for event logs  https://review.openstack.org/15871504:18
vgridnevdavid-lyle, change https://review.openstack.org/#/c/158715/25 was verified, (right now I'm support Nikita's changes)04:21
*** Daisy has quit IRC04:22
*** Daisy has joined #openstack-horizon04:29
*** Daisy has quit IRC04:33
*** shivrao has joined #openstack-horizon04:37
openstackgerritRichard Jones proposed openstack/horizon: Richard messes with Selenium  https://review.openstack.org/21744804:37
*** yamamoto has quit IRC04:40
r1chardj0n3sdavid-lyle: related to getting selenium tests working again, I've proposed https://review.openstack.org/#/c/217509/ which removes the current (not working) selenium gate job and replaces it with something that (should, tested) work but will be experimental until confirmed04:40
*** Daisy has joined #openstack-horizon04:45
*** shivrao has quit IRC04:46
*** shivrao has joined #openstack-horizon04:47
*** Daisy has quit IRC04:50
*** Daisy has joined #openstack-horizon04:57
*** KingKhan has joined #openstack-horizon05:00
*** Daisy has quit IRC05:01
*** lyanchih has quit IRC05:05
*** yamamoto has joined #openstack-horizon05:05
*** TravT has quit IRC05:06
*** liangbo has quit IRC05:07
*** TravT has joined #openstack-horizon05:08
*** TravT has quit IRC05:09
*** TravT has joined #openstack-horizon05:11
*** Daisy has joined #openstack-horizon05:13
*** openstackgerrit has quit IRC05:16
*** openstackgerrit has joined #openstack-horizon05:17
*** Daisy has quit IRC05:17
*** ankit_ag has joined #openstack-horizon05:24
*** Daisy has joined #openstack-horizon05:25
*** liangbo has joined #openstack-horizon05:27
*** Daisy has quit IRC05:29
*** albertom has quit IRC05:29
*** albertom has joined #openstack-horizon05:31
*** Daisy has joined #openstack-horizon05:41
*** rdopiera has joined #openstack-horizon05:44
*** Daisy has quit IRC05:45
*** Daisy has joined #openstack-horizon05:48
*** shivrao has quit IRC05:58
*** lyanchih has joined #openstack-horizon06:00
openstackgerritOpenStack Proposal Bot proposed openstack/django_openstack_auth: Imported Translations from Transifex  https://review.openstack.org/21753206:07
*** ttrifonov is now known as zz_ttrifonov06:07
*** KunalGandhi has quit IRC06:07
*** Daisy has quit IRC06:10
*** Daisy has joined #openstack-horizon06:11
openstackgerritOpenStack Proposal Bot proposed openstack/horizon: Imported Translations from Transifex  https://review.openstack.org/21753306:14
*** Daisy has quit IRC06:15
*** btully has quit IRC06:16
*** mrunge has joined #openstack-horizon06:19
*** Daisy has joined #openstack-horizon06:22
*** linkedinyou has joined #openstack-horizon06:25
*** Daisy has quit IRC06:27
*** Daisy has joined #openstack-horizon06:27
openstackgerritVitaly Gridnev proposed openstack/horizon: [Sahara] Support autoconfiguration for templates  https://review.openstack.org/20739906:31
*** peristeri has joined #openstack-horizon06:32
*** albertom has quit IRC06:34
*** mflobo has joined #openstack-horizon06:38
*** albertom has joined #openstack-horizon06:40
*** vgridnev has quit IRC06:45
*** btully has joined #openstack-horizon06:47
openstackgerritRajat Vig proposed openstack/horizon: [Launch Instance Fix] Magic Search in new Launch Instance  https://review.openstack.org/20158206:51
*** doug-fish has joined #openstack-horizon06:56
*** markus_z has joined #openstack-horizon07:00
*** doug-fish has quit IRC07:01
mfloboMorning everyone07:03
*** KunalGandhi has joined #openstack-horizon07:03
mfloboquestion, I want to add an extra validation to the new Launch Instance (AngularJS) panel. The extra validation is for instance-name https://github.com/openstack/horizon/blob/stable/kilo/openstack_dashboard/static/dashboard/launch-instance/source/source.html#L2207:04
*** Daisy has quit IRC07:04
mflobowhere should I add the new validation function?. With "where" I mean the JS file07:05
mflobothanks07:05
*** Daisy has joined #openstack-horizon07:05
*** markus_z has quit IRC07:07
*** Daisy has quit IRC07:08
openstackgerritRajat Vig proposed openstack/horizon: [Launch Instance Fix] Magic Search in new Launch Instance  https://review.openstack.org/20158207:09
*** KunalGandhi has quit IRC07:09
*** Daisy has joined #openstack-horizon07:09
*** Daisy has quit IRC07:13
*** e0ne has joined #openstack-horizon07:18
*** Daisy has joined #openstack-horizon07:25
*** vgridnev has joined #openstack-horizon07:28
*** dulek has joined #openstack-horizon07:28
*** Daisy has quit IRC07:30
*** KingKhan has quit IRC07:33
*** Daisy has joined #openstack-horizon07:36
*** wimdc has joined #openstack-horizon07:39
*** Daisy has quit IRC07:40
*** Daisy has joined #openstack-horizon07:42
*** KingKhan has joined #openstack-horizon07:44
*** Daisy has quit IRC07:46
*** Daisy has joined #openstack-horizon07:47
*** mpavlase has joined #openstack-horizon07:51
*** Daisy has quit IRC07:52
*** fedexo has joined #openstack-horizon07:52
*** lhcheng has joined #openstack-horizon07:59
*** e0ne has quit IRC08:01
*** lhcheng_ has quit IRC08:03
*** Daisy has joined #openstack-horizon08:04
*** Ala has joined #openstack-horizon08:07
*** Daisy has quit IRC08:08
*** Daisy has joined #openstack-horizon08:08
*** Daisy has quit IRC08:09
*** Daisy has joined #openstack-horizon08:10
*** fedexo has quit IRC08:10
zigoHi. In Sid, I now have Horizon doing: compile() got an unexpected keyword argument 'relative_to'08:10
*** ygbo has joined #openstack-horizon08:10
zigoWhat's doing this?08:11
*** kiran-r has joined #openstack-horizon08:11
mrungezigo, do you have a bit more logs?08:12
zigoHi there! Sure...08:13
zigomrunge: http://paste.debian.net/306917/08:13
*** tosky has joined #openstack-horizon08:13
zigoThat's probably a Django 1.8 issue.08:13
zigoAh no.08:13
zigoI still got 1.7.908:13
*** Daisy has quit IRC08:14
mrungewhich version of python-django-pyscss and pyScss do you have?08:14
zigomrunge: 1.0.308:14
mrungeof python-django-pyscss?08:14
zigoYup.08:15
zigo1.3.4 for python-pyscss08:15
mrungeand pyScss?08:15
mrungeugh, really?08:15
mrungehttps://github.com/openstack/horizon/blob/stable/kilo/requirements.txt08:16
mrungeyour pyScss is too new08:16
mrungebut: I debugged that yesterday, there is a patch08:16
mrungelet me look that up08:16
zigoOk, after downgrading it to what's in Jessie, now I get: http://paste.debian.net/306918/08:17
mrungeyupp, already seen that too08:17
zigoWhich was reported to the Debian BTS... :/08:17
*** MaxV has joined #openstack-horizon08:17
mrungezigo, you should pull in this patch: https://github.com/redhat-openstack/horizon/commit/c398152d22eefe1bb21c5ef7a800da2f0cfc21fb08:19
zigoAh, cool ! :)08:19
zigoThanks.08:19
zigomrunge: Will this solve both issues?08:19
mrungethis is upstream as well08:19
mrungezigo, I got latest kilo to compress with pyScss 1.3.4 and later python-django-pyscss08:19
mrunge(my python-django-pyscss is 2.0.2)08:20
mrungezigo, btw, 2015.1.1 is already released, there are a few interesting fixes contained08:20
zigopython-django-pyscss is currently in Debian Experimental only, but I can upload it to Sid if I can fix Horizon to use it.08:20
*** Daisy has joined #openstack-horizon08:21
mrungeI would guess, your python-django-pyscss is too old for your version of pyScss08:21
mrungepython-django-pyscss is a bit picky08:21
zigoI'll try with the latest one in Experimental. Thanks so much!08:23
mrungeyou're welcome08:23
*** Daisy has quit IRC08:25
*** bluex-pl has joined #openstack-horizon08:28
*** Daisy has joined #openstack-horizon08:30
zigomrunge: It seems like this fixed everything, but now I have another issue with libjs-magic-search. I should be able to fix that one rather easily.08:31
*** Daisy_ has joined #openstack-horizon08:31
mrungezigo, great08:31
zigoHum...08:31
*** Daisy__ has joined #openstack-horizon08:32
zigoOh, there's no magic_search.scss in my system. This should be the issue.08:33
mrungeah yes, I seem to remmeber that08:33
mrungeI think it's an upstream packaging issue08:34
mrungeit might be fixed in a later version of maigc-search08:34
*** Daisy has quit IRC08:34
*** sayan has quit IRC08:35
* zigo is the package maintainer for libjs-magic-search in Debian and can fix that.08:36
*** Daisy_ has quit IRC08:36
zigoYEAH FIXED !!! \o/ :)08:36
*** Daisy__ has quit IRC08:37
zigomrunge: Thanks again.08:37
*** Daisy has joined #openstack-horizon08:37
mrunge:D08:37
zigomrunge: My Horizon in Sid is version 2015.1.0+2015.06.09.git15.e63af6c598, so last upstram commit from 9th of June. Is there any fix which would be a good enough reason to upgrade to latest commit?08:38
mrungezigo is there a reason not to take 2015.1.1 ?08:39
zigoWell, not sure if it breaks something! :)08:39
mrungeit should not08:39
*** KingKhan has quit IRC08:40
mrungezigo your last commit is from tsufiev (Fix Create User form's fields...)?08:40
mrungethat was merged upstream on Jul 14th08:41
mrungezigo: in short: you should cherry pick more fixes08:41
mrungethere are quite a few you really want08:41
zigoOk.08:41
zigoWill do.08:41
*** KingKhan has joined #openstack-horizon08:43
*** Daisy has quit IRC08:44
*** lhcheng has quit IRC08:44
*** Daisy has joined #openstack-horizon08:44
r1chardj0n3sdavid-lyle: that experimental job merged and has been tested successfully by my test patch \o/ going to check it against the in-flight selenium fix patches too08:45
*** Daisy has quit IRC08:49
*** mpavlase has quit IRC08:50
*** Daisy has joined #openstack-horizon08:50
*** Daisy has quit IRC08:53
*** Daisy has joined #openstack-horizon08:53
*** Daisy has quit IRC08:56
*** Daisy has joined #openstack-horizon08:56
*** Daisy has quit IRC08:58
*** MaxV has quit IRC08:58
*** Daisy has joined #openstack-horizon08:58
*** Daisy has quit IRC08:59
*** Daisy has joined #openstack-horizon08:59
*** e0ne has joined #openstack-horizon08:59
*** wuhg has joined #openstack-horizon09:00
*** akrivoka has joined #openstack-horizon09:01
*** Daisy has quit IRC09:02
*** Daisy has joined #openstack-horizon09:03
*** lyanchih has quit IRC09:03
robcresswellr1chardj0n3s: Richard messes with Selenium09:06
robcresswell+209:06
*** zhurong has quit IRC09:06
*** Daisy has quit IRC09:07
*** Daisy has joined #openstack-horizon09:08
*** lyanchih has joined #openstack-horizon09:12
*** Daisy has quit IRC09:13
*** Daisy has joined #openstack-horizon09:14
*** Daisy has quit IRC09:18
*** Daisy has joined #openstack-horizon09:19
*** ShivsharanRahul has joined #openstack-horizon09:21
tsufievr1chardj0n3s, so the main different with the existing selenium job is that the new one is headless and thus runs faster?09:21
tsufiev*difference09:22
*** Daisy has quit IRC09:23
openstackgerritMerged openstack/horizon: Move i18n to HTML for launch-instance source step  https://review.openstack.org/21623009:23
robcresswellWow that patch took like 15 hours in the gate09:25
*** Daisy has joined #openstack-horizon09:25
*** kzaitsev_mb has joined #openstack-horizon09:27
*** kiran-r has quit IRC09:27
*** lawrance_ has quit IRC09:28
*** sayan has joined #openstack-horizon09:29
tsufievrobcresswell, the integrated queue at zuul's gate looks strange09:29
*** Daisy has quit IRC09:29
tsufievI wonder whether it should have so many patches from different projects tied together09:29
robcresswelltsufiev: I've not really looked into how it functions09:34
robcresswellSo slow this time of the cycle though09:34
robcresswellWhat they need is some kind of cloud deployment that could scale better as demand goes up... anyone know of any software? :)09:34
openstackgerritDoug Fish proposed openstack/horizon: Put back fixed Sahara integration tests  https://review.openstack.org/21512709:34
*** Daisy has joined #openstack-horizon09:35
*** Drago has joined #openstack-horizon09:36
*** Drago has quit IRC09:36
*** Drago has joined #openstack-horizon09:36
*** Daisy_ has joined #openstack-horizon09:38
*** Daisy_ has quit IRC09:38
*** Daisy_ has joined #openstack-horizon09:38
*** lhcheng has joined #openstack-horizon09:39
*** Daisy_ has joined #openstack-horizon09:39
*** liangbo has quit IRC09:39
*** Daisy has quit IRC09:40
*** Daisy_ has quit IRC09:44
*** Daisy has joined #openstack-horizon09:45
*** Daisy has quit IRC09:49
*** akrivoka has quit IRC09:53
*** akrivoka has joined #openstack-horizon09:53
*** btully has quit IRC09:54
openstackgerritMerged openstack/django_openstack_auth: Imported Translations from Transifex  https://review.openstack.org/21753210:01
*** lyanchih has quit IRC10:04
*** lhcheng has quit IRC10:07
*** kzaitsev_mb has quit IRC10:07
*** eandersson has joined #openstack-horizon10:10
*** zhenguo has quit IRC10:10
openstackgerritBrad Pokorny proposed openstack/horizon: (WIP) Choose a server group when booting a VM  https://review.openstack.org/21761710:14
*** wimdc has quit IRC10:27
*** KingKhan has quit IRC10:27
*** KingKhan has joined #openstack-horizon10:27
*** lawrance_ has joined #openstack-horizon10:30
*** liangbo has joined #openstack-horizon10:33
openstackgerritMerged openstack/django_openstack_auth: Updated from global requirements  https://review.openstack.org/21714610:34
*** kiran-r has joined #openstack-horizon10:40
^Gal^Hi guys, I have an Horizon table question. I've added a row button which should exclusively make an API call, and that only . I don't need any modals nor views.10:41
^Gal^I figured that probably I should use a "LinkAction" but that navigates to a URL and utilizing some view mechanism what I don't need. If I understand correctly Django forces me to use a view.10:41
^Gal^I'm not sure how to implement my code as I don't want any redirects or screen changes making the call..10:41
*** sayan has quit IRC10:48
*** sayan has joined #openstack-horizon10:48
*** KingKhan has quit IRC10:51
*** KingKhan has joined #openstack-horizon10:55
*** yamamoto has quit IRC10:56
*** KingKhan has quit IRC10:56
*** aix has quit IRC11:02
*** ShivsharanRahul has quit IRC11:03
*** ShivsharanRahul has joined #openstack-horizon11:05
*** lyanchih has joined #openstack-horizon11:08
*** kzaitsev_mb has joined #openstack-horizon11:14
*** aix has joined #openstack-horizon11:33
*** lyanchih has quit IRC11:40
openstackgerritAna Krivokapic proposed openstack/tuskar-ui: Replace ironic_discoverd.client with ironic_inspector_client  https://review.openstack.org/20608811:40
*** yamamoto has joined #openstack-horizon11:41
*** yamamoto has joined #openstack-horizon11:41
*** yamamoto_ has joined #openstack-horizon11:42
*** zhurong has joined #openstack-horizon11:42
*** e0ne has quit IRC11:42
*** yamamoto has quit IRC11:46
robcresswelltsufiev: I just realised something odd. All the details pages are at <panel>/<id>/detail. Shouldnt it just be <panel>/<id>?11:49
*** haypo has joined #openstack-horizon11:52
openstackgerritBradley Jones proposed openstack/horizon: Add Curvature topology  https://review.openstack.org/14107811:52
*** zhurong has quit IRC11:52
haypodavid-lyle, rdopiera: hi. you approved https://review.openstack.org/#/c/214902/ but i had to rebase it. can you please re-approve it?11:52
*** kzaitsev1ws has joined #openstack-horizon11:53
*** kzaitsev1ws has quit IRC11:53
*** lhcheng has joined #openstack-horizon11:55
robcresswellhaypo: What was the difference between 3 and 4?11:56
robcresswellI see the conflict at 211:56
hayporobcresswell: "I rebased the patch. There was a single and simple conflict on imports because "import six" was added."11:57
mrungerobcresswell, https://review.openstack.org/#/c/214902/3..4/openstack_dashboard/dashboards/admin/metering/tables.py11:57
hayporobcresswell: that's all11:57
tsufievrobcresswell, don't know, hadn't invested much thought into me. But, to me it seems like the possibility to add something other than /details page for every entity in panel11:57
haypothere was also a pep8 error because "import six" was written twice11:57
mrunge+2'ed that patch, looks good to me haypo11:58
haypomrunge: cool11:58
*** kiran-r has quit IRC11:58
robcresswellApproved.11:58
haypomrunge: such patch is annoying because it modifies a lot of files. it's likely to conflict ...11:58
mrungeyes I know haypo11:58
mrungethanks for the heads-up here11:58
mrungeand thank you robcresswell for ack!11:59
robcresswellmrunge: Yeah, I checked 2..4 first to see how merge was resolved, but was confused by there being 2 patchsets... thought it was faster just to ask since haypo was here11:59
robcresswellmrunge: Np :)11:59
haypoi'm now working on openstack_auth. python3 support is announced, but there are 3 obvious issues with python311:59
haypoi have a patch, but i'm trying to write a test for them12:00
robcresswellI'm a big fan of all the fixes recently; Py3, integration tests, npm lint and minimum test coverage...12:00
*** lhcheng has quit IRC12:00
robcresswellAnd docs warnings fixed too.12:00
robcresswellLooks like we will have a more stable horizon next cycle.12:00
tsufievrobcresswell, or the one that "breaks" more often :)12:01
robcresswellglass half full tsufiev, not half empty!! :p12:03
*** gparaskevas has joined #openstack-horizon12:04
r1chardj0n3stsufiev: the old one tried to be headless, but in a way that was incompatible with our test suite (a way that we couldn't determine)12:05
r1chardj0n3stsufiev: the big change is that the new job actually runs the tests :)12:05
tsufievr1chardj0n3s, btw, are your able to debug these headless tests locally?12:06
tsufievor even run12:06
r1chardj0n3stsufiev: yes, using the existing Horizon ./run_tests.py --only-selenium [--selenium-headless]12:06
tsufievI tried running integration tests (by default tox uses --selenium-headless) and had some weird error which I had no time investigate12:07
r1chardj0n3swhich is what the new gate job uses12:07
tsufievwith opening some files12:07
r1chardj0n3sI've not looked into the integration tests, but I can do tomorrow if you like? It's 10pm here and I'm about to go to bed12:07
tsufievr1chardj0n3s, oh, sorry. Sure, I don't mind )12:07
r1chardj0n3sno worries mate :)12:07
r1chardj0n3sI'm just glad we have a path to more selenium tests for the new functionality12:08
r1chardj0n3snight :)12:08
*** ducttape_ has joined #openstack-horizon12:09
*** yamamoto_ has quit IRC12:10
*** liangbo has quit IRC12:11
*** yamamoto has joined #openstack-horizon12:11
*** ShivsharanRahul has quit IRC12:15
*** yamamoto has quit IRC12:16
*** Daisy has joined #openstack-horizon12:17
*** jcoufal has joined #openstack-horizon12:19
*** ShivsharanRahul has joined #openstack-horizon12:24
*** mtanino has joined #openstack-horizon12:24
*** Daisy has quit IRC12:26
*** Daisy has joined #openstack-horizon12:26
*** ducttape_ has quit IRC12:27
*** openstackgerrit has quit IRC12:31
*** openstackgerrit has joined #openstack-horizon12:32
*** btully has joined #openstack-horizon12:33
*** jcoufal has quit IRC12:35
*** amotoki_ has quit IRC12:37
*** btully has quit IRC12:37
openstackgerritVictor Stinner proposed openstack/django_openstack_auth: Fix Python 3 issues  https://review.openstack.org/21768712:38
haypoah, openstack/django_openstack_auth is also tracked on this channel. so here is my patch for python 3 ^^12:38
*** vgridnev has quit IRC12:40
*** wuhg has quit IRC12:41
*** doug-fish has joined #openstack-horizon12:41
*** vgridnev has joined #openstack-horizon12:43
*** e0ne has joined #openstack-horizon12:44
*** cloudtrainme has quit IRC12:46
openstackgerritMerged openstack/horizon: Revert "Fix broken header dropdowns"  https://review.openstack.org/21733112:46
robcresswellpkarikh: Just an FYI, one of your changes was reverted; my be worth looking in to. https://review.openstack.org/#/c/165893/12:48
*** jcoufal has joined #openstack-horizon12:49
openstackgerritMerged openstack/horizon: Cleaning up the Transfer Table  https://review.openstack.org/20886712:52
*** cloudtrainme has joined #openstack-horizon12:53
*** Daisy has quit IRC12:57
*** Daisy has joined #openstack-horizon12:58
*** yamamoto has joined #openstack-horizon13:00
*** zhurong has joined #openstack-horizon13:00
* robcresswell is suddenly realising half the URL patterns in Horizon make zero sense13:00
*** Daisy has quit IRC13:03
*** ShivsharanRahul has left #openstack-horizon13:03
*** jpomeroy has quit IRC13:03
*** ducttape_ has joined #openstack-horizon13:04
*** ducttape_ has quit IRC13:07
*** yamamoto has quit IRC13:08
openstackgerritTimur Sufiev proposed openstack/horizon: Drop QUnit JS tests in favor of Jasmine  https://review.openstack.org/15657213:09
*** mtanino has quit IRC13:11
*** ankit_ag has quit IRC13:12
*** cloudtrainme has quit IRC13:12
*** ducttape_ has joined #openstack-horizon13:14
*** doug-fish has quit IRC13:15
*** neelashah has joined #openstack-horizon13:15
*** doug-fish has joined #openstack-horizon13:15
*** neelabh__ has joined #openstack-horizon13:16
neelabh__Guys Please tell me how to access nova.servers.list() through only token....13:16
ducttape_neelabh__ - the horizon api wrappers all use / need a request13:16
ducttape_if you only have a token, you'd need to redo the same stuff currently in the openstack_dashboard/api/nova.py stuff13:17
ducttape_you need more than just a token, if you have multiple regions (something else to think of)13:18
*** doug-fish has quit IRC13:19
*** doug-fish has joined #openstack-horizon13:22
*** ducttape_ has quit IRC13:22
*** jpomeroy has joined #openstack-horizon13:22
*** zz_ttrifonov is now known as ttrifonov13:23
neelabh__ducttape: please see this https://ask.openstack.org/en/question/80901/how-to-get-list-of-all-servers-through-token-based-authetication/13:23
*** cloudtrainme has joined #openstack-horizon13:25
*** zhenguo has joined #openstack-horizon13:25
*** cloudtrainme has quit IRC13:26
*** julim has joined #openstack-horizon13:28
openstackgerritFrode Nordahl proposed openstack/horizon: Add support for creating subnets with Neutron subnet allocation  https://review.openstack.org/20357013:34
*** yamamoto has joined #openstack-horizon13:37
*** pauloewerton has joined #openstack-horizon13:39
*** jtriley has joined #openstack-horizon13:40
openstackgerritFrode Nordahl proposed openstack/horizon: Add support for creating subnets with Neutron subnet allocation  https://review.openstack.org/20357013:43
*** lhcheng has joined #openstack-horizon13:45
*** radez has joined #openstack-horizon13:48
*** lhcheng has quit IRC13:49
*** petertr7_away is now known as petertr713:51
*** lblanchard has joined #openstack-horizon13:52
*** mtanino has joined #openstack-horizon13:52
*** Piet has quit IRC13:56
openstackgerritFrode Nordahl proposed openstack/horizon: Add support for creating subnets with Neutron subnet allocation  https://review.openstack.org/20357013:57
*** yamamoto has quit IRC13:57
*** exploreshaifali has joined #openstack-horizon13:59
*** ducttape_ has joined #openstack-horizon14:00
*** petertr7 is now known as petertr7_away14:01
*** lyanchih has joined #openstack-horizon14:03
*** doug-fish has quit IRC14:04
lawrance_hello  Cinder Lu, there?14:05
*** doug-fish has joined #openstack-horizon14:05
*** doug-fish has quit IRC14:05
tsufievlawrance_, her nick is clu14:05
*** doug-fish has joined #openstack-horizon14:06
tsufievusually it's too early for her since she is at PST14:06
*** doug-fish has quit IRC14:07
openstackgerritVictor Stinner proposed openstack/django_openstack_auth: Fix Python 3 issues  https://review.openstack.org/21768714:07
*** doug-fish has joined #openstack-horizon14:07
*** lhcheng has joined #openstack-horizon14:09
*** lyanchih has quit IRC14:09
*** shivrao has joined #openstack-horizon14:10
*** lhcheng has quit IRC14:14
*** jprovazn has joined #openstack-horizon14:14
*** shivrao_ has joined #openstack-horizon14:15
*** shivrao has quit IRC14:18
*** cloudtrainme has joined #openstack-horizon14:21
*** shivrao_ has quit IRC14:21
*** romainh has joined #openstack-horizon14:21
*** jtriley has quit IRC14:24
robcresswellCinder :p hehe. It's Cindy, and she'll not likely be around for another couple hours14:30
*** jtriley has joined #openstack-horizon14:32
openstackgerritDavid Lyle proposed openstack/horizon: [Sahara] Add support for event logs  https://review.openstack.org/15871514:33
*** zhurong has quit IRC14:33
*** vijendar has joined #openstack-horizon14:34
*** dfisher has joined #openstack-horizon14:35
*** romainh has left #openstack-horizon14:36
*** doug-fish has quit IRC14:36
*** doug-fish has joined #openstack-horizon14:37
dfisherI know this probably isn't a horizon-specific question but it does affect horizon on devstack deployments.  I've got an ubuntu devstack rig with a stock configuration of Apache (runs it as the user/group of www-data).  How exactly is Ubuntu allowing the WSGIDaemonProcess to switch users?  doesn't mod_wsgi explicitly prohibit this?14:37
*** petertr7_away is now known as petertr714:40
*** pauloegf has joined #openstack-horizon14:43
*** pauloegf has quit IRC14:43
*** pauloegf has joined #openstack-horizon14:44
*** pauloegf has quit IRC14:44
*** pauloewerton has quit IRC14:45
*** pauloewerton has joined #openstack-horizon14:46
*** doug-fish has quit IRC14:46
*** hinnant_ has joined #openstack-horizon14:52
*** KunalGandhi has joined #openstack-horizon14:52
pkarikhrobcresswell: yep, thanks.  Can't find out how could I miss it (or when it was broken).14:56
*** KunalGandhi has quit IRC14:57
*** yamamoto has joined #openstack-horizon14:58
*** vgridnev has quit IRC15:00
*** yamamoto has quit IRC15:02
*** itisha has joined #openstack-horizon15:07
*** itisha_ has joined #openstack-horizon15:09
*** SimonChung1 has quit IRC15:09
*** petertr7 is now known as petertr7_away15:11
itisha_Hi, my name is Itisha, I am interested in working in Openstack and learning more about cloud services. I find that I can contribute to Horizon easily since I like web development. Can someone please guide me on how to start contributing? Thanks15:13
*** petertr7_away is now known as petertr715:15
*** peristeri has quit IRC15:17
gparaskevasHello i believe you can start from here15:18
gparaskevashttp://docs.openstack.org/developer/horizon/contributing.html15:18
gparaskevaswellcome BTW15:18
*** exploreshaifali has quit IRC15:22
*** ttrifonov is now known as zz_ttrifonov15:28
*** vgridnev has joined #openstack-horizon15:30
*** vgridnev has quit IRC15:31
*** vgridnev has joined #openstack-horizon15:31
*** gparaskevas has quit IRC15:32
*** vgridnev has quit IRC15:36
openstackgerritCindy Lu proposed openstack/horizon: Add Angular Table Footer Directive  https://review.openstack.org/20763115:39
*** ccesario has quit IRC15:41
*** sayan has quit IRC15:41
itishaThanks gparaskevas15:44
openstackgerritCindy Lu proposed openstack/horizon: Add Angular Table Footer Directive  https://review.openstack.org/20763115:46
*** dfisher has left #openstack-horizon15:50
*** dsneddon_away is now known as dsneddon15:50
openstackgerritCindy Lu proposed openstack/horizon: Adding clone feature to Transfer Table  https://review.openstack.org/21134515:52
*** doug-fish has joined #openstack-horizon16:01
*** Daisy has joined #openstack-horizon16:04
openstackgerritFrode Nordahl proposed openstack/horizon: Add support for creating subnets with Neutron subnet allocation  https://review.openstack.org/20357016:08
*** btully has joined #openstack-horizon16:09
openstackgerritRajat Vig proposed openstack/horizon: JSCS Cleanup - use DI in launch instance model  https://review.openstack.org/21174116:10
*** ccesario has joined #openstack-horizon16:10
*** rajatvig has joined #openstack-horizon16:10
*** ygbo has quit IRC16:10
openstackgerritRajat Vig proposed openstack/horizon: Run ESLint on Javascript files in dashboards  https://review.openstack.org/21405716:11
openstackgerritRajat Vig proposed openstack/horizon: Create a Angular Modules for Admin Dashboard  https://review.openstack.org/21477916:11
openstackgerritRajat Vig proposed openstack/horizon: WIP : API for Metadata Definitions  https://review.openstack.org/21572116:11
*** btully has quit IRC16:14
openstackgerritRajat Vig proposed openstack/horizon: WIP : API for Metadata Definitions  https://review.openstack.org/21572116:14
*** doug-fish has quit IRC16:14
openstackgerritRajat Vig proposed openstack/horizon: WIP : Angular panel for Metadata Definitions  https://review.openstack.org/21614116:15
*** doug-fish has joined #openstack-horizon16:15
*** SimonChung has joined #openstack-horizon16:15
*** e0ne has quit IRC16:18
*** doug-fish has quit IRC16:19
*** vgridnev has joined #openstack-horizon16:19
*** sayan has joined #openstack-horizon16:19
openstackgerritRajat Vig proposed openstack/horizon: WIP : Angular panel for Metadata Definitions  https://review.openstack.org/21614116:21
*** bluex-pl has quit IRC16:24
*** exploreshaifali has joined #openstack-horizon16:26
*** garthb_ has joined #openstack-horizon16:26
*** garthb has joined #openstack-horizon16:26
*** garthb has quit IRC16:27
*** lhcheng has joined #openstack-horizon16:27
openstackgerritRajat Vig proposed openstack/horizon: [Launch Instance Fix] Magic Search in new Launch Instance  https://review.openstack.org/20158216:35
*** doug-fish has joined #openstack-horizon16:36
*** jprovazn has quit IRC16:37
*** Ala has quit IRC16:38
*** doug-fis_ has joined #openstack-horizon16:39
*** doug-fish has quit IRC16:41
*** zhenguo has quit IRC16:41
itishaHello, I was trying to setup dev environment for horizon and in the step where i need to run run_tests.sh which builds a virtualenv with all horizon deps. I am unable to run this succesfully and get errors which might be due to me working behind a proxy. Is there a workaround for it?16:42
robcresswellitisha: What are the errors? Can you hit external repos normally?16:44
itishahttps://www.irccloud.com/pastebin/i6Gbyf9H/Error16:45
openstackgerritRajat Vig proposed openstack/horizon: WIP: Add API services for system information  https://review.openstack.org/20519616:45
*** jtriley has quit IRC16:45
itisha@robcresswell This is one of the errors I am getting16:45
openstackgerritRajat Vig proposed openstack/horizon: WIP: Add angular system information panel  https://review.openstack.org/20473116:45
*** vijendar1 has joined #openstack-horizon16:46
*** petertr7 is now known as petertr7_away16:46
*** Daisy has quit IRC16:48
*** Daisy has joined #openstack-horizon16:48
*** petertr7_away is now known as petertr716:48
*** vijendar has quit IRC16:48
itisha@robcresswell by external repos do you mean ppa etc? I need to use -E flag with commands when I clone external repos which includes my environments variables like proxy settings in the command16:48
*** Daisy has quit IRC16:49
openstackgerritShaoquan Chen proposed openstack/horizon: Moving inline html code out of login.spec.js  https://review.openstack.org/21651716:49
openstackgerritRajat Vig proposed openstack/horizon: WIP: API for getting and updating quotas  https://review.openstack.org/20712616:50
openstackgerritRajat Vig proposed openstack/horizon: WIP : Add angular defaults panel for admin  https://review.openstack.org/20529616:50
*** KunalGandhi has joined #openstack-horizon16:50
*** KunalGandhi has quit IRC16:50
*** KunalGandhi has joined #openstack-horizon16:50
robcresswellin IRC, just tab complete the name, I don't think the @ symbol notifies16:52
robcresswellitisha: ^^16:52
*** cloudtrainme has quit IRC16:52
*** lyanchih has joined #openstack-horizon16:52
*** jtriley has joined #openstack-horizon16:52
itisharobcresswell: alright!16:53
openstackgerritMerged openstack/horizon: Update Table to Single HTML for Readability  https://review.openstack.org/21697716:53
*** harlowja has joined #openstack-horizon16:55
*** jingjing_ren has joined #openstack-horizon16:55
robcresswellUsing Horizon behind a proxy, I'm not sure about. It's not something I've had to do before.16:56
*** aix has quit IRC16:58
*** jpomeroy has quit IRC16:58
neelabh__What is use of additional_query in class ProjectAggregatesQuery in metering.py..17:01
itisharobcresswell: I looked through the file run_tests.sh and basically for some of the commands called in it I might need to explicitly supply the proxy settings17:01
*** lyanchih has quit IRC17:02
*** lawrance_ has quit IRC17:02
*** jpomeroy has joined #openstack-horizon17:02
*** doug-fis_ has quit IRC17:04
*** doug-fish has joined #openstack-horizon17:04
*** doug-fish has quit IRC17:04
*** doug-fish has joined #openstack-horizon17:05
robcresswellneelabh__: https://github.com/openstack/horizon/blob/master/openstack_dashboard/api/ceilometer.py#L33717:07
*** ybathia has joined #openstack-horizon17:08
neelabh__robcresswell: "additional_query`: Additional query for the statistics." I am not getting it properly what is usage of it, thanks..17:09
neelabh__what is 'op': 'ge' in additional query...17:10
*** garthb has joined #openstack-horizon17:10
*** garthb_ has quit IRC17:10
*** petertr7 is now known as petertr7_away17:11
openstackgerritMerged openstack/tuskar-ui: Use textfield for public interface in simplified config  https://review.openstack.org/21731817:14
*** doug-fish has quit IRC17:14
*** doug-fish has joined #openstack-horizon17:14
openstackgerritMerged openstack/horizon: [Sahara] Added volume type and instance locality support  https://review.openstack.org/17241617:14
*** cloudtrainme has joined #openstack-horizon17:15
*** yamamoto has joined #openstack-horizon17:20
itishaI have got a local server of horizon running and can access dashboard in my browser. Can someone point me to getting started by solving beginner bugs?17:22
*** hinnant_ has quit IRC17:22
*** kzaitsev_mb has quit IRC17:30
*** rdopiera has quit IRC17:34
itishahttps://bugs.launchpad.net/horizon/+bug/1395897 This bug looks good. Can someone help me get started on solving this?17:36
openstackLaunchpad bug 1395897 in OpenStack Dashboard (Horizon) "Database Instance Status confusion" [Wishlist,New] - Assigned to Itisha Dewan (ishadewan07)17:36
*** SimonChung1 has joined #openstack-horizon17:41
*** SimonChung has quit IRC17:41
*** shivrao has joined #openstack-horizon17:43
*** e0ne has joined #openstack-horizon17:45
openstackgerritDavid Lyle proposed openstack/horizon: Fix table _get_rows() - always return None  https://review.openstack.org/20749117:47
*** exploreshaifali has quit IRC17:48
*** cloudtrainme has quit IRC17:50
*** cloudtrainme has joined #openstack-horizon17:51
*** tqtran has joined #openstack-horizon17:51
*** btully has joined #openstack-horizon17:57
openstackgerritKBrown proposed openstack/horizon: WIP Adding action to delete multiple images to angular images panel  https://review.openstack.org/21742218:00
openstackgerritKBrown proposed openstack/horizon: WIP Adding Create Image Action to angular images panel  https://review.openstack.org/21782818:00
*** saksham has joined #openstack-horizon18:01
*** garthb has quit IRC18:01
*** btully has quit IRC18:02
*** garthb has joined #openstack-horizon18:02
openstackgerritMerged openstack/horizon: Allowing data sources to be edited  https://review.openstack.org/19528218:03
*** Piet has joined #openstack-horizon18:03
*** garthb has quit IRC18:09
openstackgerritDavid Lyle proposed openstack/horizon: Adding download for openrc file for keystone v3  https://review.openstack.org/18684618:10
openstackgerritDuk Loi proposed openstack/horizon: Enable Redis database cluster support  https://review.openstack.org/20463018:11
*** jbell8 has quit IRC18:19
*** jwy has joined #openstack-horizon18:20
*** Samos123 has quit IRC18:27
*** Samos123 has joined #openstack-horizon18:29
*** jingjing_ren has quit IRC18:29
*** vgridnev has quit IRC18:31
*** petertr7_away is now known as petertr718:33
*** jingjing_ren has joined #openstack-horizon18:35
*** jingjing_ren has quit IRC18:39
*** shivrao_ has joined #openstack-horizon18:39
*** exploreshaifali has joined #openstack-horizon18:40
*** shivrao has quit IRC18:41
*** shivrao_ is now known as shivrao18:41
*** saksham has left #openstack-horizon18:41
tqtrandavid-lyle: could you help push this one through? https://review.openstack.org/#/c/211741/ just a few jscs fixes that would then allow us to enable linting in dashboards folder as well https://review.openstack.org/#/c/214057/18:45
openstackgerritShaoquan Chen proposed openstack/horizon: Moving inline html code out of login.spec.js  https://review.openstack.org/21651718:52
*** TravT has quit IRC18:52
*** e0ne has quit IRC18:53
*** mrunge has quit IRC18:55
openstackgerritThai Tran proposed openstack/horizon: Creating new user does not require project  https://review.openstack.org/21538918:55
*** TravT has joined #openstack-horizon18:56
*** garthb has joined #openstack-horizon18:56
*** lapalm has joined #openstack-horizon18:56
openstackgerritThai Tran proposed openstack/horizon: Creating new user does not require project  https://review.openstack.org/21538918:56
openstackgerritFrode Nordahl proposed openstack/horizon: Add support for creating subnets with Neutron subnet allocation  https://review.openstack.org/20357018:58
openstackgerritMerged openstack/horizon: Javascript Heat API  https://review.openstack.org/21644318:59
*** rajatvig has quit IRC19:00
*** kzaitsev_mb has joined #openstack-horizon19:02
PietPlease provide feedback on searchlight concept - https://openstack.invisionapp.com/d/main/#/console/4342648/98035025/comments19:04
*** rajatvig has joined #openstack-horizon19:04
*** dsneddon is now known as dsneddon_bbiab19:06
openstackgerritKBrown proposed openstack/horizon: Adding action to delete multiple images to angular images panel  https://review.openstack.org/21742219:07
*** rajatvig has quit IRC19:07
*** rajatvig has joined #openstack-horizon19:07
*** btully has joined #openstack-horizon19:09
*** aix has joined #openstack-horizon19:11
*** btully has quit IRC19:14
*** vgridnev has joined #openstack-horizon19:22
*** rajatvig has quit IRC19:28
*** rajatvig has joined #openstack-horizon19:34
*** rajatvig has quit IRC19:34
*** angvp has quit IRC19:36
*** e0ne has joined #openstack-horizon19:37
*** stevemar has joined #openstack-horizon19:43
*** tqtran_ has joined #openstack-horizon19:45
tqtran_TravT: https://review.openstack.org/#/c/212125/7/openstack_dashboard/static/app/core/cloud-services/hz-service-enabled.directive.spec.js L6319:45
kfox1111~.19:46
kfox1111~>19:46
kfox1111~>19:46
tqtran_im running it on local and finding that it does not do anything19:46
tqtran_futhermore, shouldnt the things returned in success be a response object and not a function?19:47
*** hinnant_ has joined #openstack-horizon19:47
kfox1111tqtran_: so, https://review.openstack.org/#/c/206773/ looks to have failed due to a gate issue. do we just 'recheck' it?19:50
tqtran_looks like gate reported that it failed npm run test but log shows nothing19:51
tqtran_try to run "npm run test' locally and see if anything turns up, if not, then do a recheck19:52
*** dsneddon_bbiab is now known as dsneddon19:53
openstackgerritThai Tran proposed openstack/horizon: Directive to check if policy check passes  https://review.openstack.org/21481519:53
kfox1111tqtran_: the logs show it failed to contact ubuntu's mirror. :/19:59
kfox1111http://logs.openstack.org/73/206773/23/gate/gate-horizon-npm-run-test/b0131c6/console.html at the bottom.20:00
*** rajatvig has joined #openstack-horizon20:00
*** sayan has quit IRC20:00
kfox1111triggering recheck.20:02
*** doug-fish has quit IRC20:07
*** doug-fish has joined #openstack-horizon20:07
*** jwy has quit IRC20:08
*** jbell8 has joined #openstack-horizon20:08
*** tqtran has quit IRC20:10
*** sambetts has quit IRC20:10
*** doug-fish has quit IRC20:12
*** jbell8 has quit IRC20:12
*** e0ne has quit IRC20:13
*** sambetts has joined #openstack-horizon20:17
openstackgerritDan Nguyen proposed openstack/django_openstack_auth: Makes policy.check aware of domain scoped token  https://review.openstack.org/19632820:17
openstackgerritThai Tran proposed openstack/horizon: Update Users Table to single HTML  https://review.openstack.org/21787920:18
openstackgerritThai Tran proposed openstack/horizon: Update Users Table to single HTML  https://review.openstack.org/21787920:18
openstackgerritDuk Loi proposed openstack/horizon: Initial support for database clustering in Horizon  https://review.openstack.org/11041120:18
openstackgerritThai Tran proposed openstack/horizon: Update Users Table to single HTML  https://review.openstack.org/21787920:20
openstackgerritRajat Vig proposed openstack/horizon: WIP: Add API services for system information  https://review.openstack.org/20519620:20
openstackgerritRajat Vig proposed openstack/horizon: WIP: Add angular system information panel  https://review.openstack.org/20473120:20
*** tqtran has joined #openstack-horizon20:21
*** rhagarty__ has quit IRC20:23
*** jwy has joined #openstack-horizon20:23
*** rhagarty_ has quit IRC20:23
openstackgerritThai Tran proposed openstack/horizon: Update Users Table to single HTML  https://review.openstack.org/21787920:24
tqtran_rajatvig: https://review.openstack.org/#/c/212125/7/openstack_dashboard/static/app/core/cloud-services/hz-service-enabled.directive.spec.js L6420:25
tqtran_do you know what is going on there?20:26
rajatvigtqtran_: let me check on that. Just looked at your comment20:26
*** rhagarty has joined #openstack-horizon20:29
*** rhagarty_ has joined #openstack-horizon20:30
openstackgerritMerged openstack/horizon: [Sahara] Add missing job type in libs selection  https://review.openstack.org/21638420:30
openstackgerritMerged openstack/horizon: Delete redundant 'CreateVolumeTypeView' class  https://review.openstack.org/21555520:30
*** exploreshaifali has quit IRC20:30
openstackgerritChad Roberts proposed openstack/horizon: Adding manila shares as an option for data sources  https://review.openstack.org/21475420:31
openstackgerritChad Roberts proposed openstack/horizon: Adding support for Manila-based shares in Sahara  https://review.openstack.org/20708620:32
openstackgerritJustin Pomeroy proposed openstack/horizon: Support docker image type in ng launch instance wizard  https://review.openstack.org/21789420:37
rajatvigtqtran_: nice catch. I don't need the callback there.20:37
tqtran_so the question is... how do i know that it is getting resolved?20:37
rajatvigtqtran_: just updated the test and added another to test when the service returns an error20:37
*** kristinebrown has joined #openstack-horizon20:38
tqtran_ok, i'll wait for your update, but the central question we are asking is, if settings or policies or whatever passes, then the content should be there. right now, that question isn't answered because we aren't triggering the success call20:38
tqtran_so unless we know it is successful, the test isn't really useful...20:39
*** exploreshaifali has joined #openstack-horizon20:39
*** jingjing_ren has joined #openstack-horizon20:39
*** jingjing_ren has quit IRC20:39
rajatvigmakes sense. I understand what you're saying and I don't think the test captures it well.20:40
*** akrivoka has quit IRC20:40
openstackgerritChad Roberts proposed openstack/horizon: Adding manila shares as an option for data sources  https://review.openstack.org/21475420:42
openstackgerritCindy Lu proposed openstack/horizon: Update User Table to Single HTML for Readability  https://review.openstack.org/21790120:43
*** crobertsrh is now known as _crobertsrh20:44
*** exploreshaifali has quit IRC20:45
*** cloudtrainme has quit IRC20:49
*** julim has quit IRC20:50
openstackgerritCindy Lu proposed openstack/horizon: Fix Users table to use hz-table-footer directive  https://review.openstack.org/21790320:51
*** gyee has joined #openstack-horizon20:51
*** julim has joined #openstack-horizon20:54
*** cloudtrainme has joined #openstack-horizon20:55
*** sqchen has joined #openstack-horizon20:57
david-lyletqtran_: what lint issue does https://review.openstack.org/#/c/211741/15/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/keypair/import-keypair-help.controller.js fix?20:58
david-lyletqtran_: nevermind20:58
TravTtqtran_: rajatvig:20:58
TravTjust reading back.20:58
TravTyou need to read this line of the comments in the test20:58
david-lyleI see the end tag includes things it shouldn't20:59
TravThmmm.20:59
openstackgerritDarren Shaw proposed openstack/horizon: Fix local_settings.py.example to be consistently styled  https://review.openstack.org/21204120:59
TravTrajatvig: you didn't include those comments from the other patches20:59
*** yamamoto has quit IRC21:00
TravThttps://github.com/openstack/horizon/blob/master/openstack_dashboard/static/app/core/cloud-services/hz-nova-extension.directive.spec.js#L59-L6221:00
TravTall the actual promise testing is done in the common spec21:01
TravThttps://github.com/openstack/horizon/blob/master/horizon/static/framework/util/promise-toggle/hz-promise-toggle.directive.spec.js21:01
TravTfor the directive21:01
rajatvigTravT: I'll add the comments per the other patches.21:01
rajatvigI was testing what tqtran_ asked me to21:01
david-lylerajatvig: tqtran_: one issue on https://review.openstack.org/#/c/211741/21:02
TravTand all the actual testing for the specific promise for service catalog is here: https://github.com/openstack/horizon/blob/master/openstack_dashboard/static/app/core/openstack-service-api/service-catalog.service.spec.js21:02
rajatvigtqtran_: the serviceCatalog.ifTypeEnabled does not resolve the promise if the service is not enabled. I added a test for the case when the promise is rejected21:02
rajatvigdavid-lyle: I'll try and fix that issue21:03
*** jtriley has quit IRC21:03
TravTrajatvig: thanks for that other test case.21:05
*** lblanchard has quit IRC21:05
*** julim has quit IRC21:07
*** pauloewerton has quit IRC21:08
rajatvigdavid-lyle: As I changed the file and renamed it, git is assuming it's a new file and marks the old one as deleted.21:09
*** saksham has joined #openstack-horizon21:09
*** petertr7 is now known as petertr7_away21:09
david-lylerajatvig: git mv, then change21:10
david-lylewonder if the move has to go first :/21:10
*** jcoufal has quit IRC21:10
rajatvigdavid-lyle: I just did git mv and then changed it. on a git add, it marks the old as deleted.21:12
*** btully has joined #openstack-horizon21:12
openstackgerritJustin Pomeroy proposed openstack/horizon: Remove controller reference in ng launch instance  https://review.openstack.org/21791321:12
tqtran_david-lyle: ah good point21:12
*** kristinebrown has quit IRC21:12
openstackgerritDan Nguyen proposed openstack/django_openstack_auth: Makes policy.check aware of domain scoped token  https://review.openstack.org/19632821:13
david-lylerajatvig: why add?21:13
*** Piet has quit IRC21:13
david-lylethe old file is already in git, you are just renaming it21:14
*** tjones has joined #openstack-horizon21:14
tqtran_TravT: i understand that we have tests for service-catalog but i still think we should mock the results and have the trigger the success call21:14
tqtran_otherwise, there is no correlation between the success and the rendering of the transcluded content21:14
rajatvigdavid-lyle: when I change it, it marks it modified. I need to git add the new file it to make it part of the commit21:14
tqtran_right now, all the test is doing is rendering and assuming the call is a success21:15
tqtran_defer.resolve doesn't do anything21:15
TravTthat makes sense, but what I'm saying is testing the transcluded content is all done in the directive testing that actually does that21:15
david-lylerajatvig: to prove it's possible see https://review.openstack.org/#/c/211741/15/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/launch-instance-model.service.spec.js21:15
david-lylewhich may look familiar21:15
TravThttps://github.com/openstack/horizon/blob/master/horizon/static/framework/util/promise-toggle/hz-promise-toggle.directive.spec.js21:15
david-lylegit commit -a --amend21:15
david-lylethat's it21:15
david-lylebut now that you've done an add git can get wonky21:16
david-lylethat's the technical term21:16
david-lylewonky21:16
*** btully has quit IRC21:16
rajatvigdavid-lyle: let me try once again. for some strange inexplicable reason, git assumes the spec file is renamed and changed while the service isn't even while I do the same operation on them.21:17
TravTthis directive is simply specifying the promise to call and the name of the directive and we want to make sure both match.21:17
rajatvigand I do the same set of things on them21:17
tqtran_TravT:  hold on, let me look at your hz-promise-toggle spec21:17
david-lylegit doesn't forget our mistakes21:17
david-lyleit makes us relive them21:17
tqtran_i dont quite agree with how we're testing it, in principle, it seems wrong21:18
david-lylemaybe clone a fresh repo and replay the changes there21:18
david-lyleI've had this issue too21:18
openstackgerritMerged openstack/horizon: Updated from global requirements  https://review.openstack.org/21714921:18
tqtran_the premise is, if i have a hz-if-policies directive, it should only render content IF the response is a success21:18
rajatvigdavid-lyle: ok21:18
tqtran_so what i should mock is a success response containing the object { allowed: true }21:18
tqtran_and ONLY then should i see the content21:19
rajatvigtqtran_: the way the service catalog and the other services used by the directives are constructed, they resolve the promise if ok and reject if not21:19
TravTthat sounds right21:19
r1chardj0n3smorning21:19
david-lyleshouldn't it be only THEN?21:19
tqtran_i understand we have test for the services themselves and the parent directive, but i still think we need to test the individual hz-if directives as appropriate to them21:19
rajatvigso they capture the result of the service and reject the promise if the api returns false21:19
* david-lyle continues to provide optimal help21:19
TravTpolicy is a bit different that the others21:20
tqtran_david-lyle: what about ONLY THEN21:20
TravTi think you'd have to have a wrapper promise21:20
david-lyletoo much EMPHASIS21:20
TravTand in that case you will need more testing21:20
rajatvigtqtran_: look at https://github.com/openstack/horizon/blob/master/openstack_dashboard/static/app/core/openstack-service-api/service-catalog.service.js#L11321:21
TravTtqtran: serviceCatalog, novaExtensions, settingsService are wrappers on top of lower level direct API calls (like the policy call)21:21
tqtran_ok thanks for the pointer guys, i'll take a look21:22
tqtran_if policies need more testing, i'll add to it21:22
TravTif you add a similar ifPolicyAllowed to the API directly that works like those, then it would be similar.21:22
*** kristinebrown has joined #openstack-horizon21:23
*** lapalm has quit IRC21:23
*** neelashah has quit IRC21:23
tqtran_TravT: lol just saw your comment on mering the table html21:23
tqtran_i had no idea clu had one already lol21:23
TravTyeah, so you guys can go arm wrestle or something21:23
tqtran_sounds like i will win21:24
TravTmaybe it should be a sight seeing competition... first one to need a break loses21:24
*** SimonChung1 has quit IRC21:24
*** SimonChung has joined #openstack-horizon21:24
tqtran_lol21:24
openstackgerritShaoquan Chen proposed openstack/horizon: Moving inline html code out of login.spec.js  https://review.openstack.org/21651721:25
tqtran_TravT:  ok, i'll add her as co-author to mine and you guys can just review mine, just spoke to her, shes ok with it21:26
TravTok.21:26
r1chardj0n3shmm, david-lyle, the run of selenium in the gate seems to show issues with the file selector widget https://review.openstack.org/#/c/215408/ :/ I think we might have to reconsider that test21:27
openstackgerritThai Tran proposed openstack/horizon: Update Users Table to single HTML  https://review.openstack.org/21787921:27
r1chardj0n3s(the file selector widget is the only reason why we can't use phantomjs as a selenium webdriver)21:27
david-lyler1chardj0n3s: what's the alternative?21:28
*** SimonChung has quit IRC21:29
*** SimonChung1 has joined #openstack-horizon21:29
r1chardj0n3snot sure at this point; there might be a work-around that doesn't involve trying to interact with the file selector widget21:30
r1chardj0n3smaybe using a secondary hidden form field. it's a bit convoluted though21:30
*** Piet has joined #openstack-horizon21:30
r1chardj0n3swe could just consider whether that test is necessary21:30
r1chardj0n3sI will look into what might be done to get it to work in the gate - though the gate is a bit... weird :)21:31
*** jpomeroy has quit IRC21:31
*** clu_ has joined #openstack-horizon21:31
david-lyle+10021:31
*** ducttape_ has quit IRC21:32
r1chardj0n3sin *theory* there's no reason the test shouldn't work in the gate, but ....21:32
r1chardj0n3s(I will work under the assumption that I don't have all the facts)21:32
openstackgerritRajat Vig proposed openstack/horizon: JSCS Cleanup - use DI in launch instance model  https://review.openstack.org/21174121:34
openstackgerritRajat Vig proposed openstack/horizon: JSCS Cleanup - use DI in launch instance model  https://review.openstack.org/21792221:34
rajatvigdavid-lyle: I gave up. I created a new patch just to rename the two files.21:34
rajatvigdavid-lyle: I tried a fresh clone, replayed the changes. Same result.21:35
*** kristinebrown has quit IRC21:35
david-lylerajatvig: look at gerrit21:38
david-lyledifferent result21:38
david-lyleoh but not the move21:39
david-lyleI see21:39
rajatvigdavid-lyle: I'll rename the other patch. I mentioned in the detail only21:40
tqtran_TravT, rajatvig: ok, so im reading through the code now, and i see that service-catalog ifTypeEnabled either resolve or reject, but regardless it returns the promise21:40
tqtran_https://github.com/openstack/horizon/blob/master/openstack_dashboard/static/app/core/openstack-service-api/service-catalog.service.js#L13621:40
tqtran_which i would assume can be handled in whatever service invoked it21:41
tqtran_so going back to my original question, https://github.com/openstack/horizon/blob/master/openstack_dashboard/static/app/core/cloud-services/hz-nova-extension.directive.spec.js#L6621:41
tqtran_i still don't understand what that does exactly....21:41
tqtran_if you put a breakpoint there, you'll see that the success handler was never called21:41
openstackgerritRajat Vig proposed openstack/horizon: Cloud Service directive to check if Service is enabled  https://review.openstack.org/21212521:42
tqtran_ok nvm, rajatvig answered it :) thanks21:43
TravThaha21:43
tqtran_great timing there rajatvig, i see what you did21:43
openstackgerritFrode Nordahl proposed openstack/horizon: Add support for creating subnets with Neutron subnet allocation  https://review.openstack.org/20357021:43
TravTtqtran: i'd rather not change the name in this patch21:44
TravThttps://review.openstack.org/#/c/216949/21:44
TravTi'd rather do in a follow up patch21:44
TravTbecause I need to change html in LI config step too21:45
kfox1111what might cause sahara not to show up in the dashboard when its enabled on the cloud?21:45
tqtran_arent you changing the name in it? hz-nova-extension --> hz-nova-extensions21:45
kfox1111we just upgraded from juno->kilo and it disapeared from horizon.21:45
TravTjust the file name didn't match....21:45
*** kristinebrown has joined #openstack-horizon21:45
TravTdidn't actually change the directive21:45
TravThmmm..21:45
TravThow about I don't fix the file name21:46
david-lylekfox1111: not in the service catalog21:46
TravTin that patch21:46
TravTand do a dependent patch that changes the name21:46
tqtran_so just update the patch with docs, then do the rename in a follow on?21:46
tqtran_im fine with that21:47
TravTok, make sense.21:47
david-lylethe API tab would show it in projects21:47
TravTi have to change the names on hz-settings as well.21:47
david-lyle*project dashboard21:47
*** doug-fish has joined #openstack-horizon21:50
openstackgerritRajat Vig proposed openstack/horizon: JSCS Cleanup - Rename launch instance model file  https://review.openstack.org/21792221:50
kfox1111| 2913a92b7e48499eb97608bd55c5cae0 |   sahara   | data_processing |      Sahara Data Processing      |21:50
openstackgerritRajat Vig proposed openstack/horizon: Run ESLint on Javascript files in dashboards  https://review.openstack.org/21405721:51
openstackgerritRajat Vig proposed openstack/horizon: Create a Angular Modules for Admin Dashboard  https://review.openstack.org/21477921:51
kfox1111which is listed in horizon in SAHARA_SERVICE_FALLBACK21:51
robcresswelltqtran_: Did you get my hangout message about breadcrumb nav btw?21:51
tqtran_robcresswell: looking at it now21:52
tqtran_whats the issue with the url?21:52
rajatvigtqtran_: you're welcome21:52
robcresswellI had one of the typical programmer days. Rewrite Task A. A doesnt work because B is broken, rewrite B. B doesnt work because C is broken.. etc.21:53
robcresswellAnyway, a lot of the URL patterns in Horizon, especially with nested patterns, are very odd.21:54
robcresswellLike you'd expect networks/<id> to show info about <id> network21:54
robcresswellbut its at network/<id>/detail21:54
*** doug-fish has quit IRC21:54
openstackgerritTravis Tripp proposed openstack/horizon: Improve Cloud Service Directive Documentation  https://review.openstack.org/21694921:54
robcresswellAnd adding a port isn't network/<id>/ports/create. its networks/ports/addport or something.21:55
tqtran_lol yes21:55
tqtran_that was essentially some of the issues i ran into when i started this work21:55
robcresswellThing is, this breaks your breadcrumb pattern21:55
robcresswellThe request.path idea is actually fine21:55
robcresswellbut the URLs are so friggin stupidly designed21:55
tqtran_there is also no consistency, like some views have something/id/details while some doesn't21:56
robcresswellI had a cup of tea and a scone to calm down because it was so annoying.21:56
robcresswellAnd then set about fixing it.21:56
robcresswell:D21:56
tqtran_lol so typically british of you21:56
kfox1111hmm... it should be falling back but working. any other ideas?21:56
kfox1111the cli seems to work ok.21:57
robcresswellIt's on the backburner till M anyway... but I've got soo much code sitting on my laptop now. I've been writing a lot of the networks stuff in angular.21:57
robcresswellNeed to get some patches up.21:57
david-lylekfox1111: ah, data-processing went to data_processing for the service type21:57
david-lylemaybe that?21:57
david-lylewhat horizon version?21:58
kfox1111kilo.21:58
david-lylethought we backported the fix21:58
david-lylelooking21:58
kfox1111I could set it manually in the catalog. it looks like it should fall back to the old name though.21:58
david-lylekfox1111: does your panel look like https://github.com/openstack/horizon/blob/stable/kilo/openstack_dashboard/dashboards/project/data_processing/cluster_templates/panel.py#L2421:59
david-lylee.g.21:59
david-lylejust one panel of many21:59
david-lylelooks like initial kilo may not have had that22:00
*** yamamoto has joined #openstack-horizon22:00
david-lylekfox1111: maybe it did22:01
david-lyleI see it in 2015.1.022:01
kfox1111we're on 2015.1.1.22:01
kfox1111(broke many other things. :/)22:01
kfox11112015.1.0 was better aparently...22:01
david-lylefrom a horizon standpoint?22:01
kfox1111let me double check horizon's version.22:02
kfox1111hmm. no. horizon's 2015.1.0.22:02
david-lyleit's there too though22:02
kfox1111yeah, the file you posted looks the same.22:03
david-lyleif there is a data_processing or data-processing in your catalog then those panels should show up22:04
david-lyleeven if something else was broken22:04
kfox1111k... not sure why its not then...22:04
openstackgerritThai Tran proposed openstack/horizon: Update Users Table to single HTML  https://review.openstack.org/21787922:05
kfox1111are there any other ways panels can get disabled?22:05
*** yamamoto has quit IRC22:05
david-lylehttps://github.com/openstack/horizon/blob/2015.1.0/openstack_dashboard/api/sahara.py#L65 is also tolerant of the change22:06
kfox1111yeah.22:06
david-lylenot unless you've unregistered them in an overrides.py file or something22:07
openstackgerritTravis Tripp proposed openstack/horizon: Improve Cloud Service Directive Documentation  https://review.openstack.org/21694922:07
kfox1111I'm going to switch the service catalog to the new name and see if that helps.22:08
openstackgerritDuk Loi proposed openstack/horizon: Enable Redis database cluster support  https://review.openstack.org/20463022:08
kfox1111that did fix it for some unknown reason. :/22:09
kfox1111looks like the failback code isn't entirely working.22:09
*** rajatvig has quit IRC22:10
david-lylekfox1111: not a good stance for a fallback22:10
david-lylehmm22:10
kfox1111heh. yeah. :)22:10
kfox1111its been one of those few days. :/22:10
kfox11112015.1.1 rdo somehow introduced some oslo breakage.22:11
kfox1111oslo_config vs oslo.config being different namespaces but oslo.messaging sharing namespaces with oslo_messaging which uses oslo_config.22:11
kfox1111really ugly. :/22:11
*** jpomeroy has joined #openstack-horizon22:12
kfox1111havent figured out if its an rdo or an upstream thing yet.22:12
kfox1111wow. in kilo switching projects if you have more then 30 is a lot of steps. :/22:12
lhchengkfox1111: I've been hit some oslo breakage too, and xstatic-angular in Juno22:13
kfox1111I had to patch cinder, ceilometer and trove. Its looking like maybe horizon too. :/22:13
lhchengkfox1111: are you getting oslo warning or just error?22:14
kfox1111errors. its looking for config entries that were registered into oslo_config.cfg in oslo.config.cfg and they are different namespaces. :/22:14
*** vijendar1 has quit IRC22:14
kfox1111I'm not sure if its an oslo_config or an oslo_messaging bug either.22:15
kfox1111and I saw at least one project having both oslo.config and oslo_config imports in the same code base. :/22:15
david-lylekfox1111: the OR in the permission check for the panel is right22:16
david-lyleso really not sure why it's not showing up22:16
kfox1111yeah. really strange.22:18
kfox1111strange... so if I set webroot = /dashboard, js files break.22:21
kfox1111but if I set webroot=/ it works but some ajax refresh calls fail...22:21
david-lylekfox1111: that should have been backported22:22
*** SimonChung1 has quit IRC22:22
*** SimonChung has joined #openstack-horizon22:22
david-lylebut probably to 2015.1.122:23
david-lyleIIRC22:23
*** SimonChung has quit IRC22:23
*** SimonChung1 has joined #openstack-horizon22:23
kfox1111yeah. I just stuck in an extra /dashboard/static link and it fixed it.22:24
vishwanathjdavid-lyle, lhcheng, I am looking for guidance on how to approach fixing the  bug https://bugs.launchpad.net/horizon/+bug/1484723 before I assign it to myself22:24
openstackLaunchpad bug 1484723 in OpenStack Dashboard (Horizon) "Form errors does not propogate to the user" [High,Confirmed]22:24
kfox1111yeah... horizon's mixing oslo_config and oslo.config too. :/22:25
*** btully has joined #openstack-horizon22:26
david-lylekfox1111: yeah that was out of our control, dependencies had varying levels of support22:26
kfox1111k. it really snarled up things. :(22:27
kfox1111I've got patches.22:27
david-lylewas told it was not a bug at the time that the two version couldn't coexist22:28
david-lyleor something along those lines22:28
david-lyledetails now fuzzy, was in the ML22:28
david-lylego join openstack they said, it will be and adventure they said, see the world22:29
david-lyles/and/an22:29
kfox1111here's another one: NetworkError: 404 Not Found - https://dashboard.cloud.pnnl.gov/project/stacks/get_d3_data/d3481bf8-f22f-48a7-b94c-8b0ec6e14799/22:29
kfox1111its not putting in /dashboard22:29
kfox1111but the webroot is /dashboard22:29
david-lyleI fixed that later, may not have backported, checking, will backport if omitted22:30
kfox1111k. thanks.22:30
*** btully has quit IRC22:30
*** hurgleburgler has quit IRC22:31
*** hurgleburgler has joined #openstack-horizon22:31
*** sqchen has quit IRC22:34
*** clu_ has quit IRC22:35
*** Ephur has quit IRC22:36
*** rajatvig has joined #openstack-horizon22:39
openstackgerritKBrown proposed openstack/horizon: WIP: Adding row action to delete single image to angular images panel  https://review.openstack.org/21794922:39
openstackgerritTravis Tripp proposed openstack/horizon: hz-if prefix change to promise directives  https://review.openstack.org/21795222:43
david-lylekfox1111: https://review.openstack.org/#/c/217951/22:44
tqtran_david-lyle: https://github.com/openstack/horizon/blob/master/openstack_dashboard/static/app/core/openstack-service-api/policy.service.js#L7522:46
david-lylevishwanathj: actually, can you reproduce on trunk?22:46
tqtran_im wondering if it makes more sense to just have the server return ok or rejects the call22:47
tqtran_its a bit cleaner i think, since you dont have to check the response for allowed: true or allowed: false22:47
david-lyleI may have inadvertently fixed that22:47
david-lylevishwanathj: ^^22:47
david-lyletqtran_: the reason that value was in the response was to try and pool the requests later22:48
david-lylebut that could be a separate call22:48
tqtran_pool the requests?22:48
david-lyleif I ever get back to batch request22:48
david-lyles/pool/batch/22:48
david-lyleat this rate looking like 201822:49
david-lylemaybe22:49
tqtran_hm... still not clear how you would batch them together22:49
openstackgerritKBrown proposed openstack/horizon: Adding row action to delete single image to angular images panel  https://review.openstack.org/21794922:49
openstackgerritKBrown proposed openstack/horizon: Adding action to delete multiple images to angular images panel  https://review.openstack.org/21742222:49
tqtran_doesn't the policyRules allow you to batch things already?22:49
*** stevemar has quit IRC22:50
tqtran_like in your example, you could just add an array of rules. is that what you mean by batching?22:50
david-lyledid I add that? can't remember22:50
david-lyle:(22:50
tqtran_https://github.com/openstack/horizon/blob/master/openstack_dashboard/static/app/core/openstack-service-api/policy.service.js#L4822:50
tqtran_yeah line 4822:51
david-lyleso I did22:51
tqtran_i guess the reason why im bringing this up now is because im going to write a hz-if-policies directive22:51
david-lyleok well if you batch, one yes or no may not be enough22:52
david-lyleunless you're asking for all22:52
tqtran_i think im asking for all22:52
david-lylesome policy checks are ORs22:52
tqtran_right now, the only response is allowed: true or allowed: false22:52
david-lyleI think the batching in there is just AND and then 200, 401 is fine22:53
tqtran_so... how would a response look like for an OR22:53
*** jwy has quit IRC22:53
david-lyleI was thinking with a batch request you would take all the actions on a table e.g. and ask at once22:53
tqtran_couldn't it still be just 200 if ok and 401 if not?22:53
david-lyleless roundtrips22:54
tqtran_i see.... but that wouldn't work because each step is independent from the table22:54
david-lylethen you would have the response locally cached and just refer to that to show actions22:54
david-lylestep?22:54
tqtran_ah ok caching.... that would work22:54
tqtran_https://drive.google.com/file/d/0B5nlaOV3OEj5aVpRaC1sdlgtQ28/view?usp=sharing22:54
david-lylelike I said, never got back to the grander vision22:54
tqtran_hm....22:56
*** vgridnev has quit IRC22:56
*** stevemar has joined #openstack-horizon22:56
tqtran_can we write a batchCheck method for that instead?22:57
tqtran_so for now, check is only for AND22:57
*** cloudtrainme has quit IRC22:58
tqtran_and is use for checking for a set of rules that you want either a YES or NO to22:58
*** cloudtrainme has joined #openstack-horizon22:58
tqtran_the other solution is to write a wrapper for your check method. something like isAllowed which would trigger the check call but use promises to either resolve it or reject it22:59
tqtran_this way, it works almost like a 200 or a 40123:00
tqtran_and would allow me to write the hz-if-policies directive23:00
*** jingjing_ren has joined #openstack-horizon23:00
tqtran_the directive basically expects a yes or no, and depending on the answer, show the content or not23:00
david-lyleyes, I think it could be a separate method later23:01
*** stevemar has quit IRC23:01
*** jwy has joined #openstack-horizon23:02
david-lylebatch and existing different REST calls that is23:02
*** cloudtrainme has quit IRC23:04
tqtranok cool, then i'll make those changes23:04
*** SimonChung has joined #openstack-horizon23:05
*** SimonChung1 has quit IRC23:05
vishwanathjdavid-lyle, sorry was out to go pick up my son from his school, I will try to see if I can reproduce from the trunk23:05
*** SimonChung1 has joined #openstack-horizon23:06
*** SimonChung has quit IRC23:06
*** SimonChung has joined #openstack-horizon23:06
*** SimonChung1 has quit IRC23:06
david-lylevishwanathj: I'm trying now23:09
david-lylevishwanathj: what type of errors?23:10
david-lylefor the bug23:10
lhchengI think just any server side exception in the forms.handle23:12
david-lylehttps://github.com/openstack/horizon/blob/master/horizon/forms/__init__.py#L5223:12
david-lylewas wondering if the fixed comma would help23:12
david-lyleprobably not23:12
vishwanathj"Danger: There was an error submitting the form ....."23:13
david-lylebut if it was a validation error, it might make sense23:13
lhchengsomething like "try <raise err>  except: exception.handle(req, e.message)"23:13
david-lylecoding and stuff?23:14
lhchengthe exception.handle is not rendering the e.message23:14
david-lyleWTH23:14
lhchengjust the message vishwanathj mentioned above23:14
david-lyleok still there23:19
david-lyle:(23:19
*** jpomeroy has quit IRC23:19
david-lyleit logs the error just fine23:20
openstackgerritKBrown proposed openstack/horizon: Adding row action to update metadata for an image  https://review.openstack.org/21796423:22
david-lylevishwanathj: I believe the problem is in horizon/exceptions.py handle()23:24
vishwanathjdavid-lyle, i see....last time I tried using pycharm debugger, i remember going to that file, but was not sure what the right behavior was supposed to be in that code23:28
openstackgerritRajat Vig proposed openstack/horizon: Cloud Service directive to check if Service is enabled  https://review.openstack.org/21212523:29
*** KunalGandhi has quit IRC23:31
*** kristinebrown has quit IRC23:32
openstackgerritDan Nguyen proposed openstack/django_openstack_auth: Makes policy.check aware of domain scoped token  https://review.openstack.org/19632823:33
*** SimonChung1 has joined #openstack-horizon23:34
*** SimonChung has quit IRC23:34
openstackgerritRajat Vig proposed openstack/horizon: WIP : API for Metadata Definitions  https://review.openstack.org/21572123:34
openstackgerritRajat Vig proposed openstack/horizon: WIP : Angular panel for Metadata Definitions  https://review.openstack.org/21614123:35
openstackgerritTravis Tripp proposed openstack/horizon: Make NG Users table details drawer responsive  https://review.openstack.org/21796823:35
*** kristinebrown has joined #openstack-horizon23:35
*** KunalGandhi has joined #openstack-horizon23:36
*** tosky has quit IRC23:37
*** jpomeroy has joined #openstack-horizon23:40
tqtran_r1chardj0n3s: ping23:40
r1chardj0n3stqtran_: hai23:40
tqtran_r1chardj0n3s: whats the best way to raise an error in the rest api?23:40
r1chardj0n3stqtran_: which half, server or client? who's to consume the error?23:40
tqtran_server side23:40
tqtran_basically, i want to have policy check return either a 200 or a 40623:41
tqtran_401 cant be use because we use that for authorized, which we proceed to kick them out23:41
*** kristinebrown has quit IRC23:41
tqtran_*unauthored23:41
tqtran_*unauthorized23:41
tqtran_>_> i cant spell today23:41
r1chardj0n3sok, so this is an error to be handled on the client side, raised by the server side23:42
tqtran_correct23:42
r1chardj0n3sright, so pycharm just crashed ;)23:42
r1chardj0n3sgimme a sec :)23:42
tqtran_right now, if i return nothing, it defaults to 204 which is ok23:42
tqtran_no content is fine23:42
tqtran_but if the result of the policy check is False, then i want to raise this error23:43
r1chardj0n3syep, this is a case the code implements, I just need to see the code to tell you how, gimme a sec23:43
tqtran_omg nvm....23:43
tqtran_i just saw the code like 3 lines above lol23:43
r1chardj0n3sright, so JSONResponse23:43
r1chardj0n3syou can return one of those with whatever data and response code you wish23:43
tqtran_rest_utils.AjaxError(406, 'not allowed')23:44
tqtran_this is what im using23:44
r1chardj0n3s*or* you could raise an AjaxError(status_code, message) if that's easier23:44
r1chardj0n3sok23:44
r1chardj0n3sreturning is cleaner, if you have the option, but if raising is easier then use that :)23:45
tqtran_:) coolios, thanks23:45
*** kristinebrown has joined #openstack-horizon23:46
*** kristinebrown has quit IRC23:52
*** kzaitsev_mb has quit IRC23:59
*** itisha_ has quit IRC23:59
*** itisha has quit IRC23:59

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