Tuesday, 2015-02-17

*** jcoufal has quit IRC00:02
*** lhcheng has quit IRC00:05
*** ericpeterson has quit IRC00:06
*** alexvictorchan has quit IRC00:08
*** nlahouti has quit IRC00:23
*** nlahouti has joined #openstack-horizon00:25
*** nlahouti has quit IRC00:26
*** Longgeek has joined #openstack-horizon00:27
*** nlahouti has joined #openstack-horizon00:30
*** jcoufal_ has quit IRC00:31
*** alexvictorchan has joined #openstack-horizon00:35
openstackgerritMerged openstack/horizon: Fixes error message during volume snapshot creation  https://review.openstack.org/15611000:36
*** neillc is now known as neillc_afk00:39
*** ramishra_ has joined #openstack-horizon00:44
*** alexvictorchan has quit IRC00:44
*** alexvictorchan has joined #openstack-horizon00:58
*** Longgeek has quit IRC01:00
*** ramishra_ has quit IRC01:02
*** ramishra_ has joined #openstack-horizon01:05
*** ramishra_ has quit IRC01:05
*** ramishra_ has joined #openstack-horizon01:06
*** ramishra_ has quit IRC01:06
*** ramishra_ has joined #openstack-horizon01:07
*** ramishra_ has quit IRC01:08
*** ramishra_ has joined #openstack-horizon01:12
*** jamielennox is now known as jamielennox|away01:16
*** nlahouti has quit IRC01:27
*** Longgeek has joined #openstack-horizon01:28
*** Longgeek has quit IRC01:28
*** nlahouti has joined #openstack-horizon01:28
*** nlahouti has quit IRC01:29
*** Longgeek has joined #openstack-horizon01:30
*** jamielennox|away is now known as jamielennox01:31
*** nlahouti has joined #openstack-horizon01:36
*** amerine has joined #openstack-horizon01:37
*** Piet has joined #openstack-horizon01:38
*** jamielennox is now known as jamielennox|away01:41
*** alexvictorchan has quit IRC01:45
*** iamjarvo has joined #openstack-horizon01:51
*** iamjarvo has quit IRC01:51
*** iamjarvo has joined #openstack-horizon01:51
*** amerine has quit IRC02:01
*** sqchen has left #openstack-horizon02:01
*** nlahouti has quit IRC02:07
*** jamielennox|away is now known as jamielennox02:09
*** alanf-mc has quit IRC02:18
*** lhcheng has joined #openstack-horizon02:20
*** lhcheng has quit IRC02:25
*** ramishra_ has quit IRC02:30
*** ramishra_ has joined #openstack-horizon02:31
*** ramishra_ has quit IRC02:43
*** ramishra_ has joined #openstack-horizon02:53
*** amerine has joined #openstack-horizon03:01
*** tqtran has quit IRC03:02
openstackgerritRichard Jones proposed openstack/horizon: Serial Console  https://review.openstack.org/14465903:13
openstackgerritRichard Jones proposed openstack/horizon: Glance Rest API for Angular Front End  https://review.openstack.org/15146803:19
*** ccard_ has joined #openstack-horizon03:31
*** alexvictorchan has joined #openstack-horizon03:34
*** ccard has quit IRC03:34
*** lhcheng has joined #openstack-horizon03:38
*** alexvictorchan has quit IRC03:41
*** amotoki_ has joined #openstack-horizon03:43
*** amotoki_ has quit IRC03:45
*** amerine has quit IRC03:46
*** ccard_ has quit IRC03:53
*** ccard_ has joined #openstack-horizon03:57
*** lhcheng has quit IRC04:00
*** Longgeek has quit IRC04:04
*** ramishra_ has quit IRC04:08
*** nlahouti has joined #openstack-horizon04:19
*** neillc_afk is now known as neillc04:20
*** ramishra_ has joined #openstack-horizon04:20
*** nikunj2512 has joined #openstack-horizon04:23
*** nlahouti has quit IRC04:23
*** nlahouti has joined #openstack-horizon04:23
*** ccard_ has quit IRC04:31
*** ccard_ has joined #openstack-horizon04:36
*** ccard__ has joined #openstack-horizon04:48
*** ccard_ has quit IRC04:50
*** tzumainn has quit IRC04:53
*** radez is now known as radez_g0n305:01
*** lhcheng has joined #openstack-horizon05:11
*** ccard__ has quit IRC05:15
*** masco has joined #openstack-horizon05:15
*** devlaps has quit IRC05:16
*** ccard__ has joined #openstack-horizon05:16
*** lhcheng has quit IRC05:18
*** sayan has joined #openstack-horizon05:18
*** iamjarvo has quit IRC05:21
*** rushiagr_away is now known as rushiagr05:23
*** ccard__ has quit IRC05:24
*** ccard__ has joined #openstack-horizon05:24
*** jrist is now known as jrist-afk05:26
*** ramishra_ has quit IRC05:27
*** ramishra_ has joined #openstack-horizon05:41
*** pcaruana has quit IRC05:47
*** sayan has quit IRC05:54
*** ramishra_ has quit IRC05:57
*** r1chardj0n3s is now known as r1chardj0n3s_afk05:58
*** jcoufal has joined #openstack-horizon06:05
*** ramishra_ has joined #openstack-horizon06:06
*** ybathia has joined #openstack-horizon06:08
*** _gryf has joined #openstack-horizon06:09
openstackgerritOpenStack Proposal Bot proposed openstack/horizon: Imported Translations from Transifex  https://review.openstack.org/15647806:11
*** ishant has joined #openstack-horizon06:12
*** ccard_ has joined #openstack-horizon06:13
*** ccard__ has quit IRC06:14
*** ramishra_ has quit IRC06:34
openstackgerritWu Wenxiang proposed openstack/horizon: Make values for IPSec&VPN status be translatable  https://review.openstack.org/15288906:44
*** Guest51132 has joined #openstack-horizon06:51
*** sayan_ has joined #openstack-horizon06:52
*** lhcheng has joined #openstack-horizon07:06
*** lhcheng has quit IRC07:08
*** mrunge has joined #openstack-horizon07:23
*** oro has joined #openstack-horizon07:28
*** ZZelle has quit IRC07:32
*** ZZelle has joined #openstack-horizon07:32
*** ramishra_ has joined #openstack-horizon07:35
*** rdopiera has joined #openstack-horizon07:36
*** stevemar has quit IRC07:38
*** Ala has joined #openstack-horizon07:40
*** rdopiera has quit IRC07:40
*** rdopiera has joined #openstack-horizon07:40
*** ramishra_ has quit IRC07:40
*** mpavlase has joined #openstack-horizon07:41
*** jprovazn has joined #openstack-horizon07:42
*** nlahouti1 has joined #openstack-horizon07:42
*** mpavlase has quit IRC07:42
*** nlahouti has quit IRC07:44
*** nlahouti1 has quit IRC07:46
openstackgerritRadomir Dopieralski proposed openstack/horizon: Allow adding to INSTALLED_APPS from local_settings.py  https://review.openstack.org/10774707:47
*** dkorn has joined #openstack-horizon07:54
*** Ala has quit IRC07:56
*** rm_work is now known as rm_work|away07:57
openstackgerritWu Wenxiang proposed openstack/horizon: Make values for IPSec&VPN status be translatable  https://review.openstack.org/15288907:58
*** Ala has joined #openstack-horizon08:01
*** oro has quit IRC08:08
*** fifieldt has joined #openstack-horizon08:09
*** chlong has quit IRC08:11
*** lhcheng has joined #openstack-horizon08:12
*** jtomasek has joined #openstack-horizon08:14
*** markus_z has joined #openstack-horizon08:15
*** cody-somerville has quit IRC08:19
openstackgerritVlad Okhrimenko proposed openstack/horizon: Wait till spinner disappears  https://review.openstack.org/15160808:27
*** ybathia has quit IRC08:28
*** ybathia has joined #openstack-horizon08:29
*** bluex-pl has joined #openstack-horizon08:29
*** bluex-pl has quit IRC08:30
*** bluex-pl has joined #openstack-horizon08:30
*** ramishra_ has joined #openstack-horizon08:36
*** ybathia has quit IRC08:38
*** ramishra_ has quit IRC08:41
*** MaxV has joined #openstack-horizon08:43
*** lhcheng has quit IRC08:44
*** JeanBriceCombebi has joined #openstack-horizon08:49
*** zz_ttrifonov is now known as ttrifonov08:52
*** mwhagedorn has quit IRC08:55
*** cody-somerville has joined #openstack-horizon08:56
*** fifieldt has quit IRC08:56
*** Ala has quit IRC09:10
*** akrivoka has joined #openstack-horizon09:10
*** Ala has joined #openstack-horizon09:12
*** Ala has quit IRC09:12
*** Ala has joined #openstack-horizon09:13
*** aix has quit IRC09:21
*** ygbo has joined #openstack-horizon09:22
openstackgerritEkaterina Chernova proposed openstack/horizon: Remove test skipping since #1396954 was fixed  https://review.openstack.org/15635309:22
*** mpavlase has joined #openstack-horizon09:23
*** dsneddon has quit IRC09:30
*** mwhagedorn has joined #openstack-horizon09:38
*** oro has joined #openstack-horizon09:38
*** regebro has joined #openstack-horizon09:42
openstackgerritVlad Okhrimenko proposed openstack/horizon: Add project-dropdown  https://review.openstack.org/15163809:46
*** e0ne has joined #openstack-horizon09:48
*** aix has joined #openstack-horizon09:48
*** tosky has joined #openstack-horizon09:54
*** robcresswell_afk is now known as robcresswell09:56
robcresswellMorning all09:57
*** oro has quit IRC10:00
*** aix has quit IRC10:05
*** aix has joined #openstack-horizon10:17
sambettsMorning morning10:18
openstackgerritSam Betts proposed openstack/horizon: Reduce title duplication in project networking  https://review.openstack.org/15459510:19
*** e0ne is now known as e0ne_10:21
*** e0ne_ has quit IRC10:26
*** e0ne has joined #openstack-horizon10:38
*** krykowski has joined #openstack-horizon10:38
*** ramishra_ has joined #openstack-horizon10:38
openstackgerritMerged openstack/tuskar-ui: Use the newest and greatest Hacking  https://review.openstack.org/15573410:39
openstackgerritMerged openstack/tuskar-ui: Do not display warnings for unused roles  https://review.openstack.org/15580310:39
*** oro has joined #openstack-horizon10:41
*** sayan_ has quit IRC10:42
*** ramishra_ has quit IRC10:43
*** Ala has quit IRC10:54
*** sayan_ has joined #openstack-horizon10:55
*** JeanBriceCombebi has quit IRC10:56
*** JeanBriceCombebi has joined #openstack-horizon10:56
dkorndavid-lyle: a few weeks ago you marked few integration tests patches as abandoned after they weren't updated more than 4 weeks10:58
dkorndavid-lyle: the contributors didn't reactivate them till now and I wonder if it's OK if I'll rewrite them in new patches10:58
dkorndavid-lyle: I've sent them emails in the past and usually takes more than a week to get an answer if at all10:59
*** jcoufal_ has joined #openstack-horizon11:00
*** e0ne has quit IRC11:01
*** oro has quit IRC11:01
*** e0ne has joined #openstack-horizon11:02
*** jcoufal has quit IRC11:03
*** JeanBriceCombebi has quit IRC11:12
*** JeanBriceCombebi has joined #openstack-horizon11:13
*** e0ne has quit IRC11:24
*** e0ne has joined #openstack-horizon11:25
openstackgerritNikita Konovalov proposed openstack/horizon: [Sahara] Fix Node Group Templates copy  https://review.openstack.org/15655111:28
*** ramishra_ has joined #openstack-horizon11:39
robcresswelldkorn: Have you tried reaching them through colleagues/irc also? Normally its okay to take over patches that dont have much activity11:42
robcresswellAs long as they are given some notice11:42
*** ramishra_ has quit IRC11:43
*** Ala has joined #openstack-horizon11:44
*** e0ne is now known as e0ne_11:44
dkornrobcresswell: the ones I'm referring to are not on irc. I sent the emails in the past but if they answer it's after a while and usually say they'll fix the patch in the future but can take several weeks11:45
dkornrobcresswell: like in this case when it took more than 4 weeks before david made those patches abandoned11:46
dkornrobcresswell: since than 3 weeks have passed and still no update11:46
dkornrobcresswell: I don't mean to step into other contributors place, but those patches blocks us from moving on with other patches11:47
dkornrobcresswell: might co-author in the commit message be a solution?11:48
sambettsits an interesting topic11:48
robcresswelldkorn: If you've asked them to look into it, and its now been ~2 months since any work, I would say take it over. You should definitely list the original contributor as a co-author.11:48
robcresswelldkorn: We have to be as diplomatic as possible, but can't stop progress for the sake of being nice :)11:49
sambettsit might be something to bring up in the next IRC meeting because it effects everyuone11:49
robcresswellIt was brought up last week with a patch that hadn't been worked on before - consensus at the time was to ask permission and then go ahead :)11:50
robcresswellBut yes, would check with one of the cores11:50
dkornthanks robcresswell, I agree11:50
*** e0ne_ has quit IRC11:54
*** yingjun has joined #openstack-horizon11:55
*** e0ne has joined #openstack-horizon11:55
*** krykowski has quit IRC11:58
*** krykowski has joined #openstack-horizon11:58
openstackgerritMerged openstack/horizon: Imported Translations from Transifex  https://review.openstack.org/15647811:58
mrungedkorn, do you have links to reviews handy? I can abandon those patches, too12:00
openstackgerritMerged openstack/horizon: Revert "Fix shared firewall policy can not be displayed in horizon"  https://review.openstack.org/15606112:01
dkornmrunge: https://review.openstack.org/#/c/99329/10, https://review.openstack.org/#/c/101169/12:05
mrungedkorn, they are abandoned12:06
mrungedkorn, david-lyle abandoned them on Jan 27th12:06
dkornmrunge: I know, that's where I started my question to david12:07
dkornmrunge: since I wasn't sure it's OK to take over them12:07
mrungedkorn, if nobody came up with a new patch, then I'd assume, nobody is interested12:07
mrungedkorn, I'd say, go ahead12:08
dkornmrunge: will do, thanks. anyway, I'll add a co-author :)12:08
*** e0ne is now known as e0ne_12:19
amotokiWe have Login twice problem again after the security fix https://bugs.launchpad.net/horizon/+bug/1394370 ?12:22
openstackLaunchpad bug 1394370 in OpenStack Dashboard (Horizon) juno "[OSSA 2014-040] horizon login page is vulnerable to DOS attack (CVE-2014-8124)" [Undecided,Fix committed] - Assigned to Tristan Cacqueray (tristan-cacqueray)12:22
amotokiDoes anyone have the idea on how to fix this?12:22
mrungeamotoki yes12:23
*** e0ne_ is now known as e0ne12:23
mrungethere is a fix for django-openstack-auth12:23
mrungeamotoki, cherry-pick this commit: https://github.com/openstack/django_openstack_auth/commit/d5ba1a2dd99cc894ca230cae048746c64a49b7c412:24
mrungeamotoki, for reference, the bug is 140303712:25
mrunge(in launchpad)12:25
amotokimrunge: thanks.12:26
amotokimrunge: I see double logic problem in  ubuntu cloud-archive Juno. They seem have only security update for Juno :-(12:30
*** jprovazn has quit IRC12:30
mrungeamotoki, they would need an update for django_openstack_auth as well.12:30
mrungeamotoki, in our case, I cherry-picked the fix to django-openstack-auth-1.1.712:31
mrungebut this won't help you here...12:32
amotokimrunge: it sounds an reasonable approach.12:32
amotokimrunge: I was just asked on this and am now cheking cloud-archive sources.12:32
mrungeamotoki, if you're a customer there, you should open a bug report, pointing to github12:34
*** mwhagedorn has quit IRC12:35
amotokimrunge: yes, of course. I am a bit out-of-date on openstack-auth and in addition when I ran devstack I forgot to update django-openstack-auth :-(12:36
*** masco has quit IRC12:37
*** oro has joined #openstack-horizon12:38
*** ramishra_ has joined #openstack-horizon12:40
*** lblanchard has joined #openstack-horizon12:40
*** rushiagr is now known as rushiagr_away12:41
*** ramishra_ has quit IRC12:44
*** ishant has quit IRC12:45
openstackgerritYves-Gwenael Bourhis proposed openstack/horizon: Stop memoising on request arguments  https://review.openstack.org/15039212:56
*** sseago has quit IRC13:02
*** sseago has joined #openstack-horizon13:03
*** JeanBriceCombebi has quit IRC13:04
*** JeanBriceCombebi has joined #openstack-horizon13:06
openstackgerritVlad Okhrimenko proposed openstack/horizon: Drop QUnit JS tests in favor of Jasmine  https://review.openstack.org/15657213:08
*** jprovazn has joined #openstack-horizon13:14
*** ericpeterson has joined #openstack-horizon13:17
*** JeanBriceCombebi has quit IRC13:17
*** ericpeterson has quit IRC13:20
*** sseago has quit IRC13:22
*** JeanBriceCombebi has joined #openstack-horizon13:22
*** sseago has joined #openstack-horizon13:24
*** jtomasek has quit IRC13:29
*** oro_ has joined #openstack-horizon13:39
*** tzumainn has joined #openstack-horizon13:40
*** ramishra_ has joined #openstack-horizon13:40
*** ramishra_ has quit IRC13:45
*** _crobertsrh is now known as crobertsrh13:47
*** jtomasek has joined #openstack-horizon13:48
*** amotoki has quit IRC13:49
*** HenryG has quit IRC13:49
*** iamjarvo has joined #openstack-horizon13:49
*** iamjarvo has quit IRC13:50
*** iamjarvo has joined #openstack-horizon13:50
*** HenryG has joined #openstack-horizon13:52
*** amotoki has joined #openstack-horizon13:54
*** amotoki has quit IRC13:54
*** radez_g0n3 is now known as radez13:56
*** e0ne is now known as e0ne_13:56
*** iamjarvo has quit IRC13:56
*** e0ne_ is now known as e0ne14:00
*** trown|outttypeww is now known as trown14:02
*** ayoung has joined #openstack-horizon14:12
*** _gryf is now known as gryf|afk14:15
*** gryf|afk has quit IRC14:20
*** gerchardon has joined #openstack-horizon14:21
*** JeanBriceCombebi has quit IRC14:23
*** JeanBriceCombebi has joined #openstack-horizon14:23
*** peristeri has joined #openstack-horizon14:27
*** Piet has quit IRC14:28
*** mwhagedorn has joined #openstack-horizon14:32
*** mwhagedorn has quit IRC14:36
*** nikunj2512 has quit IRC14:37
*** rushiagr_away is now known as rushiagr14:37
*** ramishra_ has joined #openstack-horizon14:39
*** JeanBriceCombebi has quit IRC14:40
*** JeanBriceCombebi has joined #openstack-horizon14:40
*** mwhagedorn has joined #openstack-horizon14:42
*** ramishra_ has quit IRC14:43
openstackgerritDaniel Korn proposed openstack/horizon: Security groups page and test  https://review.openstack.org/15660414:47
*** mwhagedorn has quit IRC14:48
*** jtriley has joined #openstack-horizon14:53
openstackgerritMerged openstack/horizon: Add horizon.cookies.getRaw to access raw cookie values  https://review.openstack.org/15614614:54
*** dboik has joined #openstack-horizon14:55
*** freerunner has joined #openstack-horizon14:55
*** iamjarvo has joined #openstack-horizon14:56
*** iamjarvo has quit IRC14:56
*** iamjarvo has joined #openstack-horizon14:57
*** rebelagentm has joined #openstack-horizon15:03
*** vijendar has joined #openstack-horizon15:04
*** ericpeterson has joined #openstack-horizon15:05
*** neelashah has joined #openstack-horizon15:06
*** e0ne is now known as e0ne_15:07
*** amotoki has joined #openstack-horizon15:07
*** e0ne_ is now known as e0ne15:08
*** absubram has joined #openstack-horizon15:09
robcresswelldavid-lyle: Holy moly, some serious review pace15:13
*** rm_work|away is now known as rm_work15:18
*** stevemar has joined #openstack-horizon15:28
*** nlahouti has joined #openstack-horizon15:30
openstackgerritRob Cresswell proposed openstack/horizon: Common Detail template & html cleanup  https://review.openstack.org/15176215:34
*** nlahouti has quit IRC15:34
*** fischerw has joined #openstack-horizon15:39
*** jprovazn has quit IRC15:39
*** jtomasek has quit IRC15:51
*** jtomasek has joined #openstack-horizon15:55
openstackgerritMerged openstack/horizon: Reduce title duplication in project networking  https://review.openstack.org/15459515:55
openstackgerritMerged openstack/horizon: Allow adding to INSTALLED_APPS from local_settings.py  https://review.openstack.org/10774715:55
openstackgerritMerged openstack/horizon: Remove test skipping since #1396954 was fixed  https://review.openstack.org/15635315:55
openstackgerritMerged openstack/tuskar-ui: Use the default kernel and ramdisk images in suggested flavor  https://review.openstack.org/15621615:58
openstackgerritKelly Domico proposed openstack/horizon: Pie and donut chart directive  https://review.openstack.org/14693416:00
openstackgerritKelly Domico proposed openstack/horizon: Demo for Pie/Donut Chart Directive  https://review.openstack.org/15416016:01
*** jtomasek has quit IRC16:02
*** neelashah has quit IRC16:02
*** bpokorny has quit IRC16:05
*** dkorn has quit IRC16:07
*** jtriley has quit IRC16:08
*** jtriley has joined #openstack-horizon16:09
*** e0ne has quit IRC16:09
*** neelashah has joined #openstack-horizon16:10
*** sayan_ has quit IRC16:10
openstackgerritMerged openstack/horizon: Add missing stubs to project stacks tests  https://review.openstack.org/15492916:12
*** amotoki has quit IRC16:13
openstackgerritMerged openstack/horizon: Stack resources table improvement  https://review.openstack.org/15041116:13
openstackgerritMerged openstack/horizon: Reduce page title duplication in settings and test  https://review.openstack.org/15460216:13
*** yingjun_ has joined #openstack-horizon16:13
openstackgerritMerged openstack/horizon: Reduce page title duplication in Admin Hypervisors  https://review.openstack.org/15450916:13
openstackgerritMerged openstack/horizon: Reduce page title duplication in databases  https://review.openstack.org/15458816:13
openstackgerritMerged openstack/horizon: Refactor modal forms for Subnets  https://review.openstack.org/15628516:14
openstackgerritMerged openstack/horizon: Refactor modal forms for Nexus1000v  https://review.openstack.org/15630216:14
openstackgerritMerged openstack/horizon: Make the values of Cluster status be translatable  https://review.openstack.org/15294816:14
*** bpokorny has joined #openstack-horizon16:15
*** jtomasek has joined #openstack-horizon16:16
*** yingjun has quit IRC16:17
fischerwdavid-lyle: If you get a chance, can you take a look at https://review.openstack.org/#/c/145870/?  I have made the changes you had suggested.16:18
*** Piet has joined #openstack-horizon16:18
openstackgerritKelly Domico proposed openstack/horizon: Pie and donut chart directive  https://review.openstack.org/14693416:18
openstackgerritKelly Domico proposed openstack/horizon: Demo for Pie/Donut Chart Directive  https://review.openstack.org/15416016:18
openstackgerritRob Cresswell proposed openstack/horizon: Refactor modal forms for Routers  https://review.openstack.org/15581516:23
*** my_rudzha_userna has joined #openstack-horizon16:24
*** jtomasek has quit IRC16:26
*** jtomasek has joined #openstack-horizon16:28
*** SimonChung1 has quit IRC16:30
*** jrist-afk is now known as jrist16:31
openstackgerritTravis Tripp proposed openstack/horizon: Raw Output Demo for Glance API  https://review.openstack.org/15555616:31
*** ramishra_ has joined #openstack-horizon16:31
*** amerine has joined #openstack-horizon16:31
*** rdopiera has quit IRC16:32
*** alexvictorchan has joined #openstack-horizon16:33
openstackgerritMerged openstack/horizon: Reduce page title duplication in A and S views  https://review.openstack.org/15457916:35
*** gerchardon has quit IRC16:37
*** nlahouti has joined #openstack-horizon16:38
*** my_rudzha_userna is now known as my_openstack_use16:39
*** regebro has quit IRC16:40
*** bluex-pl has quit IRC16:41
*** Ephur has quit IRC16:46
espping david-lyle16:46
openstackgerritVlad Okhrimenko proposed openstack/horizon: Drop QUnit JS tests in favor of Jasmine  https://review.openstack.org/15657216:51
*** rwsu has joined #openstack-horizon16:52
*** markus_z has quit IRC16:53
*** regebro has joined #openstack-horizon16:55
*** lhcheng has joined #openstack-horizon16:57
*** ttrifonov is now known as zz_ttrifonov16:58
espfor anyone tracking the domain scoped token work we are keeping track of bugs here https://etherpad.openstack.org/p/Horizon_Presidents_Day_Bugs16:59
espwork is in this patch https://review.openstack.org/#/c/148082/16:59
*** cbader has joined #openstack-horizon17:00
*** doug-fish has joined #openstack-horizon17:00
*** krykowski has quit IRC17:00
*** jcoufal_ has quit IRC17:06
*** Piet has quit IRC17:07
*** ramishra_ has quit IRC17:10
*** ygbo has quit IRC17:11
*** Ala has quit IRC17:11
openstackgerritTravis Tripp proposed openstack/horizon: Raw Output Demo for Glance API  https://review.openstack.org/15555617:16
david-lyleback, what did I miss?17:19
*** JeanBriceCombebi has quit IRC17:19
*** iamjarvo has quit IRC17:20
openstackgerritChad Roberts proposed openstack/horizon: Help text clarification for data processing data sources  https://review.openstack.org/15666917:20
david-lyleesp: pong17:24
esphey dude17:28
david-lylerobcresswell: 2 line changes and sambetts title changes help speed things up17:28
*** dboik_ has joined #openstack-horizon17:28
david-lyleesp:  what's up?17:28
*** mpavlase has quit IRC17:28
espdavid-lyle: just wanted to give ya an update17:29
david-lyleshoot17:29
*** rushiagr is now known as rushiagr_away17:29
*** dboik_ has quit IRC17:29
espdavid-lyle: we are attacking that bug list https://etherpad.openstack.org/p/Horizon_Presidents_Day_Bugs17:29
esphope to get most of it shaken out by the end of the week17:30
*** dboik_ has joined #openstack-horizon17:30
espyou were correct that we will need to use a project scoped token in some cases17:30
espso I’m working on that now17:30
david-lylecool, looked at the etherpad17:32
*** dboik has quit IRC17:32
david-lylea little hard to follow17:32
david-lylebut I think System is the panel group?17:33
espdavid-lyle: sorry17:33
espit its a bit kludgy17:33
david-lyleno worries, just making sure I comprehend17:33
david-lylefor project dash, project scoped identity token makes sense17:34
espdavid-lyle: System is the System Dashboard17:34
david-lylethere is no system dashboard17:34
david-lyleAdmin?17:34
espyeah17:34
espAdmin —> System17:34
espsorry17:35
esplol17:35
david-lyleesp, you're going back in time17:35
espyeah I tend to live in the past ;)17:35
david-lylehmm17:35
david-lyleis project scoped token right for that?17:35
david-lylethe problem is the keystone api call you're making17:36
espnot sure yet17:36
espright17:36
david-lylelet me look at the policy file17:37
espfor bugs 8 - 12, I need to allow for passing a project scoped token17:37
espbut for bugs 1-7, I haven’t looked that closely yet17:37
*** rushiagr_away is now known as rushiagr17:37
david-lylelist projects should be right17:37
*** e0ne has joined #openstack-horizon17:38
david-lyle"identity:list_projects": "rule:cloud_admin or rule:admin_and_matching_domain_id",17:38
david-lyledomain id's just need to match17:38
espyeah, I think we’d just need to make sure the list_project calls outside of the Identity dash are sending a domain id17:38
david-lyleyeah, let me look17:39
espbut this is the sucker that will require a project scoped token     "admin_on_project_filter" : "rule:cloud_admin or (rule:admin_required and project_id:%(scope.project.id)s)",17:39
david-lylehttps://github.com/openstack/horizon/blob/master/openstack_dashboard/policy_backend.py#L12017:39
david-lylewhich one is that?17:39
espthat one is for listing roles17:40
esp    "admin_on_project_filter" : "rule:cloud_admin or (rule:admin_required and project_id:%(scope.project.id)s)",17:40
*** jprovazn has joined #openstack-horizon17:42
david-lylewell doesn't "identity:list_role_assignments": "rule:admin_on_domain_filter or rule:admin_on_project_filter", handle the domain scoped version17:42
david-lylethat seems to be the only place it's used17:42
*** oro_ has quit IRC17:42
david-lyleI guess there will be condition17:42
*** oro has quit IRC17:43
david-lylesince you my only have a project scoped token17:43
espyeah, I will have get project token on the fly17:44
david-lyleyou have both17:44
david-lylejust have to pick which to use17:45
david-lyleif domain = None use project17:45
david-lyleperhaps I'm over-simplifying17:45
espbut I think it needs to be a specific project token17:45
espnot necessarily the one that we scoped to on initial auth17:45
espaka, the one in the session17:46
*** tqtran has joined #openstack-horizon17:46
*** Drago has quit IRC17:46
*** dboik_ has quit IRC17:47
david-lylethen what are you trying to list? the role assignments in a project you are admin in that you are not scoped to? that doesn't make any sense17:47
*** dboik has joined #openstack-horizon17:47
espwhen I tried yesterday using curl directly against keystone api, I needed to be scoped to the project to list the roles, users17:48
openstackgerritTravis Tripp proposed openstack/horizon: Glance Rest API for Angular Front End  https://review.openstack.org/15146817:48
espmeaning I wasn’t able to list users, roles from another project17:48
*** neelashah has quit IRC17:49
david-lyleso shouldn't you only be doing that task if scoped to that project?17:49
david-lyleI'm failing to see the use case17:49
* esp shrugs17:49
david-lyleeither I'm cloud_admin and all is good17:49
espcloud admin is all good for sure17:49
david-lyleI'm domain_admin and scoped to the domain17:50
openstackgerritTravis Tripp proposed openstack/horizon: Raw Output Demo for Glance API  https://review.openstack.org/15555617:50
espbut if you want domain admin to manage users for projects I think ya gotta get the project scoped token17:50
*** MaxV has quit IRC17:50
david-lyleI don't think so17:50
david-lylethe rule is domain admin or project admin17:50
*** crobertsrh has quit IRC17:51
espbut does project admin mean you can manage all projects?17:51
espor just the one you have auth’d to?17:51
david-lyleI'm not exactly sure what the purpose is there17:51
david-lylethat is just to list roles17:52
*** Drago has joined #openstack-horizon17:52
*** gyee has joined #openstack-horizon17:52
david-lylemay need to ping gyee17:52
david-lylespeaking of gyee17:52
espdavid-lyle: yeah17:52
gyeewhat who when where?17:53
david-lylehttps://github.com/openstack/keystone/blob/master/etc/policy.v3cloudsample.json#L9317:53
espgyee: I ran into an inssue during domain scoped token work17:53
espthx david-lyle17:53
david-lylerelies on https://github.com/openstack/keystone/blob/master/etc/policy.v3cloudsample.json#L9217:53
david-lylewhat the hell is a project admin?17:53
esplol17:53
gyeehuh?17:54
david-lyleis this new age HMT mumbo jumbo?17:54
espI’ll try to give a little context17:54
gyeeyou can't get a domain scoped token?17:54
espforgive me if I mess this up, just got back from vacation17:54
espso, in the Identity Dashboard - Projects panel17:55
david-lyleesp, unauthorized vacation, I might add17:55
david-lyle:D17:55
esplol17:55
espCloud Admin can manage users/roles across all projects np17:55
lhchengdavid-lyle, esp: not sure if you guys want to spend too much time on separating domain and project scoped token17:56
*** neelashah has joined #openstack-horizon17:56
lhchengthis might end up be the same with the *special project work17:56
david-lylelhcheng: did someone finally come to their senses17:56
david-lyle?17:56
espDomain Admin can’t successfully list all the users associated to project using a domain scoped token17:56
david-lyletwo years too late?17:56
gyeeheh17:57
david-lyleto hell with domains, I'm out17:57
*** neelashah1 has joined #openstack-horizon17:57
david-lylegood luck17:57
espso my thinking was Domain Admin needs a project scoped token scoped to the specific project it’s trying to manage17:57
esplol david-lyle17:57
gyeeesp, you mean you want to list all the users that have role assignment on a given project?17:57
espwe’ll make it work17:57
* david-lyle remembers asking in keystone room, so do I really need to do this domain token thing that makes no sense17:57
espdon’t worry david-lyle17:57
* david-lyle heard response, oh yeah, that's the way to go17:58
espgyee: yeah17:58
ongkdavid-lyle: any news on the virtual sprints?17:58
esplet me pull up the code17:58
david-lyleongk: good question17:58
lhchengdavid-lyle: domain and project role assignment will be merged17:59
david-lylewill the tokens?17:59
esphttps://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/v3/roles.py#L8817:59
ongkdavid-lyle: still planning for this week?17:59
david-lyleongk: definitely, the question is to start today or tomorrow18:00
*** alanf-mc has joined #openstack-horizon18:00
david-lylelast minute planning has left it a bit ambiguous18:00
*** neelashah has quit IRC18:00
david-lyleso victory18:00
david-lylehttps://etherpad.openstack.org/p/horizon-kilo-virtual-sprint btw18:00
david-lylefor those playing at home18:00
*** matt-borland has joined #openstack-horizon18:01
lhchengdavid-lyle: if you scope to the special project, you'll get a bonus.. you get two tokens :)18:01
lhchengbut the role assigned will be the same18:01
david-lylelhcheng: what????18:01
david-lylein the response I get two tokens18:02
david-lyle?18:02
espwonderful18:02
david-lylereally18:02
gyeeesp, according to v3cloudsample policy file, if you have a domain-scoped token on the cloud admin domain, you are God18:02
gyeewhich means you can list all the role assignments18:02
gyeewhich policy file are you using?18:02
lhchengesp: This is in the reseller spec I mentioend to you :)18:02
espI’m using the latest from devstack I *think*18:02
*** dsneddon has joined #openstack-horizon18:03
david-lyletalking about moving targets18:03
esppolicy.v3cloudsample.json18:03
*** yingjun_ has quit IRC18:04
lhchengdavid-lyle: https://review.openstack.org/#/c/13982418:05
gyeeesp, did you update this line with the correct domain_id? https://github.com/openstack/keystone/blob/master/etc/policy.v3cloudsample.json#L318:05
espgyee: yep, it’s set to “default”18:06
*** alexvictorchan has quit IRC18:06
gyeeesp, k, so you have a domain-scoped token, scoped to the default domain, and still getting 401 on list role assignments?18:06
*** alexvictorchan has joined #openstack-horizon18:06
esponly issue I see is that Domain Admin can’t make the list() call with a project id and domain token18:07
espgyee: it’s only for Domain Admin, 403 I believe18:08
espbut when I use a project scoped token seems to work18:08
gyeethat doesn't sound right, lemme check the code18:08
espI just have to do some extra work to retrieve a project scoped token specific to that project18:09
espk, thx gyee18:09
espI’ll update you guys after I test out a few more things18:09
*** ZZelle_ has joined #openstack-horizon18:09
*** alanf-mc has quit IRC18:10
*** harlowja_away is now known as harlowja_18:10
*** alexvictorchan has quit IRC18:12
*** alexvictorchan has joined #openstack-horizon18:16
openstackgerritMichael Hagedorn proposed openstack/horizon: WIP REST API to support create instance angular (Neutron)  https://review.openstack.org/15131318:18
openstackgerritMerged openstack/django_openstack_auth: Allow running individual tests via tox  https://review.openstack.org/15434118:21
*** alanf-mc has joined #openstack-horizon18:21
*** nlahouti has quit IRC18:24
*** nlahouti has joined #openstack-horizon18:25
*** bpokorny_ has joined #openstack-horizon18:29
*** tosky has quit IRC18:30
*** bpokorny has quit IRC18:32
*** devlaps has joined #openstack-horizon18:40
*** ramishra_ has joined #openstack-horizon18:41
*** my_openstack_use has quit IRC18:43
*** jasondotstar has joined #openstack-horizon18:45
*** bpokorny has joined #openstack-horizon18:45
*** ybathia has joined #openstack-horizon18:45
*** ramishra_ has quit IRC18:46
*** bpokorny_ has quit IRC18:48
*** devlaps has quit IRC18:49
*** iamjarvo has joined #openstack-horizon18:51
openstackgerritMatt Borland proposed openstack/horizon: WIP - Instance Details UX/Angular redesign  https://review.openstack.org/15360218:52
*** tqtran has quit IRC18:55
*** oro has joined #openstack-horizon18:55
*** oro_ has joined #openstack-horizon18:55
*** TravT has quit IRC18:57
*** dboik_ has joined #openstack-horizon18:58
*** crobertsrh has joined #openstack-horizon18:59
openstackgerritMatt Borland proposed openstack/horizon: WIP - Instance Details UX/Angular redesign  https://review.openstack.org/15360219:00
*** dboik_ has quit IRC19:01
jamielennoxdavid-lyle: around?19:01
david-lylejamielennox: here19:01
*** dboik_ has joined #openstack-horizon19:01
*** dboik has quit IRC19:01
jamielennoxdavid-lyle: i'm looking for some guidance on how to make these kerberos changes work19:01
jamielennoxdavid-lyle: i got POC working19:01
jamielennoxbut they require a few things i don't know how horizon would configure19:02
jamielennoxfirstly requires: https://review.openstack.org/#/c/153174/19:02
*** rushiagr is now known as rushiagr_away19:02
jamielennoxand i'm not sure if that's something horizon team would want to vote on19:02
*** akrivoka has quit IRC19:03
david-lylejamielennox: looking19:03
openstackgerritMatt Borland proposed openstack/horizon: WIP - Instance Details UX/Angular redesign  https://review.openstack.org/15360219:12
david-lylejamielennox: so if the user is not authenticated we're raising an exception?19:13
jamielennoxdavid-lyle: that will fall through in middleware to a redirect to /auth/login19:14
jamielennoxdavid-lyle: the point is it's a redirect and not a rendering on GET /19:15
*** fischerw has quit IRC19:16
robcresswellnight all19:16
*** jprovazn has quit IRC19:16
*** fischerw has joined #openstack-horizon19:16
*** robcresswell is now known as robcresswell_afk19:17
jamielennoxto do proper SSO for kerberos or client certs we shouldn't show a login page and force someone to pick kerberos - it should just happen19:17
openstackgerritKelly Domico proposed openstack/horizon: Pie and donut chart directive  https://review.openstack.org/14693419:17
jamielennoxbut to do that we need to have apache handling certain routes, and as it is it will return the login on GET / and i can't intercept that19:17
openstackgerritKelly Domico proposed openstack/horizon: Demo for Pie/Donut Chart Directive  https://review.openstack.org/15416019:18
david-lylejamielennox: there used to be a reason for the behavior as written, but the reason is lost on me now19:18
david-lyleI open to updating the logic19:19
jamielennoxdavid-lyle: ok - wanted to check the reason as i can see that being a stumbling block19:19
jamielennoxdavid-lyle: for DOA: https://review.openstack.org/#/c/153910/19:19
david-lyleI think only folks that aren't around anymore would know the motivation19:20
*** openstackgerrit has quit IRC19:20
*** openstackgerrit has joined #openstack-horizon19:20
david-lyleI've made that same hack on 17419:21
*** oro_ has quit IRC19:21
*** oro has quit IRC19:22
jamielennoxyea, that's ugly - i can hopefully fix that from a keystone perspective19:22
gyee esp, works for me19:23
gyeecurl -H 'X-Auth-Token: could admin token' http://host:port/v3/role_assignments?scope.project.id=<project_id>19:24
gyeeesp, ^^^19:24
jamielennoxdavid-lyle: so i think an approach like this will help with the concerns i've heard about federated login as well19:24
jamielennoxdavid-lyle: they seem to be missing the ability to provide an existing keystone token directly to horizon19:25
david-lylejamielennox: yes, I think you're right19:25
jamielennoxin this model you just make a plugin that checks for that header19:25
david-lylewhere is keystoneclient_kerberos defined?19:26
jamielennoxhttps://github.com/openstack/python-keystoneclient-kerberos19:26
david-lyleso an optional auth plugin?19:26
jamielennoxdavid-lyle: yes19:26
jamielennoxwe're trying to get the non-standard plugins out of tree19:26
jamielennoxso -federation exists as well19:26
david-lyleI'd prefer that wasn't hard coded19:27
david-lyletypically we do that with the django settings file19:27
david-lylelocal_settings.py19:27
david-lylehttps://github.com/openstack/horizon/blob/master/openstack_dashboard/local/local_settings.py.example19:27
david-lylethat's the example for deployment dependent settings19:28
jamielennoxdavid-lyle: sure, if we're happy with the idea of plugins like that then i could easily host the kerberos plugin from the -kerberos repo and enable via settings19:28
jamielennoxor are you just looking for put import in __init__ and fail if asked for and not present?19:29
david-lylelooking more into the patch19:30
david-lylethis is going  to get messy really quickl19:31
david-lyley19:31
jamielennoxyea, has that potential19:32
david-lylea generalized auth plugin interface seems difficult, but how many other SSO solutions do I need hard-coded in DOA19:32
jamielennoxso that one i think isn't too bad19:33
*** alexvictorchan has quit IRC19:33
jamielennoxbecause the auth plugin interface is defined already in keystoneclient19:33
jamielennoxthe plugin here is just given the information passed to authenticate() what plugin can i use for that information19:33
jamielennoxfallback is an issue though - if one method was to fail would you allow it to continue down the list19:33
*** alexvictorchan has joined #openstack-horizon19:35
david-lyleI see AUTH_PLUGINS as a setting and would prefer the PLUGINS lived in their own file19:35
david-lylehandling the import checks there19:35
*** fischerw has quit IRC19:35
jamielennoxdavid-lyle: sure, this was POC i expect i'll have to make this a bit more django-y, i just have to look into how to do that19:35
jamielennoxdavid-lyle: i guess what i need to figure out is if the approach is good, and is calling authenticate() twice like that an issue19:36
david-lylethat way the deployer can choose the fallback path19:36
jamielennoxfrom what i was reading of the django docs it appears calling authenticate() many times should be allowed19:36
*** fischerw has joined #openstack-horizon19:37
*** fischerw has quit IRC19:37
*** fischerw has joined #openstack-horizon19:38
david-lylestill reading through19:38
jamielennoxdavid-lyle: no rush19:39
*** Piet has joined #openstack-horizon19:39
*** oro has joined #openstack-horizon19:42
*** oro_ has joined #openstack-horizon19:42
*** ramishra_ has joined #openstack-horizon19:42
*** fischerw has quit IRC19:46
*** fischerw has joined #openstack-horizon19:46
*** ramishra_ has quit IRC19:47
*** mrunge has quit IRC19:54
*** fischerw has quit IRC19:54
*** fischerw has joined #openstack-horizon19:54
*** TravT has joined #openstack-horizon19:58
*** fischerw has quit IRC20:00
*** fischerw has joined #openstack-horizon20:00
*** fischerw has quit IRC20:01
*** fischerw has joined #openstack-horizon20:01
jamielennoxdavid-lyle: going missing for about 15 minutes - i'll see any comments though so let me know hat you're thinking20:03
rbertramIs it possible to create new domains on devstack?20:05
david-lylerbertram: yes20:07
rbertramdavid-lyle: thx, i'll keep working at it before requesting help, but wanted to be sure20:08
david-lylerbertram: I was going to give you more, but had to hang up a call20:08
rbertramdavid-lyle: can't be done in Horizon, right?20:08
david-lyleyes it can20:08
david-lylejust a sec20:08
david-lylelet me grab the link20:09
david-lyleso pushy :D20:09
david-lylehttps://github.com/openstack/horizon/blob/master/openstack_dashboard/local/local_settings.py.example#L4320:09
*** crobertsrh has quit IRC20:09
david-lyleenabling that and making sure https://github.com/openstack/horizon/blob/master/openstack_dashboard/local/local_settings.py.example#L37 is 320:10
david-lylewill open the world to you20:10
david-lylemanage your domains away20:10
*** crobertsrh has joined #openstack-horizon20:10
david-lylebeen there since H release20:11
david-lyleHavana20:11
david-lylecan't believe I couldn't remember that20:11
david-lylelog in to "default" domain20:12
david-lyleand bob's your uncle20:12
*** alanf-mc has quit IRC20:12
rbertramdavid-lyle: Thanks!20:13
rbertramdavid-lyle: Just got the command line working right, but switching to this for sure20:13
*** fischerw has quit IRC20:15
*** fischerw has joined #openstack-horizon20:15
espgyee: thx, that works for me too20:18
espwill keep you posted ;)20:18
*** fischerw has quit IRC20:21
*** fischerw has joined #openstack-horizon20:22
openstackgerritOpenStack Proposal Bot proposed openstack/horizon: Updated from global requirements  https://review.openstack.org/15675020:24
*** bpokorny_ has joined #openstack-horizon20:25
openstackgerritGabriel Hurley proposed openstack/horizon: Use less permissive chmod in secret key test  https://review.openstack.org/15675220:25
*** bpokorny has quit IRC20:27
openstackgerritMatt Borland proposed openstack/horizon: WIP - Instance Details UX/Angular redesign  https://review.openstack.org/15360220:28
*** dboik_ has quit IRC20:28
*** peristeri has quit IRC20:29
*** peristeri has joined #openstack-horizon20:29
*** dboik has joined #openstack-horizon20:30
*** peristeri has quit IRC20:32
*** peristeri has joined #openstack-horizon20:32
rbertramdavid-lyle: Can't seem to add projects or users in my new domain. I tried switching to its "context". what else?20:32
*** peristeri has quit IRC20:33
*** peristeri has joined #openstack-horizon20:33
*** r1chardj0n3s_afk is now known as r1chardj0n3s20:34
r1chardj0n3smorning20:34
*** fischerw has quit IRC20:37
*** fischerw_ has joined #openstack-horizon20:37
openstackgerritMatt Borland proposed openstack/horizon: WIP - Instance Details UX/Angular redesign  https://review.openstack.org/15360220:38
*** dkorn has joined #openstack-horizon20:39
openstackgerritOpenStack Proposal Bot proposed openstack/tuskar-ui: Updated from global requirements  https://review.openstack.org/15676020:42
*** mpavlase has joined #openstack-horizon20:43
*** ramishra_ has joined #openstack-horizon20:43
*** dboik has quit IRC20:43
*** dboik has joined #openstack-horizon20:44
*** dboik has quit IRC20:44
*** dboik has joined #openstack-horizon20:45
*** ramishra_ has quit IRC20:48
*** oro has quit IRC20:51
*** TravT_ has joined #openstack-horizon20:51
*** oro_ has quit IRC20:51
*** ericpeterson has quit IRC20:52
openstackgerritMatt Borland proposed openstack/horizon: WIP - Instance Details UX/Angular redesign  https://review.openstack.org/15360220:53
openstackgerritBrian Tully proposed openstack/horizon: Demo for Re-designed Tables  https://review.openstack.org/15110120:54
*** Piet has quit IRC20:54
*** matt-borland has quit IRC20:55
*** TravT has quit IRC20:55
*** jtomasek has quit IRC21:00
*** TravT_ has quit IRC21:03
*** TravT has joined #openstack-horizon21:04
*** fischerw_ has quit IRC21:04
*** fischerw_ has joined #openstack-horizon21:04
*** fischerw_ has quit IRC21:09
*** fischerw_ has joined #openstack-horizon21:09
*** fischerw_ has quit IRC21:10
*** fischerw_ has joined #openstack-horizon21:10
*** dkorn has quit IRC21:11
*** alanf-mc has joined #openstack-horizon21:12
r1chardj0n3sTravT: sqchen isn't around right now, but could we please stop this use of .factory() over .service()? :)21:13
*** fischerw__ has joined #openstack-horizon21:18
*** fischerw_ has quit IRC21:18
*** aix has quit IRC21:20
*** LiveOne_ has joined #openstack-horizon21:22
*** ericpeterson has joined #openstack-horizon21:22
*** dkorn has joined #openstack-horizon21:30
*** MaxV has joined #openstack-horizon21:32
*** fischerw__ has quit IRC21:34
*** fischerw__ has joined #openstack-horizon21:34
*** hhuang has quit IRC21:37
*** hhuang has joined #openstack-horizon21:38
*** e0ne has quit IRC21:39
*** dkorn has quit IRC21:41
openstackgerritShaoquan Chen proposed openstack/horizon: Enabling auto focus on first form element  https://review.openstack.org/15678521:43
*** rm_work is now known as rm_work|away21:44
*** ramishra_ has joined #openstack-horizon21:44
TravThey r1charj0n3s:21:46
r1chardj0n3shey TravT :)21:47
TravTr1chardj0n3s:21:47
TravTi think tomorrow we're shooting for at least a period of time that everybody is online to talk specifically about these APIs21:47
r1chardj0n3sthe sprint time?21:48
TravTyeah21:48
r1chardj0n3syep21:48
*** robcresswell_afk has quit IRC21:48
openstackgerritShaoquan Chen proposed openstack/horizon: Enabling auto-focus on first form element  https://review.openstack.org/15678521:48
r1chardj0n3splan on being here21:48
TravTi'm thinking i'll put up the alternate $resource pattern into the same patch21:48
TravTand then we can have a big cage match21:48
TravT;)21:48
*** ramishra_ has quit IRC21:49
r1chardj0n3ssure, but I'm still worried we've had zero actual user-facing changes land21:49
TravTaltneratively,21:49
TravTi could put up a dependent patch that shows the $resource pattern21:49
r1chardj0n3sI guess I can't tell you what to work on, so go for it21:49
TravTultimately, we are starting work on the instance steps.21:50
r1chardj0n3sthat's good to hear21:51
TravTit just felt like the call last week was hard to follow the difference21:51
*** robcresswell_afk has joined #openstack-horizon21:51
TravTso, was thinking a side by side would make it more tangible.21:51
r1chardj0n3snono, I fully understand where you're coming from21:51
*** robcresswell_afk is now known as robcresswell21:51
TravTi'd be happy to see current patch land21:52
TravTand then explore other options.21:52
r1chardj0n3sit takes two weeks to get a patch through. altering the underlying API code now will push out all dependent patches by another two weeks21:52
TravTbut you are right, we've got to get the user facing work land21:52
r1chardj0n3stwoo weeks *minimum*21:52
TravTwell, that is some of what Matt B was saying21:52
TravTit should matter too much since controller is where data is bound21:53
TravTso we could start with current21:53
*** rebelagentm has quit IRC21:53
david-lyleI think some code is going land and refactoring happens in L based on group learnings21:53
*** peristeri has quit IRC21:54
r1chardj0n3syep, I agree21:54
*** fischerw__ has quit IRC21:54
TravTbut at the same time, since actual work hasn't started with these APIs, it only takes a little time to look at the differences.21:54
*** neelashah1 has quit IRC21:54
*** fischerw__ has joined #openstack-horizon21:54
TravTso, let me ask you both for a vote right now21:54
r1chardj0n3sbut again, re-working them will cause other work to be delayed by weeks21:54
david-lylewe have 1 month21:54
david-lyletotal21:54
TravTif i put up a patch with the $resource pattern (which I have mostly read) would you rather I modify current patch or put up a dependent patch for comparison?21:55
TravTIf I do the former, it could land and start getting used21:55
*** sqchen has joined #openstack-horizon21:55
*** gyee has quit IRC21:55
r1chardj0n3sof *those two options* (ignoring the third one) and even though it'll be messier, I would lean towards the first21:56
r1chardj0n3sstill arguinig strongly that option 3 (don't change tack *right now*) is the only sensible one21:56
TravTwell, nobody is using the API yet.21:57
TravTbut that could change as soon as it lands21:57
r1chardj0n3sand changing it is going to help that?21:57
TravThow about david-lyle just ninja's it through now and ends the discussion? ;-)21:57
r1chardj0n3sjust so we're clear: I am *not* arguiing that the current API is perfect!21:57
r1chardj0n3s:)21:58
r1chardj0n3sbut we need to stabilise the knock-on work can actually get done21:58
r1chardj0n3sotherwise, effectively, 6  months have been wasted21:58
r1chardj0n3s*6 months*21:58
r1chardj0n3sugh21:58
TravTnobody wants that21:58
TravTtalking of current patch. sqchen: are you on?21:59
TravTfactory vs service21:59
sqchenyes, I am here21:59
TravTsee below: https://review.openstack.org/#/c/151468/21..29/horizon/static/horizon/js/angular/services/hz.api.glance.js21:59
r1chardj0n3ssqchen is on! I'm curious where you get that idea about singletons22:00
TravTr1chardj0n3s doesn't like the factory pattern here.22:00
*** dkorn has joined #openstack-horizon22:00
r1chardj0n3sI think it has extra code (yes, only two lines) that is messy ;)22:00
r1chardj0n3sso I prefer the service() pattern with the implicit new by angular22:00
sqchenAs I said before, it is not supper important, class pattern works as well.22:01
r1chardj0n3ssqchen but your argument is that using service() you don't end up with a singleton, which is not correct in my understanding22:01
sqchenwith new, it won’t be a singleton. but since it doesn’t have state, it should work fine.22:02
*** iamjarvo has quit IRC22:02
r1chardj0n3ssqchen: but it is a singleton. all services are singletons. angular caches the result of a .service()22:02
r1chardj0n3sunless my understanding is incorrect ;)22:02
r1chardj0n3sbut that's how I read the documentation22:02
sqchenusing a class and having new to get the serivice, you will get a new instance everytime you call the service.22:03
TravTi read through some of this again on an alternate site...22:03
TravTtrying to find that now.22:03
sqchensorry, r1chardj0n3s :-)22:04
r1chardj0n3ssqchen: but the docs explicitly state that all services are singletons22:04
r1chardj0n3ssqchen: angular does the work to make them so22:04
david-lylefactory just calls service internally anyway22:04
*** garthb has joined #openstack-horizon22:04
*** garthb_ has joined #openstack-horizon22:04
*** dkorn has quit IRC22:04
sqchenI know it is confusing, and that is a mistake of angular using all thse confusing terms, this is what they said. :) .service returns new instance from a contructor function, a new one each time we injecct it.22:09
sqchen.facory pattern return a singleton. they should not call it factory for sure, but, it allreay named as it.22:10
*** crobertsrh has quit IRC22:10
r1chardj0n3ssqchen: do you have a reference for that .service statement pls?22:10
sqchenAgain, in our case, it doesn’t matter, because our api doesn’t have state.22:10
sqchenhttps://docs.angularjs.org/guide/providers22:11
r1chardj0n3ssqchen:  where in that page?22:11
r1chardj0n3sbecause that's the page that states all services are singletons22:12
sqchenmyApp.factory('unicornLauncher', ["apiToken", function(apiToken) {22:12
sqchen  return new UnicornLauncher(apiToken);22:12
sqchen}]);22:12
r1chardj0n3sah yes, but that's not how we're using it22:13
*** mugsie has quit IRC22:13
r1chardj0n3sthat's registering a .factory() not a .service()22:14
*** mugsie has joined #openstack-horizon22:14
sqchen.factory() do not call new operator for us.22:15
r1chardj0n3sbut we're not using .factory() we're using .service() when we use that pattern22:15
*** neillc is now known as neillc_afk22:16
r1chardj0n3smyApp.service('unicornLauncher', ["apiToken", UnicornLauncher]);22:16
r1chardj0n3sno "new"22:16
sqchen.service() do not return singleton22:16
sqchenservice call new operator automatically22:16
r1chardj0n3sand it does it once and caches the result - that's what the page says22:16
r1chardj0n3seven if we .factory() and invoked new ourselves, angular would still cache the result so it was a singleton22:18
sqchenIdealy we should not mix service recipe and facory recipe. But again. it doesn’t matter in our case, because the api object doesn’t has state.22:18
r1chardj0n3sI really need to make sure we are clear on this singleton issue - I need to know that my understanding of angular is correct, so I'm asking for where you have seen the angular docs state that .service() doesn't follow the "services are singletons" documentation22:19
TravThttps://docs.angularjs.org/guide/services22:20
r1chardj0n3swe use .service() in all the currently-committed api22:20
TravTSingletons – Each component dependent on a service gets a reference to the single instance generated by the service factory.22:20
*** fischerw__ has quit IRC22:21
TravTthese guys seriously should be burned for their overuse of the word service and factory22:21
*** fischerw__ has joined #openstack-horizon22:21
r1chardj0n3syeah, they're way off using factory there :/22:21
sqchenr1chardj0n3s: you can be right, may be service is also return a singleton.22:22
david-lyle3 ways of doing the provider is sillyness22:22
david-lylewhat were they thinkinig22:22
sqchenhaha22:23
TravTThis article is actually good reading, but it doesn't really address the singleton issue, I think.22:23
TravThttp://tylermcginnis.com/angularjs-factory-vs-service-vs-provider/22:23
TravTthe main difference is where you assign your properties and functions, with no actual difference as far as I can tell.22:24
r1chardj0n3sTravT: yep22:25
*** neelashah has joined #openstack-horizon22:26
*** dboik has quit IRC22:28
TravTlhcheng: are you there?22:29
lhchengTravT, yeah but I am on a meeting22:30
lhchengTravT, what's up?22:30
rbertramAfter creating a new domain in Horizon, is it possible to add a project to it? And then users? Options are still grayed out...22:30
TravTok, well, it was partially your review on the above that caused me to go ahead with moving service to factory.22:31
TravThttps://review.openstack.org/#/c/151468/21..29/horizon/static/horizon/js/angular/services/hz.api.glance.js22:31
david-lylerbertram: yes22:31
*** MaxV has quit IRC22:31
TravTbut now it seems none us actually can prove that moving to that pattern is better.22:31
david-lylein domains, set domain context on the domain you want to administer22:31
TravTso barring the above happening, I think I'll switch that code back to original service pattern.22:31
rbertramdavid-lyle: Would you be kind enough to tell me what the secret is? :-)22:32
david-lylethe set context button in the row action22:32
sqchenr1chardj0n3s: you are right, .service() returns singleton. :)22:32
rbertramdavid-lyle: I tried that, it set the context, but still didn't allow adding projects/users22:32
r1chardj0n3s\o/ I'm not crazy :)22:32
TravTsqchen: so you'd vote I go  back to service as well?22:32
david-lylecleaner yes22:33
sqchenyes TravT22:33
david-lylerbertram: are you using the default policy file?22:33
rbertramIt says "Domain project is set to ..." correctly22:33
TravTok. i'll do that.22:33
r1chardj0n3salso not using .factory() ever because to do so would be to validate the angularjs developers' life choices22:33
r1chardj0n3s:)22:33
rbertramdavid-lyle: far as I know22:33
david-lyleok22:33
rbertramdavid-lyle: never messed with it22:33
TravTi have to back out my current changes that show the $resource pattern in that patch.  will take just a few minutes.22:34
david-lyleso when you set the domain context what happends?22:34
lhchengTravT, yeah sqchen had a comment on using factory pattern. I didn't see a response on the following patch about that.22:34
*** jtriley has quit IRC22:34
david-lylelhcheng: read back a bit22:34
rbertramdavid-lyle: It gives a green success message. The domains table shrinks down to one row.22:34
TravT\me trembles in fear of screwing up git commands and losing work.22:34
* TravT also can't use irc commands correctly22:34
david-lylerbertram: then go to projects22:34
rbertramdavid-lyle: But when I switch to Projects view, and try to add a project, it is still stuck on default id/name of domain22:35
david-lylerbertram: I think you may be running in a cookie overflow problem22:35
TravTlhcheng: thanks I will upload that change it just a sec.22:35
r1chardj0n3sI think the real blocker we've hit is the API for policy22:35
david-lyler1chardj0n3s: I've been working on that22:35
david-lylethe API is easy22:35
sqchenfactory pattern allows you to have true private states.22:35
r1chardj0n3sok cool22:35
rbertramdavid-lyle: hmmm. heardthis talked about. suggestions?22:35
david-lylethe hard part is consuming it22:36
david-lyleit a non-belligerent way22:36
r1chardj0n3sfor i in thing: pass22:36
r1chardj0n3snomnomnom22:36
r1chardj0n3snon-belligerent?22:36
r1chardj0n3sI don't think I've seen that word used in an API-consumer context before :)22:36
david-lyler1chardj0n3s: re-ask every time it's needed22:37
r1chardj0n3sahhh, ok22:37
r1chardj0n3sbut the policy wouldn't change very often for a given user, yeah?22:37
rbertramdavid-lyle: I can toss all the cookies for the site22:37
r1chardj0n3sso the angular-side service can cache?22:37
david-lylewhat I wanted to do was...22:38
david-lylerbertram: addSESSION_ENGINE = 'django.contrib.sessions.backends.cache' to your local_settings.py22:38
david-lylewhat I wanted to do was22:38
david-lylebuild a list of all the policy checks in say a controller  and instantiate the policyService using that, and return hits from the cached results or go ask for items not in the cache and add it to the cache22:39
david-lyleangular is not well designed for such things22:39
david-lyleadditionally there are policy targets that have to be passed22:40
r1chardj0n3sistm that policy checks should be the domain of a service22:40
openstackgerritTravis Tripp proposed openstack/horizon: Glance Rest API for Angular Front End  https://review.openstack.org/15146822:40
* ericpeterson can't believe we are still using the cookie session engine22:40
*** neelashah has quit IRC22:40
openstackgerritTravis Tripp proposed openstack/horizon: Raw Output Demo for Glance API  https://review.openstack.org/15555622:40
david-lyler1chardj0n3s: a generalized service?22:40
* rbertram wonders how he'd get by without help from you guys22:41
david-lylethat was my aim22:41
david-lylebut the caching gets tricky if the targets change22:41
rbertramdavid-lyle: that fixed it. Thanks!22:41
r1chardj0n3sdavid-lyle: I'd see maybe two services: one that handles the api conversation, and another on top of that that implements the policy checks and caching of checks. the api service is only used by the check service22:41
r1chardj0n3stargets?22:41
* r1chardj0n3s is probably woefully unfamiliar with the policy engine :/22:42
openstackgerritCindy Lu proposed openstack/horizon: WIP REST API for Users filter  https://review.openstack.org/15681022:42
david-lyleso my fallback may just be a basic service for now that makes the checks directly when needed and optimize later22:42
ericpetersonr1chardj0n3s - you should really spend some time with policy engine stuff.   it is a super terrific awesome time22:42
r1chardj0n3sericpeterson hates me, and I don't know why22:42
ericpetersonlol22:43
david-lyler1chardj0n3s: yes please, if you ask real nice I'll let you own it22:43
r1chardj0n3s;)22:43
*** neelashah has joined #openstack-horizon22:43
* david-lyle rues that he ever heard the word policy22:43
r1chardj0n3swow, et tu david-lyle?22:43
ericpetersonso then r1chardj0n3s owns policy engine, glad we could get that nailed down22:43
ericpeterson;)22:43
r1chardj0n3slook, I'd love to, but I have this dozen cats I really want to bathe first22:44
david-lyleyou get all the glory jobs22:44
*** ramishra_ has joined #openstack-horizon22:45
david-lyleso yeah, I may have permission to do x to network A but not network B22:45
*** neelashah1 has joined #openstack-horizon22:45
r1chardj0n3syep, so the caching mechanism needs work be sophisticated - max how many inputs for a given policy check?22:45
TravTr1chardj0n3s: see above https://review.openstack.org/#/c/151468/22:46
TravTi have to run to help Piet with something.22:46
r1chardj0n3sTravT: already on it ;)22:46
TravTso i'll be offline for about 1.5 hours. but will be back online later22:46
r1chardj0n3sok, thanks22:46
TravTthanks!22:46
TravTglad we could do that discussion22:47
david-lyler1chardj0n3s: array of rules to be or'd, and target22:47
r1chardj0n3syikes22:47
david-lyleeach rule pass is composed of service and rule22:47
david-lylelike compute, compute:list_servers22:48
*** neelashah has quit IRC22:48
TravTdavid-lyle: i updated info on the virtual sprint.  FYI my tomorrow afternoons are free and clear.22:48
TravTalso we can use the hp myroom.22:48
david-lyleTravT: (thumbsup)22:48
david-lylethanks22:48
TravTttyl22:48
david-lyler1chardj0n3s: because policy is not globally unique each service can have a rule called compute:i_hate_david22:49
*** gyee has joined #openstack-horizon22:49
sqchendavid-lyle: would you like to take a look on https://review.openstack.org/#/c/156359/22:49
*** ramishra_ has quit IRC22:49
* ericpeterson thought all services have a policy called i_hate_david which allows all22:50
david-lyleand I have no way to map them, unless the call says which service it wants to check against22:50
* david-lyle know ericpeterson is right22:50
r1chardj0n3s:)22:50
david-lyleso for now, we will pass through22:51
*** TravT has quit IRC22:51
ericpetersonthe policy engine is a really good idea and cool thing, if only it was really used and more broadly adopted.22:51
r1chardj0n3sright, so the calls have to include service and rule, yep22:51
david-lyleas a bridge22:51
david-lyleand then I'll work on caching22:51
david-lylecaching is what I've been working mostly on but it needs more time22:52
r1chardj0n3sdavid-lyle: that's sensible - I'll try to help out on the caching once I see the shape of it22:52
david-lylesomething to get unblocked is needed now22:52
r1chardj0n3syep22:52
david-lyler1chardj0n3s: sure, thanks22:52
david-lyleI'm still hoping for a central policy store22:53
david-lyleso I'm not expecting much22:53
lhchengTravT: sure, you guys got sqchen onboard on using the service pattern. that's fine with me.22:54
*** doug-fish has left #openstack-horizon22:54
sqchenMay I get your attention now? david-lyle, lhcheng22:55
david-lylesqchen: sure, what's up22:55
david-lyle?22:55
lhchengsqchen, I'm still on a meeting, will be slow to respond22:55
sqchencan you take look at https://review.openstack.org/#/c/156359/22:55
sqchenok, np :)22:56
david-lylesqchen: will do22:56
sqchenthanks!22:56
*** fischerw__ has quit IRC22:56
*** fischerw__ has joined #openstack-horizon22:56
*** lblanchard has quit IRC22:59
*** iamjarvo has joined #openstack-horizon23:02
*** neelashah1 has quit IRC23:04
*** rhagarty has quit IRC23:05
*** chlong has joined #openstack-horizon23:08
*** Piet has joined #openstack-horizon23:10
*** mpavlase has quit IRC23:14
*** neillc_afk is now known as neillc23:22
*** fischerw__ has quit IRC23:29
*** nlahouti has quit IRC23:32
*** vijendar has quit IRC23:35
*** MaxV has joined #openstack-horizon23:41
*** ramishra_ has joined #openstack-horizon23:45
*** MaxV has quit IRC23:46
*** ramishra_ has quit IRC23:50
openstackgerritGloria Gu proposed openstack/horizon: Added snapshot tab to a volume detail  https://review.openstack.org/15684823:52
*** ZZelle_ has quit IRC23:53
*** nlahouti has joined #openstack-horizon23:55
*** nlahouti1 has joined #openstack-horizon23:55
*** nlahouti has quit IRC23:59

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